Class DatasetSpec.Builder (1.47.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DatasetSpec build()
Returns
TypeDescription
DatasetSpec

buildPartial()

public DatasetSpec buildPartial()
Returns
TypeDescription
DatasetSpec

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSystemSpec()

public DatasetSpec.Builder clearSystemSpec()
Returns
TypeDescription
DatasetSpec.Builder

clearVertexDatasetSpec()

public DatasetSpec.Builder clearVertexDatasetSpec()

Vertex AI Dataset specific fields

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

Returns
TypeDescription
DatasetSpec.Builder

clone()

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

getDefaultInstanceForType()

public DatasetSpec getDefaultInstanceForType()
Returns
TypeDescription
DatasetSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSystemSpecCase()

public DatasetSpec.SystemSpecCase getSystemSpecCase()
Returns
TypeDescription
DatasetSpec.SystemSpecCase

getVertexDatasetSpec()

public VertexDatasetSpec getVertexDatasetSpec()

Vertex AI Dataset specific fields

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

Returns
TypeDescription
VertexDatasetSpec

The vertexDatasetSpec.

getVertexDatasetSpecBuilder()

public VertexDatasetSpec.Builder getVertexDatasetSpecBuilder()

Vertex AI Dataset specific fields

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

Returns
TypeDescription
VertexDatasetSpec.Builder

getVertexDatasetSpecOrBuilder()

public VertexDatasetSpecOrBuilder getVertexDatasetSpecOrBuilder()

Vertex AI Dataset specific fields

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

Returns
TypeDescription
VertexDatasetSpecOrBuilder

hasVertexDatasetSpec()

public boolean hasVertexDatasetSpec()

Vertex AI Dataset specific fields

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

Returns
TypeDescription
boolean

Whether the vertexDatasetSpec field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DatasetSpec other)

public DatasetSpec.Builder mergeFrom(DatasetSpec other)
Parameter
NameDescription
otherDatasetSpec
Returns
TypeDescription
DatasetSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DatasetSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueVertexDatasetSpec
Returns
TypeDescription
DatasetSpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final DatasetSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueVertexDatasetSpec
Returns
TypeDescription
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
NameDescription
builderForValueVertexDatasetSpec.Builder
Returns
TypeDescription
DatasetSpec.Builder