Send feedback
Class CopyLogEntriesMetadata (3.10.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.10.0 keyboard_arrow_down
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]