Class FetchNetworkPolicyExternalAddressesResponse.Builder (0.28.0)

public static final class FetchNetworkPolicyExternalAddressesResponse.Builder extends GeneratedMessageV3.Builder<FetchNetworkPolicyExternalAddressesResponse.Builder> implements FetchNetworkPolicyExternalAddressesResponseOrBuilder

Response message for VmwareEngine.FetchNetworkPolicyExternalAddresses

Protobuf type google.cloud.vmwareengine.v1.FetchNetworkPolicyExternalAddressesResponse

Static Methods

getDescriptor()

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

Methods

addAllExternalAddresses(Iterable<? extends ExternalAddress> values)

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

A list of external IP addresses assigned to VMware workload VMs within the scope of the given network policy.

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

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

addExternalAddresses(ExternalAddress value)

public FetchNetworkPolicyExternalAddressesResponse.Builder addExternalAddresses(ExternalAddress value)

A list of external IP addresses assigned to VMware workload VMs within the scope of the given network policy.

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

Parameter
NameDescription
valueExternalAddress
Returns
TypeDescription
FetchNetworkPolicyExternalAddressesResponse.Builder

addExternalAddresses(ExternalAddress.Builder builderForValue)

public FetchNetworkPolicyExternalAddressesResponse.Builder addExternalAddresses(ExternalAddress.Builder builderForValue)

A list of external IP addresses assigned to VMware workload VMs within the scope of the given network policy.

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

Parameter
NameDescription
builderForValueExternalAddress.Builder
Returns
TypeDescription
FetchNetworkPolicyExternalAddressesResponse.Builder

addExternalAddresses(int index, ExternalAddress value)

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

A list of external IP addresses assigned to VMware workload VMs within the scope of the given network policy.

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

Parameters
NameDescription
indexint
valueExternalAddress
Returns
TypeDescription
FetchNetworkPolicyExternalAddressesResponse.Builder

addExternalAddresses(int index, ExternalAddress.Builder builderForValue)

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

A list of external IP addresses assigned to VMware workload VMs within the scope of the given network policy.

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

Parameters
NameDescription
indexint
builderForValueExternalAddress.Builder
Returns
TypeDescription
FetchNetworkPolicyExternalAddressesResponse.Builder

addExternalAddressesBuilder()

public ExternalAddress.Builder addExternalAddressesBuilder()

A list of external IP addresses assigned to VMware workload VMs within the scope of the given network policy.

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 assigned to VMware workload VMs within the scope of the given network policy.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ExternalAddress.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FetchNetworkPolicyExternalAddressesResponse build()
Returns
TypeDescription
FetchNetworkPolicyExternalAddressesResponse

buildPartial()

public FetchNetworkPolicyExternalAddressesResponse buildPartial()
Returns
TypeDescription
FetchNetworkPolicyExternalAddressesResponse

clear()

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

clearExternalAddresses()

public FetchNetworkPolicyExternalAddressesResponse.Builder clearExternalAddresses()

A list of external IP addresses assigned to VMware workload VMs within the scope of the given network policy.

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

Returns
TypeDescription
FetchNetworkPolicyExternalAddressesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public FetchNetworkPolicyExternalAddressesResponse getDefaultInstanceForType()
Returns
TypeDescription
FetchNetworkPolicyExternalAddressesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExternalAddresses(int index)

public ExternalAddress getExternalAddresses(int index)

A list of external IP addresses assigned to VMware workload VMs within the scope of the given network policy.

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 assigned to VMware workload VMs within the scope of the given network policy.

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 assigned to VMware workload VMs within the scope of the given network policy.

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

Returns
TypeDescription
List<Builder>

getExternalAddressesCount()

public int getExternalAddressesCount()

A list of external IP addresses assigned to VMware workload VMs within the scope of the given network policy.

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

Returns
TypeDescription
int

getExternalAddressesList()

public List<ExternalAddress> getExternalAddressesList()

A list of external IP addresses assigned to VMware workload VMs within the scope of the given network policy.

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 assigned to VMware workload VMs within the scope of the given network policy.

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 assigned to VMware workload VMs within the scope of the given network policy.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FetchNetworkPolicyExternalAddressesResponse other)

public FetchNetworkPolicyExternalAddressesResponse.Builder mergeFrom(FetchNetworkPolicyExternalAddressesResponse other)
Parameter
NameDescription
otherFetchNetworkPolicyExternalAddressesResponse
Returns
TypeDescription
FetchNetworkPolicyExternalAddressesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeExternalAddresses(int index)

public FetchNetworkPolicyExternalAddressesResponse.Builder removeExternalAddresses(int index)

A list of external IP addresses assigned to VMware workload VMs within the scope of the given network policy.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
FetchNetworkPolicyExternalAddressesResponse.Builder

setExternalAddresses(int index, ExternalAddress value)

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

A list of external IP addresses assigned to VMware workload VMs within the scope of the given network policy.

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

Parameters
NameDescription
indexint
valueExternalAddress
Returns
TypeDescription
FetchNetworkPolicyExternalAddressesResponse.Builder

setExternalAddresses(int index, ExternalAddress.Builder builderForValue)

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

A list of external IP addresses assigned to VMware workload VMs within the scope of the given network policy.

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

Parameters
NameDescription
indexint
builderForValueExternalAddress.Builder
Returns
TypeDescription
FetchNetworkPolicyExternalAddressesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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