Class ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder (3.46.0)

public static final class ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder extends GeneratedMessageV3.Builder<ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder> implements ModelMonitor.ModelMonitoringTarget.VertexModelSourceOrBuilder

Model in Vertex AI Model Registry.

Protobuf type google.cloud.aiplatform.v1beta1.ModelMonitor.ModelMonitoringTarget.VertexModelSource

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ModelMonitor.ModelMonitoringTarget.VertexModelSource build()
Returns
Type Description
ModelMonitor.ModelMonitoringTarget.VertexModelSource

buildPartial()

public ModelMonitor.ModelMonitoringTarget.VertexModelSource buildPartial()
Returns
Type Description
ModelMonitor.ModelMonitoringTarget.VertexModelSource

clear()

public ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder clear()
Returns
Type Description
ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder
Overrides

clearModel()

public ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder clearModel()

Model resource name. Format: projects/{project}/locations/{location}/models/{model}.

string model = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder

This builder for chaining.

clearModelVersionId()

public ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder clearModelVersionId()

Model version id.

string model_version_id = 2;

Returns
Type Description
ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder
Overrides

clone()

public ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder clone()
Returns
Type Description
ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder
Overrides

getDefaultInstanceForType()

public ModelMonitor.ModelMonitoringTarget.VertexModelSource getDefaultInstanceForType()
Returns
Type Description
ModelMonitor.ModelMonitoringTarget.VertexModelSource

getDescriptorForType()

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

getModel()

public String getModel()

Model resource name. Format: projects/{project}/locations/{location}/models/{model}.

string model = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The model.

getModelBytes()

public ByteString getModelBytes()

Model resource name. Format: projects/{project}/locations/{location}/models/{model}.

string model = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for model.

getModelVersionId()

public String getModelVersionId()

Model version id.

string model_version_id = 2;

Returns
Type Description
String

The modelVersionId.

getModelVersionIdBytes()

public ByteString getModelVersionIdBytes()

Model version id.

string model_version_id = 2;

Returns
Type Description
ByteString

The bytes for modelVersionId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ModelMonitor.ModelMonitoringTarget.VertexModelSource other)

public ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder mergeFrom(ModelMonitor.ModelMonitoringTarget.VertexModelSource other)
Parameter
Name Description
other ModelMonitor.ModelMonitoringTarget.VertexModelSource
Returns
Type Description
ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setModel(String value)

public ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder setModel(String value)

Model resource name. Format: projects/{project}/locations/{location}/models/{model}.

string model = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The model to set.

Returns
Type Description
ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder

This builder for chaining.

setModelBytes(ByteString value)

public ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder setModelBytes(ByteString value)

Model resource name. Format: projects/{project}/locations/{location}/models/{model}.

string model = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for model to set.

Returns
Type Description
ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder

This builder for chaining.

setModelVersionId(String value)

public ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder setModelVersionId(String value)

Model version id.

string model_version_id = 2;

Parameter
Name Description
value String

The modelVersionId to set.

Returns
Type Description
ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder

This builder for chaining.

setModelVersionIdBytes(ByteString value)

public ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder setModelVersionIdBytes(ByteString value)

Model version id.

string model_version_id = 2;

Parameter
Name Description
value ByteString

The bytes for modelVersionId to set.

Returns
Type Description
ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ModelMonitor.ModelMonitoringTarget.VertexModelSource.Builder
Overrides