Interface CreateModelRequestOrBuilder (2.54.0)

public interface CreateModelRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getModel()

public abstract Model getModel()

Required. The Model to create.

.google.cloud.translation.v3.Model model = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Model

The model.

getModelOrBuilder()

public abstract ModelOrBuilder getModelOrBuilder()

Required. The Model to create.

.google.cloud.translation.v3.Model model = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ModelOrBuilder

getParent()

public abstract String getParent()

Required. The project name, in form of projects/{project}/locations/{location}

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

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The project name, in form of projects/{project}/locations/{location}

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.translation.v3.Model model = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the model field is set.