Class ListSnapshotsRequest.Builder

  • All Implemented Interfaces:
    ListSnapshotsRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    ListSnapshotsRequest

    public static final class ListSnapshotsRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ListSnapshotsRequest.Builder>
    implements ListSnapshotsRequestOrBuilder
     Request message for
     [google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots][google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots]
    
     Note: This is a private alpha release of Cloud Bigtable snapshots. This
     feature is not currently available to most Cloud Bigtable customers. This
     feature might be changed in backward-incompatible ways and is not recommended
     for production use. It is not subject to any SLA or deprecation policy.
     
    Protobuf type google.bigtable.admin.v2.ListSnapshotsRequest
    • Method Detail

      • 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<ListSnapshotsRequest.Builder>
      • clear

        public ListSnapshotsRequest.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<ListSnapshotsRequest.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<ListSnapshotsRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public ListSnapshotsRequest.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<ListSnapshotsRequest.Builder>
      • setField

        public ListSnapshotsRequest.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<ListSnapshotsRequest.Builder>
      • clearField

        public ListSnapshotsRequest.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<ListSnapshotsRequest.Builder>
      • clearOneof

        public ListSnapshotsRequest.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<ListSnapshotsRequest.Builder>
      • setRepeatedField

        public ListSnapshotsRequest.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<ListSnapshotsRequest.Builder>
      • addRepeatedField

        public ListSnapshotsRequest.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<ListSnapshotsRequest.Builder>
      • isInitialized

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

        public ListSnapshotsRequest.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<ListSnapshotsRequest.Builder>
        Throws:
        IOException
      • getParent

        public String getParent()
         Required. The unique name of the cluster for which snapshots should be
         listed. Values are of the form
         `projects/{project}/instances/{instance}/clusters/{cluster}`.
         Use `{cluster} = '-'` to list snapshots for all clusters in an instance,
         e.g., `projects/{project}/instances/{instance}/clusters/-`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface ListSnapshotsRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. The unique name of the cluster for which snapshots should be
         listed. Values are of the form
         `projects/{project}/instances/{instance}/clusters/{cluster}`.
         Use `{cluster} = '-'` to list snapshots for all clusters in an instance,
         e.g., `projects/{project}/instances/{instance}/clusters/-`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface ListSnapshotsRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public ListSnapshotsRequest.Builder setParent​(String value)
         Required. The unique name of the cluster for which snapshots should be
         listed. Values are of the form
         `projects/{project}/instances/{instance}/clusters/{cluster}`.
         Use `{cluster} = '-'` to list snapshots for all clusters in an instance,
         e.g., `projects/{project}/instances/{instance}/clusters/-`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • clearParent

        public ListSnapshotsRequest.Builder clearParent()
         Required. The unique name of the cluster for which snapshots should be
         listed. Values are of the form
         `projects/{project}/instances/{instance}/clusters/{cluster}`.
         Use `{cluster} = '-'` to list snapshots for all clusters in an instance,
         e.g., `projects/{project}/instances/{instance}/clusters/-`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public ListSnapshotsRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. The unique name of the cluster for which snapshots should be
         listed. Values are of the form
         `projects/{project}/instances/{instance}/clusters/{cluster}`.
         Use `{cluster} = '-'` to list snapshots for all clusters in an instance,
         e.g., `projects/{project}/instances/{instance}/clusters/-`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • getPageSize

        public int getPageSize()
         The maximum number of snapshots to return per page.
         CURRENTLY UNIMPLEMENTED AND IGNORED.
         
        int32 page_size = 2;
        Specified by:
        getPageSize in interface ListSnapshotsRequestOrBuilder
        Returns:
        The pageSize.
      • setPageSize

        public ListSnapshotsRequest.Builder setPageSize​(int value)
         The maximum number of snapshots to return per page.
         CURRENTLY UNIMPLEMENTED AND IGNORED.
         
        int32 page_size = 2;
        Parameters:
        value - The pageSize to set.
        Returns:
        This builder for chaining.
      • clearPageSize

        public ListSnapshotsRequest.Builder clearPageSize()
         The maximum number of snapshots to return per page.
         CURRENTLY UNIMPLEMENTED AND IGNORED.
         
        int32 page_size = 2;
        Returns:
        This builder for chaining.
      • getPageTokenBytes

        public com.google.protobuf.ByteString getPageTokenBytes()
         The value of `next_page_token` returned by a previous call.
         
        string page_token = 3;
        Specified by:
        getPageTokenBytes in interface ListSnapshotsRequestOrBuilder
        Returns:
        The bytes for pageToken.
      • setPageToken

        public ListSnapshotsRequest.Builder setPageToken​(String value)
         The value of `next_page_token` returned by a previous call.
         
        string page_token = 3;
        Parameters:
        value - The pageToken to set.
        Returns:
        This builder for chaining.
      • clearPageToken

        public ListSnapshotsRequest.Builder clearPageToken()
         The value of `next_page_token` returned by a previous call.
         
        string page_token = 3;
        Returns:
        This builder for chaining.
      • setPageTokenBytes

        public ListSnapshotsRequest.Builder setPageTokenBytes​(com.google.protobuf.ByteString value)
         The value of `next_page_token` returned by a previous call.
         
        string page_token = 3;
        Parameters:
        value - The bytes for pageToken to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ListSnapshotsRequest.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<ListSnapshotsRequest.Builder>
      • mergeUnknownFields

        public final ListSnapshotsRequest.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<ListSnapshotsRequest.Builder>