Class ModelSpec.Builder (1.60.0)

public static final class ModelSpec.Builder extends GeneratedMessageV3.Builder<ModelSpec.Builder> implements ModelSpecOrBuilder

Specification that applies to a model. Valid only for entries with the MODEL type.

Protobuf type google.cloud.datacatalog.v1.ModelSpec

Implements

ModelSpecOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ModelSpec build()
Returns
Type Description
ModelSpec

buildPartial()

public ModelSpec buildPartial()
Returns
Type Description
ModelSpec

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSystemSpec()

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

clearVertexModelSpec()

public ModelSpec.Builder clearVertexModelSpec()

Specification for vertex model resources.

.google.cloud.datacatalog.v1.VertexModelSpec vertex_model_spec = 1;

Returns
Type Description
ModelSpec.Builder

clone()

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

getDefaultInstanceForType()

public ModelSpec getDefaultInstanceForType()
Returns
Type Description
ModelSpec

getDescriptorForType()

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

getSystemSpecCase()

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

getVertexModelSpec()

public VertexModelSpec getVertexModelSpec()

Specification for vertex model resources.

.google.cloud.datacatalog.v1.VertexModelSpec vertex_model_spec = 1;

Returns
Type Description
VertexModelSpec

The vertexModelSpec.

getVertexModelSpecBuilder()

public VertexModelSpec.Builder getVertexModelSpecBuilder()

Specification for vertex model resources.

.google.cloud.datacatalog.v1.VertexModelSpec vertex_model_spec = 1;

Returns
Type Description
VertexModelSpec.Builder

getVertexModelSpecOrBuilder()

public VertexModelSpecOrBuilder getVertexModelSpecOrBuilder()

Specification for vertex model resources.

.google.cloud.datacatalog.v1.VertexModelSpec vertex_model_spec = 1;

Returns
Type Description
VertexModelSpecOrBuilder

hasVertexModelSpec()

public boolean hasVertexModelSpec()

Specification for vertex model resources.

.google.cloud.datacatalog.v1.VertexModelSpec vertex_model_spec = 1;

Returns
Type Description
boolean

Whether the vertexModelSpec field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ModelSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeVertexModelSpec(VertexModelSpec value)

public ModelSpec.Builder mergeVertexModelSpec(VertexModelSpec value)

Specification for vertex model resources.

.google.cloud.datacatalog.v1.VertexModelSpec vertex_model_spec = 1;

Parameter
Name Description
value VertexModelSpec
Returns
Type Description
ModelSpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setVertexModelSpec(VertexModelSpec value)

public ModelSpec.Builder setVertexModelSpec(VertexModelSpec value)

Specification for vertex model resources.

.google.cloud.datacatalog.v1.VertexModelSpec vertex_model_spec = 1;

Parameter
Name Description
value VertexModelSpec
Returns
Type Description
ModelSpec.Builder

setVertexModelSpec(VertexModelSpec.Builder builderForValue)

public ModelSpec.Builder setVertexModelSpec(VertexModelSpec.Builder builderForValue)

Specification for vertex model resources.

.google.cloud.datacatalog.v1.VertexModelSpec vertex_model_spec = 1;

Parameter
Name Description
builderForValue VertexModelSpec.Builder
Returns
Type Description
ModelSpec.Builder