public interface RomanizeTextRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getContents(int index)
Required.
|
com.google.protobuf.ByteString |
getContentsBytes(int index)
Required.
|
int |
getContentsCount()
Required.
|
List<String> |
getContentsList()
Required.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
String |
getSourceLanguageCode()
Optional.
|
com.google.protobuf.ByteString |
getSourceLanguageCodeBytes()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getParent()
Required. Project or location to make a call. Must refer to a caller's
project.
Format: `projects/{project-number-or-id}/locations/{location-id}` or
`projects/{project-number-or-id}`.
For global calls, use `projects/{project-number-or-id}/locations/global` or
`projects/{project-number-or-id}`.
string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
com.google.protobuf.ByteString getParentBytes()
Required. Project or location to make a call. Must refer to a caller's
project.
Format: `projects/{project-number-or-id}/locations/{location-id}` or
`projects/{project-number-or-id}`.
For global calls, use `projects/{project-number-or-id}/locations/global` or
`projects/{project-number-or-id}`.
string parent = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
List<String> getContentsList()
Required. The content of the input in string format.
repeated string contents = 1 [(.google.api.field_behavior) = REQUIRED];int getContentsCount()
Required. The content of the input in string format.
repeated string contents = 1 [(.google.api.field_behavior) = REQUIRED];String getContents(int index)
Required. The content of the input in string format.
repeated string contents = 1 [(.google.api.field_behavior) = REQUIRED];index - The index of the element to return.com.google.protobuf.ByteString getContentsBytes(int index)
Required. The content of the input in string format.
repeated string contents = 1 [(.google.api.field_behavior) = REQUIRED];index - The index of the value to return.String getSourceLanguageCode()
Optional. The ISO-639 language code of the input text if known, for example, "hi" or "zh". If the source language isn't specified, the API attempts to identify the source language automatically and returns the source language for each content in the response.
string source_language_code = 2 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getSourceLanguageCodeBytes()
Optional. The ISO-639 language code of the input text if known, for example, "hi" or "zh". If the source language isn't specified, the API attempts to identify the source language automatically and returns the source language for each content in the response.
string source_language_code = 2 [(.google.api.field_behavior) = OPTIONAL];Copyright © 2024 Google LLC. All rights reserved.