Class Model.OriginalModelInfo.Builder (3.84.0)

public static final class Model.OriginalModelInfo.Builder extends GeneratedMessage.Builder<Model.OriginalModelInfo.Builder> implements Model.OriginalModelInfoOrBuilder

Contains information about the original Model if this Model is a copy.

Protobuf type google.cloud.aiplatform.v1beta1.Model.OriginalModelInfo

Static Methods

getDescriptor()

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

Methods

build()

public Model.OriginalModelInfo build()
Returns
Type Description
Model.OriginalModelInfo

buildPartial()

public Model.OriginalModelInfo buildPartial()
Returns
Type Description
Model.OriginalModelInfo

clear()

public Model.OriginalModelInfo.Builder clear()
Returns
Type Description
Model.OriginalModelInfo.Builder
Overrides

clearModel()

public Model.OriginalModelInfo.Builder clearModel()

Output only. The resource name of the Model this Model is a copy of, including the revision. Format: projects/{project}/locations/{location}/models/{model_id}@{version_id}

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

Returns
Type Description
Model.OriginalModelInfo.Builder

This builder for chaining.

getDefaultInstanceForType()

public Model.OriginalModelInfo getDefaultInstanceForType()
Returns
Type Description
Model.OriginalModelInfo

getDescriptorForType()

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

getModel()

public String getModel()

Output only. The resource name of the Model this Model is a copy of, including the revision. Format: projects/{project}/locations/{location}/models/{model_id}@{version_id}

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

Returns
Type Description
String

The model.

getModelBytes()

public ByteString getModelBytes()

Output only. The resource name of the Model this Model is a copy of, including the revision. Format: projects/{project}/locations/{location}/models/{model_id}@{version_id}

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

Returns
Type Description
ByteString

The bytes for model.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Model.OriginalModelInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setModel(String value)

public Model.OriginalModelInfo.Builder setModel(String value)

Output only. The resource name of the Model this Model is a copy of, including the revision. Format: projects/{project}/locations/{location}/models/{model_id}@{version_id}

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

Parameter
Name Description
value String

The model to set.

Returns
Type Description
Model.OriginalModelInfo.Builder

This builder for chaining.

setModelBytes(ByteString value)

public Model.OriginalModelInfo.Builder setModelBytes(ByteString value)

Output only. The resource name of the Model this Model is a copy of, including the revision. Format: projects/{project}/locations/{location}/models/{model_id}@{version_id}

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

Parameter
Name Description
value ByteString

The bytes for model to set.

Returns
Type Description
Model.OriginalModelInfo.Builder

This builder for chaining.