Class DestinationDataset (2.25.0)

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
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

FRIENDLY_NAME_FIELD_NUMBER

public static final int FRIENDLY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
TypeDescription
int

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DestinationDataset getDefaultInstance()
Returns
TypeDescription
DestinationDataset

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DestinationDataset.Builder newBuilder()
Returns
TypeDescription
DestinationDataset.Builder

newBuilder(DestinationDataset prototype)

public static DestinationDataset.Builder newBuilder(DestinationDataset prototype)
Parameter
NameDescription
prototypeDestinationDataset
Returns
TypeDescription
DestinationDataset.Builder

parseDelimitedFrom(InputStream input)

public static DestinationDataset parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DestinationDataset
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DestinationDataset parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DestinationDataset
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DestinationDataset parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DestinationDataset
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DestinationDataset parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DestinationDataset
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DestinationDataset parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DestinationDataset
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DestinationDataset parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DestinationDataset
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DestinationDataset parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DestinationDataset
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DestinationDataset parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DestinationDataset
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DestinationDataset parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DestinationDataset
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DestinationDataset parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DestinationDataset
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DestinationDataset parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DestinationDataset
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DestinationDataset parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DestinationDataset
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DestinationDataset> parser()
Returns
TypeDescription
Parser<DestinationDataset>

Methods

containsLabels(String key)

public boolean containsLabels(String key)

Optional. The labels associated with this dataset. You can use these to organize and group your datasets. You can set this property when inserting or updating a dataset. See https://cloud.google.com/resource-manager/docs/creating-managing-labels for more information.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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
TypeDescription
DestinationDatasetReference

The datasetReference.

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
TypeDescription
DestinationDatasetReferenceOrBuilder

getDefaultInstanceForType()

public DestinationDataset getDefaultInstanceForType()
Returns
TypeDescription
DestinationDataset

getDescription()

public StringValue getDescription()

Optional. A user-friendly description of the dataset.

.google.protobuf.StringValue description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
StringValue

The description.

getDescriptionOrBuilder()

public StringValueOrBuilder getDescriptionOrBuilder()

Optional. A user-friendly description of the dataset.

.google.protobuf.StringValue description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
StringValueOrBuilder

getFriendlyName()

public StringValue getFriendlyName()

Optional. A descriptive name for the dataset.

.google.protobuf.StringValue friendly_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
StringValue

The friendlyName.

getFriendlyNameOrBuilder()

public StringValueOrBuilder getFriendlyNameOrBuilder()

Optional. A descriptive name for the dataset.

.google.protobuf.StringValue friendly_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
StringValueOrBuilder

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Optional. The labels associated with this dataset. You can use these to organize and group your datasets. You can set this property when inserting or updating a dataset. See https://cloud.google.com/resource-manager/docs/creating-managing-labels for more information.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Optional. The labels associated with this dataset. You can use these to organize and group your datasets. You can set this property when inserting or updating a dataset. See https://cloud.google.com/resource-manager/docs/creating-managing-labels for more information.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Optional. The labels associated with this dataset. You can use these to organize and group your datasets. You can set this property when inserting or updating a dataset. See https://cloud.google.com/resource-manager/docs/creating-managing-labels for more information.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Optional. The labels associated with this dataset. You can use these to organize and group your datasets. You can set this property when inserting or updating a dataset. See https://cloud.google.com/resource-manager/docs/creating-managing-labels for more information.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getLocation()

public String getLocation()

Required. The geographic location where the dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations.

string location = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

Required. The geographic location where the dataset should reside. See https://cloud.google.com/bigquery/docs/locations for supported locations.

string location = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for location.

getParserForType()

public Parser<DestinationDataset> getParserForType()
Returns
TypeDescription
Parser<DestinationDataset>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the friendlyName field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DestinationDataset.Builder newBuilderForType()
Returns
TypeDescription
DestinationDataset.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DestinationDataset.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DestinationDataset.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DestinationDataset.Builder toBuilder()
Returns
TypeDescription
DestinationDataset.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException