Class DatasetSpec.Builder (1.51.0)

public static final class DatasetSpec.Builder extends GeneratedMessageV3.Builder<DatasetSpec.Builder> implements DatasetSpecOrBuilder

Specification that applies to a dataset. Valid only for entries with the DATASET type.

Protobuf type google.cloud.datacatalog.v1.DatasetSpec

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DatasetSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DatasetSpec.Builder
Overrides

build()

public DatasetSpec build()
Returns
Type Description
DatasetSpec

buildPartial()

public DatasetSpec buildPartial()
Returns
Type Description
DatasetSpec

clear()

public DatasetSpec.Builder clear()
Returns
Type Description
DatasetSpec.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DatasetSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DatasetSpec.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DatasetSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DatasetSpec.Builder
Overrides

clearSystemSpec()

public DatasetSpec.Builder clearSystemSpec()
Returns
Type Description
DatasetSpec.Builder

clearVertexDatasetSpec()

public DatasetSpec.Builder clearVertexDatasetSpec()

Vertex AI Dataset specific fields

.google.cloud.datacatalog.v1.VertexDatasetSpec vertex_dataset_spec = 2;

Returns
Type Description
DatasetSpec.Builder

clone()

public DatasetSpec.Builder clone()
Returns
Type Description
DatasetSpec.Builder
Overrides

getDefaultInstanceForType()

public DatasetSpec getDefaultInstanceForType()
Returns
Type Description
DatasetSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSystemSpecCase()

public DatasetSpec.SystemSpecCase getSystemSpecCase()
Returns
Type Description
DatasetSpec.SystemSpecCase

getVertexDatasetSpec()

public VertexDatasetSpec getVertexDatasetSpec()

Vertex AI Dataset specific fields

.google.cloud.datacatalog.v1.VertexDatasetSpec vertex_dataset_spec = 2;

Returns
Type Description
VertexDatasetSpec

The vertexDatasetSpec.

getVertexDatasetSpecBuilder()

public VertexDatasetSpec.Builder getVertexDatasetSpecBuilder()

Vertex AI Dataset specific fields

.google.cloud.datacatalog.v1.VertexDatasetSpec vertex_dataset_spec = 2;

Returns
Type Description
VertexDatasetSpec.Builder

getVertexDatasetSpecOrBuilder()

public VertexDatasetSpecOrBuilder getVertexDatasetSpecOrBuilder()

Vertex AI Dataset specific fields

.google.cloud.datacatalog.v1.VertexDatasetSpec vertex_dataset_spec = 2;

Returns
Type Description
VertexDatasetSpecOrBuilder

hasVertexDatasetSpec()

public boolean hasVertexDatasetSpec()

Vertex AI Dataset specific fields

.google.cloud.datacatalog.v1.VertexDatasetSpec vertex_dataset_spec = 2;

Returns
Type Description
boolean

Whether the vertexDatasetSpec field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DatasetSpec other)

public DatasetSpec.Builder mergeFrom(DatasetSpec other)
Parameter
Name Description
other DatasetSpec
Returns
Type Description
DatasetSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DatasetSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatasetSpec.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DatasetSpec.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DatasetSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DatasetSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DatasetSpec.Builder
Overrides

mergeVertexDatasetSpec(VertexDatasetSpec value)

public DatasetSpec.Builder mergeVertexDatasetSpec(VertexDatasetSpec value)

Vertex AI Dataset specific fields

.google.cloud.datacatalog.v1.VertexDatasetSpec vertex_dataset_spec = 2;

Parameter
Name Description
value VertexDatasetSpec
Returns
Type Description
DatasetSpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DatasetSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DatasetSpec.Builder
Overrides

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

public DatasetSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DatasetSpec.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DatasetSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DatasetSpec.Builder
Overrides

setVertexDatasetSpec(VertexDatasetSpec value)

public DatasetSpec.Builder setVertexDatasetSpec(VertexDatasetSpec value)

Vertex AI Dataset specific fields

.google.cloud.datacatalog.v1.VertexDatasetSpec vertex_dataset_spec = 2;

Parameter
Name Description
value VertexDatasetSpec
Returns
Type Description
DatasetSpec.Builder

setVertexDatasetSpec(VertexDatasetSpec.Builder builderForValue)

public DatasetSpec.Builder setVertexDatasetSpec(VertexDatasetSpec.Builder builderForValue)

Vertex AI Dataset specific fields

.google.cloud.datacatalog.v1.VertexDatasetSpec vertex_dataset_spec = 2;

Parameter
Name Description
builderForValue VertexDatasetSpec.Builder
Returns
Type Description
DatasetSpec.Builder