Class SubscribeListingRequest.Builder (2.3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SubscribeListingRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SubscribeListingRequest.Builder
Overrides

build()

public SubscribeListingRequest build()
Returns
TypeDescription
SubscribeListingRequest

buildPartial()

public SubscribeListingRequest buildPartial()
Returns
TypeDescription
SubscribeListingRequest

clear()

public SubscribeListingRequest.Builder clear()
Returns
TypeDescription
SubscribeListingRequest.Builder
Overrides

clearDestination()

public SubscribeListingRequest.Builder clearDestination()
Returns
TypeDescription
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
TypeDescription
SubscribeListingRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public SubscribeListingRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
SubscribeListingRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SubscribeListingRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SubscribeListingRequest.Builder
Overrides

clone()

public SubscribeListingRequest.Builder clone()
Returns
TypeDescription
SubscribeListingRequest.Builder
Overrides

getDefaultInstanceForType()

public SubscribeListingRequest getDefaultInstanceForType()
Returns
TypeDescription
SubscribeListingRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDestinationCase()

public SubscribeListingRequest.DestinationCase getDestinationCase()
Returns
TypeDescription
SubscribeListingRequest.DestinationCase

getDestinationDataset()

public DestinationDataset getDestinationDataset()

BigQuery destination dataset to create for the subscriber.

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

Returns
TypeDescription
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
TypeDescription
DestinationDataset.Builder

getDestinationDatasetOrBuilder()

public DestinationDatasetOrBuilder getDestinationDatasetOrBuilder()

BigQuery destination dataset to create for the subscriber.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the destinationDataset field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueDestinationDataset
Returns
TypeDescription
SubscribeListingRequest.Builder

mergeFrom(SubscribeListingRequest other)

public SubscribeListingRequest.Builder mergeFrom(SubscribeListingRequest other)
Parameter
NameDescription
otherSubscribeListingRequest
Returns
TypeDescription
SubscribeListingRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SubscribeListingRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubscribeListingRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SubscribeListingRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SubscribeListingRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SubscribeListingRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueDestinationDataset
Returns
TypeDescription
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
NameDescription
builderForValueDestinationDataset.Builder
Returns
TypeDescription
SubscribeListingRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SubscribeListingRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SubscribeListingRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SubscribeListingRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SubscribeListingRequest.Builder
Overrides