public static final class LogEntryOperation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LogEntryOperation.Builder> implements LogEntryOperationOrBuilder
Additional information about a potentially long-running operation with which a log entry is associated.Protobuf type
google.logging.v2.LogEntryOperation
Modifier and Type | Method and Description |
---|---|
LogEntryOperation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
LogEntryOperation |
build() |
LogEntryOperation |
buildPartial() |
LogEntryOperation.Builder |
clear() |
LogEntryOperation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
LogEntryOperation.Builder |
clearFirst()
Optional.
|
LogEntryOperation.Builder |
clearId()
Optional.
|
LogEntryOperation.Builder |
clearLast()
Optional.
|
LogEntryOperation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
LogEntryOperation.Builder |
clearProducer()
Optional.
|
LogEntryOperation.Builder |
clone() |
LogEntryOperation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getFirst()
Optional.
|
String |
getId()
Optional.
|
com.google.protobuf.ByteString |
getIdBytes()
Optional.
|
boolean |
getLast()
Optional.
|
String |
getProducer()
Optional.
|
com.google.protobuf.ByteString |
getProducerBytes()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LogEntryOperation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LogEntryOperation.Builder |
mergeFrom(LogEntryOperation other) |
LogEntryOperation.Builder |
mergeFrom(com.google.protobuf.Message other) |
LogEntryOperation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LogEntryOperation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
LogEntryOperation.Builder |
setFirst(boolean value)
Optional.
|
LogEntryOperation.Builder |
setId(String value)
Optional.
|
LogEntryOperation.Builder |
setIdBytes(com.google.protobuf.ByteString value)
Optional.
|
LogEntryOperation.Builder |
setLast(boolean value)
Optional.
|
LogEntryOperation.Builder |
setProducer(String value)
Optional.
|
LogEntryOperation.Builder |
setProducerBytes(com.google.protobuf.ByteString value)
Optional.
|
LogEntryOperation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
LogEntryOperation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<LogEntryOperation.Builder>
public LogEntryOperation.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<LogEntryOperation.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<LogEntryOperation.Builder>
public LogEntryOperation getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LogEntryOperation build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LogEntryOperation buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LogEntryOperation.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<LogEntryOperation.Builder>
public LogEntryOperation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<LogEntryOperation.Builder>
public LogEntryOperation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<LogEntryOperation.Builder>
public LogEntryOperation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<LogEntryOperation.Builder>
public LogEntryOperation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<LogEntryOperation.Builder>
public LogEntryOperation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<LogEntryOperation.Builder>
public LogEntryOperation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LogEntryOperation.Builder>
public LogEntryOperation.Builder mergeFrom(LogEntryOperation other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<LogEntryOperation.Builder>
public LogEntryOperation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LogEntryOperation.Builder>
IOException
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];
getId
in interface LogEntryOperationOrBuilder
public 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];
getIdBytes
in interface LogEntryOperationOrBuilder
public LogEntryOperation.Builder setId(String value)
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];
value
- The id to set.public LogEntryOperation.Builder clearId()
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];
public LogEntryOperation.Builder setIdBytes(com.google.protobuf.ByteString value)
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];
value
- The bytes for id to set.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];
getProducer
in interface LogEntryOperationOrBuilder
public 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];
getProducerBytes
in interface LogEntryOperationOrBuilder
public LogEntryOperation.Builder setProducer(String value)
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];
value
- The producer to set.public LogEntryOperation.Builder clearProducer()
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];
public LogEntryOperation.Builder setProducerBytes(com.google.protobuf.ByteString value)
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];
value
- The bytes for producer to set.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];
getFirst
in interface LogEntryOperationOrBuilder
public LogEntryOperation.Builder setFirst(boolean value)
Optional. Set this to True if this is the first log entry in the operation.
bool first = 3 [(.google.api.field_behavior) = OPTIONAL];
value
- The first to set.public LogEntryOperation.Builder clearFirst()
Optional. Set this to True if this is the first log entry in the operation.
bool first = 3 [(.google.api.field_behavior) = OPTIONAL];
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];
getLast
in interface LogEntryOperationOrBuilder
public LogEntryOperation.Builder setLast(boolean value)
Optional. Set this to True if this is the last log entry in the operation.
bool last = 4 [(.google.api.field_behavior) = OPTIONAL];
value
- The last to set.public LogEntryOperation.Builder clearLast()
Optional. Set this to True if this is the last log entry in the operation.
bool last = 4 [(.google.api.field_behavior) = OPTIONAL];
public final LogEntryOperation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LogEntryOperation.Builder>
public final LogEntryOperation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LogEntryOperation.Builder>
Copyright © 2023 Google LLC. All rights reserved.