Class ListRestoreChannelsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListRestoreChannelsRequest.Builder>
com.google.cloud.gkebackup.v1.ListRestoreChannelsRequest.Builder
All Implemented Interfaces:
ListRestoreChannelsRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListRestoreChannelsRequest

public static final class ListRestoreChannelsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListRestoreChannelsRequest.Builder> implements ListRestoreChannelsRequestOrBuilder
 Request message for ListRestoreChannels.
 
Protobuf type google.cloud.gkebackup.v1.ListRestoreChannelsRequest
  • 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<ListRestoreChannelsRequest.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<ListRestoreChannelsRequest.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<ListRestoreChannelsRequest.Builder>
    • getDefaultInstanceForType

      public ListRestoreChannelsRequest 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 ListRestoreChannelsRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

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

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

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

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

      public ListRestoreChannelsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The location that contains the RestoreChannels to list.
       Format: `projects/*/locations/*`
       
      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()
       Optional. 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 include a partial list and a caller should
       only rely on the response's
       [next_page_token][google.cloud.gkebackup.v1.ListRestoreChannelsResponse.next_page_token]
       to determine if there are more instances left to be queried.
       
      int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPageSize in interface ListRestoreChannelsRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public ListRestoreChannelsRequest.Builder setPageSize(int value)
       Optional. 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 include a partial list and a caller should
       only rely on the response's
       [next_page_token][google.cloud.gkebackup.v1.ListRestoreChannelsResponse.next_page_token]
       to determine if there are more instances left to be queried.
       
      int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

      public ListRestoreChannelsRequest.Builder clearPageSize()
       Optional. 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 include a partial list and a caller should
       only rely on the response's
       [next_page_token][google.cloud.gkebackup.v1.ListRestoreChannelsResponse.next_page_token]
       to determine if there are more instances left to be queried.
       
      int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getPageToken

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

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

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

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

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

      public String getFilter()
       Optional. Field match expression used to filter the results.
       
      string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilter in interface ListRestoreChannelsRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

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

      public ListRestoreChannelsRequest.Builder setFilter(String value)
       Optional. Field match expression used to filter the results.
       
      string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

      public ListRestoreChannelsRequest.Builder clearFilter()
       Optional. Field match expression used to filter the results.
       
      string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setFilterBytes

      public ListRestoreChannelsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
       Optional. Field match expression used to filter the results.
       
      string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.
    • getOrderBy

      public String getOrderBy()
       Optional. Field by which to sort the results.
       
      string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOrderBy in interface ListRestoreChannelsRequestOrBuilder
      Returns:
      The orderBy.
    • getOrderByBytes

      public com.google.protobuf.ByteString getOrderByBytes()
       Optional. Field by which to sort the results.
       
      string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOrderByBytes in interface ListRestoreChannelsRequestOrBuilder
      Returns:
      The bytes for orderBy.
    • setOrderBy

      public ListRestoreChannelsRequest.Builder setOrderBy(String value)
       Optional. Field by which to sort the results.
       
      string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The orderBy to set.
      Returns:
      This builder for chaining.
    • clearOrderBy

      public ListRestoreChannelsRequest.Builder clearOrderBy()
       Optional. Field by which to sort the results.
       
      string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setOrderByBytes

      public ListRestoreChannelsRequest.Builder setOrderByBytes(com.google.protobuf.ByteString value)
       Optional. Field by which to sort the results.
       
      string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for orderBy to set.
      Returns:
      This builder for chaining.