Package com.google.cloud.aiplatform.v1
Class DatasetVersion.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DatasetVersion.Builder>
com.google.cloud.aiplatform.v1.DatasetVersion.Builder
- All Implemented Interfaces:
DatasetVersionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DatasetVersion
public static final class DatasetVersion.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DatasetVersion.Builder>
implements DatasetVersionOrBuilder
Describes the dataset version.Protobuf type
google.cloud.aiplatform.v1.DatasetVersion-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.The user-defined name of the DatasetVersion.Used to perform consistent read-modify-write updates.Required.Output only.Output only.Output only.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe user-defined name of the DatasetVersion.com.google.protobuf.ByteStringThe user-defined name of the DatasetVersion.getEtag()Used to perform consistent read-modify-write updates.com.google.protobuf.ByteStringUsed to perform consistent read-modify-write updates.com.google.protobuf.ValueRequired.com.google.protobuf.Value.BuilderRequired.com.google.protobuf.ValueOrBuilderRequired.Output only.com.google.protobuf.ByteStringOutput only.getName()Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanRequired.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(DatasetVersion other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMetadata(com.google.protobuf.Value value) Required.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.setBigQueryDatasetName(String value) Output only.setBigQueryDatasetNameBytes(com.google.protobuf.ByteString value) Output only.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDisplayName(String value) The user-defined name of the DatasetVersion.setDisplayNameBytes(com.google.protobuf.ByteString value) The user-defined name of the DatasetVersion.Used to perform consistent read-modify-write updates.setEtagBytes(com.google.protobuf.ByteString value) Used to perform consistent read-modify-write updates.setMetadata(com.google.protobuf.Value value) Required.setMetadata(com.google.protobuf.Value.Builder builderForValue) Required.setModelReference(String value) Output only.setModelReferenceBytes(com.google.protobuf.ByteString value) Output only.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setSatisfiesPzi(boolean value) Output only.setSatisfiesPzs(boolean value) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DatasetVersion.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DatasetVersion.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DatasetVersion.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DatasetVersion.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DatasetVersion.Builder>
-
mergeFrom
public DatasetVersion.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DatasetVersion.Builder>- Throws:
IOException
-
getName
Output only. Identifier. The resource name of the DatasetVersion. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }- Specified by:
getNamein interfaceDatasetVersionOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. Identifier. The resource name of the DatasetVersion. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }- Specified by:
getNameBytesin interfaceDatasetVersionOrBuilder- Returns:
- The bytes for name.
-
setName
Output only. Identifier. The resource name of the DatasetVersion. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Output only. Identifier. The resource name of the DatasetVersion. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setNameBytes
Output only. Identifier. The resource name of the DatasetVersion. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. Timestamp when this DatasetVersion was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceDatasetVersionOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Timestamp when this DatasetVersion was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceDatasetVersionOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. Timestamp when this DatasetVersion was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. Timestamp when this DatasetVersion was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. Timestamp when this DatasetVersion was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. Timestamp when this DatasetVersion was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. Timestamp when this DatasetVersion was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Timestamp when this DatasetVersion was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceDatasetVersionOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. Timestamp when this DatasetVersion was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceDatasetVersionOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. Timestamp when this DatasetVersion was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceDatasetVersionOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. Timestamp when this DatasetVersion was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. Timestamp when this DatasetVersion was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. Timestamp when this DatasetVersion was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. Timestamp when this DatasetVersion was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. Timestamp when this DatasetVersion was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Timestamp when this DatasetVersion was last updated.
.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceDatasetVersionOrBuilder
-
getEtag
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 3;- Specified by:
getEtagin interfaceDatasetVersionOrBuilder- 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 = 3;- Specified by:
getEtagBytesin interfaceDatasetVersionOrBuilder- Returns:
- The bytes for etag.
-
setEtag
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 3;- Parameters:
value- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 3;- Returns:
- This builder for chaining.
-
setEtagBytes
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
string etag = 3;- Parameters:
value- The bytes for etag to set.- Returns:
- This builder for chaining.
-
getBigQueryDatasetName
Output only. Name of the associated BigQuery dataset.
string big_query_dataset_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBigQueryDatasetNamein interfaceDatasetVersionOrBuilder- Returns:
- The bigQueryDatasetName.
-
getBigQueryDatasetNameBytes
public com.google.protobuf.ByteString getBigQueryDatasetNameBytes()Output only. Name of the associated BigQuery dataset.
string big_query_dataset_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBigQueryDatasetNameBytesin interfaceDatasetVersionOrBuilder- Returns:
- The bytes for bigQueryDatasetName.
-
setBigQueryDatasetName
Output only. Name of the associated BigQuery dataset.
string big_query_dataset_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bigQueryDatasetName to set.- Returns:
- This builder for chaining.
-
clearBigQueryDatasetName
Output only. Name of the associated BigQuery dataset.
string big_query_dataset_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setBigQueryDatasetNameBytes
Output only. Name of the associated BigQuery dataset.
string big_query_dataset_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for bigQueryDatasetName to set.- Returns:
- This builder for chaining.
-
getDisplayName
The user-defined name of the DatasetVersion. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 7;- Specified by:
getDisplayNamein interfaceDatasetVersionOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()The user-defined name of the DatasetVersion. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 7;- Specified by:
getDisplayNameBytesin interfaceDatasetVersionOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
The user-defined name of the DatasetVersion. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 7;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
The user-defined name of the DatasetVersion. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 7;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
The user-defined name of the DatasetVersion. The name can be up to 128 characters long and can consist of any UTF-8 characters.
string display_name = 7;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
hasMetadata
public boolean hasMetadata()Required. Output only. Additional information about the DatasetVersion.
.google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = REQUIRED];- Specified by:
hasMetadatain interfaceDatasetVersionOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
public com.google.protobuf.Value getMetadata()Required. Output only. Additional information about the DatasetVersion.
.google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = REQUIRED];- Specified by:
getMetadatain interfaceDatasetVersionOrBuilder- Returns:
- The metadata.
-
setMetadata
Required. Output only. Additional information about the DatasetVersion.
.google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = REQUIRED]; -
setMetadata
Required. Output only. Additional information about the DatasetVersion.
.google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = REQUIRED]; -
mergeMetadata
Required. Output only. Additional information about the DatasetVersion.
.google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = REQUIRED]; -
clearMetadata
Required. Output only. Additional information about the DatasetVersion.
.google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = REQUIRED]; -
getMetadataBuilder
public com.google.protobuf.Value.Builder getMetadataBuilder()Required. Output only. Additional information about the DatasetVersion.
.google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = REQUIRED]; -
getMetadataOrBuilder
public com.google.protobuf.ValueOrBuilder getMetadataOrBuilder()Required. Output only. Additional information about the DatasetVersion.
.google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = REQUIRED];- Specified by:
getMetadataOrBuilderin interfaceDatasetVersionOrBuilder
-
getModelReference
Output only. Reference to the public base model last used by the dataset version. Only set for prompt dataset versions.
string model_reference = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getModelReferencein interfaceDatasetVersionOrBuilder- Returns:
- The modelReference.
-
getModelReferenceBytes
public com.google.protobuf.ByteString getModelReferenceBytes()Output only. Reference to the public base model last used by the dataset version. Only set for prompt dataset versions.
string model_reference = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getModelReferenceBytesin interfaceDatasetVersionOrBuilder- Returns:
- The bytes for modelReference.
-
setModelReference
Output only. Reference to the public base model last used by the dataset version. Only set for prompt dataset versions.
string model_reference = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The modelReference to set.- Returns:
- This builder for chaining.
-
clearModelReference
Output only. Reference to the public base model last used by the dataset version. Only set for prompt dataset versions.
string model_reference = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setModelReferenceBytes
Output only. Reference to the public base model last used by the dataset version. Only set for prompt dataset versions.
string model_reference = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for modelReference to set.- Returns:
- This builder for chaining.
-
getSatisfiesPzs
public boolean getSatisfiesPzs()Output only. Reserved for future use.
bool satisfies_pzs = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSatisfiesPzsin interfaceDatasetVersionOrBuilder- Returns:
- The satisfiesPzs.
-
setSatisfiesPzs
Output only. Reserved for future use.
bool satisfies_pzs = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The satisfiesPzs to set.- Returns:
- This builder for chaining.
-
clearSatisfiesPzs
Output only. Reserved for future use.
bool satisfies_pzs = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getSatisfiesPzi
public boolean getSatisfiesPzi()Output only. Reserved for future use.
bool satisfies_pzi = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSatisfiesPziin interfaceDatasetVersionOrBuilder- Returns:
- The satisfiesPzi.
-
setSatisfiesPzi
Output only. Reserved for future use.
bool satisfies_pzi = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The satisfiesPzi to set.- Returns:
- This builder for chaining.
-
clearSatisfiesPzi
Output only. Reserved for future use.
bool satisfies_pzi = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-