Class Model.OriginalModelInfo.Builder (3.43.0)

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

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

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public Model.OriginalModelInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public Model.OriginalModelInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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