Class ListExternalAddressesResponse.Builder (0.34.0)

public static final class ListExternalAddressesResponse.Builder extends GeneratedMessageV3.Builder<ListExternalAddressesResponse.Builder> implements ListExternalAddressesResponseOrBuilder

Response message for VmwareEngine.ListExternalAddresses

Protobuf type google.cloud.vmwareengine.v1.ListExternalAddressesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllExternalAddresses(Iterable<? extends ExternalAddress> values)

public ListExternalAddressesResponse.Builder addAllExternalAddresses(Iterable<? extends ExternalAddress> values)

A list of external IP addresses.

repeated .google.cloud.vmwareengine.v1.ExternalAddress external_addresses = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vmwareengine.v1.ExternalAddress>
Returns
TypeDescription
ListExternalAddressesResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListExternalAddressesResponse.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
ListExternalAddressesResponse.Builder

This builder for chaining.

addExternalAddresses(ExternalAddress value)

public ListExternalAddressesResponse.Builder addExternalAddresses(ExternalAddress value)

A list of external IP addresses.

repeated .google.cloud.vmwareengine.v1.ExternalAddress external_addresses = 1;

Parameter
NameDescription
valueExternalAddress
Returns
TypeDescription
ListExternalAddressesResponse.Builder

addExternalAddresses(ExternalAddress.Builder builderForValue)

public ListExternalAddressesResponse.Builder addExternalAddresses(ExternalAddress.Builder builderForValue)

A list of external IP addresses.

repeated .google.cloud.vmwareengine.v1.ExternalAddress external_addresses = 1;

Parameter
NameDescription
builderForValueExternalAddress.Builder
Returns
TypeDescription
ListExternalAddressesResponse.Builder

addExternalAddresses(int index, ExternalAddress value)

public ListExternalAddressesResponse.Builder addExternalAddresses(int index, ExternalAddress value)

A list of external IP addresses.

repeated .google.cloud.vmwareengine.v1.ExternalAddress external_addresses = 1;

Parameters
NameDescription
indexint
valueExternalAddress
Returns
TypeDescription
ListExternalAddressesResponse.Builder

addExternalAddresses(int index, ExternalAddress.Builder builderForValue)

public ListExternalAddressesResponse.Builder addExternalAddresses(int index, ExternalAddress.Builder builderForValue)

A list of external IP addresses.

repeated .google.cloud.vmwareengine.v1.ExternalAddress external_addresses = 1;

Parameters
NameDescription
indexint
builderForValueExternalAddress.Builder
Returns
TypeDescription
ListExternalAddressesResponse.Builder

addExternalAddressesBuilder()

public ExternalAddress.Builder addExternalAddressesBuilder()

A list of external IP addresses.

repeated .google.cloud.vmwareengine.v1.ExternalAddress external_addresses = 1;

Returns
TypeDescription
ExternalAddress.Builder

addExternalAddressesBuilder(int index)

public ExternalAddress.Builder addExternalAddressesBuilder(int index)

A list of external IP addresses.

repeated .google.cloud.vmwareengine.v1.ExternalAddress external_addresses = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ExternalAddress.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListExternalAddressesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListExternalAddressesResponse.Builder
Overrides

addUnreachable(String value)

public ListExternalAddressesResponse.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
ListExternalAddressesResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListExternalAddressesResponse.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
ListExternalAddressesResponse.Builder

This builder for chaining.

build()

public ListExternalAddressesResponse build()
Returns
TypeDescription
ListExternalAddressesResponse

buildPartial()

public ListExternalAddressesResponse buildPartial()
Returns
TypeDescription
ListExternalAddressesResponse

clear()

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

clearExternalAddresses()

public ListExternalAddressesResponse.Builder clearExternalAddresses()

A list of external IP addresses.

repeated .google.cloud.vmwareengine.v1.ExternalAddress external_addresses = 1;

Returns
TypeDescription
ListExternalAddressesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListExternalAddressesResponse.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
ListExternalAddressesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListExternalAddressesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListExternalAddressesResponse.Builder
Overrides

clearUnreachable()

public ListExternalAddressesResponse.Builder clearUnreachable()

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

repeated string unreachable = 3;

Returns
TypeDescription
ListExternalAddressesResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListExternalAddressesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListExternalAddressesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExternalAddresses(int index)

public ExternalAddress getExternalAddresses(int index)

A list of external IP addresses.

repeated .google.cloud.vmwareengine.v1.ExternalAddress external_addresses = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ExternalAddress

getExternalAddressesBuilder(int index)

public ExternalAddress.Builder getExternalAddressesBuilder(int index)

A list of external IP addresses.

repeated .google.cloud.vmwareengine.v1.ExternalAddress external_addresses = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ExternalAddress.Builder

getExternalAddressesBuilderList()

public List<ExternalAddress.Builder> getExternalAddressesBuilderList()

A list of external IP addresses.

repeated .google.cloud.vmwareengine.v1.ExternalAddress external_addresses = 1;

Returns
TypeDescription
List<Builder>

getExternalAddressesCount()

public int getExternalAddressesCount()

A list of external IP addresses.

repeated .google.cloud.vmwareengine.v1.ExternalAddress external_addresses = 1;

Returns
TypeDescription
int

getExternalAddressesList()

public List<ExternalAddress> getExternalAddressesList()

A list of external IP addresses.

repeated .google.cloud.vmwareengine.v1.ExternalAddress external_addresses = 1;

Returns
TypeDescription
List<ExternalAddress>

getExternalAddressesOrBuilder(int index)

public ExternalAddressOrBuilder getExternalAddressesOrBuilder(int index)

A list of external IP addresses.

repeated .google.cloud.vmwareengine.v1.ExternalAddress external_addresses = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ExternalAddressOrBuilder

getExternalAddressesOrBuilderList()

public List<? extends ExternalAddressOrBuilder> getExternalAddressesOrBuilderList()

A list of external IP addresses.

repeated .google.cloud.vmwareengine.v1.ExternalAddress external_addresses = 1;

Returns
TypeDescription
List<? extends com.google.cloud.vmwareengine.v1.ExternalAddressOrBuilder>

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(ListExternalAddressesResponse other)

public ListExternalAddressesResponse.Builder mergeFrom(ListExternalAddressesResponse other)
Parameter
NameDescription
otherListExternalAddressesResponse
Returns
TypeDescription
ListExternalAddressesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListExternalAddressesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListExternalAddressesResponse.Builder
Overrides

removeExternalAddresses(int index)

public ListExternalAddressesResponse.Builder removeExternalAddresses(int index)

A list of external IP addresses.

repeated .google.cloud.vmwareengine.v1.ExternalAddress external_addresses = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListExternalAddressesResponse.Builder

setExternalAddresses(int index, ExternalAddress value)

public ListExternalAddressesResponse.Builder setExternalAddresses(int index, ExternalAddress value)

A list of external IP addresses.

repeated .google.cloud.vmwareengine.v1.ExternalAddress external_addresses = 1;

Parameters
NameDescription
indexint
valueExternalAddress
Returns
TypeDescription
ListExternalAddressesResponse.Builder

setExternalAddresses(int index, ExternalAddress.Builder builderForValue)

public ListExternalAddressesResponse.Builder setExternalAddresses(int index, ExternalAddress.Builder builderForValue)

A list of external IP addresses.

repeated .google.cloud.vmwareengine.v1.ExternalAddress external_addresses = 1;

Parameters
NameDescription
indexint
builderForValueExternalAddress.Builder
Returns
TypeDescription
ListExternalAddressesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListExternalAddressesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListExternalAddressesResponse.Builder
Overrides

setNextPageToken(String value)

public ListExternalAddressesResponse.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
ListExternalAddressesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListExternalAddressesResponse.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
ListExternalAddressesResponse.Builder

This builder for chaining.

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

public ListExternalAddressesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListExternalAddressesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListExternalAddressesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListExternalAddressesResponse.Builder
Overrides

setUnreachable(int index, String value)

public ListExternalAddressesResponse.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
ListExternalAddressesResponse.Builder

This builder for chaining.