Package com.google.cloud.translate.v3
Interface CreateModelRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateModelRequest,CreateModelRequest.Builder
@Generated
public interface CreateModelRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
hasModel
boolean hasModel()Required. The Model to create.
.google.cloud.translation.v3.Model model = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the model field is set.
-
getModel
Model getModel()Required. The Model to create.
.google.cloud.translation.v3.Model model = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The model.
-
getModelOrBuilder
ModelOrBuilder getModelOrBuilder()Required. The Model to create.
.google.cloud.translation.v3.Model model = 2 [(.google.api.field_behavior) = REQUIRED];
-