Class ListVmwareEngineNetworksResponse.Builder (0.29.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
TypeDescription
Descriptor

Methods

addAllUnreachable(Iterable<String> values)

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

Unreachable resources.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.vmwareengine.v1.VmwareEngineNetwork>
Returns
TypeDescription
ListVmwareEngineNetworksResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListVmwareEngineNetworksResponse.Builder addUnreachable(String value)

Unreachable resources.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
ListVmwareEngineNetworksResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListVmwareEngineNetworksResponse.Builder addUnreachableBytes(ByteString value)

Unreachable resources.

repeated string unreachable = 3;

Parameter
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
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
NameDescription
valueVmwareEngineNetwork
Returns
TypeDescription
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
NameDescription
builderForValueVmwareEngineNetwork.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueVmwareEngineNetwork
Returns
TypeDescription
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
NameDescription
indexint
builderForValueVmwareEngineNetwork.Builder
Returns
TypeDescription
ListVmwareEngineNetworksResponse.Builder

addVmwareEngineNetworksBuilder()

public VmwareEngineNetwork.Builder addVmwareEngineNetworksBuilder()

A list of VMware Engine networks.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
VmwareEngineNetwork.Builder

build()

public ListVmwareEngineNetworksResponse build()
Returns
TypeDescription
ListVmwareEngineNetworksResponse

buildPartial()

public ListVmwareEngineNetworksResponse buildPartial()
Returns
TypeDescription
ListVmwareEngineNetworksResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListVmwareEngineNetworksResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListVmwareEngineNetworksResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListVmwareEngineNetworksResponse.Builder clearUnreachable()

Unreachable resources.

repeated string unreachable = 3;

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

clone()

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

getDefaultInstanceForType()

public ListVmwareEngineNetworksResponse getDefaultInstanceForType()
Returns
TypeDescription
ListVmwareEngineNetworksResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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)

Unreachable resources.

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)

Unreachable resources.

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

Unreachable resources.

repeated string unreachable = 3;

Returns
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Unreachable resources.

repeated string unreachable = 3;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getVmwareEngineNetworksCount()

public int getVmwareEngineNetworksCount()

A list of VMware Engine networks.

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

Returns
TypeDescription
int

getVmwareEngineNetworksList()

public List<VmwareEngineNetwork> getVmwareEngineNetworksList()

A list of VMware Engine networks.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
VmwareEngineNetworkOrBuilder

getVmwareEngineNetworksOrBuilderList()

public List<? extends VmwareEngineNetworkOrBuilder> getVmwareEngineNetworksOrBuilderList()

A list of VMware Engine networks.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListVmwareEngineNetworksResponse other)

public ListVmwareEngineNetworksResponse.Builder mergeFrom(ListVmwareEngineNetworksResponse other)
Parameter
NameDescription
otherListVmwareEngineNetworksResponse
Returns
TypeDescription
ListVmwareEngineNetworksResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListVmwareEngineNetworksResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListVmwareEngineNetworksResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListVmwareEngineNetworksResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListVmwareEngineNetworksResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

Unreachable resources.

repeated string unreachable = 3;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
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
NameDescription
indexint
valueVmwareEngineNetwork
Returns
TypeDescription
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
NameDescription
indexint
builderForValueVmwareEngineNetwork.Builder
Returns
TypeDescription
ListVmwareEngineNetworksResponse.Builder