Class Dataset.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
-
- com.google.cloud.aiplatform.v1beta1.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 typegoogle.cloud.aiplatform.v1beta1.Dataset
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Dataset.Builder
addAllSavedQueries(Iterable<? extends SavedQuery> values)
All SavedQueries belong to the Dataset will be returned in List/Get Dataset response.Dataset.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Dataset.Builder
addSavedQueries(int index, SavedQuery value)
All SavedQueries belong to the Dataset will be returned in List/Get Dataset response.Dataset.Builder
addSavedQueries(int index, SavedQuery.Builder builderForValue)
All SavedQueries belong to the Dataset will be returned in List/Get Dataset response.Dataset.Builder
addSavedQueries(SavedQuery value)
All SavedQueries belong to the Dataset will be returned in List/Get Dataset response.Dataset.Builder
addSavedQueries(SavedQuery.Builder builderForValue)
All SavedQueries belong to the Dataset will be returned in List/Get Dataset response.SavedQuery.Builder
addSavedQueriesBuilder()
All SavedQueries belong to the Dataset will be returned in List/Get Dataset response.SavedQuery.Builder
addSavedQueriesBuilder(int index)
All SavedQueries belong to the Dataset will be returned in List/Get Dataset response.Dataset
build()
Dataset
buildPartial()
Dataset.Builder
clear()
Dataset.Builder
clearCreateTime()
Output only.Dataset.Builder
clearDataItemCount()
Output only.Dataset.Builder
clearDescription()
The description of the Dataset.Dataset.Builder
clearDisplayName()
Required.Dataset.Builder
clearEncryptionSpec()
Customer-managed encryption key spec for a Dataset.Dataset.Builder
clearEtag()
Used to perform consistent read-modify-write updates.Dataset.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Dataset.Builder
clearLabels()
Dataset.Builder
clearMetadata()
Required.Dataset.Builder
clearMetadataArtifact()
Output only.Dataset.Builder
clearMetadataSchemaUri()
Required.Dataset.Builder
clearName()
Output only.Dataset.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Dataset.Builder
clearSavedQueries()
All SavedQueries belong to the Dataset will be returned in List/Get Dataset response.Dataset.Builder
clearUpdateTime()
Output only.Dataset.Builder
clone()
boolean
containsLabels(String key)
The labels with user-defined metadata to organize your Datasets.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.long
getDataItemCount()
Output only.Dataset
getDefaultInstanceForType()
String
getDescription()
The description of the Dataset.com.google.protobuf.ByteString
getDescriptionBytes()
The description of the Dataset.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDisplayName()
Required.com.google.protobuf.ByteString
getDisplayNameBytes()
Required.EncryptionSpec
getEncryptionSpec()
Customer-managed encryption key spec for a Dataset.EncryptionSpec.Builder
getEncryptionSpecBuilder()
Customer-managed encryption key spec for a Dataset.EncryptionSpecOrBuilder
getEncryptionSpecOrBuilder()
Customer-managed encryption key spec for a Dataset.String
getEtag()
Used to perform consistent read-modify-write updates.com.google.protobuf.ByteString
getEtagBytes()
Used to perform consistent read-modify-write updates.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
The labels with user-defined metadata to organize your Datasets.Map<String,String>
getLabelsMap()
The labels with user-defined metadata to organize your Datasets.String
getLabelsOrDefault(String key, String defaultValue)
The labels with user-defined metadata to organize your Datasets.String
getLabelsOrThrow(String key)
The labels with user-defined metadata to organize your Datasets.com.google.protobuf.Value
getMetadata()
Required.String
getMetadataArtifact()
Output only.com.google.protobuf.ByteString
getMetadataArtifactBytes()
Output only.com.google.protobuf.Value.Builder
getMetadataBuilder()
Required.com.google.protobuf.ValueOrBuilder
getMetadataOrBuilder()
Required.String
getMetadataSchemaUri()
Required.com.google.protobuf.ByteString
getMetadataSchemaUriBytes()
Required.Map<String,String>
getMutableLabels()
Deprecated.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.SavedQuery
getSavedQueries(int index)
All SavedQueries belong to the Dataset will be returned in List/Get Dataset response.SavedQuery.Builder
getSavedQueriesBuilder(int index)
All SavedQueries belong to the Dataset will be returned in List/Get Dataset response.List<SavedQuery.Builder>
getSavedQueriesBuilderList()
All SavedQueries belong to the Dataset will be returned in List/Get Dataset response.int
getSavedQueriesCount()
All SavedQueries belong to the Dataset will be returned in List/Get Dataset response.List<SavedQuery>
getSavedQueriesList()
All SavedQueries belong to the Dataset will be returned in List/Get Dataset response.SavedQueryOrBuilder
getSavedQueriesOrBuilder(int index)
All SavedQueries belong to the Dataset will be returned in List/Get Dataset response.List<? extends SavedQueryOrBuilder>
getSavedQueriesOrBuilderList()
All SavedQueries belong to the Dataset will be returned in List/Get Dataset response.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCreateTime()
Output only.boolean
hasEncryptionSpec()
Customer-managed encryption key spec for a Dataset.boolean
hasMetadata()
Required.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Dataset.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Dataset.Builder
mergeEncryptionSpec(EncryptionSpec value)
Customer-managed encryption key spec for a Dataset.Dataset.Builder
mergeFrom(Dataset other)
Dataset.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Dataset.Builder
mergeFrom(com.google.protobuf.Message other)
Dataset.Builder
mergeMetadata(com.google.protobuf.Value value)
Required.Dataset.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Dataset.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.Dataset.Builder
putAllLabels(Map<String,String> values)
The labels with user-defined metadata to organize your Datasets.Dataset.Builder
putLabels(String key, String value)
The labels with user-defined metadata to organize your Datasets.Dataset.Builder
removeLabels(String key)
The labels with user-defined metadata to organize your Datasets.Dataset.Builder
removeSavedQueries(int index)
All SavedQueries belong to the Dataset will be returned in List/Get Dataset response.Dataset.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Dataset.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Dataset.Builder
setDataItemCount(long value)
Output only.Dataset.Builder
setDescription(String value)
The description of the Dataset.Dataset.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
The description of the Dataset.Dataset.Builder
setDisplayName(String value)
Required.Dataset.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
Required.Dataset.Builder
setEncryptionSpec(EncryptionSpec value)
Customer-managed encryption key spec for a Dataset.Dataset.Builder
setEncryptionSpec(EncryptionSpec.Builder builderForValue)
Customer-managed encryption key spec for a Dataset.Dataset.Builder
setEtag(String value)
Used to perform consistent read-modify-write updates.Dataset.Builder
setEtagBytes(com.google.protobuf.ByteString value)
Used to perform consistent read-modify-write updates.Dataset.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Dataset.Builder
setMetadata(com.google.protobuf.Value value)
Required.Dataset.Builder
setMetadata(com.google.protobuf.Value.Builder builderForValue)
Required.Dataset.Builder
setMetadataArtifact(String value)
Output only.Dataset.Builder
setMetadataArtifactBytes(com.google.protobuf.ByteString value)
Output only.Dataset.Builder
setMetadataSchemaUri(String value)
Required.Dataset.Builder
setMetadataSchemaUriBytes(com.google.protobuf.ByteString value)
Required.Dataset.Builder
setName(String value)
Output only.Dataset.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.Dataset.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Dataset.Builder
setSavedQueries(int index, SavedQuery value)
All SavedQueries belong to the Dataset will be returned in List/Get Dataset response.Dataset.Builder
setSavedQueries(int index, SavedQuery.Builder builderForValue)
All SavedQueries belong to the Dataset will be returned in List/Get Dataset response.Dataset.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Dataset.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.Dataset.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
-
clear
public Dataset.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
-
getDefaultInstanceForType
public Dataset getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Dataset build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Dataset buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Dataset.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
-
setField
public Dataset.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
-
clearField
public Dataset.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
-
clearOneof
public Dataset.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
-
addRepeatedField
public Dataset.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
-
mergeFrom
public Dataset.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Dataset.Builder>
-
mergeFrom
public Dataset.Builder mergeFrom(Dataset other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.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 interfaceDatasetOrBuilder
- 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 interfaceDatasetOrBuilder
- 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 interfaceDatasetOrBuilder
- 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 interfaceDatasetOrBuilder
- 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 interfaceDatasetOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
The description of the Dataset.
string description = 16;
- Specified by:
getDescriptionBytes
in interfaceDatasetOrBuilder
- 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 interfaceDatasetOrBuilder
- 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 interfaceDatasetOrBuilder
- 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 interfaceDatasetOrBuilder
- 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 interfaceDatasetOrBuilder
- 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 interfaceDatasetOrBuilder
-
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 interfaceDatasetOrBuilder
- 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 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 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceDatasetOrBuilder
- 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 interfaceDatasetOrBuilder
-
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 interfaceDatasetOrBuilder
- 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 interfaceDatasetOrBuilder
- 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 interfaceDatasetOrBuilder
-
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 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 = 6;
- Specified by:
getEtagBytes
in interfaceDatasetOrBuilder
- 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 interfaceDatasetOrBuilder
-
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 interfaceDatasetOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceDatasetOrBuilder
-
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 interfaceDatasetOrBuilder
-
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 interfaceDatasetOrBuilder
-
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 interfaceDatasetOrBuilder
-
clearLabels
public Dataset.Builder clearLabels()
-
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 interfaceDatasetOrBuilder
-
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 interfaceDatasetOrBuilder
-
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 interfaceDatasetOrBuilder
-
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 interfaceDatasetOrBuilder
-
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 interfaceDatasetOrBuilder
-
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 interfaceDatasetOrBuilder
- 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 interfaceDatasetOrBuilder
- 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 interfaceDatasetOrBuilder
-
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 interfaceDatasetOrBuilder
- 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 interfaceDatasetOrBuilder
- 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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
-
mergeUnknownFields
public final Dataset.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Dataset.Builder>
-
-