Class ListSubscriptionsRequest.Builder

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

public static final class ListSubscriptionsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListSubscriptionsRequest.Builder> implements ListSubscriptionsRequestOrBuilder
 Message for listing subscriptions.
 
Protobuf type google.cloud.bigquery.analyticshub.v1.ListSubscriptionsRequest
  • 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<ListSubscriptionsRequest.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<ListSubscriptionsRequest.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<ListSubscriptionsRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public String getParent()
       Required. The parent resource path of the subscription.
       e.g. projects/myproject/locations/us
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface ListSubscriptionsRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The parent resource path of the subscription.
       e.g. projects/myproject/locations/us
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface ListSubscriptionsRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public ListSubscriptionsRequest.Builder setParent(String value)
       Required. The parent resource path of the subscription.
       e.g. projects/myproject/locations/us
       
      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 ListSubscriptionsRequest.Builder clearParent()
       Required. The parent resource path of the subscription.
       e.g. projects/myproject/locations/us
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public ListSubscriptionsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The parent resource path of the subscription.
       e.g. projects/myproject/locations/us
       
      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.
    • getFilter

      public String getFilter()
       An expression for filtering the results of the request. Eligible
       fields for filtering are:
      
       + `listing`
       + `data_exchange`
      
       Alternatively, a literal wrapped in double quotes may be provided.
       This will be checked for an exact match against both fields above.
      
       In all cases, the full Data Exchange or Listing resource name must
       be provided. Some example of using filters:
      
       + data_exchange="projects/myproject/locations/us/dataExchanges/123"
       + listing="projects/123/locations/us/dataExchanges/456/listings/789"
       + "projects/myproject/locations/us/dataExchanges/123"
       
      string filter = 2;
      Specified by:
      getFilter in interface ListSubscriptionsRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       An expression for filtering the results of the request. Eligible
       fields for filtering are:
      
       + `listing`
       + `data_exchange`
      
       Alternatively, a literal wrapped in double quotes may be provided.
       This will be checked for an exact match against both fields above.
      
       In all cases, the full Data Exchange or Listing resource name must
       be provided. Some example of using filters:
      
       + data_exchange="projects/myproject/locations/us/dataExchanges/123"
       + listing="projects/123/locations/us/dataExchanges/456/listings/789"
       + "projects/myproject/locations/us/dataExchanges/123"
       
      string filter = 2;
      Specified by:
      getFilterBytes in interface ListSubscriptionsRequestOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

      public ListSubscriptionsRequest.Builder setFilter(String value)
       An expression for filtering the results of the request. Eligible
       fields for filtering are:
      
       + `listing`
       + `data_exchange`
      
       Alternatively, a literal wrapped in double quotes may be provided.
       This will be checked for an exact match against both fields above.
      
       In all cases, the full Data Exchange or Listing resource name must
       be provided. Some example of using filters:
      
       + data_exchange="projects/myproject/locations/us/dataExchanges/123"
       + listing="projects/123/locations/us/dataExchanges/456/listings/789"
       + "projects/myproject/locations/us/dataExchanges/123"
       
      string filter = 2;
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

      public ListSubscriptionsRequest.Builder clearFilter()
       An expression for filtering the results of the request. Eligible
       fields for filtering are:
      
       + `listing`
       + `data_exchange`
      
       Alternatively, a literal wrapped in double quotes may be provided.
       This will be checked for an exact match against both fields above.
      
       In all cases, the full Data Exchange or Listing resource name must
       be provided. Some example of using filters:
      
       + data_exchange="projects/myproject/locations/us/dataExchanges/123"
       + listing="projects/123/locations/us/dataExchanges/456/listings/789"
       + "projects/myproject/locations/us/dataExchanges/123"
       
      string filter = 2;
      Returns:
      This builder for chaining.
    • setFilterBytes

      public ListSubscriptionsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
       An expression for filtering the results of the request. Eligible
       fields for filtering are:
      
       + `listing`
       + `data_exchange`
      
       Alternatively, a literal wrapped in double quotes may be provided.
       This will be checked for an exact match against both fields above.
      
       In all cases, the full Data Exchange or Listing resource name must
       be provided. Some example of using filters:
      
       + data_exchange="projects/myproject/locations/us/dataExchanges/123"
       + listing="projects/123/locations/us/dataExchanges/456/listings/789"
       + "projects/myproject/locations/us/dataExchanges/123"
       
      string filter = 2;
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.
    • getPageSize

      public int getPageSize()
       The maximum number of results to return in a single response page.
       
      int32 page_size = 3;
      Specified by:
      getPageSize in interface ListSubscriptionsRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public ListSubscriptionsRequest.Builder setPageSize(int value)
       The maximum number of results to return in a single response page.
       
      int32 page_size = 3;
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

      public ListSubscriptionsRequest.Builder clearPageSize()
       The maximum number of results to return in a single response page.
       
      int32 page_size = 3;
      Returns:
      This builder for chaining.
    • getPageToken

      public String getPageToken()
       Page token, returned by a previous call.
       
      string page_token = 4;
      Specified by:
      getPageToken in interface ListSubscriptionsRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       Page token, returned by a previous call.
       
      string page_token = 4;
      Specified by:
      getPageTokenBytes in interface ListSubscriptionsRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public ListSubscriptionsRequest.Builder setPageToken(String value)
       Page token, returned by a previous call.
       
      string page_token = 4;
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      public ListSubscriptionsRequest.Builder clearPageToken()
       Page token, returned by a previous call.
       
      string page_token = 4;
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public ListSubscriptionsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       Page token, returned by a previous call.
       
      string page_token = 4;
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.