Class ListPrivateCloudsResponse.Builder (0.16.0)

public static final class ListPrivateCloudsResponse.Builder extends GeneratedMessageV3.Builder<ListPrivateCloudsResponse.Builder> implements ListPrivateCloudsResponseOrBuilder

Response message for VmwareEngine.ListPrivateClouds

Protobuf type google.cloud.vmwareengine.v1.ListPrivateCloudsResponse

Static Methods

getDescriptor()

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

Methods

addAllPrivateClouds(Iterable<? extends PrivateCloud> values)

public ListPrivateCloudsResponse.Builder addAllPrivateClouds(Iterable<? extends PrivateCloud> values)

A list of private clouds.

repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;

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

addAllUnreachable(Iterable<String> values)

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

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
ListPrivateCloudsResponse.Builder

This builder for chaining.

addPrivateClouds(PrivateCloud value)

public ListPrivateCloudsResponse.Builder addPrivateClouds(PrivateCloud value)

A list of private clouds.

repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;

Parameter
NameDescription
valuePrivateCloud
Returns
TypeDescription
ListPrivateCloudsResponse.Builder

addPrivateClouds(PrivateCloud.Builder builderForValue)

public ListPrivateCloudsResponse.Builder addPrivateClouds(PrivateCloud.Builder builderForValue)

A list of private clouds.

repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;

Parameter
NameDescription
builderForValuePrivateCloud.Builder
Returns
TypeDescription
ListPrivateCloudsResponse.Builder

addPrivateClouds(int index, PrivateCloud value)

public ListPrivateCloudsResponse.Builder addPrivateClouds(int index, PrivateCloud value)

A list of private clouds.

repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;

Parameters
NameDescription
indexint
valuePrivateCloud
Returns
TypeDescription
ListPrivateCloudsResponse.Builder

addPrivateClouds(int index, PrivateCloud.Builder builderForValue)

public ListPrivateCloudsResponse.Builder addPrivateClouds(int index, PrivateCloud.Builder builderForValue)

A list of private clouds.

repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;

Parameters
NameDescription
indexint
builderForValuePrivateCloud.Builder
Returns
TypeDescription
ListPrivateCloudsResponse.Builder

addPrivateCloudsBuilder()

public PrivateCloud.Builder addPrivateCloudsBuilder()

A list of private clouds.

repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;

Returns
TypeDescription
PrivateCloud.Builder

addPrivateCloudsBuilder(int index)

public PrivateCloud.Builder addPrivateCloudsBuilder(int index)

A list of private clouds.

repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PrivateCloud.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

public ListPrivateCloudsResponse.Builder addUnreachable(String value)

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
ListPrivateCloudsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListPrivateCloudsResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Parameter
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListPrivateCloudsResponse.Builder

This builder for chaining.

build()

public ListPrivateCloudsResponse build()
Returns
TypeDescription
ListPrivateCloudsResponse

buildPartial()

public ListPrivateCloudsResponse buildPartial()
Returns
TypeDescription
ListPrivateCloudsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPrivateClouds()

public ListPrivateCloudsResponse.Builder clearPrivateClouds()

A list of private clouds.

repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;

Returns
TypeDescription
ListPrivateCloudsResponse.Builder

clearUnreachable()

public ListPrivateCloudsResponse.Builder clearUnreachable()

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Returns
TypeDescription
ListPrivateCloudsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListPrivateCloudsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListPrivateCloudsResponse

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.

getPrivateClouds(int index)

public PrivateCloud getPrivateClouds(int index)

A list of private clouds.

repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PrivateCloud

getPrivateCloudsBuilder(int index)

public PrivateCloud.Builder getPrivateCloudsBuilder(int index)

A list of private clouds.

repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PrivateCloud.Builder

getPrivateCloudsBuilderList()

public List<PrivateCloud.Builder> getPrivateCloudsBuilderList()

A list of private clouds.

repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;

Returns
TypeDescription
List<Builder>

getPrivateCloudsCount()

public int getPrivateCloudsCount()

A list of private clouds.

repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;

Returns
TypeDescription
int

getPrivateCloudsList()

public List<PrivateCloud> getPrivateCloudsList()

A list of private clouds.

repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;

Returns
TypeDescription
List<PrivateCloud>

getPrivateCloudsOrBuilder(int index)

public PrivateCloudOrBuilder getPrivateCloudsOrBuilder(int index)

A list of private clouds.

repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PrivateCloudOrBuilder

getPrivateCloudsOrBuilderList()

public List<? extends PrivateCloudOrBuilder> getPrivateCloudsOrBuilderList()

A list of private clouds.

repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;

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

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

Locations that could not be reached when making an aggregated query using wildcards.

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

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Returns
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListPrivateCloudsResponse other)

public ListPrivateCloudsResponse.Builder mergeFrom(ListPrivateCloudsResponse other)
Parameter
NameDescription
otherListPrivateCloudsResponse
Returns
TypeDescription
ListPrivateCloudsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removePrivateClouds(int index)

public ListPrivateCloudsResponse.Builder removePrivateClouds(int index)

A list of private clouds.

repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListPrivateCloudsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

setPrivateClouds(int index, PrivateCloud value)

public ListPrivateCloudsResponse.Builder setPrivateClouds(int index, PrivateCloud value)

A list of private clouds.

repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;

Parameters
NameDescription
indexint
valuePrivateCloud
Returns
TypeDescription
ListPrivateCloudsResponse.Builder

setPrivateClouds(int index, PrivateCloud.Builder builderForValue)

public ListPrivateCloudsResponse.Builder setPrivateClouds(int index, PrivateCloud.Builder builderForValue)

A list of private clouds.

repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;

Parameters
NameDescription
indexint
builderForValuePrivateCloud.Builder
Returns
TypeDescription
ListPrivateCloudsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

Locations that could not be reached when making an aggregated query using wildcards.

repeated string unreachable = 3;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListPrivateCloudsResponse.Builder

This builder for chaining.