Class CopyLogEntriesMetadata (3.12.1)

public final class CopyLogEntriesMetadata extends GeneratedMessageV3 implements CopyLogEntriesMetadataOrBuilder

Metadata for CopyLogEntries long running operations.

Protobuf type google.logging.v2.CopyLogEntriesMetadata

Static Fields

CANCELLATION_REQUESTED_FIELD_NUMBER

public static final int CANCELLATION_REQUESTED_FIELD_NUMBER
Field Value
Type Description
int

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

PROGRESS_FIELD_NUMBER

public static final int PROGRESS_FIELD_NUMBER
Field Value
Type Description
int

REQUEST_FIELD_NUMBER

public static final int REQUEST_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

WRITER_IDENTITY_FIELD_NUMBER

public static final int WRITER_IDENTITY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CopyLogEntriesMetadata getDefaultInstance()
Returns
Type Description
CopyLogEntriesMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CopyLogEntriesMetadata.Builder newBuilder()
Returns
Type Description
CopyLogEntriesMetadata.Builder

newBuilder(CopyLogEntriesMetadata prototype)

public static CopyLogEntriesMetadata.Builder newBuilder(CopyLogEntriesMetadata prototype)
Parameter
Name Description
prototype CopyLogEntriesMetadata
Returns
Type Description
CopyLogEntriesMetadata.Builder

parseDelimitedFrom(InputStream input)

public static CopyLogEntriesMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CopyLogEntriesMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CopyLogEntriesMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CopyLogEntriesMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CopyLogEntriesMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CopyLogEntriesMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CopyLogEntriesMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CopyLogEntriesMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CopyLogEntriesMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CopyLogEntriesMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CopyLogEntriesMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CopyLogEntriesMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CopyLogEntriesMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CopyLogEntriesMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CopyLogEntriesMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CopyLogEntriesMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CopyLogEntriesMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CopyLogEntriesMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CopyLogEntriesMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CopyLogEntriesMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CopyLogEntriesMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CopyLogEntriesMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CopyLogEntriesMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CopyLogEntriesMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CopyLogEntriesMetadata> parser()
Returns
Type Description
Parser<CopyLogEntriesMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCancellationRequested()

public boolean getCancellationRequested()

Identifies whether the user has requested cancellation of the operation.

bool cancellation_requested = 4;

Returns
Type Description
boolean

The cancellationRequested.

getDefaultInstanceForType()

public CopyLogEntriesMetadata getDefaultInstanceForType()
Returns
Type Description
CopyLogEntriesMetadata

getEndTime()

public Timestamp getEndTime()

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Returns
Type Description
TimestampOrBuilder

getParserForType()

public Parser<CopyLogEntriesMetadata> getParserForType()
Returns
Type Description
Parser<CopyLogEntriesMetadata>
Overrides

getProgress()

public int getProgress()

Estimated progress of the operation (0 - 100%).

int32 progress = 6;

Returns
Type Description
int

The progress.

getRequest()

public CopyLogEntriesRequest getRequest()

CopyLogEntries RPC request.

.google.logging.v2.CopyLogEntriesRequest request = 5;

Returns
Type Description
CopyLogEntriesRequest

The request.

getRequestOrBuilder()

public CopyLogEntriesRequestOrBuilder getRequestOrBuilder()

CopyLogEntries RPC request.

.google.logging.v2.CopyLogEntriesRequest request = 5;

Returns
Type Description
CopyLogEntriesRequestOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

public Timestamp getStartTime()

The create time of an operation.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The create time of an operation.

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
TimestampOrBuilder

getState()

public OperationState getState()

State of an operation.

.google.logging.v2.OperationState state = 3;

Returns
Type Description
OperationState

The state.

getStateValue()

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.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

getWriterIdentity()

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.

getWriterIdentityBytes()

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.

hasEndTime()

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.

hasRequest()

public boolean hasRequest()

CopyLogEntries RPC request.

.google.logging.v2.CopyLogEntriesRequest request = 5;

Returns
Type Description
boolean

Whether the request field is set.

hasStartTime()

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CopyLogEntriesMetadata.Builder newBuilderForType()
Returns
Type Description
CopyLogEntriesMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CopyLogEntriesMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CopyLogEntriesMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CopyLogEntriesMetadata.Builder toBuilder()
Returns
Type Description
CopyLogEntriesMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides Exceptions
Type Description
IOException