Class ListCloudInstanceConfigsAction.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ListCloudInstanceConfigsAction.Builder>
com.google.spanner.executor.v1.ListCloudInstanceConfigsAction.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ListCloudInstanceConfigsActionOrBuilder, Cloneable
Enclosing class:
ListCloudInstanceConfigsAction

public static final class ListCloudInstanceConfigsAction.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListCloudInstanceConfigsAction.Builder> implements ListCloudInstanceConfigsActionOrBuilder
 Action that lists user instance configs.
 
Protobuf type google.spanner.executor.v1.ListCloudInstanceConfigsAction
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListCloudInstanceConfigsAction.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.GeneratedMessageV3.Builder<ListCloudInstanceConfigsAction.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.GeneratedMessageV3.Builder<ListCloudInstanceConfigsAction.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<ListCloudInstanceConfigsAction.Builder>
    • setField

      public ListCloudInstanceConfigsAction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ListCloudInstanceConfigsAction.Builder>
    • clearField

      public ListCloudInstanceConfigsAction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListCloudInstanceConfigsAction.Builder>
    • clearOneof

      public ListCloudInstanceConfigsAction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListCloudInstanceConfigsAction.Builder>
    • setRepeatedField

      public ListCloudInstanceConfigsAction.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListCloudInstanceConfigsAction.Builder>
    • addRepeatedField

      public ListCloudInstanceConfigsAction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListCloudInstanceConfigsAction.Builder>
    • mergeFrom

      public ListCloudInstanceConfigsAction.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<ListCloudInstanceConfigsAction.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListCloudInstanceConfigsAction.Builder>
    • mergeFrom

      public ListCloudInstanceConfigsAction.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<ListCloudInstanceConfigsAction.Builder>
      Throws:
      IOException
    • getProjectId

      public String getProjectId()
       Cloud project ID, e.g. "spanner-cloud-systest".
       
      string project_id = 1;
      Specified by:
      getProjectId in interface ListCloudInstanceConfigsActionOrBuilder
      Returns:
      The projectId.
    • getProjectIdBytes

      public com.google.protobuf.ByteString getProjectIdBytes()
       Cloud project ID, e.g. "spanner-cloud-systest".
       
      string project_id = 1;
      Specified by:
      getProjectIdBytes in interface ListCloudInstanceConfigsActionOrBuilder
      Returns:
      The bytes for projectId.
    • setProjectId

      public ListCloudInstanceConfigsAction.Builder setProjectId(String value)
       Cloud project ID, e.g. "spanner-cloud-systest".
       
      string project_id = 1;
      Parameters:
      value - The projectId to set.
      Returns:
      This builder for chaining.
    • clearProjectId

      public ListCloudInstanceConfigsAction.Builder clearProjectId()
       Cloud project ID, e.g. "spanner-cloud-systest".
       
      string project_id = 1;
      Returns:
      This builder for chaining.
    • setProjectIdBytes

      public ListCloudInstanceConfigsAction.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
       Cloud project ID, e.g. "spanner-cloud-systest".
       
      string project_id = 1;
      Parameters:
      value - The bytes for projectId to set.
      Returns:
      This builder for chaining.
    • hasPageSize

      public boolean hasPageSize()
       Number of instance configs to be returned in the response. If 0 or
       less, defaults to the server's maximum allowed page size.
       
      optional int32 page_size = 2;
      Specified by:
      hasPageSize in interface ListCloudInstanceConfigsActionOrBuilder
      Returns:
      Whether the pageSize field is set.
    • getPageSize

      public int getPageSize()
       Number of instance configs to be returned in the response. If 0 or
       less, defaults to the server's maximum allowed page size.
       
      optional int32 page_size = 2;
      Specified by:
      getPageSize in interface ListCloudInstanceConfigsActionOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public ListCloudInstanceConfigsAction.Builder setPageSize(int value)
       Number of instance configs to be returned in the response. If 0 or
       less, defaults to the server's maximum allowed page size.
       
      optional int32 page_size = 2;
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

       Number of instance configs to be returned in the response. If 0 or
       less, defaults to the server's maximum allowed page size.
       
      optional int32 page_size = 2;
      Returns:
      This builder for chaining.
    • hasPageToken

      public boolean hasPageToken()
       If non-empty, "page_token" should contain a next_page_token
       from a previous ListInstanceConfigsResponse to the same "parent".
       
      optional string page_token = 3;
      Specified by:
      hasPageToken in interface ListCloudInstanceConfigsActionOrBuilder
      Returns:
      Whether the pageToken field is set.
    • getPageToken

      public String getPageToken()
       If non-empty, "page_token" should contain a next_page_token
       from a previous ListInstanceConfigsResponse to the same "parent".
       
      optional string page_token = 3;
      Specified by:
      getPageToken in interface ListCloudInstanceConfigsActionOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       If non-empty, "page_token" should contain a next_page_token
       from a previous ListInstanceConfigsResponse to the same "parent".
       
      optional string page_token = 3;
      Specified by:
      getPageTokenBytes in interface ListCloudInstanceConfigsActionOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public ListCloudInstanceConfigsAction.Builder setPageToken(String value)
       If non-empty, "page_token" should contain a next_page_token
       from a previous ListInstanceConfigsResponse to the same "parent".
       
      optional string page_token = 3;
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      public ListCloudInstanceConfigsAction.Builder clearPageToken()
       If non-empty, "page_token" should contain a next_page_token
       from a previous ListInstanceConfigsResponse to the same "parent".
       
      optional string page_token = 3;
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public ListCloudInstanceConfigsAction.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       If non-empty, "page_token" should contain a next_page_token
       from a previous ListInstanceConfigsResponse to the same "parent".
       
      optional string page_token = 3;
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final ListCloudInstanceConfigsAction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListCloudInstanceConfigsAction.Builder>
    • mergeUnknownFields

      public final ListCloudInstanceConfigsAction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListCloudInstanceConfigsAction.Builder>