Package com.google.logging.v2
Interface LogEntryOperationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LogEntryOperation,LogEntryOperation.Builder
public interface LogEntryOperationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
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];- Returns:
- The id.
-
getIdBytes
com.google.protobuf.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:
- The bytes for id.
-
getProducer
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:
- The producer.
-
getProducerBytes
com.google.protobuf.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:
- The bytes for producer.
-
getFirst
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:
- The first.
-
getLast
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];- Returns:
- The last.
-