Package com.google.cloud.vmwareengine.v1
Class ListPrivateCloudsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListPrivateCloudsResponse.Builder>
-
- com.google.cloud.vmwareengine.v1.ListPrivateCloudsResponse.Builder
-
- All Implemented Interfaces:
ListPrivateCloudsResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ListPrivateCloudsResponse
public static final class ListPrivateCloudsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListPrivateCloudsResponse.Builder> implements ListPrivateCloudsResponseOrBuilder
Response message for [VmwareEngine.ListPrivateClouds][google.cloud.vmwareengine.v1.VmwareEngine.ListPrivateClouds]
Protobuf typegoogle.cloud.vmwareengine.v1.ListPrivateCloudsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListPrivateCloudsResponse.Builder
addAllPrivateClouds(Iterable<? extends PrivateCloud> values)
A list of private clouds.ListPrivateCloudsResponse.Builder
addAllUnreachable(Iterable<String> values)
Locations that could not be reached when making an aggregated query using wildcards.ListPrivateCloudsResponse.Builder
addPrivateClouds(int index, PrivateCloud value)
A list of private clouds.ListPrivateCloudsResponse.Builder
addPrivateClouds(int index, PrivateCloud.Builder builderForValue)
A list of private clouds.ListPrivateCloudsResponse.Builder
addPrivateClouds(PrivateCloud value)
A list of private clouds.ListPrivateCloudsResponse.Builder
addPrivateClouds(PrivateCloud.Builder builderForValue)
A list of private clouds.PrivateCloud.Builder
addPrivateCloudsBuilder()
A list of private clouds.PrivateCloud.Builder
addPrivateCloudsBuilder(int index)
A list of private clouds.ListPrivateCloudsResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListPrivateCloudsResponse.Builder
addUnreachable(String value)
Locations that could not be reached when making an aggregated query using wildcards.ListPrivateCloudsResponse.Builder
addUnreachableBytes(com.google.protobuf.ByteString value)
Locations that could not be reached when making an aggregated query using wildcards.ListPrivateCloudsResponse
build()
ListPrivateCloudsResponse
buildPartial()
ListPrivateCloudsResponse.Builder
clear()
ListPrivateCloudsResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListPrivateCloudsResponse.Builder
clearNextPageToken()
A token, which can be sent as `page_token` to retrieve the next page.ListPrivateCloudsResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListPrivateCloudsResponse.Builder
clearPrivateClouds()
A list of private clouds.ListPrivateCloudsResponse.Builder
clearUnreachable()
Locations that could not be reached when making an aggregated query using wildcards.ListPrivateCloudsResponse.Builder
clone()
ListPrivateCloudsResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getNextPageToken()
A token, which can be sent as `page_token` to retrieve the next page.com.google.protobuf.ByteString
getNextPageTokenBytes()
A token, which can be sent as `page_token` to retrieve the next page.PrivateCloud
getPrivateClouds(int index)
A list of private clouds.PrivateCloud.Builder
getPrivateCloudsBuilder(int index)
A list of private clouds.List<PrivateCloud.Builder>
getPrivateCloudsBuilderList()
A list of private clouds.int
getPrivateCloudsCount()
A list of private clouds.List<PrivateCloud>
getPrivateCloudsList()
A list of private clouds.PrivateCloudOrBuilder
getPrivateCloudsOrBuilder(int index)
A list of private clouds.List<? extends PrivateCloudOrBuilder>
getPrivateCloudsOrBuilderList()
A list of private clouds.String
getUnreachable(int index)
Locations that could not be reached when making an aggregated query using wildcards.com.google.protobuf.ByteString
getUnreachableBytes(int index)
Locations that could not be reached when making an aggregated query using wildcards.int
getUnreachableCount()
Locations that could not be reached when making an aggregated query using wildcards.com.google.protobuf.ProtocolStringList
getUnreachableList()
Locations that could not be reached when making an aggregated query using wildcards.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListPrivateCloudsResponse.Builder
mergeFrom(ListPrivateCloudsResponse other)
ListPrivateCloudsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListPrivateCloudsResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListPrivateCloudsResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListPrivateCloudsResponse.Builder
removePrivateClouds(int index)
A list of private clouds.ListPrivateCloudsResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListPrivateCloudsResponse.Builder
setNextPageToken(String value)
A token, which can be sent as `page_token` to retrieve the next page.ListPrivateCloudsResponse.Builder
setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token, which can be sent as `page_token` to retrieve the next page.ListPrivateCloudsResponse.Builder
setPrivateClouds(int index, PrivateCloud value)
A list of private clouds.ListPrivateCloudsResponse.Builder
setPrivateClouds(int index, PrivateCloud.Builder builderForValue)
A list of private clouds.ListPrivateCloudsResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListPrivateCloudsResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListPrivateCloudsResponse.Builder
setUnreachable(int index, String value)
Locations that could not be reached when making an aggregated query using wildcards.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPrivateCloudsResponse.Builder>
-
clear
public ListPrivateCloudsResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPrivateCloudsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPrivateCloudsResponse.Builder>
-
getDefaultInstanceForType
public ListPrivateCloudsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListPrivateCloudsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListPrivateCloudsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListPrivateCloudsResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPrivateCloudsResponse.Builder>
-
setField
public ListPrivateCloudsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPrivateCloudsResponse.Builder>
-
clearField
public ListPrivateCloudsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPrivateCloudsResponse.Builder>
-
clearOneof
public ListPrivateCloudsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPrivateCloudsResponse.Builder>
-
setRepeatedField
public ListPrivateCloudsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPrivateCloudsResponse.Builder>
-
addRepeatedField
public ListPrivateCloudsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPrivateCloudsResponse.Builder>
-
mergeFrom
public ListPrivateCloudsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListPrivateCloudsResponse.Builder>
-
mergeFrom
public ListPrivateCloudsResponse.Builder mergeFrom(ListPrivateCloudsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPrivateCloudsResponse.Builder>
-
mergeFrom
public ListPrivateCloudsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListPrivateCloudsResponse.Builder>
- Throws:
IOException
-
getPrivateCloudsList
public List<PrivateCloud> getPrivateCloudsList()
A list of private clouds.
repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
- Specified by:
getPrivateCloudsList
in interfaceListPrivateCloudsResponseOrBuilder
-
getPrivateCloudsCount
public int getPrivateCloudsCount()
A list of private clouds.
repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
- Specified by:
getPrivateCloudsCount
in interfaceListPrivateCloudsResponseOrBuilder
-
getPrivateClouds
public PrivateCloud getPrivateClouds(int index)
A list of private clouds.
repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
- Specified by:
getPrivateClouds
in interfaceListPrivateCloudsResponseOrBuilder
-
setPrivateClouds
public ListPrivateCloudsResponse.Builder setPrivateClouds(int index, PrivateCloud value)
A list of private clouds.
repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
-
setPrivateClouds
public ListPrivateCloudsResponse.Builder setPrivateClouds(int index, PrivateCloud.Builder builderForValue)
A list of private clouds.
repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
-
addPrivateClouds
public ListPrivateCloudsResponse.Builder addPrivateClouds(PrivateCloud value)
A list of private clouds.
repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
-
addPrivateClouds
public ListPrivateCloudsResponse.Builder addPrivateClouds(int index, PrivateCloud value)
A list of private clouds.
repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
-
addPrivateClouds
public ListPrivateCloudsResponse.Builder addPrivateClouds(PrivateCloud.Builder builderForValue)
A list of private clouds.
repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
-
addPrivateClouds
public ListPrivateCloudsResponse.Builder addPrivateClouds(int index, PrivateCloud.Builder builderForValue)
A list of private clouds.
repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
-
addAllPrivateClouds
public ListPrivateCloudsResponse.Builder addAllPrivateClouds(Iterable<? extends PrivateCloud> values)
A list of private clouds.
repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
-
clearPrivateClouds
public ListPrivateCloudsResponse.Builder clearPrivateClouds()
A list of private clouds.
repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
-
removePrivateClouds
public ListPrivateCloudsResponse.Builder removePrivateClouds(int index)
A list of private clouds.
repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
-
getPrivateCloudsBuilder
public PrivateCloud.Builder getPrivateCloudsBuilder(int index)
A list of private clouds.
repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
-
getPrivateCloudsOrBuilder
public PrivateCloudOrBuilder getPrivateCloudsOrBuilder(int index)
A list of private clouds.
repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
- Specified by:
getPrivateCloudsOrBuilder
in interfaceListPrivateCloudsResponseOrBuilder
-
getPrivateCloudsOrBuilderList
public List<? extends PrivateCloudOrBuilder> getPrivateCloudsOrBuilderList()
A list of private clouds.
repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
- Specified by:
getPrivateCloudsOrBuilderList
in interfaceListPrivateCloudsResponseOrBuilder
-
addPrivateCloudsBuilder
public PrivateCloud.Builder addPrivateCloudsBuilder()
A list of private clouds.
repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
-
addPrivateCloudsBuilder
public PrivateCloud.Builder addPrivateCloudsBuilder(int index)
A list of private clouds.
repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
-
getPrivateCloudsBuilderList
public List<PrivateCloud.Builder> getPrivateCloudsBuilderList()
A list of private clouds.
repeated .google.cloud.vmwareengine.v1.PrivateCloud private_clouds = 1;
-
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;
- Specified by:
getNextPageToken
in interfaceListPrivateCloudsResponseOrBuilder
- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.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;
- Specified by:
getNextPageTokenBytes
in interfaceListPrivateCloudsResponseOrBuilder
- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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;
- Parameters:
value
- The nextPageToken to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNextPageTokenBytes
public ListPrivateCloudsResponse.Builder setNextPageTokenBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
getUnreachableList
public com.google.protobuf.ProtocolStringList getUnreachableList()
Locations that could not be reached when making an aggregated query using wildcards.
repeated string unreachable = 3;
- Specified by:
getUnreachableList
in interfaceListPrivateCloudsResponseOrBuilder
- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()
Locations that could not be reached when making an aggregated query using wildcards.
repeated string unreachable = 3;
- Specified by:
getUnreachableCount
in interfaceListPrivateCloudsResponseOrBuilder
- Returns:
- The count of unreachable.
-
getUnreachable
public String getUnreachable(int index)
Locations that could not be reached when making an aggregated query using wildcards.
repeated string unreachable = 3;
- Specified by:
getUnreachable
in interfaceListPrivateCloudsResponseOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The unreachable at the given index.
-
getUnreachableBytes
public com.google.protobuf.ByteString getUnreachableBytes(int index)
Locations that could not be reached when making an aggregated query using wildcards.
repeated string unreachable = 3;
- Specified by:
getUnreachableBytes
in interfaceListPrivateCloudsResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
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:
index
- The index to set the value at.value
- The unreachable to set.- Returns:
- This builder for chaining.
-
addUnreachable
public ListPrivateCloudsResponse.Builder addUnreachable(String value)
Locations that could not be reached when making an aggregated query using wildcards.
repeated string unreachable = 3;
- Parameters:
value
- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
public ListPrivateCloudsResponse.Builder addAllUnreachable(Iterable<String> values)
Locations that could not be reached when making an aggregated query using wildcards.
repeated string unreachable = 3;
- Parameters:
values
- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
public ListPrivateCloudsResponse.Builder clearUnreachable()
Locations that could not be reached when making an aggregated query using wildcards.
repeated string unreachable = 3;
- Returns:
- This builder for chaining.
-
addUnreachableBytes
public ListPrivateCloudsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
Locations that could not be reached when making an aggregated query using wildcards.
repeated string unreachable = 3;
- Parameters:
value
- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListPrivateCloudsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPrivateCloudsResponse.Builder>
-
mergeUnknownFields
public final ListPrivateCloudsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListPrivateCloudsResponse.Builder>
-
-