Class ListVmwareEngineNetworksResponse.Builder (0.42.0)

public static final class ListVmwareEngineNetworksResponse.Builder extends GeneratedMessageV3.Builder<ListVmwareEngineNetworksResponse.Builder> implements ListVmwareEngineNetworksResponseOrBuilder

Response message for VmwareEngine.ListVmwareEngineNetworks

Protobuf type google.cloud.vmwareengine.v1.ListVmwareEngineNetworksResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllUnreachable(Iterable<String> values)

public ListVmwareEngineNetworksResponse.Builder addAllUnreachable(Iterable<String> values)

Unreachable resources.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListVmwareEngineNetworksResponse.Builder

This builder for chaining.

addAllVmwareEngineNetworks(Iterable<? extends VmwareEngineNetwork> values)

public ListVmwareEngineNetworksResponse.Builder addAllVmwareEngineNetworks(Iterable<? extends VmwareEngineNetwork> values)

A list of VMware Engine networks.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork vmware_engine_networks = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.vmwareengine.v1.VmwareEngineNetwork>
Returns
Type Description
ListVmwareEngineNetworksResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListVmwareEngineNetworksResponse.Builder addUnreachable(String value)

Unreachable resources.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListVmwareEngineNetworksResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListVmwareEngineNetworksResponse.Builder addUnreachableBytes(ByteString value)

Unreachable resources.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListVmwareEngineNetworksResponse.Builder

This builder for chaining.

addVmwareEngineNetworks(VmwareEngineNetwork value)

public ListVmwareEngineNetworksResponse.Builder addVmwareEngineNetworks(VmwareEngineNetwork value)

A list of VMware Engine networks.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork vmware_engine_networks = 1;

Parameter
Name Description
value VmwareEngineNetwork
Returns
Type Description
ListVmwareEngineNetworksResponse.Builder

addVmwareEngineNetworks(VmwareEngineNetwork.Builder builderForValue)

public ListVmwareEngineNetworksResponse.Builder addVmwareEngineNetworks(VmwareEngineNetwork.Builder builderForValue)

A list of VMware Engine networks.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork vmware_engine_networks = 1;

Parameter
Name Description
builderForValue VmwareEngineNetwork.Builder
Returns
Type Description
ListVmwareEngineNetworksResponse.Builder

addVmwareEngineNetworks(int index, VmwareEngineNetwork value)

public ListVmwareEngineNetworksResponse.Builder addVmwareEngineNetworks(int index, VmwareEngineNetwork value)

A list of VMware Engine networks.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork vmware_engine_networks = 1;

Parameters
Name Description
index int
value VmwareEngineNetwork
Returns
Type Description
ListVmwareEngineNetworksResponse.Builder

addVmwareEngineNetworks(int index, VmwareEngineNetwork.Builder builderForValue)

public ListVmwareEngineNetworksResponse.Builder addVmwareEngineNetworks(int index, VmwareEngineNetwork.Builder builderForValue)

A list of VMware Engine networks.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork vmware_engine_networks = 1;

Parameters
Name Description
index int
builderForValue VmwareEngineNetwork.Builder
Returns
Type Description
ListVmwareEngineNetworksResponse.Builder

addVmwareEngineNetworksBuilder()

public VmwareEngineNetwork.Builder addVmwareEngineNetworksBuilder()

A list of VMware Engine networks.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork vmware_engine_networks = 1;

Returns
Type Description
VmwareEngineNetwork.Builder

addVmwareEngineNetworksBuilder(int index)

public VmwareEngineNetwork.Builder addVmwareEngineNetworksBuilder(int index)

A list of VMware Engine networks.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork vmware_engine_networks = 1;

Parameter
Name Description
index int
Returns
Type Description
VmwareEngineNetwork.Builder

build()

public ListVmwareEngineNetworksResponse build()
Returns
Type Description
ListVmwareEngineNetworksResponse

buildPartial()

public ListVmwareEngineNetworksResponse buildPartial()
Returns
Type Description
ListVmwareEngineNetworksResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListVmwareEngineNetworksResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListVmwareEngineNetworksResponse.Builder
Overrides

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListVmwareEngineNetworksResponse.Builder clearUnreachable()

Unreachable resources.

repeated string unreachable = 3;

Returns
Type Description
ListVmwareEngineNetworksResponse.Builder

This builder for chaining.

clearVmwareEngineNetworks()

public ListVmwareEngineNetworksResponse.Builder clearVmwareEngineNetworks()

A list of VMware Engine networks.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork vmware_engine_networks = 1;

Returns
Type Description
ListVmwareEngineNetworksResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListVmwareEngineNetworksResponse getDefaultInstanceForType()
Returns
Type Description
ListVmwareEngineNetworksResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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)

Unreachable resources.

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)

Unreachable resources.

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

Unreachable resources.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Unreachable resources.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

getVmwareEngineNetworks(int index)

public VmwareEngineNetwork getVmwareEngineNetworks(int index)

A list of VMware Engine networks.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork vmware_engine_networks = 1;

Parameter
Name Description
index int
Returns
Type Description
VmwareEngineNetwork

getVmwareEngineNetworksBuilder(int index)

public VmwareEngineNetwork.Builder getVmwareEngineNetworksBuilder(int index)

A list of VMware Engine networks.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork vmware_engine_networks = 1;

Parameter
Name Description
index int
Returns
Type Description
VmwareEngineNetwork.Builder

getVmwareEngineNetworksBuilderList()

public List<VmwareEngineNetwork.Builder> getVmwareEngineNetworksBuilderList()

A list of VMware Engine networks.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork vmware_engine_networks = 1;

Returns
Type Description
List<Builder>

getVmwareEngineNetworksCount()

public int getVmwareEngineNetworksCount()

A list of VMware Engine networks.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork vmware_engine_networks = 1;

Returns
Type Description
int

getVmwareEngineNetworksList()

public List<VmwareEngineNetwork> getVmwareEngineNetworksList()

A list of VMware Engine networks.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork vmware_engine_networks = 1;

Returns
Type Description
List<VmwareEngineNetwork>

getVmwareEngineNetworksOrBuilder(int index)

public VmwareEngineNetworkOrBuilder getVmwareEngineNetworksOrBuilder(int index)

A list of VMware Engine networks.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork vmware_engine_networks = 1;

Parameter
Name Description
index int
Returns
Type Description
VmwareEngineNetworkOrBuilder

getVmwareEngineNetworksOrBuilderList()

public List<? extends VmwareEngineNetworkOrBuilder> getVmwareEngineNetworksOrBuilderList()

A list of VMware Engine networks.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork vmware_engine_networks = 1;

Returns
Type Description
List<? extends com.google.cloud.vmwareengine.v1.VmwareEngineNetworkOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListVmwareEngineNetworksResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListVmwareEngineNetworksResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListVmwareEngineNetworksResponse.Builder
Overrides

removeVmwareEngineNetworks(int index)

public ListVmwareEngineNetworksResponse.Builder removeVmwareEngineNetworks(int index)

A list of VMware Engine networks.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork vmware_engine_networks = 1;

Parameter
Name Description
index int
Returns
Type Description
ListVmwareEngineNetworksResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

public ListVmwareEngineNetworksResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListVmwareEngineNetworksResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListVmwareEngineNetworksResponse.Builder setUnreachable(int index, String value)

Unreachable resources.

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
ListVmwareEngineNetworksResponse.Builder

This builder for chaining.

setVmwareEngineNetworks(int index, VmwareEngineNetwork value)

public ListVmwareEngineNetworksResponse.Builder setVmwareEngineNetworks(int index, VmwareEngineNetwork value)

A list of VMware Engine networks.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork vmware_engine_networks = 1;

Parameters
Name Description
index int
value VmwareEngineNetwork
Returns
Type Description
ListVmwareEngineNetworksResponse.Builder

setVmwareEngineNetworks(int index, VmwareEngineNetwork.Builder builderForValue)

public ListVmwareEngineNetworksResponse.Builder setVmwareEngineNetworks(int index, VmwareEngineNetwork.Builder builderForValue)

A list of VMware Engine networks.

repeated .google.cloud.vmwareengine.v1.VmwareEngineNetwork vmware_engine_networks = 1;

Parameters
Name Description
index int
builderForValue VmwareEngineNetwork.Builder
Returns
Type Description
ListVmwareEngineNetworksResponse.Builder