Class MigratableResource.AutomlModel.Builder (3.48.0)

public static final class MigratableResource.AutomlModel.Builder extends GeneratedMessageV3.Builder<MigratableResource.AutomlModel.Builder> implements MigratableResource.AutomlModelOrBuilder

Represents one Model in automl.googleapis.com.

Protobuf type google.cloud.aiplatform.v1.MigratableResource.AutomlModel

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MigratableResource.AutomlModel build()
Returns
Type Description
MigratableResource.AutomlModel

buildPartial()

public MigratableResource.AutomlModel buildPartial()
Returns
Type Description
MigratableResource.AutomlModel

clear()

public MigratableResource.AutomlModel.Builder clear()
Returns
Type Description
MigratableResource.AutomlModel.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public MigratableResource.AutomlModel.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MigratableResource.AutomlModel.Builder
Overrides

clearModel()

public MigratableResource.AutomlModel.Builder clearModel()

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

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

Returns
Type Description
MigratableResource.AutomlModel.Builder

This builder for chaining.

clearModelDisplayName()

public MigratableResource.AutomlModel.Builder clearModelDisplayName()

The Model's display name in automl.googleapis.com.

string model_display_name = 3;

Returns
Type Description
MigratableResource.AutomlModel.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public MigratableResource.AutomlModel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MigratableResource.AutomlModel.Builder
Overrides

clone()

public MigratableResource.AutomlModel.Builder clone()
Returns
Type Description
MigratableResource.AutomlModel.Builder
Overrides

getDefaultInstanceForType()

public MigratableResource.AutomlModel getDefaultInstanceForType()
Returns
Type Description
MigratableResource.AutomlModel

getDescriptorForType()

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

getModel()

public String getModel()

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

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

Returns
Type Description
String

The model.

getModelBytes()

public ByteString getModelBytes()

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

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

Returns
Type Description
ByteString

The bytes for model.

getModelDisplayName()

public String getModelDisplayName()

The Model's display name in automl.googleapis.com.

string model_display_name = 3;

Returns
Type Description
String

The modelDisplayName.

getModelDisplayNameBytes()

public ByteString getModelDisplayNameBytes()

The Model's display name in automl.googleapis.com.

string model_display_name = 3;

Returns
Type Description
ByteString

The bytes for modelDisplayName.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MigratableResource.AutomlModel other)

public MigratableResource.AutomlModel.Builder mergeFrom(MigratableResource.AutomlModel other)
Parameter
Name Description
other MigratableResource.AutomlModel
Returns
Type Description
MigratableResource.AutomlModel.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public MigratableResource.AutomlModel.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MigratableResource.AutomlModel.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MigratableResource.AutomlModel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MigratableResource.AutomlModel.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public MigratableResource.AutomlModel.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MigratableResource.AutomlModel.Builder
Overrides

setModel(String value)

public MigratableResource.AutomlModel.Builder setModel(String value)

Full resource name of automl Model. 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
MigratableResource.AutomlModel.Builder

This builder for chaining.

setModelBytes(ByteString value)

public MigratableResource.AutomlModel.Builder setModelBytes(ByteString value)

Full resource name of automl Model. 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
MigratableResource.AutomlModel.Builder

This builder for chaining.

setModelDisplayName(String value)

public MigratableResource.AutomlModel.Builder setModelDisplayName(String value)

The Model's display name in automl.googleapis.com.

string model_display_name = 3;

Parameter
Name Description
value String

The modelDisplayName to set.

Returns
Type Description
MigratableResource.AutomlModel.Builder

This builder for chaining.

setModelDisplayNameBytes(ByteString value)

public MigratableResource.AutomlModel.Builder setModelDisplayNameBytes(ByteString value)

The Model's display name in automl.googleapis.com.

string model_display_name = 3;

Parameter
Name Description
value ByteString

The bytes for modelDisplayName to set.

Returns
Type Description
MigratableResource.AutomlModel.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final MigratableResource.AutomlModel.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MigratableResource.AutomlModel.Builder
Overrides