Class Model.OriginalModelInfo.Builder (3.34.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Model.OriginalModelInfo build()
Returns
TypeDescription
Model.OriginalModelInfo

buildPartial()

public Model.OriginalModelInfo buildPartial()
Returns
TypeDescription
Model.OriginalModelInfo

clear()

public Model.OriginalModelInfo.Builder clear()
Returns
TypeDescription
Model.OriginalModelInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Model.OriginalModelInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Model.OriginalModelInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Model.OriginalModelInfo.Builder clone()
Returns
TypeDescription
Model.OriginalModelInfo.Builder
Overrides

getDefaultInstanceForType()

public Model.OriginalModelInfo getDefaultInstanceForType()
Returns
TypeDescription
Model.OriginalModelInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for model.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Model.OriginalModelInfo other)

public Model.OriginalModelInfo.Builder mergeFrom(Model.OriginalModelInfo other)
Parameter
NameDescription
otherModel.OriginalModelInfo
Returns
TypeDescription
Model.OriginalModelInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Model.OriginalModelInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Model.OriginalModelInfo.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Model.OriginalModelInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The model to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for model to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Model.OriginalModelInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Model.OriginalModelInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Model.OriginalModelInfo.Builder
Overrides