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

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

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

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

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

        public ListVolumeRestoresResponse.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<ListVolumeRestoresResponse.Builder>
        Throws:
        IOException
      • setVolumeRestores

        public ListVolumeRestoresResponse.Builder setVolumeRestores​(int index,
                                                                    VolumeRestore value)
         The list of VolumeRestores matching the given criteria.
         
        repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
      • addVolumeRestores

        public ListVolumeRestoresResponse.Builder addVolumeRestores​(int index,
                                                                    VolumeRestore value)
         The list of VolumeRestores matching the given criteria.
         
        repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
      • clearVolumeRestores

        public ListVolumeRestoresResponse.Builder clearVolumeRestores()
         The list of VolumeRestores matching the given criteria.
         
        repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
      • removeVolumeRestores

        public ListVolumeRestoresResponse.Builder removeVolumeRestores​(int index)
         The list of VolumeRestores matching the given criteria.
         
        repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
      • getVolumeRestoresBuilder

        public VolumeRestore.Builder getVolumeRestoresBuilder​(int index)
         The list of VolumeRestores matching the given criteria.
         
        repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
      • addVolumeRestoresBuilder

        public VolumeRestore.Builder addVolumeRestoresBuilder()
         The list of VolumeRestores matching the given criteria.
         
        repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
      • addVolumeRestoresBuilder

        public VolumeRestore.Builder addVolumeRestoresBuilder​(int index)
         The list of VolumeRestores matching the given criteria.
         
        repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
      • getVolumeRestoresBuilderList

        public List<VolumeRestore.Builder> getVolumeRestoresBuilderList()
         The list of VolumeRestores matching the given criteria.
         
        repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
      • getNextPageToken

        public String getNextPageToken()
         A token which may be sent as
         [page_token][google.cloud.gkebackup.v1.ListVolumeRestoresRequest.page_token]
         in a subsequent `ListVolumeRestores` call to retrieve the next page of
         results. If this field is omitted or empty, then there are no more results
         to return.
         
        string next_page_token = 2;
        Specified by:
        getNextPageToken in interface ListVolumeRestoresResponseOrBuilder
        Returns:
        The nextPageToken.
      • getNextPageTokenBytes

        public com.google.protobuf.ByteString getNextPageTokenBytes()
         A token which may be sent as
         [page_token][google.cloud.gkebackup.v1.ListVolumeRestoresRequest.page_token]
         in a subsequent `ListVolumeRestores` call to retrieve the next page of
         results. If this field is omitted or empty, then there are no more results
         to return.
         
        string next_page_token = 2;
        Specified by:
        getNextPageTokenBytes in interface ListVolumeRestoresResponseOrBuilder
        Returns:
        The bytes for nextPageToken.
      • setNextPageToken

        public ListVolumeRestoresResponse.Builder setNextPageToken​(String value)
         A token which may be sent as
         [page_token][google.cloud.gkebackup.v1.ListVolumeRestoresRequest.page_token]
         in a subsequent `ListVolumeRestores` call to retrieve the next page of
         results. If this field is omitted or empty, then there are no more results
         to return.
         
        string next_page_token = 2;
        Parameters:
        value - The nextPageToken to set.
        Returns:
        This builder for chaining.
      • clearNextPageToken

        public ListVolumeRestoresResponse.Builder clearNextPageToken()
         A token which may be sent as
         [page_token][google.cloud.gkebackup.v1.ListVolumeRestoresRequest.page_token]
         in a subsequent `ListVolumeRestores` call to retrieve the next page of
         results. If this field is omitted or empty, then there are no more results
         to return.
         
        string next_page_token = 2;
        Returns:
        This builder for chaining.
      • setNextPageTokenBytes

        public ListVolumeRestoresResponse.Builder setNextPageTokenBytes​(com.google.protobuf.ByteString value)
         A token which may be sent as
         [page_token][google.cloud.gkebackup.v1.ListVolumeRestoresRequest.page_token]
         in a subsequent `ListVolumeRestores` call to retrieve the next page of
         results. If this field is omitted or empty, then there are no more results
         to return.
         
        string next_page_token = 2;
        Parameters:
        value - The bytes for nextPageToken to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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