Class ModelSpec.Builder (1.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ModelSpec build()
Returns
TypeDescription
ModelSpec

buildPartial()

public ModelSpec buildPartial()
Returns
TypeDescription
ModelSpec

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSystemSpec()

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

clearVertexModelSpec()

public ModelSpec.Builder clearVertexModelSpec()

Specification for vertex model resources.

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

Returns
TypeDescription
ModelSpec.Builder

clone()

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

getDefaultInstanceForType()

public ModelSpec getDefaultInstanceForType()
Returns
TypeDescription
ModelSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSystemSpecCase()

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

getVertexModelSpec()

public VertexModelSpec getVertexModelSpec()

Specification for vertex model resources.

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

Returns
TypeDescription
VertexModelSpec

The vertexModelSpec.

getVertexModelSpecBuilder()

public VertexModelSpec.Builder getVertexModelSpecBuilder()

Specification for vertex model resources.

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

Returns
TypeDescription
VertexModelSpec.Builder

getVertexModelSpecOrBuilder()

public VertexModelSpecOrBuilder getVertexModelSpecOrBuilder()

Specification for vertex model resources.

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

Returns
TypeDescription
VertexModelSpecOrBuilder

hasVertexModelSpec()

public boolean hasVertexModelSpec()

Specification for vertex model resources.

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

Returns
TypeDescription
boolean

Whether the vertexModelSpec field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ModelSpec other)

public ModelSpec.Builder mergeFrom(ModelSpec other)
Parameter
NameDescription
otherModelSpec
Returns
TypeDescription
ModelSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ModelSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueVertexModelSpec
Returns
TypeDescription
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
NameDescription
builderForValueVertexModelSpec.Builder
Returns
TypeDescription
ModelSpec.Builder