Class ListPrivateCloudsResponse.Builder (0.39.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.vmwareengine.v1.PrivateCloud>
Returns
Type Description
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
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
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
Name Description
value PrivateCloud
Returns
Type Description
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
Name Description
builderForValue PrivateCloud.Builder
Returns
Type Description
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
Name Description
index int
value PrivateCloud
Returns
Type Description
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
Name Description
index int
builderForValue PrivateCloud.Builder
Returns
Type Description
ListPrivateCloudsResponse.Builder

addPrivateCloudsBuilder()

public PrivateCloud.Builder addPrivateCloudsBuilder()

A list of private clouds.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
PrivateCloud.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

The unreachable to add.

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

The bytes of the unreachable to add.

Returns
Type Description
ListPrivateCloudsResponse.Builder

This builder for chaining.

build()

public ListPrivateCloudsResponse build()
Returns
Type Description
ListPrivateCloudsResponse

buildPartial()

public ListPrivateCloudsResponse buildPartial()
Returns
Type Description
ListPrivateCloudsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPrivateClouds()

public ListPrivateCloudsResponse.Builder clearPrivateClouds()

A list of private clouds.

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

Returns
Type Description
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
Type Description
ListPrivateCloudsResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListPrivateCloudsResponse getDefaultInstanceForType()
Returns
Type Description
ListPrivateCloudsResponse

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.

getPrivateClouds(int index)

public PrivateCloud getPrivateClouds(int index)

A list of private clouds.

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

Parameter
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
PrivateCloud.Builder

getPrivateCloudsBuilderList()

public List<PrivateCloud.Builder> getPrivateCloudsBuilderList()

A list of private clouds.

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

Returns
Type Description
List<Builder>

getPrivateCloudsCount()

public int getPrivateCloudsCount()

A list of private clouds.

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

Returns
Type Description
int

getPrivateCloudsList()

public List<PrivateCloud> getPrivateCloudsList()

A list of private clouds.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
PrivateCloudOrBuilder

getPrivateCloudsOrBuilderList()

public List<? extends PrivateCloudOrBuilder> getPrivateCloudsOrBuilderList()

A list of private clouds.

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

Returns
Type Description
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
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)

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

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

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

repeated string unreachable = 3;

Returns
Type Description
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
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListPrivateCloudsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
Type Description
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
Name Description
index int
value PrivateCloud
Returns
Type Description
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
Name Description
index int
builderForValue PrivateCloud.Builder
Returns
Type Description
ListPrivateCloudsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ListPrivateCloudsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListPrivateCloudsResponse.Builder

This builder for chaining.