Send feedback
Class CopyLogEntriesMetadata (3.17.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.17.2 keyboard_arrow_down
public final class CopyLogEntriesMetadata extends GeneratedMessageV3 implements CopyLogEntriesMetadataOrBuilder
Metadata for CopyLogEntries long running operations.
Protobuf type google.logging.v2.CopyLogEntriesMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int CANCELLATION_REQUESTED_FIELD_NUMBER
Field Value
Type
Description
int
public static final int END_TIME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int PROGRESS_FIELD_NUMBER
Field Value
Type
Description
int
public static final int REQUEST_FIELD_NUMBER
Field Value
Type
Description
int
public static final int START_TIME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int STATE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int WRITER_IDENTITY_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static CopyLogEntriesMetadata getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static CopyLogEntriesMetadata . Builder newBuilder ()
public static CopyLogEntriesMetadata . Builder newBuilder ( CopyLogEntriesMetadata prototype )
public static CopyLogEntriesMetadata parseDelimitedFrom ( InputStream input )
public static CopyLogEntriesMetadata parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static CopyLogEntriesMetadata parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static CopyLogEntriesMetadata parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static CopyLogEntriesMetadata parseFrom ( ByteString data )
public static CopyLogEntriesMetadata parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static CopyLogEntriesMetadata parseFrom ( CodedInputStream input )
public static CopyLogEntriesMetadata parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static CopyLogEntriesMetadata parseFrom ( InputStream input )
public static CopyLogEntriesMetadata parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static CopyLogEntriesMetadata parseFrom ( ByteBuffer data )
public static CopyLogEntriesMetadata parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<CopyLogEntriesMetadata> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
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 ()
public Timestamp getEndTime ()
The end time of an operation.
.google.protobuf.Timestamp end_time = 2;
Returns
Type
Description
Timestamp
The endTime.
public TimestampOrBuilder getEndTimeOrBuilder ()
The end time of an operation.
.google.protobuf.Timestamp end_time = 2;
public Parser<CopyLogEntriesMetadata> getParserForType ()
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;
public CopyLogEntriesRequestOrBuilder getRequestOrBuilder ()
CopyLogEntries RPC request.
.google.logging.v2.CopyLogEntriesRequest request = 5;
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public Timestamp getStartTime ()
The create time of an operation.
.google.protobuf.Timestamp start_time = 1;
Returns
Type
Description
Timestamp
The startTime.
public TimestampOrBuilder getStartTimeOrBuilder ()
The create time of an operation.
.google.protobuf.Timestamp start_time = 1;
public OperationState getState ()
State of an operation.
.google.logging.v2.OperationState state = 3;
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 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
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public CopyLogEntriesMetadata . Builder newBuilderForType ()
protected CopyLogEntriesMetadata . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public CopyLogEntriesMetadata . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
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-28 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-28 UTC."],[],[]]