Class FetchNetworkPolicyExternalAddressesResponse.Builder (0.39.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.vmwareengine.v1.ExternalAddress>
Returns
Type Description
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
Name Description
value ExternalAddress
Returns
Type Description
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
Name Description
builderForValue ExternalAddress.Builder
Returns
Type Description
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
Name Description
index int
value ExternalAddress
Returns
Type Description
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
Name Description
index int
builderForValue ExternalAddress.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
ExternalAddress.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FetchNetworkPolicyExternalAddressesResponse build()
Returns
Type Description
FetchNetworkPolicyExternalAddressesResponse

buildPartial()

public FetchNetworkPolicyExternalAddressesResponse buildPartial()
Returns
Type Description
FetchNetworkPolicyExternalAddressesResponse

clear()

public FetchNetworkPolicyExternalAddressesResponse.Builder clear()
Returns
Type Description
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
Type Description
FetchNetworkPolicyExternalAddressesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public FetchNetworkPolicyExternalAddressesResponse getDefaultInstanceForType()
Returns
Type Description
FetchNetworkPolicyExternalAddressesResponse

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchNetworkPolicyExternalAddressesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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