Class ListUsableWorkstationConfigsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListUsableWorkstationConfigsResponse.Builder>
com.google.cloud.workstations.v1beta.ListUsableWorkstationConfigsResponse.Builder
- All Implemented Interfaces:
ListUsableWorkstationConfigsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListUsableWorkstationConfigsResponse
public static final class ListUsableWorkstationConfigsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListUsableWorkstationConfigsResponse.Builder>
implements ListUsableWorkstationConfigsResponseOrBuilder
Response message for ListUsableWorkstationConfigs.Protobuf type
google.cloud.workstations.v1beta.ListUsableWorkstationConfigsResponse-
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<ListUsableWorkstationConfigsResponse.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<ListUsableWorkstationConfigsResponse.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<ListUsableWorkstationConfigsResponse.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<ListUsableWorkstationConfigsResponse.Builder>
-
mergeFrom
public ListUsableWorkstationConfigsResponse.Builder mergeFrom(ListUsableWorkstationConfigsResponse other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListUsableWorkstationConfigsResponse.Builder>
-
mergeFrom
public ListUsableWorkstationConfigsResponse.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<ListUsableWorkstationConfigsResponse.Builder>- Throws:
IOException
-
getWorkstationConfigsList
The requested configs.
repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1;- Specified by:
getWorkstationConfigsListin interfaceListUsableWorkstationConfigsResponseOrBuilder
-
getWorkstationConfigsCount
public int getWorkstationConfigsCount()The requested configs.
repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1;- Specified by:
getWorkstationConfigsCountin interfaceListUsableWorkstationConfigsResponseOrBuilder
-
getWorkstationConfigs
The requested configs.
repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1;- Specified by:
getWorkstationConfigsin interfaceListUsableWorkstationConfigsResponseOrBuilder
-
setWorkstationConfigs
public ListUsableWorkstationConfigsResponse.Builder setWorkstationConfigs(int index, WorkstationConfig value) The requested configs.
repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1; -
setWorkstationConfigs
public ListUsableWorkstationConfigsResponse.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 ListUsableWorkstationConfigsResponse.Builder addWorkstationConfigs(int index, WorkstationConfig value) The requested configs.
repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1; -
addWorkstationConfigs
public ListUsableWorkstationConfigsResponse.Builder addWorkstationConfigs(WorkstationConfig.Builder builderForValue) The requested configs.
repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1; -
addWorkstationConfigs
public ListUsableWorkstationConfigsResponse.Builder addWorkstationConfigs(int index, WorkstationConfig.Builder builderForValue) The requested configs.
repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1; -
addAllWorkstationConfigs
public ListUsableWorkstationConfigsResponse.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 interfaceListUsableWorkstationConfigsResponseOrBuilder
-
getWorkstationConfigsOrBuilderList
The requested configs.
repeated .google.cloud.workstations.v1beta.WorkstationConfig workstation_configs = 1;- Specified by:
getWorkstationConfigsOrBuilderListin interfaceListUsableWorkstationConfigsResponseOrBuilder
-
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 interfaceListUsableWorkstationConfigsResponseOrBuilder- 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 interfaceListUsableWorkstationConfigsResponseOrBuilder- 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 ListUsableWorkstationConfigsResponse.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 interfaceListUsableWorkstationConfigsResponseOrBuilder- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()Unreachable resources.
repeated string unreachable = 3;- Specified by:
getUnreachableCountin interfaceListUsableWorkstationConfigsResponseOrBuilder- Returns:
- The count of unreachable.
-
getUnreachable
Unreachable resources.
repeated string unreachable = 3;- Specified by:
getUnreachablein interfaceListUsableWorkstationConfigsResponseOrBuilder- 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 interfaceListUsableWorkstationConfigsResponseOrBuilder- 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 ListUsableWorkstationConfigsResponse.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.
-