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.logging.v2.LogEntryOperation
Static Fields
FIRST_FIELD_NUMBER
public static final int FIRST_FIELD_NUMBER
Field Value
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value
LAST_FIELD_NUMBER
public static final int LAST_FIELD_NUMBER
Field Value
PRODUCER_FIELD_NUMBER
public static final int PRODUCER_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static LogEntryOperation getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static LogEntryOperation.Builder newBuilder()
Returns
newBuilder(LogEntryOperation prototype)
public static LogEntryOperation.Builder newBuilder(LogEntryOperation prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static LogEntryOperation parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static LogEntryOperation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static LogEntryOperation parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LogEntryOperation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static LogEntryOperation parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LogEntryOperation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static LogEntryOperation parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LogEntryOperation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static LogEntryOperation parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static LogEntryOperation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static LogEntryOperation parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LogEntryOperation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<LogEntryOperation> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public LogEntryOperation getDefaultInstanceForType()
Returns
getFirst()
public boolean getFirst()
Optional. Set this to True if this is the first log entry in the operation.
bool first = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
boolean |
The first.
|
getId()
Optional. An arbitrary operation identifier. Log entries with the same
identifier are assumed to be part of the same operation.
string id = 1 [(.google.api.field_behavior) = OPTIONAL];
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 [(.google.api.field_behavior) = OPTIONAL];
Returns
getLast()
Optional. Set this to True if this is the last log entry in the operation.
bool last = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
getParserForType()
public Parser<LogEntryOperation> getParserForType()
Returns
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 [(.google.api.field_behavior) = OPTIONAL];
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 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type |
Description |
ByteString |
The bytes for producer.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public LogEntryOperation.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LogEntryOperation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public LogEntryOperation.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions