Interface CreateModelRequestOrBuilder (2.33.0)

public interface CreateModelRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getModel()

public abstract Model getModel()

Required. The model to create.

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

Returns
TypeDescription
Model

The model.

getModelOrBuilder()

public abstract ModelOrBuilder getModelOrBuilder()

Required. The model to create.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

hasModel()

public abstract boolean hasModel()

Required. The model to create.

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

Returns
TypeDescription
boolean

Whether the model field is set.