Package com.google.cloud.dataform.v1
Class ListWorkspacesResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListWorkspacesResponse.Builder>
com.google.cloud.dataform.v1.ListWorkspacesResponse.Builder
- All Implemented Interfaces:
ListWorkspacesResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListWorkspacesResponse
public static final class ListWorkspacesResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListWorkspacesResponse.Builder>
implements ListWorkspacesResponseOrBuilder
`ListWorkspaces` response message.Protobuf type
google.cloud.dataform.v1.ListWorkspacesResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllUnreachable(Iterable<String> values) Locations which could not be reached.addAllWorkspaces(Iterable<? extends Workspace> values) List of workspaces.addUnreachable(String value) Locations which could not be reached.addUnreachableBytes(com.google.protobuf.ByteString value) Locations which could not be reached.addWorkspaces(int index, Workspace value) List of workspaces.addWorkspaces(int index, Workspace.Builder builderForValue) List of workspaces.addWorkspaces(Workspace value) List of workspaces.addWorkspaces(Workspace.Builder builderForValue) List of workspaces.List of workspaces.addWorkspacesBuilder(int index) List of workspaces.build()clear()A token, which can be sent as `page_token` to retrieve the next page.Locations which could not be reached.List of workspaces.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA token, which can be sent as `page_token` to retrieve the next page.com.google.protobuf.ByteStringA token, which can be sent as `page_token` to retrieve the next page.getUnreachable(int index) Locations which could not be reached.com.google.protobuf.ByteStringgetUnreachableBytes(int index) Locations which could not be reached.intLocations which could not be reached.com.google.protobuf.ProtocolStringListLocations which could not be reached.getWorkspaces(int index) List of workspaces.getWorkspacesBuilder(int index) List of workspaces.List of workspaces.intList of workspaces.List of workspaces.getWorkspacesOrBuilder(int index) List of workspaces.List<? extends WorkspaceOrBuilder>List of workspaces.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ListWorkspacesResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeWorkspaces(int index) List of workspaces.setNextPageToken(String value) A token, which can be sent as `page_token` to retrieve the next page.setNextPageTokenBytes(com.google.protobuf.ByteString value) A token, which can be sent as `page_token` to retrieve the next page.setUnreachable(int index, String value) Locations which could not be reached.setWorkspaces(int index, Workspace value) List of workspaces.setWorkspaces(int index, Workspace.Builder builderForValue) List of workspaces.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<ListWorkspacesResponse.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<ListWorkspacesResponse.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<ListWorkspacesResponse.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<ListWorkspacesResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListWorkspacesResponse.Builder>
-
mergeFrom
public ListWorkspacesResponse.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<ListWorkspacesResponse.Builder>- Throws:
IOException
-
getWorkspacesList
List of workspaces.
repeated .google.cloud.dataform.v1.Workspace workspaces = 1;- Specified by:
getWorkspacesListin interfaceListWorkspacesResponseOrBuilder
-
getWorkspacesCount
public int getWorkspacesCount()List of workspaces.
repeated .google.cloud.dataform.v1.Workspace workspaces = 1;- Specified by:
getWorkspacesCountin interfaceListWorkspacesResponseOrBuilder
-
getWorkspaces
List of workspaces.
repeated .google.cloud.dataform.v1.Workspace workspaces = 1;- Specified by:
getWorkspacesin interfaceListWorkspacesResponseOrBuilder
-
setWorkspaces
List of workspaces.
repeated .google.cloud.dataform.v1.Workspace workspaces = 1; -
setWorkspaces
List of workspaces.
repeated .google.cloud.dataform.v1.Workspace workspaces = 1; -
addWorkspaces
List of workspaces.
repeated .google.cloud.dataform.v1.Workspace workspaces = 1; -
addWorkspaces
List of workspaces.
repeated .google.cloud.dataform.v1.Workspace workspaces = 1; -
addWorkspaces
List of workspaces.
repeated .google.cloud.dataform.v1.Workspace workspaces = 1; -
addWorkspaces
List of workspaces.
repeated .google.cloud.dataform.v1.Workspace workspaces = 1; -
addAllWorkspaces
List of workspaces.
repeated .google.cloud.dataform.v1.Workspace workspaces = 1; -
clearWorkspaces
List of workspaces.
repeated .google.cloud.dataform.v1.Workspace workspaces = 1; -
removeWorkspaces
List of workspaces.
repeated .google.cloud.dataform.v1.Workspace workspaces = 1; -
getWorkspacesBuilder
List of workspaces.
repeated .google.cloud.dataform.v1.Workspace workspaces = 1; -
getWorkspacesOrBuilder
List of workspaces.
repeated .google.cloud.dataform.v1.Workspace workspaces = 1;- Specified by:
getWorkspacesOrBuilderin interfaceListWorkspacesResponseOrBuilder
-
getWorkspacesOrBuilderList
List of workspaces.
repeated .google.cloud.dataform.v1.Workspace workspaces = 1;- Specified by:
getWorkspacesOrBuilderListin interfaceListWorkspacesResponseOrBuilder
-
addWorkspacesBuilder
List of workspaces.
repeated .google.cloud.dataform.v1.Workspace workspaces = 1; -
addWorkspacesBuilder
List of workspaces.
repeated .google.cloud.dataform.v1.Workspace workspaces = 1; -
getWorkspacesBuilderList
List of workspaces.
repeated .google.cloud.dataform.v1.Workspace workspaces = 1; -
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:
getNextPageTokenin interfaceListWorkspacesResponseOrBuilder- 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:
getNextPageTokenBytesin interfaceListWorkspacesResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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
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
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 which could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachableListin interfaceListWorkspacesResponseOrBuilder- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()Locations which could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachableCountin interfaceListWorkspacesResponseOrBuilder- Returns:
- The count of unreachable.
-
getUnreachable
Locations which could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachablein interfaceListWorkspacesResponseOrBuilder- 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 which could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachableBytesin interfaceListWorkspacesResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
Locations which 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 which could not be reached.
repeated string unreachable = 3;- Parameters:
value- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
Locations which could not be reached.
repeated string unreachable = 3;- Parameters:
values- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
Locations which could not be reached.
repeated string unreachable = 3;- Returns:
- This builder for chaining.
-
addUnreachableBytes
Locations which could not be reached.
repeated string unreachable = 3;- Parameters:
value- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-