Class SubscribeListingRequest.Builder

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

public static final class SubscribeListingRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<SubscribeListingRequest.Builder> implements SubscribeListingRequestOrBuilder
 Message for subscribing to a listing.
 
Protobuf type google.cloud.bigquery.analyticshub.v1.SubscribeListingRequest
  • 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<SubscribeListingRequest.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<SubscribeListingRequest.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<SubscribeListingRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public SubscribeListingRequest.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<SubscribeListingRequest.Builder>
      Throws:
      IOException
    • getDestinationCase

      public SubscribeListingRequest.DestinationCase getDestinationCase()
      Specified by:
      getDestinationCase in interface SubscribeListingRequestOrBuilder
    • clearDestination

      public SubscribeListingRequest.Builder clearDestination()
    • hasDestinationDataset

      public boolean hasDestinationDataset()
       Input only. BigQuery destination dataset to create for the subscriber.
       
      .google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 3 [(.google.api.field_behavior) = INPUT_ONLY];
      Specified by:
      hasDestinationDataset in interface SubscribeListingRequestOrBuilder
      Returns:
      Whether the destinationDataset field is set.
    • getDestinationDataset

      public DestinationDataset getDestinationDataset()
       Input only. BigQuery destination dataset to create for the subscriber.
       
      .google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 3 [(.google.api.field_behavior) = INPUT_ONLY];
      Specified by:
      getDestinationDataset in interface SubscribeListingRequestOrBuilder
      Returns:
      The destinationDataset.
    • setDestinationDataset

      public SubscribeListingRequest.Builder setDestinationDataset(DestinationDataset value)
       Input only. BigQuery destination dataset to create for the subscriber.
       
      .google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 3 [(.google.api.field_behavior) = INPUT_ONLY];
    • setDestinationDataset

      public SubscribeListingRequest.Builder setDestinationDataset(DestinationDataset.Builder builderForValue)
       Input only. BigQuery destination dataset to create for the subscriber.
       
      .google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 3 [(.google.api.field_behavior) = INPUT_ONLY];
    • mergeDestinationDataset

      public SubscribeListingRequest.Builder mergeDestinationDataset(DestinationDataset value)
       Input only. BigQuery destination dataset to create for the subscriber.
       
      .google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 3 [(.google.api.field_behavior) = INPUT_ONLY];
    • clearDestinationDataset

      public SubscribeListingRequest.Builder clearDestinationDataset()
       Input only. BigQuery destination dataset to create for the subscriber.
       
      .google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 3 [(.google.api.field_behavior) = INPUT_ONLY];
    • getDestinationDatasetBuilder

      public DestinationDataset.Builder getDestinationDatasetBuilder()
       Input only. BigQuery destination dataset to create for the subscriber.
       
      .google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 3 [(.google.api.field_behavior) = INPUT_ONLY];
    • getDestinationDatasetOrBuilder

      public DestinationDatasetOrBuilder getDestinationDatasetOrBuilder()
       Input only. BigQuery destination dataset to create for the subscriber.
       
      .google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 3 [(.google.api.field_behavior) = INPUT_ONLY];
      Specified by:
      getDestinationDatasetOrBuilder in interface SubscribeListingRequestOrBuilder
    • hasDestinationPubsubSubscription

      public boolean hasDestinationPubsubSubscription()
       Input only. Destination Pub/Sub subscription to create for the
       subscriber.
       
      .google.cloud.bigquery.analyticshub.v1.DestinationPubSubSubscription destination_pubsub_subscription = 5 [(.google.api.field_behavior) = INPUT_ONLY];
      Specified by:
      hasDestinationPubsubSubscription in interface SubscribeListingRequestOrBuilder
      Returns:
      Whether the destinationPubsubSubscription field is set.
    • getDestinationPubsubSubscription

      public DestinationPubSubSubscription getDestinationPubsubSubscription()
       Input only. Destination Pub/Sub subscription to create for the
       subscriber.
       
      .google.cloud.bigquery.analyticshub.v1.DestinationPubSubSubscription destination_pubsub_subscription = 5 [(.google.api.field_behavior) = INPUT_ONLY];
      Specified by:
      getDestinationPubsubSubscription in interface SubscribeListingRequestOrBuilder
      Returns:
      The destinationPubsubSubscription.
    • setDestinationPubsubSubscription

      public SubscribeListingRequest.Builder setDestinationPubsubSubscription(DestinationPubSubSubscription value)
       Input only. Destination Pub/Sub subscription to create for the
       subscriber.
       
      .google.cloud.bigquery.analyticshub.v1.DestinationPubSubSubscription destination_pubsub_subscription = 5 [(.google.api.field_behavior) = INPUT_ONLY];
    • setDestinationPubsubSubscription

      public SubscribeListingRequest.Builder setDestinationPubsubSubscription(DestinationPubSubSubscription.Builder builderForValue)
       Input only. Destination Pub/Sub subscription to create for the
       subscriber.
       
      .google.cloud.bigquery.analyticshub.v1.DestinationPubSubSubscription destination_pubsub_subscription = 5 [(.google.api.field_behavior) = INPUT_ONLY];
    • mergeDestinationPubsubSubscription

      public SubscribeListingRequest.Builder mergeDestinationPubsubSubscription(DestinationPubSubSubscription value)
       Input only. Destination Pub/Sub subscription to create for the
       subscriber.
       
      .google.cloud.bigquery.analyticshub.v1.DestinationPubSubSubscription destination_pubsub_subscription = 5 [(.google.api.field_behavior) = INPUT_ONLY];
    • clearDestinationPubsubSubscription

      public SubscribeListingRequest.Builder clearDestinationPubsubSubscription()
       Input only. Destination Pub/Sub subscription to create for the
       subscriber.
       
      .google.cloud.bigquery.analyticshub.v1.DestinationPubSubSubscription destination_pubsub_subscription = 5 [(.google.api.field_behavior) = INPUT_ONLY];
    • getDestinationPubsubSubscriptionBuilder

      public DestinationPubSubSubscription.Builder getDestinationPubsubSubscriptionBuilder()
       Input only. Destination Pub/Sub subscription to create for the
       subscriber.
       
      .google.cloud.bigquery.analyticshub.v1.DestinationPubSubSubscription destination_pubsub_subscription = 5 [(.google.api.field_behavior) = INPUT_ONLY];
    • getDestinationPubsubSubscriptionOrBuilder

      public DestinationPubSubSubscriptionOrBuilder getDestinationPubsubSubscriptionOrBuilder()
       Input only. Destination Pub/Sub subscription to create for the
       subscriber.
       
      .google.cloud.bigquery.analyticshub.v1.DestinationPubSubSubscription destination_pubsub_subscription = 5 [(.google.api.field_behavior) = INPUT_ONLY];
      Specified by:
      getDestinationPubsubSubscriptionOrBuilder in interface SubscribeListingRequestOrBuilder
    • getName

      public String getName()
       Required. Resource name of the listing that you want to subscribe to.
       e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface SubscribeListingRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. Resource name of the listing that you want to subscribe to.
       e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface SubscribeListingRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public SubscribeListingRequest.Builder setName(String value)
       Required. Resource name of the listing that you want to subscribe to.
       e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public SubscribeListingRequest.Builder clearName()
       Required. Resource name of the listing that you want to subscribe to.
       e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public SubscribeListingRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. Resource name of the listing that you want to subscribe to.
       e.g. `projects/myproject/locations/us/dataExchanges/123/listings/456`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.