Package com.google.cloud.config.v1
Class ListDeploymentGroupsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListDeploymentGroupsResponse.Builder>
com.google.cloud.config.v1.ListDeploymentGroupsResponse.Builder
- All Implemented Interfaces:
ListDeploymentGroupsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListDeploymentGroupsResponse
public static final class ListDeploymentGroupsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListDeploymentGroupsResponse.Builder>
implements ListDeploymentGroupsResponseOrBuilder
The response message for the ListDeploymentGroups method.Protobuf type
google.cloud.config.v1.ListDeploymentGroupsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllDeploymentGroups(Iterable<? extends DeploymentGroup> values) The deployment groups from the specified collection.addAllUnreachable(Iterable<String> values) Locations that could not be reached.addDeploymentGroups(int index, DeploymentGroup value) The deployment groups from the specified collection.addDeploymentGroups(int index, DeploymentGroup.Builder builderForValue) The deployment groups from the specified collection.The deployment groups from the specified collection.addDeploymentGroups(DeploymentGroup.Builder builderForValue) The deployment groups from the specified collection.The deployment groups from the specified collection.addDeploymentGroupsBuilder(int index) The deployment groups from the specified collection.addUnreachable(String value) Locations that could not be reached.addUnreachableBytes(com.google.protobuf.ByteString value) Locations that could not be reached.build()clear()The deployment groups from the specified collection.Token to be supplied to the next ListDeploymentGroups request via `page_token` to obtain the next set of results.Locations that could not be reached.getDeploymentGroups(int index) The deployment groups from the specified collection.getDeploymentGroupsBuilder(int index) The deployment groups from the specified collection.The deployment groups from the specified collection.intThe deployment groups from the specified collection.The deployment groups from the specified collection.getDeploymentGroupsOrBuilder(int index) The deployment groups from the specified collection.List<? extends DeploymentGroupOrBuilder>The deployment groups from the specified collection.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorToken to be supplied to the next ListDeploymentGroups request via `page_token` to obtain the next set of results.com.google.protobuf.ByteStringToken to be supplied to the next ListDeploymentGroups request via `page_token` to obtain the next set of results.getUnreachable(int index) Locations that could not be reached.com.google.protobuf.ByteStringgetUnreachableBytes(int index) Locations that could not be reached.intLocations that could not be reached.com.google.protobuf.ProtocolStringListLocations that could not be reached.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeDeploymentGroups(int index) The deployment groups from the specified collection.setDeploymentGroups(int index, DeploymentGroup value) The deployment groups from the specified collection.setDeploymentGroups(int index, DeploymentGroup.Builder builderForValue) The deployment groups from the specified collection.setNextPageToken(String value) Token to be supplied to the next ListDeploymentGroups request via `page_token` to obtain the next set of results.setNextPageTokenBytes(com.google.protobuf.ByteString value) Token to be supplied to the next ListDeploymentGroups request via `page_token` to obtain the next set of results.setUnreachable(int index, String value) Locations that could not be reached.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListDeploymentGroupsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListDeploymentGroupsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ListDeploymentGroupsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListDeploymentGroupsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListDeploymentGroupsResponse.Builder>
-
mergeFrom
public ListDeploymentGroupsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListDeploymentGroupsResponse.Builder>- Throws:
IOException
-
getDeploymentGroupsList
The deployment groups from the specified collection.
repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1;- Specified by:
getDeploymentGroupsListin interfaceListDeploymentGroupsResponseOrBuilder
-
getDeploymentGroupsCount
public int getDeploymentGroupsCount()The deployment groups from the specified collection.
repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1;- Specified by:
getDeploymentGroupsCountin interfaceListDeploymentGroupsResponseOrBuilder
-
getDeploymentGroups
The deployment groups from the specified collection.
repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1;- Specified by:
getDeploymentGroupsin interfaceListDeploymentGroupsResponseOrBuilder
-
setDeploymentGroups
The deployment groups from the specified collection.
repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; -
setDeploymentGroups
public ListDeploymentGroupsResponse.Builder setDeploymentGroups(int index, DeploymentGroup.Builder builderForValue) The deployment groups from the specified collection.
repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; -
addDeploymentGroups
The deployment groups from the specified collection.
repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; -
addDeploymentGroups
The deployment groups from the specified collection.
repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; -
addDeploymentGroups
public ListDeploymentGroupsResponse.Builder addDeploymentGroups(DeploymentGroup.Builder builderForValue) The deployment groups from the specified collection.
repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; -
addDeploymentGroups
public ListDeploymentGroupsResponse.Builder addDeploymentGroups(int index, DeploymentGroup.Builder builderForValue) The deployment groups from the specified collection.
repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; -
addAllDeploymentGroups
public ListDeploymentGroupsResponse.Builder addAllDeploymentGroups(Iterable<? extends DeploymentGroup> values) The deployment groups from the specified collection.
repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; -
clearDeploymentGroups
The deployment groups from the specified collection.
repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; -
removeDeploymentGroups
The deployment groups from the specified collection.
repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; -
getDeploymentGroupsBuilder
The deployment groups from the specified collection.
repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; -
getDeploymentGroupsOrBuilder
The deployment groups from the specified collection.
repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1;- Specified by:
getDeploymentGroupsOrBuilderin interfaceListDeploymentGroupsResponseOrBuilder
-
getDeploymentGroupsOrBuilderList
The deployment groups from the specified collection.
repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1;- Specified by:
getDeploymentGroupsOrBuilderListin interfaceListDeploymentGroupsResponseOrBuilder
-
addDeploymentGroupsBuilder
The deployment groups from the specified collection.
repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; -
addDeploymentGroupsBuilder
The deployment groups from the specified collection.
repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; -
getDeploymentGroupsBuilderList
The deployment groups from the specified collection.
repeated .google.cloud.config.v1.DeploymentGroup deployment_groups = 1; -
getNextPageToken
Token to be supplied to the next ListDeploymentGroups request via `page_token` to obtain the next set of results.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceListDeploymentGroupsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()Token to be supplied to the next ListDeploymentGroups request via `page_token` to obtain the next set of results.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceListDeploymentGroupsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
Token to be supplied to the next ListDeploymentGroups request via `page_token` to obtain the next set of results.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
Token to be supplied to the next ListDeploymentGroups request via `page_token` to obtain the next set of results.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListDeploymentGroupsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) Token to be supplied to the next ListDeploymentGroups request via `page_token` to obtain the next set of results.
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.
repeated string unreachable = 3;- Specified by:
getUnreachableListin interfaceListDeploymentGroupsResponseOrBuilder- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()Locations that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachableCountin interfaceListDeploymentGroupsResponseOrBuilder- Returns:
- The count of unreachable.
-
getUnreachable
Locations that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachablein interfaceListDeploymentGroupsResponseOrBuilder- 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.
repeated string unreachable = 3;- Specified by:
getUnreachableBytesin interfaceListDeploymentGroupsResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
Locations that could not be reached.
repeated string unreachable = 3;- Parameters:
index- The index to set the value at.value- The unreachable to set.- Returns:
- This builder for chaining.
-
addUnreachable
Locations that could not be reached.
repeated string unreachable = 3;- Parameters:
value- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
Locations that could not be reached.
repeated string unreachable = 3;- Parameters:
values- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
Locations that could not be reached.
repeated string unreachable = 3;- Returns:
- This builder for chaining.
-
addUnreachableBytes
public ListDeploymentGroupsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value) Locations that could not be reached.
repeated string unreachable = 3;- Parameters:
value- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-