Class Subscription.LinkedResource.Builder (0.39.0)

public static final class Subscription.LinkedResource.Builder extends GeneratedMessageV3.Builder<Subscription.LinkedResource.Builder> implements Subscription.LinkedResourceOrBuilder

Reference to a linked resource tracked by this Subscription.

Protobuf type google.cloud.bigquery.analyticshub.v1.Subscription.LinkedResource

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Subscription.LinkedResource build()
Returns
Type Description
Subscription.LinkedResource

buildPartial()

public Subscription.LinkedResource buildPartial()
Returns
Type Description
Subscription.LinkedResource

clear()

public Subscription.LinkedResource.Builder clear()
Returns
Type Description
Subscription.LinkedResource.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Subscription.LinkedResource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Subscription.LinkedResource.Builder
Overrides

clearLinkedDataset()

public Subscription.LinkedResource.Builder clearLinkedDataset()

Output only. Name of the linked dataset, e.g. projects/subscriberproject/datasets/linked_dataset

string linked_dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Subscription.LinkedResource.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReference()

public Subscription.LinkedResource.Builder clearReference()
Returns
Type Description
Subscription.LinkedResource.Builder

clone()

public Subscription.LinkedResource.Builder clone()
Returns
Type Description
Subscription.LinkedResource.Builder
Overrides

getDefaultInstanceForType()

public Subscription.LinkedResource getDefaultInstanceForType()
Returns
Type Description
Subscription.LinkedResource

getDescriptorForType()

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

getLinkedDataset()

public String getLinkedDataset()

Output only. Name of the linked dataset, e.g. projects/subscriberproject/datasets/linked_dataset

string linked_dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The linkedDataset.

getLinkedDatasetBytes()

public ByteString getLinkedDatasetBytes()

Output only. Name of the linked dataset, e.g. projects/subscriberproject/datasets/linked_dataset

string linked_dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for linkedDataset.

getReferenceCase()

public Subscription.LinkedResource.ReferenceCase getReferenceCase()
Returns
Type Description
Subscription.LinkedResource.ReferenceCase

hasLinkedDataset()

public boolean hasLinkedDataset()

Output only. Name of the linked dataset, e.g. projects/subscriberproject/datasets/linked_dataset

string linked_dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the linkedDataset field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Subscription.LinkedResource other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public Subscription.LinkedResource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Subscription.LinkedResource.Builder
Overrides

setLinkedDataset(String value)

public Subscription.LinkedResource.Builder setLinkedDataset(String value)

Output only. Name of the linked dataset, e.g. projects/subscriberproject/datasets/linked_dataset

string linked_dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The linkedDataset to set.

Returns
Type Description
Subscription.LinkedResource.Builder

This builder for chaining.

setLinkedDatasetBytes(ByteString value)

public Subscription.LinkedResource.Builder setLinkedDatasetBytes(ByteString value)

Output only. Name of the linked dataset, e.g. projects/subscriberproject/datasets/linked_dataset

string linked_dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for linkedDataset to set.

Returns
Type Description
Subscription.LinkedResource.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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