Class LogEntryOperation (1.53.0)

public final class LogEntryOperation extends GeneratedMessageV3 implements LogEntryOperationOrBuilder

Additional information about a potentially long-running operation with which a log entry is associated.

Protobuf type google.api.servicecontrol.v1.LogEntryOperation

Static Fields

FIRST_FIELD_NUMBER

public static final int FIRST_FIELD_NUMBER
Field Value
Type Description
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

LAST_FIELD_NUMBER

public static final int LAST_FIELD_NUMBER
Field Value
Type Description
int

PRODUCER_FIELD_NUMBER

public static final int PRODUCER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static LogEntryOperation getDefaultInstance()
Returns
Type Description
LogEntryOperation

getDescriptor()

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

newBuilder()

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

newBuilder(LogEntryOperation prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public LogEntryOperation getDefaultInstanceForType()
Returns
Type Description
LogEntryOperation

getFirst()

public boolean getFirst()

Optional. Set this to True if this is the first log entry in the operation.

bool first = 3;

Returns
Type Description
boolean

The first.

getId()

public String getId()

Optional. An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operation.

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

Optional. An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operation.

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

getLast()

public boolean getLast()

Optional. Set this to True if this is the last log entry in the operation.

bool last = 4;

Returns
Type Description
boolean

The last.

getParserForType()

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

getProducer()

public String getProducer()

Optional. An arbitrary producer identifier. The combination of id and producer must be globally unique. Examples for producer: "MyDivision.MyBigCompany.com", "github.com/MyProject/MyApplication".

string producer = 2;

Returns
Type Description
String

The producer.

getProducerBytes()

public ByteString getProducerBytes()

Optional. An arbitrary producer identifier. The combination of id and producer must be globally unique. Examples for producer: "MyDivision.MyBigCompany.com", "github.com/MyProject/MyApplication".

string producer = 2;

Returns
Type Description
ByteString

The bytes for producer.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 LogEntryOperation.Builder newBuilderForType()
Returns
Type Description
LogEntryOperation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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