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 Summary
Modifier and TypeMethodDescriptionbuild()clear()Input only.Input only.Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorInput only.Input only.Input only.Input only.Input only.Input only.getName()Required.com.google.protobuf.ByteStringRequired.booleanInput only.booleanInput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanInput only.Input only.mergeFrom(SubscribeListingRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Input only.setDestinationDataset(DestinationDataset.Builder builderForValue) Input only.Input only.setDestinationPubsubSubscription(DestinationPubSubSubscription.Builder builderForValue) Input only.Required.setNameBytes(com.google.protobuf.ByteString value) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SubscribeListingRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SubscribeListingRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SubscribeListingRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SubscribeListingRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SubscribeListingRequest.Builder>- Throws:
IOException
-
getDestinationCase
- Specified by:
getDestinationCasein interfaceSubscribeListingRequestOrBuilder
-
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:
hasDestinationDatasetin interfaceSubscribeListingRequestOrBuilder- Returns:
- Whether the destinationDataset field is set.
-
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:
getDestinationDatasetin interfaceSubscribeListingRequestOrBuilder- Returns:
- The destinationDataset.
-
setDestinationDataset
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
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
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
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
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:
getDestinationDatasetOrBuilderin interfaceSubscribeListingRequestOrBuilder
-
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:
hasDestinationPubsubSubscriptionin interfaceSubscribeListingRequestOrBuilder- Returns:
- Whether the destinationPubsubSubscription field is set.
-
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:
getDestinationPubsubSubscriptionin interfaceSubscribeListingRequestOrBuilder- 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
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
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
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:
getDestinationPubsubSubscriptionOrBuilderin interfaceSubscribeListingRequestOrBuilder
-
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:
getNamein interfaceSubscribeListingRequestOrBuilder- 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:
getNameBytesin interfaceSubscribeListingRequestOrBuilder- Returns:
- The bytes for name.
-
setName
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
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
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.
-