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.v1beta1.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.v1beta1.ListWorkspacesResponse
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ListWorkspacesResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ListWorkspacesResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ListWorkspacesResponse.Builder>
    • getDefaultInstanceForType

      public ListWorkspacesResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ListWorkspacesResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ListWorkspacesResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ListWorkspacesResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListWorkspacesResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListWorkspacesResponse.Builder>
      Throws:
      IOException
    • getWorkspacesList

      public List<Workspace> getWorkspacesList()
       List of workspaces.
       
      repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;
      Specified by:
      getWorkspacesList in interface ListWorkspacesResponseOrBuilder
    • getWorkspacesCount

      public int getWorkspacesCount()
       List of workspaces.
       
      repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;
      Specified by:
      getWorkspacesCount in interface ListWorkspacesResponseOrBuilder
    • getWorkspaces

      public Workspace getWorkspaces(int index)
       List of workspaces.
       
      repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;
      Specified by:
      getWorkspaces in interface ListWorkspacesResponseOrBuilder
    • setWorkspaces

      public ListWorkspacesResponse.Builder setWorkspaces(int index, Workspace value)
       List of workspaces.
       
      repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;
    • setWorkspaces

      public ListWorkspacesResponse.Builder setWorkspaces(int index, Workspace.Builder builderForValue)
       List of workspaces.
       
      repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;
    • addWorkspaces

      public ListWorkspacesResponse.Builder addWorkspaces(Workspace value)
       List of workspaces.
       
      repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;
    • addWorkspaces

      public ListWorkspacesResponse.Builder addWorkspaces(int index, Workspace value)
       List of workspaces.
       
      repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;
    • addWorkspaces

      public ListWorkspacesResponse.Builder addWorkspaces(Workspace.Builder builderForValue)
       List of workspaces.
       
      repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;
    • addWorkspaces

      public ListWorkspacesResponse.Builder addWorkspaces(int index, Workspace.Builder builderForValue)
       List of workspaces.
       
      repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;
    • addAllWorkspaces

      public ListWorkspacesResponse.Builder addAllWorkspaces(Iterable<? extends Workspace> values)
       List of workspaces.
       
      repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;
    • clearWorkspaces

      public ListWorkspacesResponse.Builder clearWorkspaces()
       List of workspaces.
       
      repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;
    • removeWorkspaces

      public ListWorkspacesResponse.Builder removeWorkspaces(int index)
       List of workspaces.
       
      repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;
    • getWorkspacesBuilder

      public Workspace.Builder getWorkspacesBuilder(int index)
       List of workspaces.
       
      repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;
    • getWorkspacesOrBuilder

      public WorkspaceOrBuilder getWorkspacesOrBuilder(int index)
       List of workspaces.
       
      repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;
      Specified by:
      getWorkspacesOrBuilder in interface ListWorkspacesResponseOrBuilder
    • getWorkspacesOrBuilderList

      public List<? extends WorkspaceOrBuilder> getWorkspacesOrBuilderList()
       List of workspaces.
       
      repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;
      Specified by:
      getWorkspacesOrBuilderList in interface ListWorkspacesResponseOrBuilder
    • addWorkspacesBuilder

      public Workspace.Builder addWorkspacesBuilder()
       List of workspaces.
       
      repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;
    • addWorkspacesBuilder

      public Workspace.Builder addWorkspacesBuilder(int index)
       List of workspaces.
       
      repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 1;
    • getWorkspacesBuilderList

      public List<Workspace.Builder> getWorkspacesBuilderList()
       List of workspaces.
       
      repeated .google.cloud.dataform.v1beta1.Workspace workspaces = 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 interface ListWorkspacesResponseOrBuilder
      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 interface ListWorkspacesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListWorkspacesResponse.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 ListWorkspacesResponse.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 ListWorkspacesResponse.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 which could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListWorkspacesResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Locations which could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableCount in interface ListWorkspacesResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Locations which could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachable in interface ListWorkspacesResponseOrBuilder
      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:
      getUnreachableBytes in interface ListWorkspacesResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListWorkspacesResponse.Builder setUnreachable(int index, String value)
       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

      public ListWorkspacesResponse.Builder addUnreachable(String value)
       Locations which could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListWorkspacesResponse.Builder addAllUnreachable(Iterable<String> values)
       Locations which could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListWorkspacesResponse.Builder clearUnreachable()
       Locations which could not be reached.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListWorkspacesResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       Locations which could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.