Package com.google.cloud.vision.v1
Interface AsyncBatchAnnotateFilesRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AsyncBatchAnnotateFilesRequest,AsyncBatchAnnotateFilesRequest.Builder
@Generated
public interface AsyncBatchAnnotateFilesRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.Optional.com.google.protobuf.ByteStringOptional.getRequests(int index) Required.intRequired.Required.getRequestsOrBuilder(int index) Required.List<? extends AsyncAnnotateFileRequestOrBuilder>Required.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
-
getRequestsList
List<AsyncAnnotateFileRequest> getRequestsList()Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED]; -
getRequests
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED]; -
getRequestsCount
int getRequestsCount()Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED]; -
getRequestsOrBuilderList
List<? extends AsyncAnnotateFileRequestOrBuilder> getRequestsOrBuilderList()Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED]; -
getRequestsOrBuilder
Required. Individual async file annotation requests for this batch.
repeated .google.cloud.vision.v1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED]; -
getParent
String getParent()Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.string parent = 4;- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.string parent = 4;- Returns:
- The bytes for parent.
-
getLabelsCount
int getLabelsCount()Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; -
containsLabels
Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrDefault
Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getLabelsOrThrow
Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
-