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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public Model.OriginalModelInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public Model.OriginalModelInfo build()
Returns
public Model.OriginalModelInfo buildPartial()
Returns
public Model.OriginalModelInfo.Builder clear()
Returns
Overrides
public Model.OriginalModelInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
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
public Model.OriginalModelInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public Model.OriginalModelInfo.Builder clone()
Returns
Overrides
public Model.OriginalModelInfo getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
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
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Model.OriginalModelInfo.Builder mergeFrom(Model.OriginalModelInfo other)
Parameter
Returns
public Model.OriginalModelInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public Model.OriginalModelInfo.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final Model.OriginalModelInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public Model.OriginalModelInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
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
public Model.OriginalModelInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final Model.OriginalModelInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides