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.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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SubscribeListingRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SubscribeListingRequest build()
Returns
buildPartial()
public SubscribeListingRequest buildPartial()
Returns
clear()
public SubscribeListingRequest.Builder clear()
Returns
Overrides
clearDestination()
public SubscribeListingRequest.Builder clearDestination()
Returns
clearDestinationDataset()
public SubscribeListingRequest.Builder clearDestinationDataset()
BigQuery destination dataset to create for the subscriber.
.google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 3;
Returns
clearField(Descriptors.FieldDescriptor field)
public SubscribeListingRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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) = { ... }
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public SubscribeListingRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public SubscribeListingRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SubscribeListingRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDestinationCase()
public SubscribeListingRequest.DestinationCase getDestinationCase()
Returns
getDestinationDataset()
public DestinationDataset getDestinationDataset()
BigQuery destination dataset to create for the subscriber.
.google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 3;
Returns
getDestinationDatasetBuilder()
public DestinationDataset.Builder getDestinationDatasetBuilder()
BigQuery destination dataset to create for the subscriber.
.google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 3;
Returns
getDestinationDatasetOrBuilder()
public DestinationDatasetOrBuilder getDestinationDatasetOrBuilder()
BigQuery destination dataset to create for the subscriber.
.google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 3;
Returns
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
hasDestinationDataset()
public boolean hasDestinationDataset()
BigQuery destination dataset to create for the subscriber.
.google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 3;
Returns
Type | Description |
boolean | Whether the destinationDataset field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeDestinationDataset(DestinationDataset value)
public SubscribeListingRequest.Builder mergeDestinationDataset(DestinationDataset value)
BigQuery destination dataset to create for the subscriber.
.google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 3;
Parameter
Returns
mergeFrom(SubscribeListingRequest other)
public SubscribeListingRequest.Builder mergeFrom(SubscribeListingRequest other)
Parameter
Returns
public SubscribeListingRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SubscribeListingRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SubscribeListingRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setDestinationDataset(DestinationDataset value)
public SubscribeListingRequest.Builder setDestinationDataset(DestinationDataset value)
BigQuery destination dataset to create for the subscriber.
.google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 3;
Parameter
Returns
setDestinationDataset(DestinationDataset.Builder builderForValue)
public SubscribeListingRequest.Builder setDestinationDataset(DestinationDataset.Builder builderForValue)
BigQuery destination dataset to create for the subscriber.
.google.cloud.bigquery.analyticshub.v1.DestinationDataset destination_dataset = 3;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public SubscribeListingRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SubscribeListingRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SubscribeListingRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides