Class Dataset.Builder

  • All Implemented Interfaces:
    DatasetOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Dataset

    public static final class Dataset.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
    implements DatasetOrBuilder
     A collection of DataItems and Annotations on them.
     
    Protobuf type google.cloud.aiplatform.v1beta1.Dataset
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
      • clear

        public Dataset.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
      • getDefaultInstanceForType

        public Dataset getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Dataset build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Dataset buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Dataset.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
      • setField

        public Dataset.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                        Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
      • clearField

        public Dataset.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
      • clearOneof

        public Dataset.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
      • setRepeatedField

        public Dataset.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                int index,
                                                Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
      • addRepeatedField

        public Dataset.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
      • mergeFrom

        public Dataset.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Dataset.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
      • mergeFrom

        public Dataset.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                  throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Dataset.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Output only. The resource name of the Dataset.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getName in interface DatasetOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Output only. The resource name of the Dataset.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNameBytes in interface DatasetOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Dataset.Builder setName​(String value)
         Output only. The resource name of the Dataset.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Dataset.Builder clearName()
         Output only. The resource name of the Dataset.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setNameBytes

        public Dataset.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Output only. The resource name of the Dataset.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getDisplayName

        public String getDisplayName()
         Required. The user-defined name of the Dataset.
         The name can be up to 128 characters long and can consist of any UTF-8
         characters.
         
        string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDisplayName in interface DatasetOrBuilder
        Returns:
        The displayName.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         Required. The user-defined name of the Dataset.
         The name can be up to 128 characters long and can consist of any UTF-8
         characters.
         
        string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDisplayNameBytes in interface DatasetOrBuilder
        Returns:
        The bytes for displayName.
      • setDisplayName

        public Dataset.Builder setDisplayName​(String value)
         Required. The user-defined name of the Dataset.
         The name can be up to 128 characters long and can consist of any UTF-8
         characters.
         
        string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The displayName to set.
        Returns:
        This builder for chaining.
      • clearDisplayName

        public Dataset.Builder clearDisplayName()
         Required. The user-defined name of the Dataset.
         The name can be up to 128 characters long and can consist of any UTF-8
         characters.
         
        string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setDisplayNameBytes

        public Dataset.Builder setDisplayNameBytes​(com.google.protobuf.ByteString value)
         Required. The user-defined name of the Dataset.
         The name can be up to 128 characters long and can consist of any UTF-8
         characters.
         
        string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for displayName to set.
        Returns:
        This builder for chaining.
      • getDescription

        public String getDescription()
         The description of the Dataset.
         
        string description = 16;
        Specified by:
        getDescription in interface DatasetOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         The description of the Dataset.
         
        string description = 16;
        Specified by:
        getDescriptionBytes in interface DatasetOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public Dataset.Builder setDescription​(String value)
         The description of the Dataset.
         
        string description = 16;
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public Dataset.Builder clearDescription()
         The description of the Dataset.
         
        string description = 16;
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public Dataset.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         The description of the Dataset.
         
        string description = 16;
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • getMetadataSchemaUri

        public String getMetadataSchemaUri()
         Required. Points to a YAML file stored on Google Cloud Storage describing
         additional information about the Dataset. The schema is defined as an
         OpenAPI 3.0.2 Schema Object. The schema files that can be used here are
         found in gs://google-cloud-aiplatform/schema/dataset/metadata/.
         
        string metadata_schema_uri = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getMetadataSchemaUri in interface DatasetOrBuilder
        Returns:
        The metadataSchemaUri.
      • getMetadataSchemaUriBytes

        public com.google.protobuf.ByteString getMetadataSchemaUriBytes()
         Required. Points to a YAML file stored on Google Cloud Storage describing
         additional information about the Dataset. The schema is defined as an
         OpenAPI 3.0.2 Schema Object. The schema files that can be used here are
         found in gs://google-cloud-aiplatform/schema/dataset/metadata/.
         
        string metadata_schema_uri = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getMetadataSchemaUriBytes in interface DatasetOrBuilder
        Returns:
        The bytes for metadataSchemaUri.
      • setMetadataSchemaUri

        public Dataset.Builder setMetadataSchemaUri​(String value)
         Required. Points to a YAML file stored on Google Cloud Storage describing
         additional information about the Dataset. The schema is defined as an
         OpenAPI 3.0.2 Schema Object. The schema files that can be used here are
         found in gs://google-cloud-aiplatform/schema/dataset/metadata/.
         
        string metadata_schema_uri = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The metadataSchemaUri to set.
        Returns:
        This builder for chaining.
      • clearMetadataSchemaUri

        public Dataset.Builder clearMetadataSchemaUri()
         Required. Points to a YAML file stored on Google Cloud Storage describing
         additional information about the Dataset. The schema is defined as an
         OpenAPI 3.0.2 Schema Object. The schema files that can be used here are
         found in gs://google-cloud-aiplatform/schema/dataset/metadata/.
         
        string metadata_schema_uri = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setMetadataSchemaUriBytes

        public Dataset.Builder setMetadataSchemaUriBytes​(com.google.protobuf.ByteString value)
         Required. Points to a YAML file stored on Google Cloud Storage describing
         additional information about the Dataset. The schema is defined as an
         OpenAPI 3.0.2 Schema Object. The schema files that can be used here are
         found in gs://google-cloud-aiplatform/schema/dataset/metadata/.
         
        string metadata_schema_uri = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for metadataSchemaUri to set.
        Returns:
        This builder for chaining.
      • hasMetadata

        public boolean hasMetadata()
         Required. Additional information about the Dataset.
         
        .google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasMetadata in interface DatasetOrBuilder
        Returns:
        Whether the metadata field is set.
      • getMetadata

        public com.google.protobuf.Value getMetadata()
         Required. Additional information about the Dataset.
         
        .google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getMetadata in interface DatasetOrBuilder
        Returns:
        The metadata.
      • setMetadata

        public Dataset.Builder setMetadata​(com.google.protobuf.Value value)
         Required. Additional information about the Dataset.
         
        .google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = REQUIRED];
      • setMetadata

        public Dataset.Builder setMetadata​(com.google.protobuf.Value.Builder builderForValue)
         Required. Additional information about the Dataset.
         
        .google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = REQUIRED];
      • mergeMetadata

        public Dataset.Builder mergeMetadata​(com.google.protobuf.Value value)
         Required. Additional information about the Dataset.
         
        .google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = REQUIRED];
      • clearMetadata

        public Dataset.Builder clearMetadata()
         Required. Additional information about the Dataset.
         
        .google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = REQUIRED];
      • getMetadataBuilder

        public com.google.protobuf.Value.Builder getMetadataBuilder()
         Required. Additional information about the Dataset.
         
        .google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = REQUIRED];
      • getMetadataOrBuilder

        public com.google.protobuf.ValueOrBuilder getMetadataOrBuilder()
         Required. Additional information about the Dataset.
         
        .google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getMetadataOrBuilder in interface DatasetOrBuilder
      • getDataItemCount

        public long getDataItemCount()
         Output only. The number of DataItems in this Dataset. Only apply for
         non-structured Dataset.
         
        int64 data_item_count = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getDataItemCount in interface DatasetOrBuilder
        Returns:
        The dataItemCount.
      • setDataItemCount

        public Dataset.Builder setDataItemCount​(long value)
         Output only. The number of DataItems in this Dataset. Only apply for
         non-structured Dataset.
         
        int64 data_item_count = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The dataItemCount to set.
        Returns:
        This builder for chaining.
      • clearDataItemCount

        public Dataset.Builder clearDataItemCount()
         Output only. The number of DataItems in this Dataset. Only apply for
         non-structured Dataset.
         
        int64 data_item_count = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • hasCreateTime

        public boolean hasCreateTime()
         Output only. Timestamp when this Dataset was created.
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCreateTime in interface DatasetOrBuilder
        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 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTime in interface DatasetOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public Dataset.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         Output only. Timestamp when this Dataset was created.
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setCreateTime

        public Dataset.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. Timestamp when this Dataset was created.
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeCreateTime

        public Dataset.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         Output only. Timestamp when this Dataset was created.
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearCreateTime

        public Dataset.Builder clearCreateTime()
         Output only. Timestamp when this Dataset was created.
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
         Output only. Timestamp when this Dataset was created.
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. Timestamp when this Dataset was created.
         
        .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTimeOrBuilder in interface DatasetOrBuilder
      • hasUpdateTime

        public boolean hasUpdateTime()
         Output only. Timestamp when this Dataset was last updated.
         
        .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasUpdateTime in interface DatasetOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public com.google.protobuf.Timestamp getUpdateTime()
         Output only. Timestamp when this Dataset was last updated.
         
        .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTime in interface DatasetOrBuilder
        Returns:
        The updateTime.
      • setUpdateTime

        public Dataset.Builder setUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. Timestamp when this Dataset was last updated.
         
        .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUpdateTime

        public Dataset.Builder setUpdateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. Timestamp when this Dataset was last updated.
         
        .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeUpdateTime

        public Dataset.Builder mergeUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. Timestamp when this Dataset was last updated.
         
        .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearUpdateTime

        public Dataset.Builder clearUpdateTime()
         Output only. Timestamp when this Dataset was last updated.
         
        .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
         Output only. Timestamp when this Dataset was last updated.
         
        .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. Timestamp when this Dataset was last updated.
         
        .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTimeOrBuilder in interface DatasetOrBuilder
      • getEtag

        public String getEtag()
         Used to perform consistent read-modify-write updates. If not set, a blind
         "overwrite" update happens.
         
        string etag = 6;
        Specified by:
        getEtag in interface DatasetOrBuilder
        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 = 6;
        Specified by:
        getEtagBytes in interface DatasetOrBuilder
        Returns:
        The bytes for etag.
      • setEtag

        public Dataset.Builder setEtag​(String value)
         Used to perform consistent read-modify-write updates. If not set, a blind
         "overwrite" update happens.
         
        string etag = 6;
        Parameters:
        value - The etag to set.
        Returns:
        This builder for chaining.
      • clearEtag

        public Dataset.Builder clearEtag()
         Used to perform consistent read-modify-write updates. If not set, a blind
         "overwrite" update happens.
         
        string etag = 6;
        Returns:
        This builder for chaining.
      • setEtagBytes

        public Dataset.Builder setEtagBytes​(com.google.protobuf.ByteString value)
         Used to perform consistent read-modify-write updates. If not set, a blind
         "overwrite" update happens.
         
        string etag = 6;
        Parameters:
        value - The bytes for etag to set.
        Returns:
        This builder for chaining.
      • getLabelsCount

        public int getLabelsCount()
        Description copied from interface: DatasetOrBuilder
         The labels with user-defined metadata to organize your Datasets.
        
         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.
         No more than 64 user labels can be associated with one Dataset (System
         labels are excluded).
        
         See https://goo.gl/xmQnxf for more information and examples of labels.
         System reserved label keys are prefixed with "aiplatform.googleapis.com/"
         and are immutable. Following system labels exist for each Dataset:
        
         * "aiplatform.googleapis.com/dataset_metadata_schema": output only, its
           value is the
           [metadata_schema's][google.cloud.aiplatform.v1beta1.Dataset.metadata_schema_uri]
           title.
         
        map<string, string> labels = 7;
        Specified by:
        getLabelsCount in interface DatasetOrBuilder
      • containsLabels

        public boolean containsLabels​(String key)
         The labels with user-defined metadata to organize your Datasets.
        
         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.
         No more than 64 user labels can be associated with one Dataset (System
         labels are excluded).
        
         See https://goo.gl/xmQnxf for more information and examples of labels.
         System reserved label keys are prefixed with "aiplatform.googleapis.com/"
         and are immutable. Following system labels exist for each Dataset:
        
         * "aiplatform.googleapis.com/dataset_metadata_schema": output only, its
           value is the
           [metadata_schema's][google.cloud.aiplatform.v1beta1.Dataset.metadata_schema_uri]
           title.
         
        map<string, string> labels = 7;
        Specified by:
        containsLabels in interface DatasetOrBuilder
      • getLabelsMap

        public Map<String,​String> getLabelsMap()
         The labels with user-defined metadata to organize your Datasets.
        
         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.
         No more than 64 user labels can be associated with one Dataset (System
         labels are excluded).
        
         See https://goo.gl/xmQnxf for more information and examples of labels.
         System reserved label keys are prefixed with "aiplatform.googleapis.com/"
         and are immutable. Following system labels exist for each Dataset:
        
         * "aiplatform.googleapis.com/dataset_metadata_schema": output only, its
           value is the
           [metadata_schema's][google.cloud.aiplatform.v1beta1.Dataset.metadata_schema_uri]
           title.
         
        map<string, string> labels = 7;
        Specified by:
        getLabelsMap in interface DatasetOrBuilder
      • getLabelsOrDefault

        public String getLabelsOrDefault​(String key,
                                         String defaultValue)
         The labels with user-defined metadata to organize your Datasets.
        
         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.
         No more than 64 user labels can be associated with one Dataset (System
         labels are excluded).
        
         See https://goo.gl/xmQnxf for more information and examples of labels.
         System reserved label keys are prefixed with "aiplatform.googleapis.com/"
         and are immutable. Following system labels exist for each Dataset:
        
         * "aiplatform.googleapis.com/dataset_metadata_schema": output only, its
           value is the
           [metadata_schema's][google.cloud.aiplatform.v1beta1.Dataset.metadata_schema_uri]
           title.
         
        map<string, string> labels = 7;
        Specified by:
        getLabelsOrDefault in interface DatasetOrBuilder
      • getLabelsOrThrow

        public String getLabelsOrThrow​(String key)
         The labels with user-defined metadata to organize your Datasets.
        
         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.
         No more than 64 user labels can be associated with one Dataset (System
         labels are excluded).
        
         See https://goo.gl/xmQnxf for more information and examples of labels.
         System reserved label keys are prefixed with "aiplatform.googleapis.com/"
         and are immutable. Following system labels exist for each Dataset:
        
         * "aiplatform.googleapis.com/dataset_metadata_schema": output only, its
           value is the
           [metadata_schema's][google.cloud.aiplatform.v1beta1.Dataset.metadata_schema_uri]
           title.
         
        map<string, string> labels = 7;
        Specified by:
        getLabelsOrThrow in interface DatasetOrBuilder
      • removeLabels

        public Dataset.Builder removeLabels​(String key)
         The labels with user-defined metadata to organize your Datasets.
        
         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.
         No more than 64 user labels can be associated with one Dataset (System
         labels are excluded).
        
         See https://goo.gl/xmQnxf for more information and examples of labels.
         System reserved label keys are prefixed with "aiplatform.googleapis.com/"
         and are immutable. Following system labels exist for each Dataset:
        
         * "aiplatform.googleapis.com/dataset_metadata_schema": output only, its
           value is the
           [metadata_schema's][google.cloud.aiplatform.v1beta1.Dataset.metadata_schema_uri]
           title.
         
        map<string, string> labels = 7;
      • getMutableLabels

        @Deprecated
        public Map<String,​String> getMutableLabels()
        Deprecated.
        Use alternate mutation accessors instead.
      • putLabels

        public Dataset.Builder putLabels​(String key,
                                         String value)
         The labels with user-defined metadata to organize your Datasets.
        
         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.
         No more than 64 user labels can be associated with one Dataset (System
         labels are excluded).
        
         See https://goo.gl/xmQnxf for more information and examples of labels.
         System reserved label keys are prefixed with "aiplatform.googleapis.com/"
         and are immutable. Following system labels exist for each Dataset:
        
         * "aiplatform.googleapis.com/dataset_metadata_schema": output only, its
           value is the
           [metadata_schema's][google.cloud.aiplatform.v1beta1.Dataset.metadata_schema_uri]
           title.
         
        map<string, string> labels = 7;
      • putAllLabels

        public Dataset.Builder putAllLabels​(Map<String,​String> values)
         The labels with user-defined metadata to organize your Datasets.
        
         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.
         No more than 64 user labels can be associated with one Dataset (System
         labels are excluded).
        
         See https://goo.gl/xmQnxf for more information and examples of labels.
         System reserved label keys are prefixed with "aiplatform.googleapis.com/"
         and are immutable. Following system labels exist for each Dataset:
        
         * "aiplatform.googleapis.com/dataset_metadata_schema": output only, its
           value is the
           [metadata_schema's][google.cloud.aiplatform.v1beta1.Dataset.metadata_schema_uri]
           title.
         
        map<string, string> labels = 7;
      • getSavedQueriesList

        public List<SavedQuery> getSavedQueriesList()
         All SavedQueries belong to the Dataset will be returned in List/Get
         Dataset response. The annotation_specs field
         will not be populated except for UI cases which will only use
         [annotation_spec_count][google.cloud.aiplatform.v1beta1.SavedQuery.annotation_spec_count].
         In CreateDataset request, a SavedQuery is created together if
         this field is set, up to one SavedQuery can be set in CreateDatasetRequest.
         The SavedQuery should not contain any AnnotationSpec.
         
        repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 9;
        Specified by:
        getSavedQueriesList in interface DatasetOrBuilder
      • getSavedQueriesCount

        public int getSavedQueriesCount()
         All SavedQueries belong to the Dataset will be returned in List/Get
         Dataset response. The annotation_specs field
         will not be populated except for UI cases which will only use
         [annotation_spec_count][google.cloud.aiplatform.v1beta1.SavedQuery.annotation_spec_count].
         In CreateDataset request, a SavedQuery is created together if
         this field is set, up to one SavedQuery can be set in CreateDatasetRequest.
         The SavedQuery should not contain any AnnotationSpec.
         
        repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 9;
        Specified by:
        getSavedQueriesCount in interface DatasetOrBuilder
      • getSavedQueries

        public SavedQuery getSavedQueries​(int index)
         All SavedQueries belong to the Dataset will be returned in List/Get
         Dataset response. The annotation_specs field
         will not be populated except for UI cases which will only use
         [annotation_spec_count][google.cloud.aiplatform.v1beta1.SavedQuery.annotation_spec_count].
         In CreateDataset request, a SavedQuery is created together if
         this field is set, up to one SavedQuery can be set in CreateDatasetRequest.
         The SavedQuery should not contain any AnnotationSpec.
         
        repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 9;
        Specified by:
        getSavedQueries in interface DatasetOrBuilder
      • setSavedQueries

        public Dataset.Builder setSavedQueries​(int index,
                                               SavedQuery value)
         All SavedQueries belong to the Dataset will be returned in List/Get
         Dataset response. The annotation_specs field
         will not be populated except for UI cases which will only use
         [annotation_spec_count][google.cloud.aiplatform.v1beta1.SavedQuery.annotation_spec_count].
         In CreateDataset request, a SavedQuery is created together if
         this field is set, up to one SavedQuery can be set in CreateDatasetRequest.
         The SavedQuery should not contain any AnnotationSpec.
         
        repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 9;
      • setSavedQueries

        public Dataset.Builder setSavedQueries​(int index,
                                               SavedQuery.Builder builderForValue)
         All SavedQueries belong to the Dataset will be returned in List/Get
         Dataset response. The annotation_specs field
         will not be populated except for UI cases which will only use
         [annotation_spec_count][google.cloud.aiplatform.v1beta1.SavedQuery.annotation_spec_count].
         In CreateDataset request, a SavedQuery is created together if
         this field is set, up to one SavedQuery can be set in CreateDatasetRequest.
         The SavedQuery should not contain any AnnotationSpec.
         
        repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 9;
      • addSavedQueries

        public Dataset.Builder addSavedQueries​(SavedQuery value)
         All SavedQueries belong to the Dataset will be returned in List/Get
         Dataset response. The annotation_specs field
         will not be populated except for UI cases which will only use
         [annotation_spec_count][google.cloud.aiplatform.v1beta1.SavedQuery.annotation_spec_count].
         In CreateDataset request, a SavedQuery is created together if
         this field is set, up to one SavedQuery can be set in CreateDatasetRequest.
         The SavedQuery should not contain any AnnotationSpec.
         
        repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 9;
      • addSavedQueries

        public Dataset.Builder addSavedQueries​(int index,
                                               SavedQuery value)
         All SavedQueries belong to the Dataset will be returned in List/Get
         Dataset response. The annotation_specs field
         will not be populated except for UI cases which will only use
         [annotation_spec_count][google.cloud.aiplatform.v1beta1.SavedQuery.annotation_spec_count].
         In CreateDataset request, a SavedQuery is created together if
         this field is set, up to one SavedQuery can be set in CreateDatasetRequest.
         The SavedQuery should not contain any AnnotationSpec.
         
        repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 9;
      • addSavedQueries

        public Dataset.Builder addSavedQueries​(SavedQuery.Builder builderForValue)
         All SavedQueries belong to the Dataset will be returned in List/Get
         Dataset response. The annotation_specs field
         will not be populated except for UI cases which will only use
         [annotation_spec_count][google.cloud.aiplatform.v1beta1.SavedQuery.annotation_spec_count].
         In CreateDataset request, a SavedQuery is created together if
         this field is set, up to one SavedQuery can be set in CreateDatasetRequest.
         The SavedQuery should not contain any AnnotationSpec.
         
        repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 9;
      • addSavedQueries

        public Dataset.Builder addSavedQueries​(int index,
                                               SavedQuery.Builder builderForValue)
         All SavedQueries belong to the Dataset will be returned in List/Get
         Dataset response. The annotation_specs field
         will not be populated except for UI cases which will only use
         [annotation_spec_count][google.cloud.aiplatform.v1beta1.SavedQuery.annotation_spec_count].
         In CreateDataset request, a SavedQuery is created together if
         this field is set, up to one SavedQuery can be set in CreateDatasetRequest.
         The SavedQuery should not contain any AnnotationSpec.
         
        repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 9;
      • addAllSavedQueries

        public Dataset.Builder addAllSavedQueries​(Iterable<? extends SavedQuery> values)
         All SavedQueries belong to the Dataset will be returned in List/Get
         Dataset response. The annotation_specs field
         will not be populated except for UI cases which will only use
         [annotation_spec_count][google.cloud.aiplatform.v1beta1.SavedQuery.annotation_spec_count].
         In CreateDataset request, a SavedQuery is created together if
         this field is set, up to one SavedQuery can be set in CreateDatasetRequest.
         The SavedQuery should not contain any AnnotationSpec.
         
        repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 9;
      • clearSavedQueries

        public Dataset.Builder clearSavedQueries()
         All SavedQueries belong to the Dataset will be returned in List/Get
         Dataset response. The annotation_specs field
         will not be populated except for UI cases which will only use
         [annotation_spec_count][google.cloud.aiplatform.v1beta1.SavedQuery.annotation_spec_count].
         In CreateDataset request, a SavedQuery is created together if
         this field is set, up to one SavedQuery can be set in CreateDatasetRequest.
         The SavedQuery should not contain any AnnotationSpec.
         
        repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 9;
      • removeSavedQueries

        public Dataset.Builder removeSavedQueries​(int index)
         All SavedQueries belong to the Dataset will be returned in List/Get
         Dataset response. The annotation_specs field
         will not be populated except for UI cases which will only use
         [annotation_spec_count][google.cloud.aiplatform.v1beta1.SavedQuery.annotation_spec_count].
         In CreateDataset request, a SavedQuery is created together if
         this field is set, up to one SavedQuery can be set in CreateDatasetRequest.
         The SavedQuery should not contain any AnnotationSpec.
         
        repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 9;
      • getSavedQueriesBuilder

        public SavedQuery.Builder getSavedQueriesBuilder​(int index)
         All SavedQueries belong to the Dataset will be returned in List/Get
         Dataset response. The annotation_specs field
         will not be populated except for UI cases which will only use
         [annotation_spec_count][google.cloud.aiplatform.v1beta1.SavedQuery.annotation_spec_count].
         In CreateDataset request, a SavedQuery is created together if
         this field is set, up to one SavedQuery can be set in CreateDatasetRequest.
         The SavedQuery should not contain any AnnotationSpec.
         
        repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 9;
      • getSavedQueriesOrBuilder

        public SavedQueryOrBuilder getSavedQueriesOrBuilder​(int index)
         All SavedQueries belong to the Dataset will be returned in List/Get
         Dataset response. The annotation_specs field
         will not be populated except for UI cases which will only use
         [annotation_spec_count][google.cloud.aiplatform.v1beta1.SavedQuery.annotation_spec_count].
         In CreateDataset request, a SavedQuery is created together if
         this field is set, up to one SavedQuery can be set in CreateDatasetRequest.
         The SavedQuery should not contain any AnnotationSpec.
         
        repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 9;
        Specified by:
        getSavedQueriesOrBuilder in interface DatasetOrBuilder
      • getSavedQueriesOrBuilderList

        public List<? extends SavedQueryOrBuilder> getSavedQueriesOrBuilderList()
         All SavedQueries belong to the Dataset will be returned in List/Get
         Dataset response. The annotation_specs field
         will not be populated except for UI cases which will only use
         [annotation_spec_count][google.cloud.aiplatform.v1beta1.SavedQuery.annotation_spec_count].
         In CreateDataset request, a SavedQuery is created together if
         this field is set, up to one SavedQuery can be set in CreateDatasetRequest.
         The SavedQuery should not contain any AnnotationSpec.
         
        repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 9;
        Specified by:
        getSavedQueriesOrBuilderList in interface DatasetOrBuilder
      • addSavedQueriesBuilder

        public SavedQuery.Builder addSavedQueriesBuilder()
         All SavedQueries belong to the Dataset will be returned in List/Get
         Dataset response. The annotation_specs field
         will not be populated except for UI cases which will only use
         [annotation_spec_count][google.cloud.aiplatform.v1beta1.SavedQuery.annotation_spec_count].
         In CreateDataset request, a SavedQuery is created together if
         this field is set, up to one SavedQuery can be set in CreateDatasetRequest.
         The SavedQuery should not contain any AnnotationSpec.
         
        repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 9;
      • addSavedQueriesBuilder

        public SavedQuery.Builder addSavedQueriesBuilder​(int index)
         All SavedQueries belong to the Dataset will be returned in List/Get
         Dataset response. The annotation_specs field
         will not be populated except for UI cases which will only use
         [annotation_spec_count][google.cloud.aiplatform.v1beta1.SavedQuery.annotation_spec_count].
         In CreateDataset request, a SavedQuery is created together if
         this field is set, up to one SavedQuery can be set in CreateDatasetRequest.
         The SavedQuery should not contain any AnnotationSpec.
         
        repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 9;
      • getSavedQueriesBuilderList

        public List<SavedQuery.Builder> getSavedQueriesBuilderList()
         All SavedQueries belong to the Dataset will be returned in List/Get
         Dataset response. The annotation_specs field
         will not be populated except for UI cases which will only use
         [annotation_spec_count][google.cloud.aiplatform.v1beta1.SavedQuery.annotation_spec_count].
         In CreateDataset request, a SavedQuery is created together if
         this field is set, up to one SavedQuery can be set in CreateDatasetRequest.
         The SavedQuery should not contain any AnnotationSpec.
         
        repeated .google.cloud.aiplatform.v1beta1.SavedQuery saved_queries = 9;
      • hasEncryptionSpec

        public boolean hasEncryptionSpec()
         Customer-managed encryption key spec for a Dataset. If set, this Dataset
         and all sub-resources of this Dataset will be secured by this key.
         
        .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 11;
        Specified by:
        hasEncryptionSpec in interface DatasetOrBuilder
        Returns:
        Whether the encryptionSpec field is set.
      • getEncryptionSpec

        public EncryptionSpec getEncryptionSpec()
         Customer-managed encryption key spec for a Dataset. If set, this Dataset
         and all sub-resources of this Dataset will be secured by this key.
         
        .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 11;
        Specified by:
        getEncryptionSpec in interface DatasetOrBuilder
        Returns:
        The encryptionSpec.
      • setEncryptionSpec

        public Dataset.Builder setEncryptionSpec​(EncryptionSpec value)
         Customer-managed encryption key spec for a Dataset. If set, this Dataset
         and all sub-resources of this Dataset will be secured by this key.
         
        .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 11;
      • setEncryptionSpec

        public Dataset.Builder setEncryptionSpec​(EncryptionSpec.Builder builderForValue)
         Customer-managed encryption key spec for a Dataset. If set, this Dataset
         and all sub-resources of this Dataset will be secured by this key.
         
        .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 11;
      • mergeEncryptionSpec

        public Dataset.Builder mergeEncryptionSpec​(EncryptionSpec value)
         Customer-managed encryption key spec for a Dataset. If set, this Dataset
         and all sub-resources of this Dataset will be secured by this key.
         
        .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 11;
      • clearEncryptionSpec

        public Dataset.Builder clearEncryptionSpec()
         Customer-managed encryption key spec for a Dataset. If set, this Dataset
         and all sub-resources of this Dataset will be secured by this key.
         
        .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 11;
      • getEncryptionSpecBuilder

        public EncryptionSpec.Builder getEncryptionSpecBuilder()
         Customer-managed encryption key spec for a Dataset. If set, this Dataset
         and all sub-resources of this Dataset will be secured by this key.
         
        .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 11;
      • getEncryptionSpecOrBuilder

        public EncryptionSpecOrBuilder getEncryptionSpecOrBuilder()
         Customer-managed encryption key spec for a Dataset. If set, this Dataset
         and all sub-resources of this Dataset will be secured by this key.
         
        .google.cloud.aiplatform.v1beta1.EncryptionSpec encryption_spec = 11;
        Specified by:
        getEncryptionSpecOrBuilder in interface DatasetOrBuilder
      • getMetadataArtifact

        public String getMetadataArtifact()
         Output only. The resource name of the Artifact that was created in
         MetadataStore when creating the Dataset. The Artifact resource name pattern
         is
         `projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`.
         
        string metadata_artifact = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getMetadataArtifact in interface DatasetOrBuilder
        Returns:
        The metadataArtifact.
      • getMetadataArtifactBytes

        public com.google.protobuf.ByteString getMetadataArtifactBytes()
         Output only. The resource name of the Artifact that was created in
         MetadataStore when creating the Dataset. The Artifact resource name pattern
         is
         `projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`.
         
        string metadata_artifact = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getMetadataArtifactBytes in interface DatasetOrBuilder
        Returns:
        The bytes for metadataArtifact.
      • setMetadataArtifact

        public Dataset.Builder setMetadataArtifact​(String value)
         Output only. The resource name of the Artifact that was created in
         MetadataStore when creating the Dataset. The Artifact resource name pattern
         is
         `projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`.
         
        string metadata_artifact = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The metadataArtifact to set.
        Returns:
        This builder for chaining.
      • clearMetadataArtifact

        public Dataset.Builder clearMetadataArtifact()
         Output only. The resource name of the Artifact that was created in
         MetadataStore when creating the Dataset. The Artifact resource name pattern
         is
         `projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`.
         
        string metadata_artifact = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setMetadataArtifactBytes

        public Dataset.Builder setMetadataArtifactBytes​(com.google.protobuf.ByteString value)
         Output only. The resource name of the Artifact that was created in
         MetadataStore when creating the Dataset. The Artifact resource name pattern
         is
         `projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`.
         
        string metadata_artifact = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for metadataArtifact to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Dataset.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
      • mergeUnknownFields

        public final Dataset.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>