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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > LogEntryOperationImplements
LogEntryOperationOrBuilderStatic Fields
FIRST_FIELD_NUMBER
public static final int FIRST_FIELD_NUMBER
Type | Description |
int |
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Type | Description |
int |
LAST_FIELD_NUMBER
public static final int LAST_FIELD_NUMBER
Type | Description |
int |
PRODUCER_FIELD_NUMBER
public static final int PRODUCER_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static LogEntryOperation getDefaultInstance()
Type | Description |
LogEntryOperation |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static LogEntryOperation.Builder newBuilder()
Type | Description |
LogEntryOperation.Builder |
newBuilder(LogEntryOperation prototype)
public static LogEntryOperation.Builder newBuilder(LogEntryOperation prototype)
Name | Description |
prototype | LogEntryOperation |
Type | Description |
LogEntryOperation.Builder |
parseDelimitedFrom(InputStream input)
public static LogEntryOperation parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
LogEntryOperation |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static LogEntryOperation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
LogEntryOperation |
Type | Description |
IOException |
parseFrom(byte[] data)
public static LogEntryOperation parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
LogEntryOperation |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LogEntryOperation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
LogEntryOperation |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static LogEntryOperation parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
LogEntryOperation |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LogEntryOperation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
LogEntryOperation |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static LogEntryOperation parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
LogEntryOperation |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LogEntryOperation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
LogEntryOperation |
Type | Description |
IOException |
parseFrom(InputStream input)
public static LogEntryOperation parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
LogEntryOperation |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static LogEntryOperation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
LogEntryOperation |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static LogEntryOperation parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
LogEntryOperation |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LogEntryOperation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
LogEntryOperation |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<LogEntryOperation> parser()
Type | Description |
Parser<LogEntryOperation> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public LogEntryOperation getDefaultInstanceForType()
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 [(.google.api.field_behavior) = OPTIONAL];
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 [(.google.api.field_behavior) = OPTIONAL];
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];
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 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean | The last. |
getParserForType()
public Parser<LogEntryOperation> getParserForType()
Type | Description |
Parser<LogEntryOperation> |
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];
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];
Type | Description |
ByteString | The bytes for producer. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public LogEntryOperation.Builder newBuilderForType()
Type | Description |
LogEntryOperation.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LogEntryOperation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
LogEntryOperation.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public LogEntryOperation.Builder toBuilder()
Type | Description |
LogEntryOperation.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |