Class ListVolumeRestoresRequest.Builder

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

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

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

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

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

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

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

        public String getParent()
         Required. The Restore that contains the VolumeRestores to list.
         Format: `projects/*/locations/*/restorePlans/*/restores/*`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface ListVolumeRestoresRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. The Restore that contains the VolumeRestores to list.
         Format: `projects/*/locations/*/restorePlans/*/restores/*`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface ListVolumeRestoresRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public ListVolumeRestoresRequest.Builder setParent​(String value)
         Required. The Restore that contains the VolumeRestores to list.
         Format: `projects/*/locations/*/restorePlans/*/restores/*`
         
        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 ListVolumeRestoresRequest.Builder clearParent()
         Required. The Restore that contains the VolumeRestores to list.
         Format: `projects/*/locations/*/restorePlans/*/restores/*`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public ListVolumeRestoresRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. The Restore that contains the VolumeRestores to list.
         Format: `projects/*/locations/*/restorePlans/*/restores/*`
         
        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 target number of results to return in a single response.
         If not specified, a default value will be chosen by the service.
         Note that the response may inclue a partial list and a caller should
         only rely on the response's
         [next_page_token][google.cloud.gkebackup.v1.ListVolumeRestoresResponse.next_page_token]
         to determine if there are more instances left to be queried.
         
        int32 page_size = 2;
        Specified by:
        getPageSize in interface ListVolumeRestoresRequestOrBuilder
        Returns:
        The pageSize.
      • setPageSize

        public ListVolumeRestoresRequest.Builder setPageSize​(int value)
         The target number of results to return in a single response.
         If not specified, a default value will be chosen by the service.
         Note that the response may inclue a partial list and a caller should
         only rely on the response's
         [next_page_token][google.cloud.gkebackup.v1.ListVolumeRestoresResponse.next_page_token]
         to determine if there are more instances left to be queried.
         
        int32 page_size = 2;
        Parameters:
        value - The pageSize to set.
        Returns:
        This builder for chaining.
      • clearPageSize

        public ListVolumeRestoresRequest.Builder clearPageSize()
         The target number of results to return in a single response.
         If not specified, a default value will be chosen by the service.
         Note that the response may inclue a partial list and a caller should
         only rely on the response's
         [next_page_token][google.cloud.gkebackup.v1.ListVolumeRestoresResponse.next_page_token]
         to determine if there are more instances left to be queried.
         
        int32 page_size = 2;
        Returns:
        This builder for chaining.
      • getPageToken

        public String getPageToken()
         The value of
         [next_page_token][google.cloud.gkebackup.v1.ListVolumeRestoresResponse.next_page_token]
         received from a previous `ListVolumeRestores` call.
         Provide this to retrieve the subsequent page in a multi-page list of
         results. When paginating, all other parameters provided to
         `ListVolumeRestores` must match the call that provided the page token.
         
        string page_token = 3;
        Specified by:
        getPageToken in interface ListVolumeRestoresRequestOrBuilder
        Returns:
        The pageToken.
      • getPageTokenBytes

        public com.google.protobuf.ByteString getPageTokenBytes()
         The value of
         [next_page_token][google.cloud.gkebackup.v1.ListVolumeRestoresResponse.next_page_token]
         received from a previous `ListVolumeRestores` call.
         Provide this to retrieve the subsequent page in a multi-page list of
         results. When paginating, all other parameters provided to
         `ListVolumeRestores` must match the call that provided the page token.
         
        string page_token = 3;
        Specified by:
        getPageTokenBytes in interface ListVolumeRestoresRequestOrBuilder
        Returns:
        The bytes for pageToken.
      • setPageToken

        public ListVolumeRestoresRequest.Builder setPageToken​(String value)
         The value of
         [next_page_token][google.cloud.gkebackup.v1.ListVolumeRestoresResponse.next_page_token]
         received from a previous `ListVolumeRestores` call.
         Provide this to retrieve the subsequent page in a multi-page list of
         results. When paginating, all other parameters provided to
         `ListVolumeRestores` must match the call that provided the page token.
         
        string page_token = 3;
        Parameters:
        value - The pageToken to set.
        Returns:
        This builder for chaining.
      • clearPageToken

        public ListVolumeRestoresRequest.Builder clearPageToken()
         The value of
         [next_page_token][google.cloud.gkebackup.v1.ListVolumeRestoresResponse.next_page_token]
         received from a previous `ListVolumeRestores` call.
         Provide this to retrieve the subsequent page in a multi-page list of
         results. When paginating, all other parameters provided to
         `ListVolumeRestores` must match the call that provided the page token.
         
        string page_token = 3;
        Returns:
        This builder for chaining.
      • setPageTokenBytes

        public ListVolumeRestoresRequest.Builder setPageTokenBytes​(com.google.protobuf.ByteString value)
         The value of
         [next_page_token][google.cloud.gkebackup.v1.ListVolumeRestoresResponse.next_page_token]
         received from a previous `ListVolumeRestores` call.
         Provide this to retrieve the subsequent page in a multi-page list of
         results. When paginating, all other parameters provided to
         `ListVolumeRestores` must match the call that provided the page token.
         
        string page_token = 3;
        Parameters:
        value - The bytes for pageToken to set.
        Returns:
        This builder for chaining.
      • getFilterBytes

        public com.google.protobuf.ByteString getFilterBytes()
         Field match expression used to filter the results.
         
        string filter = 4;
        Specified by:
        getFilterBytes in interface ListVolumeRestoresRequestOrBuilder
        Returns:
        The bytes for filter.
      • setFilter

        public ListVolumeRestoresRequest.Builder setFilter​(String value)
         Field match expression used to filter the results.
         
        string filter = 4;
        Parameters:
        value - The filter to set.
        Returns:
        This builder for chaining.
      • clearFilter

        public ListVolumeRestoresRequest.Builder clearFilter()
         Field match expression used to filter the results.
         
        string filter = 4;
        Returns:
        This builder for chaining.
      • setFilterBytes

        public ListVolumeRestoresRequest.Builder setFilterBytes​(com.google.protobuf.ByteString value)
         Field match expression used to filter the results.
         
        string filter = 4;
        Parameters:
        value - The bytes for filter to set.
        Returns:
        This builder for chaining.
      • setOrderBy

        public ListVolumeRestoresRequest.Builder setOrderBy​(String value)
         Field by which to sort the results.
         
        string order_by = 5;
        Parameters:
        value - The orderBy to set.
        Returns:
        This builder for chaining.
      • clearOrderBy

        public ListVolumeRestoresRequest.Builder clearOrderBy()
         Field by which to sort the results.
         
        string order_by = 5;
        Returns:
        This builder for chaining.
      • setOrderByBytes

        public ListVolumeRestoresRequest.Builder setOrderByBytes​(com.google.protobuf.ByteString value)
         Field by which to sort the results.
         
        string order_by = 5;
        Parameters:
        value - The bytes for orderBy to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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