Class MigratableResource.AutomlModel.Builder (3.31.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.v1beta1.MigratableResource.AutomlModel

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MigratableResource.AutomlModel build()
Returns
TypeDescription
MigratableResource.AutomlModel

buildPartial()

public MigratableResource.AutomlModel buildPartial()
Returns
TypeDescription
MigratableResource.AutomlModel

clear()

public MigratableResource.AutomlModel.Builder clear()
Returns
TypeDescription
MigratableResource.AutomlModel.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public MigratableResource.AutomlModel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
MigratableResource.AutomlModel.Builder
Overrides

clone()

public MigratableResource.AutomlModel.Builder clone()
Returns
TypeDescription
MigratableResource.AutomlModel.Builder
Overrides

getDefaultInstanceForType()

public MigratableResource.AutomlModel getDefaultInstanceForType()
Returns
TypeDescription
MigratableResource.AutomlModel

getDescriptorForType()

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

The bytes for model.

getModelDisplayName()

public String getModelDisplayName()

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

string model_display_name = 3;

Returns
TypeDescription
String

The modelDisplayName.

getModelDisplayNameBytes()

public ByteString getModelDisplayNameBytes()

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

string model_display_name = 3;

Returns
TypeDescription
ByteString

The bytes for modelDisplayName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(MigratableResource.AutomlModel other)

public MigratableResource.AutomlModel.Builder mergeFrom(MigratableResource.AutomlModel other)
Parameter
NameDescription
otherMigratableResource.AutomlModel
Returns
TypeDescription
MigratableResource.AutomlModel.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public MigratableResource.AutomlModel.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
MigratableResource.AutomlModel.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MigratableResource.AutomlModel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MigratableResource.AutomlModel.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

The model to set.

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

The bytes for model to set.

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

The modelDisplayName to set.

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

The bytes for modelDisplayName to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final MigratableResource.AutomlModel.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MigratableResource.AutomlModel.Builder
Overrides