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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Subscription.LinkedResource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Subscription.LinkedResource build()
buildPartial()
public Subscription.LinkedResource buildPartial()
clear()
public Subscription.LinkedResource.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Subscription.LinkedResource.Builder clearField(Descriptors.FieldDescriptor field)
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public Subscription.LinkedResource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearReference()
public Subscription.LinkedResource.Builder clearReference()
clone()
public Subscription.LinkedResource.Builder clone()
Overrides
getDefaultInstanceForType()
public Subscription.LinkedResource getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Subscription.LinkedResource other)
public Subscription.LinkedResource.Builder mergeFrom(Subscription.LinkedResource other)
public Subscription.LinkedResource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Subscription.LinkedResource.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Subscription.LinkedResource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Subscription.LinkedResource.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Subscription.LinkedResource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Subscription.LinkedResource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides