Class ListWorkstationConfigsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListWorkstationConfigsResponse.Builder>
com.google.cloud.workstations.v1beta.ListWorkstationConfigsResponse.Builder
- All Implemented Interfaces:
ListWorkstationConfigsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListWorkstationConfigsResponse
public static final class ListWorkstationConfigsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListWorkstationConfigsResponse.Builder>
implements ListWorkstationConfigsResponseOrBuilder
Response message for ListWorkstationConfigs.Protobuf type
google.cloud.workstations.v1beta.ListWorkstationConfigsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllUnreachable(Iterable<String> values) Unreachable resources.addAllWorkstationConfigs(Iterable<? extends WorkstationConfig> values) The requested configs.addUnreachable(String value) Unreachable resources.addUnreachableBytes(com.google.protobuf.ByteString value) Unreachable resources.addWorkstationConfigs(int index, WorkstationConfig value) The requested configs.addWorkstationConfigs(int index, WorkstationConfig.Builder builderForValue) The requested configs.The requested configs.addWorkstationConfigs(WorkstationConfig.Builder builderForValue) The requested configs.The requested configs.addWorkstationConfigsBuilder(int index) The requested configs.build()clear()Token to retrieve the next page of results, or empty if there are no more results in the list.Unreachable resources.The requested configs.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorToken to retrieve the next page of results, or empty if there are no more results in the list.com.google.protobuf.ByteStringToken to retrieve the next page of results, or empty if there are no more results in the list.getUnreachable(int index) Unreachable resources.com.google.protobuf.ByteStringgetUnreachableBytes(int index) Unreachable resources.intUnreachable resources.com.google.protobuf.ProtocolStringListUnreachable resources.getWorkstationConfigs(int index) The requested configs.getWorkstationConfigsBuilder(int index) The requested configs.The requested configs.intThe requested configs.The requested configs.getWorkstationConfigsOrBuilder(int index) The requested configs.List<? extends WorkstationConfigOrBuilder>The requested configs.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeWorkstationConfigs(int index) The requested configs.setNextPageToken(String value) Token to retrieve the next page of results, or empty if there are no more results in the list.setNextPageTokenBytes(com.google.protobuf.ByteString value) Token to retrieve the next page of results, or empty if there are no more results in the list.setUnreachable(int index, String value) Unreachable resources.setWorkstationConfigs(int index, WorkstationConfig value) The requested configs.setWorkstationConfigs(int index, WorkstationConfig.Builder builderForValue) The requested configs.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<ListWorkstationConfigsResponse.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<ListWorkstationConfigsResponse.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<ListWorkstationConfigsResponse.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<ListWorkstationConfigsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListWorkstationConfigsResponse.Builder>
-
mergeFrom
public ListWorkstationConfigsResponse.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<ListWorkstationConfigsResponse.Builder>- Throws:
IOException
-
getWorkstationConfigsList
The requested configs.
repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1;- Specified by:
getWorkstationConfigsListin interfaceListWorkstationConfigsResponseOrBuilder
-
getWorkstationConfigsCount
public int getWorkstationConfigsCount()The requested configs.
repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1;- Specified by:
getWorkstationConfigsCountin interfaceListWorkstationConfigsResponseOrBuilder
-
getWorkstationConfigs
The requested configs.
repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1;- Specified by:
getWorkstationConfigsin interfaceListWorkstationConfigsResponseOrBuilder
-
setWorkstationConfigs
public ListWorkstationConfigsResponse.Builder setWorkstationConfigs(int index, WorkstationConfig value) The requested configs.
repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1; -
setWorkstationConfigs
public ListWorkstationConfigsResponse.Builder setWorkstationConfigs(int index, WorkstationConfig.Builder builderForValue) The requested configs.
repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1; -
addWorkstationConfigs
The requested configs.
repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1; -
addWorkstationConfigs
public ListWorkstationConfigsResponse.Builder addWorkstationConfigs(int index, WorkstationConfig value) The requested configs.
repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1; -
addWorkstationConfigs
public ListWorkstationConfigsResponse.Builder addWorkstationConfigs(WorkstationConfig.Builder builderForValue) The requested configs.
repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1; -
addWorkstationConfigs
public ListWorkstationConfigsResponse.Builder addWorkstationConfigs(int index, WorkstationConfig.Builder builderForValue) The requested configs.
repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1; -
addAllWorkstationConfigs
public ListWorkstationConfigsResponse.Builder addAllWorkstationConfigs(Iterable<? extends WorkstationConfig> values) The requested configs.
repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1; -
clearWorkstationConfigs
The requested configs.
repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1; -
removeWorkstationConfigs
The requested configs.
repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1; -
getWorkstationConfigsBuilder
The requested configs.
repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1; -
getWorkstationConfigsOrBuilder
The requested configs.
repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1;- Specified by:
getWorkstationConfigsOrBuilderin interfaceListWorkstationConfigsResponseOrBuilder
-
getWorkstationConfigsOrBuilderList
The requested configs.
repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1;- Specified by:
getWorkstationConfigsOrBuilderListin interfaceListWorkstationConfigsResponseOrBuilder
-
addWorkstationConfigsBuilder
The requested configs.
repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1; -
addWorkstationConfigsBuilder
The requested configs.
repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1; -
getWorkstationConfigsBuilderList
The requested configs.
repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1; -
getNextPageToken
Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceListWorkstationConfigsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceListWorkstationConfigsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListWorkstationConfigsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) Token to retrieve the next page of results, or empty if there are no more results in the list.
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()Unreachable resources.
repeated string unreachable = 3;- Specified by:
getUnreachableListin interfaceListWorkstationConfigsResponseOrBuilder- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()Unreachable resources.
repeated string unreachable = 3;- Specified by:
getUnreachableCountin interfaceListWorkstationConfigsResponseOrBuilder- Returns:
- The count of unreachable.
-
getUnreachable
Unreachable resources.
repeated string unreachable = 3;- Specified by:
getUnreachablein interfaceListWorkstationConfigsResponseOrBuilder- 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) Unreachable resources.
repeated string unreachable = 3;- Specified by:
getUnreachableBytesin interfaceListWorkstationConfigsResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
Unreachable resources.
repeated string unreachable = 3;- Parameters:
index- The index to set the value at.value- The unreachable to set.- Returns:
- This builder for chaining.
-
addUnreachable
Unreachable resources.
repeated string unreachable = 3;- Parameters:
value- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
Unreachable resources.
repeated string unreachable = 3;- Parameters:
values- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
Unreachable resources.
repeated string unreachable = 3;- Returns:
- This builder for chaining.
-
addUnreachableBytes
public ListWorkstationConfigsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value) Unreachable resources.
repeated string unreachable = 3;- Parameters:
value- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-