Class DestinationDataset
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.bigquery.analyticshub.v1.DestinationDataset
- All Implemented Interfaces:
DestinationDatasetOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class DestinationDataset
extends com.google.protobuf.GeneratedMessage
implements DestinationDatasetOrBuilder
Defines the destination bigquery dataset.Protobuf type
google.cloud.bigquery.analyticshub.v1.DestinationDataset- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDefines the destination bigquery dataset.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional.booleanRequired.Required.static DestinationDatasetcom.google.protobuf.StringValueOptional.com.google.protobuf.StringValueOrBuilderOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.StringValueOptional.com.google.protobuf.StringValueOrBuilderOptional.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.Required.com.google.protobuf.ByteStringRequired.com.google.protobuf.Parser<DestinationDataset>getReplicaLocations(int index) Optional.com.google.protobuf.ByteStringgetReplicaLocationsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.intbooleanRequired.booleanOptional.booleanOptional.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic DestinationDataset.Builderstatic DestinationDataset.BuildernewBuilder(DestinationDataset prototype) protected DestinationDataset.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DestinationDatasetparseDelimitedFrom(InputStream input) static DestinationDatasetparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DestinationDatasetparseFrom(byte[] data) static DestinationDatasetparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DestinationDatasetparseFrom(com.google.protobuf.ByteString data) static DestinationDatasetparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DestinationDatasetparseFrom(com.google.protobuf.CodedInputStream input) static DestinationDatasetparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DestinationDatasetparseFrom(InputStream input) static DestinationDatasetparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DestinationDatasetparseFrom(ByteBuffer data) static DestinationDatasetparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DestinationDataset>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
DATASET_REFERENCE_FIELD_NUMBER
public static final int DATASET_REFERENCE_FIELD_NUMBER- See Also:
-
FRIENDLY_NAME_FIELD_NUMBER
public static final int FRIENDLY_NAME_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER- See Also:
-
REPLICA_LOCATIONS_FIELD_NUMBER
public static final int REPLICA_LOCATIONS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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];- Specified by:
hasDatasetReferencein interfaceDestinationDatasetOrBuilder- Returns:
- Whether the datasetReference field is set.
-
getDatasetReference
Required. A reference that identifies the destination dataset.
.google.cloud.bigquery.analyticshub.v1.DestinationDatasetReference dataset_reference = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDatasetReferencein interfaceDestinationDatasetOrBuilder- Returns:
- The datasetReference.
-
getDatasetReferenceOrBuilder
Required. A reference that identifies the destination dataset.
.google.cloud.bigquery.analyticshub.v1.DestinationDatasetReference dataset_reference = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDatasetReferenceOrBuilderin interfaceDestinationDatasetOrBuilder
-
hasFriendlyName
public boolean hasFriendlyName()Optional. A descriptive name for the dataset.
.google.protobuf.StringValue friendly_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasFriendlyNamein interfaceDestinationDatasetOrBuilder- Returns:
- Whether the friendlyName field is set.
-
getFriendlyName
public com.google.protobuf.StringValue getFriendlyName()Optional. A descriptive name for the dataset.
.google.protobuf.StringValue friendly_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFriendlyNamein interfaceDestinationDatasetOrBuilder- Returns:
- The friendlyName.
-
getFriendlyNameOrBuilder
public com.google.protobuf.StringValueOrBuilder getFriendlyNameOrBuilder()Optional. A descriptive name for the dataset.
.google.protobuf.StringValue friendly_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFriendlyNameOrBuilderin interfaceDestinationDatasetOrBuilder
-
hasDescription
public boolean hasDescription()Optional. A user-friendly description of the dataset.
.google.protobuf.StringValue description = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasDescriptionin interfaceDestinationDatasetOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
public com.google.protobuf.StringValue getDescription()Optional. A user-friendly description of the dataset.
.google.protobuf.StringValue description = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceDestinationDatasetOrBuilder- Returns:
- The description.
-
getDescriptionOrBuilder
public com.google.protobuf.StringValueOrBuilder getDescriptionOrBuilder()Optional. A user-friendly description of the dataset.
.google.protobuf.StringValue description = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionOrBuilderin interfaceDestinationDatasetOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:DestinationDatasetOrBuilderOptional. 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];- Specified by:
getLabelsCountin interfaceDestinationDatasetOrBuilder
-
containsLabels
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];- Specified by:
containsLabelsin interfaceDestinationDatasetOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceDestinationDatasetOrBuilder
-
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];- Specified by:
getLabelsMapin interfaceDestinationDatasetOrBuilder
-
getLabelsOrDefault
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];- Specified by:
getLabelsOrDefaultin interfaceDestinationDatasetOrBuilder
-
getLabelsOrThrow
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];- Specified by:
getLabelsOrThrowin interfaceDestinationDatasetOrBuilder
-
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];- Specified by:
getLocationin interfaceDestinationDatasetOrBuilder- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.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];- Specified by:
getLocationBytesin interfaceDestinationDatasetOrBuilder- Returns:
- The bytes for location.
-
getReplicaLocationsList
public com.google.protobuf.ProtocolStringList getReplicaLocationsList()Optional. The geographic locations where the dataset should be replicated. See [BigQuery locations](https://cloud.google.com/bigquery/docs/locations) for supported locations.
repeated string replica_locations = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getReplicaLocationsListin interfaceDestinationDatasetOrBuilder- Returns:
- A list containing the replicaLocations.
-
getReplicaLocationsCount
public int getReplicaLocationsCount()Optional. The geographic locations where the dataset should be replicated. See [BigQuery locations](https://cloud.google.com/bigquery/docs/locations) for supported locations.
repeated string replica_locations = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getReplicaLocationsCountin interfaceDestinationDatasetOrBuilder- Returns:
- The count of replicaLocations.
-
getReplicaLocations
Optional. The geographic locations where the dataset should be replicated. See [BigQuery locations](https://cloud.google.com/bigquery/docs/locations) for supported locations.
repeated string replica_locations = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getReplicaLocationsin interfaceDestinationDatasetOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The replicaLocations at the given index.
-
getReplicaLocationsBytes
public com.google.protobuf.ByteString getReplicaLocationsBytes(int index) Optional. The geographic locations where the dataset should be replicated. See [BigQuery locations](https://cloud.google.com/bigquery/docs/locations) for supported locations.
repeated string replica_locations = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getReplicaLocationsBytesin interfaceDestinationDatasetOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the replicaLocations at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DestinationDataset parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DestinationDataset parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DestinationDataset parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DestinationDataset parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DestinationDataset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DestinationDataset parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DestinationDataset parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DestinationDataset parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DestinationDataset parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DestinationDataset parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DestinationDataset.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-