Class CopyLogEntriesMetadata (3.9.0)

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
TypeDescription
int

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

PROGRESS_FIELD_NUMBER

public static final int PROGRESS_FIELD_NUMBER
Field Value
TypeDescription
int

REQUEST_FIELD_NUMBER

public static final int REQUEST_FIELD_NUMBER
Field Value
TypeDescription
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

WRITER_IDENTITY_FIELD_NUMBER

public static final int WRITER_IDENTITY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CopyLogEntriesMetadata getDefaultInstance()
Returns
TypeDescription
CopyLogEntriesMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CopyLogEntriesMetadata.Builder newBuilder()
Returns
TypeDescription
CopyLogEntriesMetadata.Builder

newBuilder(CopyLogEntriesMetadata prototype)

public static CopyLogEntriesMetadata.Builder newBuilder(CopyLogEntriesMetadata prototype)
Parameter
NameDescription
prototypeCopyLogEntriesMetadata
Returns
TypeDescription
CopyLogEntriesMetadata.Builder

parseDelimitedFrom(InputStream input)

public static CopyLogEntriesMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CopyLogEntriesMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CopyLogEntriesMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CopyLogEntriesMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CopyLogEntriesMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CopyLogEntriesMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CopyLogEntriesMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CopyLogEntriesMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CopyLogEntriesMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CopyLogEntriesMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CopyLogEntriesMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CopyLogEntriesMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CopyLogEntriesMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CopyLogEntriesMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CopyLogEntriesMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CopyLogEntriesMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CopyLogEntriesMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CopyLogEntriesMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CopyLogEntriesMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CopyLogEntriesMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CopyLogEntriesMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CopyLogEntriesMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CopyLogEntriesMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CopyLogEntriesMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CopyLogEntriesMetadata> parser()
Returns
TypeDescription
Parser<CopyLogEntriesMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCancellationRequested()

public boolean getCancellationRequested()

Identifies whether the user has requested cancellation of the operation.

bool cancellation_requested = 4;

Returns
TypeDescription
boolean

The cancellationRequested.

getDefaultInstanceForType()

public CopyLogEntriesMetadata getDefaultInstanceForType()
Returns
TypeDescription
CopyLogEntriesMetadata

getEndTime()

public Timestamp getEndTime()

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getParserForType()

public Parser<CopyLogEntriesMetadata> getParserForType()
Returns
TypeDescription
Parser<CopyLogEntriesMetadata>
Overrides

getProgress()

public int getProgress()

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

int32 progress = 6;

Returns
TypeDescription
int

The progress.

getRequest()

public CopyLogEntriesRequest getRequest()

CopyLogEntries RPC request.

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

Returns
TypeDescription
CopyLogEntriesRequest

The request.

getRequestOrBuilder()

public CopyLogEntriesRequestOrBuilder getRequestOrBuilder()

CopyLogEntries RPC request.

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

Returns
TypeDescription
CopyLogEntriesRequestOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStartTime()

public Timestamp getStartTime()

The create time of an operation.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The create time of an operation.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
TimestampOrBuilder

getState()

public OperationState getState()

State of an operation.

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

Returns
TypeDescription
OperationState

The state.

getStateValue()

public int getStateValue()

State of an operation.

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

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for writerIdentity.

hasEndTime()

public boolean hasEndTime()

The end time of an operation.

.google.protobuf.Timestamp end_time = 2;

Returns
TypeDescription
boolean

Whether the endTime field is set.

hasRequest()

public boolean hasRequest()

CopyLogEntries RPC request.

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

Returns
TypeDescription
boolean

Whether the request field is set.

hasStartTime()

public boolean hasStartTime()

The create time of an operation.

.google.protobuf.Timestamp start_time = 1;

Returns
TypeDescription
boolean

Whether the startTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CopyLogEntriesMetadata.Builder newBuilderForType()
Returns
TypeDescription
CopyLogEntriesMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CopyLogEntriesMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CopyLogEntriesMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CopyLogEntriesMetadata.Builder toBuilder()
Returns
TypeDescription
CopyLogEntriesMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException