Interface CreateModelRequestOrBuilder (2.46.0)

public interface CreateModelRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getModel()

public abstract Model getModel()

Required. The model to create.

.google.cloud.automl.v1beta1.Model model = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Model

The model.

getModelOrBuilder()

public abstract ModelOrBuilder getModelOrBuilder()

Required. The model to create.

.google.cloud.automl.v1beta1.Model model = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ModelOrBuilder

getParent()

public abstract String getParent()

Required. Resource name of the parent project where the model is being created.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Resource name of the parent project where the model is being created.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasModel()

public abstract boolean hasModel()

Required. The model to create.

.google.cloud.automl.v1beta1.Model model = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the model field is set.