Class SubscribeListingRequest.Builder (2.42.0)

public static final class SubscribeListingRequest.Builder extends GeneratedMessageV3.Builder<SubscribeListingRequest.Builder> implements SubscribeListingRequestOrBuilder

Message for subscribing to a listing.

Protobuf type google.cloud.bigquery.dataexchange.v1beta1.SubscribeListingRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SubscribeListingRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SubscribeListingRequest.Builder
Overrides

build()

public SubscribeListingRequest build()
Returns
Type Description
SubscribeListingRequest

buildPartial()

public SubscribeListingRequest buildPartial()
Returns
Type Description
SubscribeListingRequest

clear()

public SubscribeListingRequest.Builder clear()
Returns
Type Description
SubscribeListingRequest.Builder
Overrides

clearDestination()

public SubscribeListingRequest.Builder clearDestination()
Returns
Type Description
SubscribeListingRequest.Builder

clearDestinationDataset()

public SubscribeListingRequest.Builder clearDestinationDataset()

BigQuery destination dataset to create for the subscriber.

.google.cloud.bigquery.dataexchange.v1beta1.DestinationDataset destination_dataset = 3;

Returns
Type Description
SubscribeListingRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public SubscribeListingRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SubscribeListingRequest.Builder
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
Type Description
SubscribeListingRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SubscribeListingRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SubscribeListingRequest.Builder
Overrides

clone()

public SubscribeListingRequest.Builder clone()
Returns
Type Description
SubscribeListingRequest.Builder
Overrides

getDefaultInstanceForType()

public SubscribeListingRequest getDefaultInstanceForType()
Returns
Type Description
SubscribeListingRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDestinationCase()

public SubscribeListingRequest.DestinationCase getDestinationCase()
Returns
Type Description
SubscribeListingRequest.DestinationCase

getDestinationDataset()

public DestinationDataset getDestinationDataset()

BigQuery destination dataset to create for the subscriber.

.google.cloud.bigquery.dataexchange.v1beta1.DestinationDataset destination_dataset = 3;

Returns
Type Description
DestinationDataset

The destinationDataset.

getDestinationDatasetBuilder()

public DestinationDataset.Builder getDestinationDatasetBuilder()

BigQuery destination dataset to create for the subscriber.

.google.cloud.bigquery.dataexchange.v1beta1.DestinationDataset destination_dataset = 3;

Returns
Type Description
DestinationDataset.Builder

getDestinationDatasetOrBuilder()

public DestinationDatasetOrBuilder getDestinationDatasetOrBuilder()

BigQuery destination dataset to create for the subscriber.

.google.cloud.bigquery.dataexchange.v1beta1.DestinationDataset destination_dataset = 3;

Returns
Type Description
DestinationDatasetOrBuilder

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) = { ... }

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()

BigQuery destination dataset to create for the subscriber.

.google.cloud.bigquery.dataexchange.v1beta1.DestinationDataset destination_dataset = 3;

Returns
Type Description
boolean

Whether the destinationDataset field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDestinationDataset(DestinationDataset value)

public SubscribeListingRequest.Builder mergeDestinationDataset(DestinationDataset value)

BigQuery destination dataset to create for the subscriber.

.google.cloud.bigquery.dataexchange.v1beta1.DestinationDataset destination_dataset = 3;

Parameter
Name Description
value DestinationDataset
Returns
Type Description
SubscribeListingRequest.Builder

mergeFrom(SubscribeListingRequest other)

public SubscribeListingRequest.Builder mergeFrom(SubscribeListingRequest other)
Parameter
Name Description
other SubscribeListingRequest
Returns
Type Description
SubscribeListingRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SubscribeListingRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SubscribeListingRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SubscribeListingRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SubscribeListingRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SubscribeListingRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SubscribeListingRequest.Builder
Overrides

setDestinationDataset(DestinationDataset value)

public SubscribeListingRequest.Builder setDestinationDataset(DestinationDataset value)

BigQuery destination dataset to create for the subscriber.

.google.cloud.bigquery.dataexchange.v1beta1.DestinationDataset destination_dataset = 3;

Parameter
Name Description
value DestinationDataset
Returns
Type Description
SubscribeListingRequest.Builder

setDestinationDataset(DestinationDataset.Builder builderForValue)

public SubscribeListingRequest.Builder setDestinationDataset(DestinationDataset.Builder builderForValue)

BigQuery destination dataset to create for the subscriber.

.google.cloud.bigquery.dataexchange.v1beta1.DestinationDataset destination_dataset = 3;

Parameter
Name Description
builderForValue DestinationDataset.Builder
Returns
Type Description
SubscribeListingRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SubscribeListingRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SubscribeListingRequest.Builder
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
Type Description
SubscribeListingRequest.Builder

This builder for chaining.

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
Type Description
SubscribeListingRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SubscribeListingRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SubscribeListingRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SubscribeListingRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SubscribeListingRequest.Builder
Overrides