- 3.81.0 (latest)
- 3.80.0
- 3.78.0
- 3.76.0
- 3.74.0
- 3.73.0
- 3.72.0
- 3.71.0
- 3.70.0
- 3.68.0
- 3.66.0
- 3.65.0
- 3.62.0
- 3.61.0
- 3.60.0
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 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 static final class BatchOperationMetadata.Builder extends GeneratedMessage.Builder<BatchOperationMetadata.Builder> implements BatchOperationMetadataOrBuilderMetadata for the batch operations such as the current state.
This is included in the metadata field of the Operation returned by the
GetOperation call of the google::longrunning::Operations service.
Protobuf type google.cloud.vision.v1.BatchOperationMetadata
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BatchOperationMetadata.BuilderImplements
BatchOperationMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public BatchOperationMetadata build()| Returns | |
|---|---|
| Type | Description |
BatchOperationMetadata |
|
buildPartial()
public BatchOperationMetadata buildPartial()| Returns | |
|---|---|
| Type | Description |
BatchOperationMetadata |
|
clear()
public BatchOperationMetadata.Builder clear()| Returns | |
|---|---|
| Type | Description |
BatchOperationMetadata.Builder |
|
clearEndTime()
public BatchOperationMetadata.Builder clearEndTime()The time when the batch request is finished and google.longrunning.Operation.done is set to true.
.google.protobuf.Timestamp end_time = 3;
| Returns | |
|---|---|
| Type | Description |
BatchOperationMetadata.Builder |
|
clearState()
public BatchOperationMetadata.Builder clearState()The current state of the batch operation.
.google.cloud.vision.v1.BatchOperationMetadata.State state = 1;
| Returns | |
|---|---|
| Type | Description |
BatchOperationMetadata.Builder |
This builder for chaining. |
clearSubmitTime()
public BatchOperationMetadata.Builder clearSubmitTime()The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
| Returns | |
|---|---|
| Type | Description |
BatchOperationMetadata.Builder |
|
getDefaultInstanceForType()
public BatchOperationMetadata getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BatchOperationMetadata |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEndTime()
public Timestamp getEndTime()The time when the batch request is finished and google.longrunning.Operation.done is set to true.
.google.protobuf.Timestamp end_time = 3;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The endTime. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()The time when the batch request is finished and google.longrunning.Operation.done is set to true.
.google.protobuf.Timestamp end_time = 3;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()The time when the batch request is finished and google.longrunning.Operation.done is set to true.
.google.protobuf.Timestamp end_time = 3;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getState()
public BatchOperationMetadata.State getState()The current state of the batch operation.
.google.cloud.vision.v1.BatchOperationMetadata.State state = 1;
| Returns | |
|---|---|
| Type | Description |
BatchOperationMetadata.State |
The state. |
getStateValue()
public int getStateValue()The current state of the batch operation.
.google.cloud.vision.v1.BatchOperationMetadata.State state = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
getSubmitTime()
public Timestamp getSubmitTime()The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The submitTime. |
getSubmitTimeBuilder()
public Timestamp.Builder getSubmitTimeBuilder()The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getSubmitTimeOrBuilder()
public TimestampOrBuilder getSubmitTimeOrBuilder()The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasEndTime()
public boolean hasEndTime()The time when the batch request is finished and google.longrunning.Operation.done is set to true.
.google.protobuf.Timestamp end_time = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the endTime field is set. |
hasSubmitTime()
public boolean hasSubmitTime()The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the submitTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeEndTime(Timestamp value)
public BatchOperationMetadata.Builder mergeEndTime(Timestamp value)The time when the batch request is finished and google.longrunning.Operation.done is set to true.
.google.protobuf.Timestamp end_time = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BatchOperationMetadata.Builder |
|
mergeFrom(BatchOperationMetadata other)
public BatchOperationMetadata.Builder mergeFrom(BatchOperationMetadata other)| Parameter | |
|---|---|
| Name | Description |
other |
BatchOperationMetadata |
| Returns | |
|---|---|
| Type | Description |
BatchOperationMetadata.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BatchOperationMetadata.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BatchOperationMetadata.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BatchOperationMetadata.Builder |
|
mergeSubmitTime(Timestamp value)
public BatchOperationMetadata.Builder mergeSubmitTime(Timestamp value)The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BatchOperationMetadata.Builder |
|
setEndTime(Timestamp value)
public BatchOperationMetadata.Builder setEndTime(Timestamp value)The time when the batch request is finished and google.longrunning.Operation.done is set to true.
.google.protobuf.Timestamp end_time = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BatchOperationMetadata.Builder |
|
setEndTime(Timestamp.Builder builderForValue)
public BatchOperationMetadata.Builder setEndTime(Timestamp.Builder builderForValue)The time when the batch request is finished and google.longrunning.Operation.done is set to true.
.google.protobuf.Timestamp end_time = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
BatchOperationMetadata.Builder |
|
setState(BatchOperationMetadata.State value)
public BatchOperationMetadata.Builder setState(BatchOperationMetadata.State value)The current state of the batch operation.
.google.cloud.vision.v1.BatchOperationMetadata.State state = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
BatchOperationMetadata.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
BatchOperationMetadata.Builder |
This builder for chaining. |
setStateValue(int value)
public BatchOperationMetadata.Builder setStateValue(int value)The current state of the batch operation.
.google.cloud.vision.v1.BatchOperationMetadata.State state = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
BatchOperationMetadata.Builder |
This builder for chaining. |
setSubmitTime(Timestamp value)
public BatchOperationMetadata.Builder setSubmitTime(Timestamp value)The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
BatchOperationMetadata.Builder |
|
setSubmitTime(Timestamp.Builder builderForValue)
public BatchOperationMetadata.Builder setSubmitTime(Timestamp.Builder builderForValue)The time when the batch request was submitted to the server.
.google.protobuf.Timestamp submit_time = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
BatchOperationMetadata.Builder |
|