Class LogEntryOperation (1.33.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
TypeDescription
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
TypeDescription
int

LAST_FIELD_NUMBER

public static final int LAST_FIELD_NUMBER
Field Value
TypeDescription
int

PRODUCER_FIELD_NUMBER

public static final int PRODUCER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LogEntryOperation getDefaultInstance()
Returns
TypeDescription
LogEntryOperation

getDescriptor()

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

newBuilder()

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

newBuilder(LogEntryOperation prototype)

public static LogEntryOperation.Builder newBuilder(LogEntryOperation prototype)
Parameter
NameDescription
prototypeLogEntryOperation
Returns
TypeDescription
LogEntryOperation.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public LogEntryOperation getDefaultInstanceForType()
Returns
TypeDescription
LogEntryOperation

getFirst()

public boolean getFirst()

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

bool first = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

The last.

getParserForType()

public Parser<LogEntryOperation> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for producer.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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