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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static LogEntryOperation.Builder newBuilder()
newBuilder(LogEntryOperation prototype)
public static LogEntryOperation.Builder newBuilder(LogEntryOperation prototype)
parseDelimitedFrom(InputStream input)
public static LogEntryOperation parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static LogEntryOperation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static LogEntryOperation parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LogEntryOperation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static LogEntryOperation parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LogEntryOperation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static LogEntryOperation parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LogEntryOperation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static LogEntryOperation parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static LogEntryOperation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static LogEntryOperation parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LogEntryOperation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<LogEntryOperation> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public LogEntryOperation getDefaultInstanceForType()
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 |
Type |
Description |
ByteString |
The bytes for id.
|
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 |
Type |
Description |
boolean |
The last.
|
getParserForType()
public Parser<LogEntryOperation> getParserForType()
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 |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public LogEntryOperation.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LogEntryOperation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public LogEntryOperation.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides