Interface OperationMetadataOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OperationMetadata
,OperationMetadata.Builder
public interface OperationMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.com.google.protobuf.Timestamp
getEndTime()
Output only.com.google.protobuf.TimestampOrBuilder
getEndTimeOrBuilder()
Output only.OperationMetadata.Type
getOperationType()
Output only.int
getOperationTypeValue()
Output only.String
getResource()
Output only.com.google.protobuf.ByteString
getResourceBytes()
Output only.String
getResourceUuid()
Output only.com.google.protobuf.ByteString
getResourceUuidBytes()
Output only.OperationMetadata.State
getState()
Output only.int
getStateValue()
Output only.boolean
hasCreateTime()
Output only.boolean
hasEndTime()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getStateValue
int getStateValue()
Output only. The current operation state.
.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State state = 1;
- Returns:
- The enum numeric value on the wire for state.
-
getState
OperationMetadata.State getState()
Output only. The current operation state.
.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State state = 1;
- Returns:
- The state.
-
getOperationTypeValue
int getOperationTypeValue()
Output only. The type of operation being performed.
.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2;
- Returns:
- The enum numeric value on the wire for operationType.
-
getOperationType
OperationMetadata.Type getOperationType()
Output only. The type of operation being performed.
.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type operation_type = 2;
- Returns:
- The operationType.
-
getResource
String getResource()
Output only. The resource being operated on, as a [relative resource name]( /apis/design/resource_names#relative_resource_name).
string resource = 3;
- Returns:
- The resource.
-
getResourceBytes
com.google.protobuf.ByteString getResourceBytes()
Output only. The resource being operated on, as a [relative resource name]( /apis/design/resource_names#relative_resource_name).
string resource = 3;
- Returns:
- The bytes for resource.
-
getResourceUuid
String getResourceUuid()
Output only. The UUID of the resource being operated on.
string resource_uuid = 4;
- Returns:
- The resourceUuid.
-
getResourceUuidBytes
com.google.protobuf.ByteString getResourceUuidBytes()
Output only. The UUID of the resource being operated on.
string resource_uuid = 4;
- Returns:
- The bytes for resourceUuid.
-
hasCreateTime
boolean hasCreateTime()
Output only. The time the operation was submitted to the server.
.google.protobuf.Timestamp create_time = 5;
- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
Output only. The time the operation was submitted to the server.
.google.protobuf.Timestamp create_time = 5;
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time the operation was submitted to the server.
.google.protobuf.Timestamp create_time = 5;
-
hasEndTime
boolean hasEndTime()
Output only. The time when the operation terminated, regardless of its success. This field is unset if the operation is still ongoing.
.google.protobuf.Timestamp end_time = 6;
- Returns:
- Whether the endTime field is set.
-
getEndTime
com.google.protobuf.Timestamp getEndTime()
Output only. The time when the operation terminated, regardless of its success. This field is unset if the operation is still ongoing.
.google.protobuf.Timestamp end_time = 6;
- Returns:
- The endTime.
-
getEndTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
Output only. The time when the operation terminated, regardless of its success. This field is unset if the operation is still ongoing.
.google.protobuf.Timestamp end_time = 6;
-
-