public final class CopyLogEntriesMetadata extends GeneratedMessageV3 implements CopyLogEntriesMetadataOrBuilder
Metadata for CopyLogEntries long running operations.
Protobuf type google.logging.v2.CopyLogEntriesMetadata
Static Fields
public static final int CANCELLATION_REQUESTED_FIELD_NUMBER
Field Value
public static final int END_TIME_FIELD_NUMBER
Field Value
public static final int PROGRESS_FIELD_NUMBER
Field Value
public static final int REQUEST_FIELD_NUMBER
Field Value
public static final int START_TIME_FIELD_NUMBER
Field Value
public static final int STATE_FIELD_NUMBER
Field Value
public static final int WRITER_IDENTITY_FIELD_NUMBER
Field Value
Static Methods
public static CopyLogEntriesMetadata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static CopyLogEntriesMetadata.Builder newBuilder()
Returns
public static CopyLogEntriesMetadata.Builder newBuilder(CopyLogEntriesMetadata prototype)
Parameter
Returns
public static CopyLogEntriesMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CopyLogEntriesMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CopyLogEntriesMetadata parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
public static CopyLogEntriesMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CopyLogEntriesMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static CopyLogEntriesMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CopyLogEntriesMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CopyLogEntriesMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CopyLogEntriesMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CopyLogEntriesMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CopyLogEntriesMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static CopyLogEntriesMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<CopyLogEntriesMetadata> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public boolean getCancellationRequested()
Identifies whether the user has requested cancellation of the operation.
bool cancellation_requested = 4;
Returns
Type |
Description |
boolean |
The cancellationRequested.
|
public CopyLogEntriesMetadata getDefaultInstanceForType()
Returns
public Timestamp getEndTime()
The end time of an operation.
.google.protobuf.Timestamp end_time = 2;
Returns
public TimestampOrBuilder getEndTimeOrBuilder()
The end time of an operation.
.google.protobuf.Timestamp end_time = 2;
Returns
public Parser<CopyLogEntriesMetadata> getParserForType()
Returns
Overrides
Estimated progress of the operation (0 - 100%).
int32 progress = 6;
Returns
Type |
Description |
int |
The progress.
|
public CopyLogEntriesRequest getRequest()
CopyLogEntries RPC request.
.google.logging.v2.CopyLogEntriesRequest request = 5;
Returns
public CopyLogEntriesRequestOrBuilder getRequestOrBuilder()
CopyLogEntries RPC request.
.google.logging.v2.CopyLogEntriesRequest request = 5;
Returns
public int getSerializedSize()
Returns
Overrides
public Timestamp getStartTime()
The create time of an operation.
.google.protobuf.Timestamp start_time = 1;
Returns
public TimestampOrBuilder getStartTimeOrBuilder()
The create time of an operation.
.google.protobuf.Timestamp start_time = 1;
Returns
public OperationState getState()
State of an operation.
.google.logging.v2.OperationState state = 3;
Returns
public int getStateValue()
State of an operation.
.google.logging.v2.OperationState state = 3;
Returns
Type |
Description |
int |
The enum numeric value on the wire for state.
|
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public 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
Type |
Description |
String |
The writerIdentity.
|
public 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
Type |
Description |
ByteString |
The bytes for writerIdentity.
|
public boolean hasEndTime()
The end time of an operation.
.google.protobuf.Timestamp end_time = 2;
Returns
Type |
Description |
boolean |
Whether the endTime field is set.
|
public boolean hasRequest()
CopyLogEntries RPC request.
.google.logging.v2.CopyLogEntriesRequest request = 5;
Returns
Type |
Description |
boolean |
Whether the request field is set.
|
public boolean hasStartTime()
The create time of an operation.
.google.protobuf.Timestamp start_time = 1;
Returns
Type |
Description |
boolean |
Whether the startTime field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public CopyLogEntriesMetadata.Builder newBuilderForType()
Returns
protected CopyLogEntriesMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public CopyLogEntriesMetadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions