public interface OperationMetadataOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getApiVersion()
public abstract String getApiVersion()
Output only. API version used to start the operation.
string api_version = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The apiVersion. |
getApiVersionBytes()
public abstract ByteString getApiVersionBytes()
Output only. API version used to start the operation.
string api_version = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for apiVersion. |
getCreateTime()
public abstract Timestamp getCreateTime()
Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getEndTime()
public abstract Timestamp getEndTime()
Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The endTime. |
getEndTimeOrBuilder()
public abstract TimestampOrBuilder getEndTimeOrBuilder()
Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getJob()
public abstract Job getJob()
Output only. The Job associated with the operation.
.google.cloud.storagebatchoperations.v1.Job job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Job |
The job. |
getJobOrBuilder()
public abstract JobOrBuilder getJobOrBuilder()
Output only. The Job associated with the operation.
.google.cloud.storagebatchoperations.v1.Job job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
JobOrBuilder |
getOperation()
public abstract String getOperation()
Output only. The unique operation resource name. Format: projects/{project}/locations/global/operations/{operation}.
string operation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The operation. |
getOperationBytes()
public abstract ByteString getOperationBytes()
Output only. The unique operation resource name. Format: projects/{project}/locations/global/operations/{operation}.
string operation = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for operation. |
getRequestedCancellation()
public abstract boolean getRequestedCancellation()
Output only. Identifies whether the user has requested cancellation
of the operation. Operations that have been cancelled successfully
have
google.longrunning.Operation.error
value with a google.rpc.Status.code of 1,
corresponding to Code.CANCELLED
.
bool requested_cancellation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
The requestedCancellation. |
hasCreateTime()
public abstract boolean hasCreateTime()
Output only. The time the operation was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasEndTime()
public abstract boolean hasEndTime()
Output only. The time the operation finished running.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the endTime field is set. |
hasJob()
public abstract boolean hasJob()
Output only. The Job associated with the operation.
.google.cloud.storagebatchoperations.v1.Job job = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the job field is set. |