Package com.google.cloud.translate.v3
Interface DeleteModelMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DeleteModelMetadata,DeleteModelMetadata.Builder
@Generated
public interface DeleteModelMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampThe creation time of the operation.com.google.protobuf.TimestampOrBuilderThe creation time of the operation.getError()Only populated when operation doesn't succeed.Only populated when operation doesn't succeed.getState()The current state of the operation.intThe current state of the operation.com.google.protobuf.TimestampThe last update time of the operation.com.google.protobuf.TimestampOrBuilderThe last update time of the operation.booleanThe creation time of the operation.booleanhasError()Only populated when operation doesn't succeed.booleanThe last update time of the operation.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
-
getStateValue
int getStateValue()The current state of the operation.
.google.cloud.translation.v3.OperationState state = 1;- Returns:
- The enum numeric value on the wire for state.
-
getState
OperationState getState()The current state of the operation.
.google.cloud.translation.v3.OperationState state = 1;- Returns:
- The state.
-
hasCreateTime
boolean hasCreateTime()The creation time of the operation.
.google.protobuf.Timestamp create_time = 2;- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()The creation time of the operation.
.google.protobuf.Timestamp create_time = 2;- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()The creation time of the operation.
.google.protobuf.Timestamp create_time = 2; -
hasUpdateTime
boolean hasUpdateTime()The last update time of the operation.
.google.protobuf.Timestamp update_time = 3;- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()The last update time of the operation.
.google.protobuf.Timestamp update_time = 3;- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()The last update time of the operation.
.google.protobuf.Timestamp update_time = 3; -
hasError
boolean hasError()Only populated when operation doesn't succeed.
.google.rpc.Status error = 4;- Returns:
- Whether the error field is set.
-
getError
Status getError()Only populated when operation doesn't succeed.
.google.rpc.Status error = 4;- Returns:
- The error.
-
getErrorOrBuilder
StatusOrBuilder getErrorOrBuilder()Only populated when operation doesn't succeed.
.google.rpc.Status error = 4;
-