Class Subscription.LinkedResource.Builder (0.30.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Subscription.LinkedResource build()
Returns
TypeDescription
Subscription.LinkedResource

buildPartial()

public Subscription.LinkedResource buildPartial()
Returns
TypeDescription
Subscription.LinkedResource

clear()

public Subscription.LinkedResource.Builder clear()
Returns
TypeDescription
Subscription.LinkedResource.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReference()

public Subscription.LinkedResource.Builder clearReference()
Returns
TypeDescription
Subscription.LinkedResource.Builder

clone()

public Subscription.LinkedResource.Builder clone()
Returns
TypeDescription
Subscription.LinkedResource.Builder
Overrides

getDefaultInstanceForType()

public Subscription.LinkedResource getDefaultInstanceForType()
Returns
TypeDescription
Subscription.LinkedResource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for linkedDataset.

getReferenceCase()

public Subscription.LinkedResource.ReferenceCase getReferenceCase()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the linkedDataset field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Subscription.LinkedResource other)

public Subscription.LinkedResource.Builder mergeFrom(Subscription.LinkedResource other)
Parameter
NameDescription
otherSubscription.LinkedResource
Returns
TypeDescription
Subscription.LinkedResource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Subscription.LinkedResource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Subscription.LinkedResource.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

The linkedDataset to set.

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

The bytes for linkedDataset to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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