Package com.google.cloud.automl.v1
Class Dataset
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.automl.v1.Dataset
-
- All Implemented Interfaces:
DatasetOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Dataset extends com.google.protobuf.GeneratedMessageV3 implements DatasetOrBuilder
A workspace for solving a single, particular machine learning (ML) problem. A workspace contains examples that may be annotated.
Protobuf typegoogle.cloud.automl.v1.Dataset- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataset.BuilderA workspace for solving a single, particular machine learning (ML) problem.static classDataset.DatasetMetadataCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCREATE_TIME_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intDISPLAY_NAME_FIELD_NUMBERstatic intETAG_FIELD_NUMBERstatic intEXAMPLE_COUNT_FIELD_NUMBERstatic intIMAGE_CLASSIFICATION_DATASET_METADATA_FIELD_NUMBERstatic intIMAGE_OBJECT_DETECTION_DATASET_METADATA_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intTEXT_CLASSIFICATION_DATASET_METADATA_FIELD_NUMBERstatic intTEXT_EXTRACTION_DATASET_METADATA_FIELD_NUMBERstatic intTEXT_SENTIMENT_DATASET_METADATA_FIELD_NUMBERstatic intTRANSLATION_DATASET_METADATA_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Optional.booleanequals(Object obj)com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.Dataset.DatasetMetadataCasegetDatasetMetadataCase()static DatasetgetDefaultInstance()DatasetgetDefaultInstanceForType()StringgetDescription()User-provided description of the dataset.com.google.protobuf.ByteStringgetDescriptionBytes()User-provided description of the dataset.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDisplayName()Required.com.google.protobuf.ByteStringgetDisplayNameBytes()Required.StringgetEtag()Used to perform consistent read-modify-write updates.com.google.protobuf.ByteStringgetEtagBytes()Used to perform consistent read-modify-write updates.intgetExampleCount()Output only.ImageClassificationDatasetMetadatagetImageClassificationDatasetMetadata()Metadata for a dataset used for image classification.ImageClassificationDatasetMetadataOrBuildergetImageClassificationDatasetMetadataOrBuilder()Metadata for a dataset used for image classification.ImageObjectDetectionDatasetMetadatagetImageObjectDetectionDatasetMetadata()Metadata for a dataset used for image object detection.ImageObjectDetectionDatasetMetadataOrBuildergetImageObjectDetectionDatasetMetadataOrBuilder()Metadata for a dataset used for image object detection.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Optional.Map<String,String>getLabelsMap()Optional.StringgetLabelsOrDefault(String key, String defaultValue)Optional.StringgetLabelsOrThrow(String key)Optional.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.com.google.protobuf.Parser<Dataset>getParserForType()intgetSerializedSize()TextClassificationDatasetMetadatagetTextClassificationDatasetMetadata()Metadata for a dataset used for text classification.TextClassificationDatasetMetadataOrBuildergetTextClassificationDatasetMetadataOrBuilder()Metadata for a dataset used for text classification.TextExtractionDatasetMetadatagetTextExtractionDatasetMetadata()Metadata for a dataset used for text extraction.TextExtractionDatasetMetadataOrBuildergetTextExtractionDatasetMetadataOrBuilder()Metadata for a dataset used for text extraction.TextSentimentDatasetMetadatagetTextSentimentDatasetMetadata()Metadata for a dataset used for text sentiment.TextSentimentDatasetMetadataOrBuildergetTextSentimentDatasetMetadataOrBuilder()Metadata for a dataset used for text sentiment.TranslationDatasetMetadatagetTranslationDatasetMetadata()Metadata for a dataset used for translation.TranslationDatasetMetadataOrBuildergetTranslationDatasetMetadataOrBuilder()Metadata for a dataset used for translation.booleanhasCreateTime()Output only.inthashCode()booleanhasImageClassificationDatasetMetadata()Metadata for a dataset used for image classification.booleanhasImageObjectDetectionDatasetMetadata()Metadata for a dataset used for image object detection.booleanhasTextClassificationDatasetMetadata()Metadata for a dataset used for text classification.booleanhasTextExtractionDatasetMetadata()Metadata for a dataset used for text extraction.booleanhasTextSentimentDatasetMetadata()Metadata for a dataset used for text sentiment.booleanhasTranslationDatasetMetadata()Metadata for a dataset used for translation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Dataset.BuildernewBuilder()static Dataset.BuildernewBuilder(Dataset prototype)Dataset.BuildernewBuilderForType()protected Dataset.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DatasetparseDelimitedFrom(InputStream input)static DatasetparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DatasetparseFrom(byte[] data)static DatasetparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DatasetparseFrom(com.google.protobuf.ByteString data)static DatasetparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DatasetparseFrom(com.google.protobuf.CodedInputStream input)static DatasetparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DatasetparseFrom(InputStream input)static DatasetparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DatasetparseFrom(ByteBuffer data)static DatasetparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Dataset>parser()Dataset.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TRANSLATION_DATASET_METADATA_FIELD_NUMBER
public static final int TRANSLATION_DATASET_METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMAGE_CLASSIFICATION_DATASET_METADATA_FIELD_NUMBER
public static final int IMAGE_CLASSIFICATION_DATASET_METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TEXT_CLASSIFICATION_DATASET_METADATA_FIELD_NUMBER
public static final int TEXT_CLASSIFICATION_DATASET_METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMAGE_OBJECT_DETECTION_DATASET_METADATA_FIELD_NUMBER
public static final int IMAGE_OBJECT_DETECTION_DATASET_METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TEXT_EXTRACTION_DATASET_METADATA_FIELD_NUMBER
public static final int TEXT_EXTRACTION_DATASET_METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TEXT_SENTIMENT_DATASET_METADATA_FIELD_NUMBER
public static final int TEXT_SENTIMENT_DATASET_METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXAMPLE_COUNT_FIELD_NUMBER
public static final int EXAMPLE_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getDatasetMetadataCase
public Dataset.DatasetMetadataCase getDatasetMetadataCase()
- Specified by:
getDatasetMetadataCasein interfaceDatasetOrBuilder
-
hasTranslationDatasetMetadata
public boolean hasTranslationDatasetMetadata()
Metadata for a dataset used for translation.
.google.cloud.automl.v1.TranslationDatasetMetadata translation_dataset_metadata = 23;- Specified by:
hasTranslationDatasetMetadatain interfaceDatasetOrBuilder- Returns:
- Whether the translationDatasetMetadata field is set.
-
getTranslationDatasetMetadata
public TranslationDatasetMetadata getTranslationDatasetMetadata()
Metadata for a dataset used for translation.
.google.cloud.automl.v1.TranslationDatasetMetadata translation_dataset_metadata = 23;- Specified by:
getTranslationDatasetMetadatain interfaceDatasetOrBuilder- Returns:
- The translationDatasetMetadata.
-
getTranslationDatasetMetadataOrBuilder
public TranslationDatasetMetadataOrBuilder getTranslationDatasetMetadataOrBuilder()
Metadata for a dataset used for translation.
.google.cloud.automl.v1.TranslationDatasetMetadata translation_dataset_metadata = 23;- Specified by:
getTranslationDatasetMetadataOrBuilderin interfaceDatasetOrBuilder
-
hasImageClassificationDatasetMetadata
public boolean hasImageClassificationDatasetMetadata()
Metadata for a dataset used for image classification.
.google.cloud.automl.v1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;- Specified by:
hasImageClassificationDatasetMetadatain interfaceDatasetOrBuilder- Returns:
- Whether the imageClassificationDatasetMetadata field is set.
-
getImageClassificationDatasetMetadata
public ImageClassificationDatasetMetadata getImageClassificationDatasetMetadata()
Metadata for a dataset used for image classification.
.google.cloud.automl.v1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;- Specified by:
getImageClassificationDatasetMetadatain interfaceDatasetOrBuilder- Returns:
- The imageClassificationDatasetMetadata.
-
getImageClassificationDatasetMetadataOrBuilder
public ImageClassificationDatasetMetadataOrBuilder getImageClassificationDatasetMetadataOrBuilder()
Metadata for a dataset used for image classification.
.google.cloud.automl.v1.ImageClassificationDatasetMetadata image_classification_dataset_metadata = 24;- Specified by:
getImageClassificationDatasetMetadataOrBuilderin interfaceDatasetOrBuilder
-
hasTextClassificationDatasetMetadata
public boolean hasTextClassificationDatasetMetadata()
Metadata for a dataset used for text classification.
.google.cloud.automl.v1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;- Specified by:
hasTextClassificationDatasetMetadatain interfaceDatasetOrBuilder- Returns:
- Whether the textClassificationDatasetMetadata field is set.
-
getTextClassificationDatasetMetadata
public TextClassificationDatasetMetadata getTextClassificationDatasetMetadata()
Metadata for a dataset used for text classification.
.google.cloud.automl.v1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;- Specified by:
getTextClassificationDatasetMetadatain interfaceDatasetOrBuilder- Returns:
- The textClassificationDatasetMetadata.
-
getTextClassificationDatasetMetadataOrBuilder
public TextClassificationDatasetMetadataOrBuilder getTextClassificationDatasetMetadataOrBuilder()
Metadata for a dataset used for text classification.
.google.cloud.automl.v1.TextClassificationDatasetMetadata text_classification_dataset_metadata = 25;- Specified by:
getTextClassificationDatasetMetadataOrBuilderin interfaceDatasetOrBuilder
-
hasImageObjectDetectionDatasetMetadata
public boolean hasImageObjectDetectionDatasetMetadata()
Metadata for a dataset used for image object detection.
.google.cloud.automl.v1.ImageObjectDetectionDatasetMetadata image_object_detection_dataset_metadata = 26;- Specified by:
hasImageObjectDetectionDatasetMetadatain interfaceDatasetOrBuilder- Returns:
- Whether the imageObjectDetectionDatasetMetadata field is set.
-
getImageObjectDetectionDatasetMetadata
public ImageObjectDetectionDatasetMetadata getImageObjectDetectionDatasetMetadata()
Metadata for a dataset used for image object detection.
.google.cloud.automl.v1.ImageObjectDetectionDatasetMetadata image_object_detection_dataset_metadata = 26;- Specified by:
getImageObjectDetectionDatasetMetadatain interfaceDatasetOrBuilder- Returns:
- The imageObjectDetectionDatasetMetadata.
-
getImageObjectDetectionDatasetMetadataOrBuilder
public ImageObjectDetectionDatasetMetadataOrBuilder getImageObjectDetectionDatasetMetadataOrBuilder()
Metadata for a dataset used for image object detection.
.google.cloud.automl.v1.ImageObjectDetectionDatasetMetadata image_object_detection_dataset_metadata = 26;- Specified by:
getImageObjectDetectionDatasetMetadataOrBuilderin interfaceDatasetOrBuilder
-
hasTextExtractionDatasetMetadata
public boolean hasTextExtractionDatasetMetadata()
Metadata for a dataset used for text extraction.
.google.cloud.automl.v1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;- Specified by:
hasTextExtractionDatasetMetadatain interfaceDatasetOrBuilder- Returns:
- Whether the textExtractionDatasetMetadata field is set.
-
getTextExtractionDatasetMetadata
public TextExtractionDatasetMetadata getTextExtractionDatasetMetadata()
Metadata for a dataset used for text extraction.
.google.cloud.automl.v1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;- Specified by:
getTextExtractionDatasetMetadatain interfaceDatasetOrBuilder- Returns:
- The textExtractionDatasetMetadata.
-
getTextExtractionDatasetMetadataOrBuilder
public TextExtractionDatasetMetadataOrBuilder getTextExtractionDatasetMetadataOrBuilder()
Metadata for a dataset used for text extraction.
.google.cloud.automl.v1.TextExtractionDatasetMetadata text_extraction_dataset_metadata = 28;- Specified by:
getTextExtractionDatasetMetadataOrBuilderin interfaceDatasetOrBuilder
-
hasTextSentimentDatasetMetadata
public boolean hasTextSentimentDatasetMetadata()
Metadata for a dataset used for text sentiment.
.google.cloud.automl.v1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;- Specified by:
hasTextSentimentDatasetMetadatain interfaceDatasetOrBuilder- Returns:
- Whether the textSentimentDatasetMetadata field is set.
-
getTextSentimentDatasetMetadata
public TextSentimentDatasetMetadata getTextSentimentDatasetMetadata()
Metadata for a dataset used for text sentiment.
.google.cloud.automl.v1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;- Specified by:
getTextSentimentDatasetMetadatain interfaceDatasetOrBuilder- Returns:
- The textSentimentDatasetMetadata.
-
getTextSentimentDatasetMetadataOrBuilder
public TextSentimentDatasetMetadataOrBuilder getTextSentimentDatasetMetadataOrBuilder()
Metadata for a dataset used for text sentiment.
.google.cloud.automl.v1.TextSentimentDatasetMetadata text_sentiment_dataset_metadata = 30;- Specified by:
getTextSentimentDatasetMetadataOrBuilderin interfaceDatasetOrBuilder
-
getName
public String getName()
Output only. The resource name of the dataset. Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`string name = 1;- Specified by:
getNamein interfaceDatasetOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the dataset. Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`string name = 1;- Specified by:
getNameBytesin interfaceDatasetOrBuilder- Returns:
- The bytes for name.
-
getDisplayName
public String getDisplayName()
Required. The name of the dataset to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.
string display_name = 2;- Specified by:
getDisplayNamein interfaceDatasetOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
Required. The name of the dataset to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.
string display_name = 2;- Specified by:
getDisplayNameBytesin interfaceDatasetOrBuilder- Returns:
- The bytes for displayName.
-
getDescription
public String getDescription()
User-provided description of the dataset. The description can be up to 25000 characters long.
string description = 3;- Specified by:
getDescriptionin interfaceDatasetOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
User-provided description of the dataset. The description can be up to 25000 characters long.
string description = 3;- Specified by:
getDescriptionBytesin interfaceDatasetOrBuilder- Returns:
- The bytes for description.
-
getExampleCount
public int getExampleCount()
Output only. The number of examples in the dataset.
int32 example_count = 21;- Specified by:
getExampleCountin interfaceDatasetOrBuilder- Returns:
- The exampleCount.
-
hasCreateTime
public boolean hasCreateTime()
Output only. Timestamp when this dataset was created.
.google.protobuf.Timestamp create_time = 14;- Specified by:
hasCreateTimein interfaceDatasetOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Timestamp when this dataset was created.
.google.protobuf.Timestamp create_time = 14;- Specified by:
getCreateTimein interfaceDatasetOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this dataset was created.
.google.protobuf.Timestamp create_time = 14;- Specified by:
getCreateTimeOrBuilderin interfaceDatasetOrBuilder
-
getEtag
public String getEtag()
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 17;- Specified by:
getEtagin interfaceDatasetOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 17;- Specified by:
getEtagBytesin interfaceDatasetOrBuilder- Returns:
- The bytes for etag.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:DatasetOrBuilderOptional. The labels with user-defined metadata to organize your dataset. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. See https://goo.gl/xmQnxf for more information on and examples of labels.
map<string, string> labels = 39;- Specified by:
getLabelsCountin interfaceDatasetOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Optional. The labels with user-defined metadata to organize your dataset. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. See https://goo.gl/xmQnxf for more information on and examples of labels.
map<string, string> labels = 39;- Specified by:
containsLabelsin interfaceDatasetOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceDatasetOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Optional. The labels with user-defined metadata to organize your dataset. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. See https://goo.gl/xmQnxf for more information on and examples of labels.
map<string, string> labels = 39;- Specified by:
getLabelsMapin interfaceDatasetOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Optional. The labels with user-defined metadata to organize your dataset. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. See https://goo.gl/xmQnxf for more information on and examples of labels.
map<string, string> labels = 39;- Specified by:
getLabelsOrDefaultin interfaceDatasetOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Optional. The labels with user-defined metadata to organize your dataset. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. See https://goo.gl/xmQnxf for more information on and examples of labels.
map<string, string> labels = 39;- Specified by:
getLabelsOrThrowin interfaceDatasetOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 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 Dataset parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Dataset parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Dataset parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Dataset parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Dataset parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Dataset parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Dataset parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Dataset parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Dataset parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Dataset parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Dataset parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Dataset parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Dataset.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Dataset.Builder newBuilder()
-
newBuilder
public static Dataset.Builder newBuilder(Dataset prototype)
-
toBuilder
public Dataset.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Dataset.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Dataset getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Dataset> parser()
-
getParserForType
public com.google.protobuf.Parser<Dataset> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Dataset getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-