public final class DestinationDataset extends GeneratedMessageV3 implements DestinationDatasetOrBuilder
Defines the Destination BigQuery Dataset.
Protobuf type google.cloud.bigquery.dataexchange.v1beta1.DestinationDataset
Static Fields
DATASET_REFERENCE_FIELD_NUMBER
public static final int DATASET_REFERENCE_FIELD_NUMBER
Field Value
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
FRIENDLY_NAME_FIELD_NUMBER
public static final int FRIENDLY_NAME_FIELD_NUMBER
Field Value
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static DestinationDataset getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static DestinationDataset.Builder newBuilder()
Returns
newBuilder(DestinationDataset prototype)
public static DestinationDataset.Builder newBuilder(DestinationDataset prototype)
Parameter
Returns
public static DestinationDataset parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DestinationDataset parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DestinationDataset parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DestinationDataset parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DestinationDataset parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DestinationDataset parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DestinationDataset parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DestinationDataset parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DestinationDataset parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DestinationDataset parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DestinationDataset parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DestinationDataset parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<DestinationDataset> parser()
Returns
Methods
containsLabels(String key)
public boolean containsLabels(String key)
Parameter
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDatasetReference()
public DestinationDatasetReference getDatasetReference()
Required. A reference that identifies the destination dataset.
.google.cloud.bigquery.dataexchange.v1beta1.DestinationDatasetReference dataset_reference = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDatasetReferenceOrBuilder()
public DestinationDatasetReferenceOrBuilder getDatasetReferenceOrBuilder()
Required. A reference that identifies the destination dataset.
.google.cloud.bigquery.dataexchange.v1beta1.DestinationDatasetReference dataset_reference = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public DestinationDataset getDefaultInstanceForType()
Returns
getDescription()
public StringValue getDescription()
Optional. A user-friendly description of the dataset.
.google.protobuf.StringValue description = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
getDescriptionOrBuilder()
public StringValueOrBuilder getDescriptionOrBuilder()
Optional. A user-friendly description of the dataset.
.google.protobuf.StringValue description = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
getFriendlyName()
public StringValue getFriendlyName()
Optional. A descriptive name for the dataset.
.google.protobuf.StringValue friendly_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getFriendlyNameOrBuilder()
public StringValueOrBuilder getFriendlyNameOrBuilder()
Optional. A descriptive name for the dataset.
.google.protobuf.StringValue friendly_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getLabels()
public Map<String,String> getLabels()
Returns
getLabelsCount()
public int getLabelsCount()
Returns
getLabelsMap()
public Map<String,String> getLabelsMap()
Returns
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Parameters
Returns
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Parameter
Returns
getLocation()
public String getLocation()
Returns
Type | Description |
String | The location.
|
getLocationBytes()
public ByteString getLocationBytes()
Returns
getParserForType()
public Parser<DestinationDataset> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasDatasetReference()
public boolean hasDatasetReference()
Required. A reference that identifies the destination dataset.
.google.cloud.bigquery.dataexchange.v1beta1.DestinationDatasetReference dataset_reference = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the datasetReference field is set.
|
hasDescription()
public boolean hasDescription()
Optional. A user-friendly description of the dataset.
.google.protobuf.StringValue description = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | Whether the description field is set.
|
hasFriendlyName()
public boolean hasFriendlyName()
Optional. A descriptive name for the dataset.
.google.protobuf.StringValue friendly_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | Whether the friendlyName field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public DestinationDataset.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DestinationDataset.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public DestinationDataset.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions