- 3.50.0 (latest)
- 3.49.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.3
- 2.1.4
- 2.0.29
public interface AsyncBatchAnnotateImagesRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsLabels(String key)
public abstract boolean containsLabels(String key)
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];
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getLabels() (deprecated)
public abstract Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public abstract 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];
Returns | |
---|---|
Type | Description |
int |
getLabelsMap()
public abstract Map<String,String> 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];
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public abstract String getLabelsOrDefault(String key, String defaultValue)
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];
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
public abstract String getLabelsOrThrow(String key)
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];
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getOutputConfig()
public abstract OutputConfig getOutputConfig()
Required. The desired output location and metadata (e.g. format).
.google.cloud.vision.v1.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
OutputConfig | The outputConfig. |
getOutputConfigOrBuilder()
public abstract OutputConfigOrBuilder getOutputConfigOrBuilder()
Required. The desired output location and metadata (e.g. format).
.google.cloud.vision.v1.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
OutputConfigOrBuilder |
getParent()
public abstract 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 | |
---|---|
Type | Description |
String | The parent. |
getParentBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString | The bytes for parent. |
getRequests(int index)
public abstract AnnotateImageRequest getRequests(int index)
Required. Individual image annotation requests for this batch.
repeated .google.cloud.vision.v1.AnnotateImageRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
AnnotateImageRequest |
getRequestsCount()
public abstract int getRequestsCount()
Required. Individual image annotation requests for this batch.
repeated .google.cloud.vision.v1.AnnotateImageRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
getRequestsList()
public abstract List<AnnotateImageRequest> getRequestsList()
Required. Individual image annotation requests for this batch.
repeated .google.cloud.vision.v1.AnnotateImageRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<AnnotateImageRequest> |
getRequestsOrBuilder(int index)
public abstract AnnotateImageRequestOrBuilder getRequestsOrBuilder(int index)
Required. Individual image annotation requests for this batch.
repeated .google.cloud.vision.v1.AnnotateImageRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
AnnotateImageRequestOrBuilder |
getRequestsOrBuilderList()
public abstract List<? extends AnnotateImageRequestOrBuilder> getRequestsOrBuilderList()
Required. Individual image annotation requests for this batch.
repeated .google.cloud.vision.v1.AnnotateImageRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.vision.v1.AnnotateImageRequestOrBuilder> |
hasOutputConfig()
public abstract boolean hasOutputConfig()
Required. The desired output location and metadata (e.g. format).
.google.cloud.vision.v1.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean | Whether the outputConfig field is set. |