Class ListHcxActivationKeysResponse.Builder (0.35.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.vmwareengine.v1.HcxActivationKey>
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueHcxActivationKey
Returns
TypeDescription
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
NameDescription
builderForValueHcxActivationKey.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueHcxActivationKey
Returns
TypeDescription
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
NameDescription
indexint
builderForValueHcxActivationKey.Builder
Returns
TypeDescription
ListHcxActivationKeysResponse.Builder

addHcxActivationKeysBuilder()

public HcxActivationKey.Builder addHcxActivationKeysBuilder()

List of HCX activation keys.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
HcxActivationKey.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListHcxActivationKeysResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListHcxActivationKeysResponse.Builder

This builder for chaining.

build()

public ListHcxActivationKeysResponse build()
Returns
TypeDescription
ListHcxActivationKeysResponse

buildPartial()

public ListHcxActivationKeysResponse buildPartial()
Returns
TypeDescription
ListHcxActivationKeysResponse

clear()

public ListHcxActivationKeysResponse.Builder clear()
Returns
TypeDescription
ListHcxActivationKeysResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListHcxActivationKeysResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListHcxActivationKeysResponse.Builder
Overrides

clearHcxActivationKeys()

public ListHcxActivationKeysResponse.Builder clearHcxActivationKeys()

List of HCX activation keys.

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

Returns
TypeDescription
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
TypeDescription
ListHcxActivationKeysResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListHcxActivationKeysResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ListHcxActivationKeysResponse.Builder

This builder for chaining.

clone()

public ListHcxActivationKeysResponse.Builder clone()
Returns
TypeDescription
ListHcxActivationKeysResponse.Builder
Overrides

getDefaultInstanceForType()

public ListHcxActivationKeysResponse getDefaultInstanceForType()
Returns
TypeDescription
ListHcxActivationKeysResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
HcxActivationKey.Builder

getHcxActivationKeysBuilderList()

public List<HcxActivationKey.Builder> getHcxActivationKeysBuilderList()

List of HCX activation keys.

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

Returns
TypeDescription
List<Builder>

getHcxActivationKeysCount()

public int getHcxActivationKeysCount()

List of HCX activation keys.

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

Returns
TypeDescription
int

getHcxActivationKeysList()

public List<HcxActivationKey> getHcxActivationKeysList()

List of HCX activation keys.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
HcxActivationKeyOrBuilder

getHcxActivationKeysOrBuilderList()

public List<? extends HcxActivationKeyOrBuilder> getHcxActivationKeysOrBuilderList()

List of HCX activation keys.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListHcxActivationKeysResponse other)

public ListHcxActivationKeysResponse.Builder mergeFrom(ListHcxActivationKeysResponse other)
Parameter
NameDescription
otherListHcxActivationKeysResponse
Returns
TypeDescription
ListHcxActivationKeysResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListHcxActivationKeysResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListHcxActivationKeysResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListHcxActivationKeysResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListHcxActivationKeysResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListHcxActivationKeysResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListHcxActivationKeysResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListHcxActivationKeysResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueHcxActivationKey
Returns
TypeDescription
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
NameDescription
indexint
builderForValueHcxActivationKey.Builder
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListHcxActivationKeysResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListHcxActivationKeysResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListHcxActivationKeysResponse.Builder

This builder for chaining.