Class ListExternalAddressesResponse.Builder (0.46.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.vmwareengine.v1.ExternalAddress>
Returns
Type Description
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
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
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
Name Description
value ExternalAddress
Returns
Type Description
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
Name Description
builderForValue ExternalAddress.Builder
Returns
Type Description
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
Name Description
index int
value ExternalAddress
Returns
Type Description
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
Name Description
index int
builderForValue ExternalAddress.Builder
Returns
Type Description
ListExternalAddressesResponse.Builder

addExternalAddressesBuilder()

public ExternalAddress.Builder addExternalAddressesBuilder()

A list of external IP addresses.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
ExternalAddress.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListExternalAddressesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The unreachable to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListExternalAddressesResponse.Builder

This builder for chaining.

build()

public ListExternalAddressesResponse build()
Returns
Type Description
ListExternalAddressesResponse

buildPartial()

public ListExternalAddressesResponse buildPartial()
Returns
Type Description
ListExternalAddressesResponse

clear()

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

clearExternalAddresses()

public ListExternalAddressesResponse.Builder clearExternalAddresses()

A list of external IP addresses.

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

Returns
Type Description
ListExternalAddressesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListExternalAddressesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
ListExternalAddressesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListExternalAddressesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
ListExternalAddressesResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListExternalAddressesResponse getDefaultInstanceForType()
Returns
Type Description
ListExternalAddressesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
ExternalAddress.Builder

getExternalAddressesBuilderList()

public List<ExternalAddress.Builder> getExternalAddressesBuilderList()

A list of external IP addresses.

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

Returns
Type Description
List<Builder>

getExternalAddressesCount()

public int getExternalAddressesCount()

A list of external IP addresses.

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

Returns
Type Description
int

getExternalAddressesList()

public List<ExternalAddress> getExternalAddressesList()

A list of external IP addresses.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
ExternalAddressOrBuilder

getExternalAddressesOrBuilderList()

public List<? extends ExternalAddressOrBuilder> getExternalAddressesOrBuilderList()

A list of external IP addresses.

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListExternalAddressesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
value ExternalAddress
Returns
Type Description
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
Name Description
index int
builderForValue ExternalAddress.Builder
Returns
Type Description
ListExternalAddressesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListExternalAddressesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The nextPageToken to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListExternalAddressesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListExternalAddressesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListExternalAddressesResponse.Builder

This builder for chaining.