Class ListHcxActivationKeysResponse.Builder (0.42.0)

public static final class ListHcxActivationKeysResponse.Builder extends GeneratedMessageV3.Builder<ListHcxActivationKeysResponse.Builder> implements ListHcxActivationKeysResponseOrBuilder

Response message for VmwareEngine.ListHcxActivationKeys

Protobuf type google.cloud.vmwareengine.v1.ListHcxActivationKeysResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllHcxActivationKeys(Iterable<? extends HcxActivationKey> values)

public ListHcxActivationKeysResponse.Builder addAllHcxActivationKeys(Iterable<? extends HcxActivationKey> values)

List of HCX activation keys.

repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.vmwareengine.v1.HcxActivationKey>
Returns
Type Description
ListHcxActivationKeysResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListHcxActivationKeysResponse.Builder addAllUnreachable(Iterable<String> values)

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListHcxActivationKeysResponse.Builder

This builder for chaining.

addHcxActivationKeys(HcxActivationKey value)

public ListHcxActivationKeysResponse.Builder addHcxActivationKeys(HcxActivationKey value)

List of HCX activation keys.

repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;

Parameter
Name Description
value HcxActivationKey
Returns
Type Description
ListHcxActivationKeysResponse.Builder

addHcxActivationKeys(HcxActivationKey.Builder builderForValue)

public ListHcxActivationKeysResponse.Builder addHcxActivationKeys(HcxActivationKey.Builder builderForValue)

List of HCX activation keys.

repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;

Parameter
Name Description
builderForValue HcxActivationKey.Builder
Returns
Type Description
ListHcxActivationKeysResponse.Builder

addHcxActivationKeys(int index, HcxActivationKey value)

public ListHcxActivationKeysResponse.Builder addHcxActivationKeys(int index, HcxActivationKey value)

List of HCX activation keys.

repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;

Parameters
Name Description
index int
value HcxActivationKey
Returns
Type Description
ListHcxActivationKeysResponse.Builder

addHcxActivationKeys(int index, HcxActivationKey.Builder builderForValue)

public ListHcxActivationKeysResponse.Builder addHcxActivationKeys(int index, HcxActivationKey.Builder builderForValue)

List of HCX activation keys.

repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;

Parameters
Name Description
index int
builderForValue HcxActivationKey.Builder
Returns
Type Description
ListHcxActivationKeysResponse.Builder

addHcxActivationKeysBuilder()

public HcxActivationKey.Builder addHcxActivationKeysBuilder()

List of HCX activation keys.

repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;

Returns
Type Description
HcxActivationKey.Builder

addHcxActivationKeysBuilder(int index)

public HcxActivationKey.Builder addHcxActivationKeysBuilder(int index)

List of HCX activation keys.

repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;

Parameter
Name Description
index int
Returns
Type Description
HcxActivationKey.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListHcxActivationKeysResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListHcxActivationKeysResponse.Builder
Overrides

addUnreachable(String value)

public ListHcxActivationKeysResponse.Builder addUnreachable(String value)

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListHcxActivationKeysResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListHcxActivationKeysResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListHcxActivationKeysResponse.Builder

This builder for chaining.

build()

public ListHcxActivationKeysResponse build()
Returns
Type Description
ListHcxActivationKeysResponse

buildPartial()

public ListHcxActivationKeysResponse buildPartial()
Returns
Type Description
ListHcxActivationKeysResponse

clear()

public ListHcxActivationKeysResponse.Builder clear()
Returns
Type Description
ListHcxActivationKeysResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListHcxActivationKeysResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListHcxActivationKeysResponse.Builder
Overrides

clearHcxActivationKeys()

public ListHcxActivationKeysResponse.Builder clearHcxActivationKeys()

List of HCX activation keys.

repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;

Returns
Type Description
ListHcxActivationKeysResponse.Builder

clearNextPageToken()

public ListHcxActivationKeysResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListHcxActivationKeysResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListHcxActivationKeysResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListHcxActivationKeysResponse.Builder
Overrides

clearUnreachable()

public ListHcxActivationKeysResponse.Builder clearUnreachable()

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Returns
Type Description
ListHcxActivationKeysResponse.Builder

This builder for chaining.

clone()

public ListHcxActivationKeysResponse.Builder clone()
Returns
Type Description
ListHcxActivationKeysResponse.Builder
Overrides

getDefaultInstanceForType()

public ListHcxActivationKeysResponse getDefaultInstanceForType()
Returns
Type Description
ListHcxActivationKeysResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getHcxActivationKeys(int index)

public HcxActivationKey getHcxActivationKeys(int index)

List of HCX activation keys.

repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;

Parameter
Name Description
index int
Returns
Type Description
HcxActivationKey

getHcxActivationKeysBuilder(int index)

public HcxActivationKey.Builder getHcxActivationKeysBuilder(int index)

List of HCX activation keys.

repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;

Parameter
Name Description
index int
Returns
Type Description
HcxActivationKey.Builder

getHcxActivationKeysBuilderList()

public List<HcxActivationKey.Builder> getHcxActivationKeysBuilderList()

List of HCX activation keys.

repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;

Returns
Type Description
List<Builder>

getHcxActivationKeysCount()

public int getHcxActivationKeysCount()

List of HCX activation keys.

repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;

Returns
Type Description
int

getHcxActivationKeysList()

public List<HcxActivationKey> getHcxActivationKeysList()

List of HCX activation keys.

repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;

Returns
Type Description
List<HcxActivationKey>

getHcxActivationKeysOrBuilder(int index)

public HcxActivationKeyOrBuilder getHcxActivationKeysOrBuilder(int index)

List of HCX activation keys.

repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;

Parameter
Name Description
index int
Returns
Type Description
HcxActivationKeyOrBuilder

getHcxActivationKeysOrBuilderList()

public List<? extends HcxActivationKeyOrBuilder> getHcxActivationKeysOrBuilderList()

List of HCX activation keys.

repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;

Returns
Type Description
List<? extends com.google.cloud.vmwareengine.v1.HcxActivationKeyOrBuilder>

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListHcxActivationKeysResponse other)

public ListHcxActivationKeysResponse.Builder mergeFrom(ListHcxActivationKeysResponse other)
Parameter
Name Description
other ListHcxActivationKeysResponse
Returns
Type Description
ListHcxActivationKeysResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListHcxActivationKeysResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListHcxActivationKeysResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListHcxActivationKeysResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListHcxActivationKeysResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListHcxActivationKeysResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListHcxActivationKeysResponse.Builder
Overrides

removeHcxActivationKeys(int index)

public ListHcxActivationKeysResponse.Builder removeHcxActivationKeys(int index)

List of HCX activation keys.

repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;

Parameter
Name Description
index int
Returns
Type Description
ListHcxActivationKeysResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListHcxActivationKeysResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListHcxActivationKeysResponse.Builder
Overrides

setHcxActivationKeys(int index, HcxActivationKey value)

public ListHcxActivationKeysResponse.Builder setHcxActivationKeys(int index, HcxActivationKey value)

List of HCX activation keys.

repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;

Parameters
Name Description
index int
value HcxActivationKey
Returns
Type Description
ListHcxActivationKeysResponse.Builder

setHcxActivationKeys(int index, HcxActivationKey.Builder builderForValue)

public ListHcxActivationKeysResponse.Builder setHcxActivationKeys(int index, HcxActivationKey.Builder builderForValue)

List of HCX activation keys.

repeated .google.cloud.vmwareengine.v1.HcxActivationKey hcx_activation_keys = 1;

Parameters
Name Description
index int
builderForValue HcxActivationKey.Builder
Returns
Type Description
ListHcxActivationKeysResponse.Builder

setNextPageToken(String value)

public ListHcxActivationKeysResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListHcxActivationKeysResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListHcxActivationKeysResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListHcxActivationKeysResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListHcxActivationKeysResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListHcxActivationKeysResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListHcxActivationKeysResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListHcxActivationKeysResponse.Builder
Overrides

setUnreachable(int index, String value)

public ListHcxActivationKeysResponse.Builder setUnreachable(int index, String value)

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListHcxActivationKeysResponse.Builder

This builder for chaining.