public static final class SubscribeListingRequest.Builder extends GeneratedMessageV3.Builder<SubscribeListingRequest.Builder> implements SubscribeListingRequestOrBuilder
Message for subscribing to a listing.
Protobuf type google.cloud.bigquery.analyticshub.v1.SubscribeListingRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SubscribeListingRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SubscribeListingRequest build()
buildPartial()
public SubscribeListingRequest buildPartial()
clear()
public SubscribeListingRequest.Builder clear()
Overrides
clearDestination()
public SubscribeListingRequest.Builder clearDestination()
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];
clearField(Descriptors.FieldDescriptor field)
public SubscribeListingRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public SubscribeListingRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SubscribeListingRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public SubscribeListingRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDestinationCase()
public SubscribeListingRequest.DestinationCase getDestinationCase()
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];
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];
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) = { ... }
Returns |
Type |
Description |
String |
The name.
|
getNameBytes()
public 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) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
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];
Returns |
Type |
Description |
boolean |
Whether the destinationDataset field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeDestinationDataset(DestinationDataset value)
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];
mergeFrom(SubscribeListingRequest other)
public SubscribeListingRequest.Builder mergeFrom(SubscribeListingRequest other)
public SubscribeListingRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SubscribeListingRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SubscribeListingRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDestinationDataset(DestinationDataset value)
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(DestinationDataset.Builder builderForValue)
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];
setField(Descriptors.FieldDescriptor field, Object value)
public SubscribeListingRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setName(String value)
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) = { ... }
Parameter |
Name |
Description |
value |
String
The name to set.
|
setNameBytes(ByteString value)
public SubscribeListingRequest.Builder setNameBytes(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) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SubscribeListingRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SubscribeListingRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides