Package com.google.logging.v2
Interface CopyLogEntriesMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CopyLogEntriesMetadata,CopyLogEntriesMetadata.Builder
public interface CopyLogEntriesMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIdentifies whether the user has requested cancellation of the operation.com.google.protobuf.TimestampThe end time of an operation.com.google.protobuf.TimestampOrBuilderThe end time of an operation.intEstimated progress of the operation (0 - 100%).CopyLogEntries RPC request.CopyLogEntries RPC request.com.google.protobuf.TimestampThe create time of an operation.com.google.protobuf.TimestampOrBuilderThe create time of an operation.getState()State of an operation.intState of an operation.The IAM identity of a service account that must be granted access to the destination.com.google.protobuf.ByteStringThe IAM identity of a service account that must be granted access to the destination.booleanThe end time of an operation.booleanCopyLogEntries RPC request.booleanThe create time of an 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
-
hasStartTime
boolean hasStartTime()The create time of an operation.
.google.protobuf.Timestamp start_time = 1;- Returns:
- Whether the startTime field is set.
-
getStartTime
com.google.protobuf.Timestamp getStartTime()The create time of an operation.
.google.protobuf.Timestamp start_time = 1;- Returns:
- The startTime.
-
getStartTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()The create time of an operation.
.google.protobuf.Timestamp start_time = 1; -
hasEndTime
boolean hasEndTime()The end time of an operation.
.google.protobuf.Timestamp end_time = 2;- Returns:
- Whether the endTime field is set.
-
getEndTime
com.google.protobuf.Timestamp getEndTime()The end time of an operation.
.google.protobuf.Timestamp end_time = 2;- Returns:
- The endTime.
-
getEndTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()The end time of an operation.
.google.protobuf.Timestamp end_time = 2; -
getStateValue
int getStateValue()State of an operation.
.google.logging.v2.OperationState state = 3;- Returns:
- The enum numeric value on the wire for state.
-
getState
OperationState getState()State of an operation.
.google.logging.v2.OperationState state = 3;- Returns:
- The state.
-
getCancellationRequested
boolean getCancellationRequested()Identifies whether the user has requested cancellation of the operation.
bool cancellation_requested = 4;- Returns:
- The cancellationRequested.
-
hasRequest
boolean hasRequest()CopyLogEntries RPC request.
.google.logging.v2.CopyLogEntriesRequest request = 5;- Returns:
- Whether the request field is set.
-
getRequest
CopyLogEntriesRequest getRequest()CopyLogEntries RPC request.
.google.logging.v2.CopyLogEntriesRequest request = 5;- Returns:
- The request.
-
getRequestOrBuilder
CopyLogEntriesRequestOrBuilder getRequestOrBuilder()CopyLogEntries RPC request.
.google.logging.v2.CopyLogEntriesRequest request = 5; -
getProgress
int getProgress()Estimated progress of the operation (0 - 100%).
int32 progress = 6;- Returns:
- The progress.
-
getWriterIdentity
String getWriterIdentity()The IAM identity of a service account that must be granted access to the destination. If the service account is not granted permission to the destination within an hour, the operation will be cancelled. For example: `"serviceAccount:foo@bar.com"`
string writer_identity = 7;- Returns:
- The writerIdentity.
-
getWriterIdentityBytes
com.google.protobuf.ByteString getWriterIdentityBytes()The IAM identity of a service account that must be granted access to the destination. If the service account is not granted permission to the destination within an hour, the operation will be cancelled. For example: `"serviceAccount:foo@bar.com"`
string writer_identity = 7;- Returns:
- The bytes for writerIdentity.
-