Class DatasetVersion.Builder (3.37.0)

public static final class DatasetVersion.Builder extends GeneratedMessageV3.Builder<DatasetVersion.Builder> implements DatasetVersionOrBuilder

Describes the dataset version.

Protobuf type google.cloud.aiplatform.v1.DatasetVersion

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DatasetVersion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DatasetVersion.Builder
Overrides

build()

public DatasetVersion build()
Returns
TypeDescription
DatasetVersion

buildPartial()

public DatasetVersion buildPartial()
Returns
TypeDescription
DatasetVersion

clear()

public DatasetVersion.Builder clear()
Returns
TypeDescription
DatasetVersion.Builder
Overrides

clearBigQueryDatasetName()

public DatasetVersion.Builder clearBigQueryDatasetName()

Output only. Name of the associated BigQuery dataset.

string big_query_dataset_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
DatasetVersion.Builder

This builder for chaining.

clearCreateTime()

public DatasetVersion.Builder clearCreateTime()

Output only. Timestamp when this DatasetVersion was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
DatasetVersion.Builder

clearEtag()

public DatasetVersion.Builder clearEtag()

Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

string etag = 3;

Returns
TypeDescription
DatasetVersion.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DatasetVersion.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DatasetVersion.Builder
Overrides

clearName()

public DatasetVersion.Builder clearName()

Output only. The resource name of the DatasetVersion.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
DatasetVersion.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DatasetVersion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DatasetVersion.Builder
Overrides

clearUpdateTime()

public DatasetVersion.Builder clearUpdateTime()

Output only. Timestamp when this DatasetVersion was last updated.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
DatasetVersion.Builder

clone()

public DatasetVersion.Builder clone()
Returns
TypeDescription
DatasetVersion.Builder
Overrides

getBigQueryDatasetName()

public String getBigQueryDatasetName()

Output only. Name of the associated BigQuery dataset.

string big_query_dataset_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The bigQueryDatasetName.

getBigQueryDatasetNameBytes()

public ByteString getBigQueryDatasetNameBytes()

Output only. Name of the associated BigQuery dataset.

string big_query_dataset_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for bigQueryDatasetName.

getCreateTime()

public Timestamp getCreateTime()

Output only. Timestamp when this DatasetVersion was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Timestamp when this DatasetVersion was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Timestamp when this DatasetVersion was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public DatasetVersion getDefaultInstanceForType()
Returns
TypeDescription
DatasetVersion

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEtag()

public String getEtag()

Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

string etag = 3;

Returns
TypeDescription
String

The etag.

getEtagBytes()

public ByteString getEtagBytes()

Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

string etag = 3;

Returns
TypeDescription
ByteString

The bytes for etag.

getName()

public String getName()

Output only. The resource name of the DatasetVersion.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The resource name of the DatasetVersion.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Timestamp when this DatasetVersion was last updated.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Timestamp when this DatasetVersion was last updated.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Timestamp when this DatasetVersion was last updated.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. Timestamp when this DatasetVersion was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

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];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCreateTime(Timestamp value)

public DatasetVersion.Builder mergeCreateTime(Timestamp value)

Output only. Timestamp when this DatasetVersion was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
DatasetVersion.Builder

mergeFrom(DatasetVersion other)

public DatasetVersion.Builder mergeFrom(DatasetVersion other)
Parameter
NameDescription
otherDatasetVersion
Returns
TypeDescription
DatasetVersion.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DatasetVersion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatasetVersion.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DatasetVersion.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DatasetVersion.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DatasetVersion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DatasetVersion.Builder
Overrides

mergeUpdateTime(Timestamp value)

public DatasetVersion.Builder mergeUpdateTime(Timestamp value)

Output only. Timestamp when this DatasetVersion was last updated.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
DatasetVersion.Builder

setBigQueryDatasetName(String value)

public DatasetVersion.Builder setBigQueryDatasetName(String value)

Output only. Name of the associated BigQuery dataset.

string big_query_dataset_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The bigQueryDatasetName to set.

Returns
TypeDescription
DatasetVersion.Builder

This builder for chaining.

setBigQueryDatasetNameBytes(ByteString value)

public DatasetVersion.Builder setBigQueryDatasetNameBytes(ByteString value)

Output only. Name of the associated BigQuery dataset.

string big_query_dataset_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for bigQueryDatasetName to set.

Returns
TypeDescription
DatasetVersion.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public DatasetVersion.Builder setCreateTime(Timestamp value)

Output only. Timestamp when this DatasetVersion was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
DatasetVersion.Builder

setCreateTime(Timestamp.Builder builderForValue)

public DatasetVersion.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Timestamp when this DatasetVersion was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
DatasetVersion.Builder

setEtag(String value)

public DatasetVersion.Builder setEtag(String value)

Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

string etag = 3;

Parameter
NameDescription
valueString

The etag to set.

Returns
TypeDescription
DatasetVersion.Builder

This builder for chaining.

setEtagBytes(ByteString value)

public DatasetVersion.Builder setEtagBytes(ByteString value)

Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

string etag = 3;

Parameter
NameDescription
valueByteString

The bytes for etag to set.

Returns
TypeDescription
DatasetVersion.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DatasetVersion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DatasetVersion.Builder
Overrides

setName(String value)

public DatasetVersion.Builder setName(String value)

Output only. The resource name of the DatasetVersion.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DatasetVersion.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DatasetVersion.Builder setNameBytes(ByteString value)

Output only. The resource name of the DatasetVersion.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DatasetVersion.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DatasetVersion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DatasetVersion.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DatasetVersion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DatasetVersion.Builder
Overrides

setUpdateTime(Timestamp value)

public DatasetVersion.Builder setUpdateTime(Timestamp value)

Output only. Timestamp when this DatasetVersion was last updated.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
DatasetVersion.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public DatasetVersion.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Timestamp when this DatasetVersion was last updated.

.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
DatasetVersion.Builder