Class DestinationDataset (0.41.0)

public final class DestinationDataset extends GeneratedMessageV3 implements DestinationDatasetOrBuilder

Defines the destination bigquery dataset.

Protobuf type google.cloud.bigquery.analyticshub.v1.DestinationDataset

Static Fields

DATASET_REFERENCE_FIELD_NUMBER

public static final int DATASET_REFERENCE_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

FRIENDLY_NAME_FIELD_NUMBER

public static final int FRIENDLY_NAME_FIELD_NUMBER
Field Value
Type Description
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
Type Description
int

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DestinationDataset getDefaultInstance()
Returns
Type Description
DestinationDataset

getDescriptor()

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

newBuilder()

public static DestinationDataset.Builder newBuilder()
Returns
Type Description
DestinationDataset.Builder

newBuilder(DestinationDataset prototype)

public static DestinationDataset.Builder newBuilder(DestinationDataset prototype)
Parameter
Name Description
prototype DestinationDataset
Returns
Type Description
DestinationDataset.Builder

parseDelimitedFrom(InputStream input)

public static DestinationDataset parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DestinationDataset
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DestinationDataset parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DestinationDataset
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DestinationDataset parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DestinationDataset
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DestinationDataset parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DestinationDataset
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DestinationDataset parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DestinationDataset
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DestinationDataset parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DestinationDataset
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DestinationDataset parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DestinationDataset
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DestinationDataset parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DestinationDataset
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DestinationDataset parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DestinationDataset
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DestinationDataset parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DestinationDataset
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DestinationDataset parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DestinationDataset
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DestinationDataset parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DestinationDataset
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DestinationDataset> parser()
Returns
Type Description
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
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDatasetReference()

public DestinationDatasetReference getDatasetReference()

Required. A reference that identifies the destination dataset.

.google.cloud.bigquery.analyticshub.v1.DestinationDatasetReference dataset_reference = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DestinationDatasetReference

The datasetReference.

getDatasetReferenceOrBuilder()

public DestinationDatasetReferenceOrBuilder getDatasetReferenceOrBuilder()

Required. A reference that identifies the destination dataset.

.google.cloud.bigquery.analyticshub.v1.DestinationDatasetReference dataset_reference = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DestinationDatasetReferenceOrBuilder

getDefaultInstanceForType()

public DestinationDataset getDefaultInstanceForType()
Returns
Type Description
DestinationDataset

getDescription()

public StringValue getDescription()

Optional. A user-friendly description of the dataset.

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

Returns
Type Description
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
Type Description
StringValueOrBuilder

getFriendlyName()

public StringValue getFriendlyName()

Optional. A descriptive name for the dataset.

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

Returns
Type Description
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
Type Description
StringValueOrBuilder

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for location.

getParserForType()

public Parser<DestinationDataset> getParserForType()
Returns
Type Description
Parser<DestinationDataset>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasDatasetReference()

public boolean hasDatasetReference()

Required. A reference that identifies the destination dataset.

.google.cloud.bigquery.analyticshub.v1.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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DestinationDataset.Builder newBuilderForType()
Returns
Type Description
DestinationDataset.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DestinationDataset.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DestinationDataset.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DestinationDataset.Builder toBuilder()
Returns
Type Description
DestinationDataset.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException