public static final class LogEntryOperation.Builder extends 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > LogEntryOperation.BuilderImplements
LogEntryOperationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LogEntryOperation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
LogEntryOperation.Builder |
build()
public LogEntryOperation build()
Type | Description |
LogEntryOperation |
buildPartial()
public LogEntryOperation buildPartial()
Type | Description |
LogEntryOperation |
clear()
public LogEntryOperation.Builder clear()
Type | Description |
LogEntryOperation.Builder |
clearField(Descriptors.FieldDescriptor field)
public LogEntryOperation.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
LogEntryOperation.Builder |
clearFirst()
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];
Type | Description |
LogEntryOperation.Builder | This builder for chaining. |
clearId()
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];
Type | Description |
LogEntryOperation.Builder | This builder for chaining. |
clearLast()
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];
Type | Description |
LogEntryOperation.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public LogEntryOperation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
LogEntryOperation.Builder |
clearProducer()
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];
Type | Description |
LogEntryOperation.Builder | This builder for chaining. |
clone()
public LogEntryOperation.Builder clone()
Type | Description |
LogEntryOperation.Builder |
getDefaultInstanceForType()
public LogEntryOperation getDefaultInstanceForType()
Type | Description |
LogEntryOperation |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(LogEntryOperation other)
public LogEntryOperation.Builder mergeFrom(LogEntryOperation other)
Name | Description |
other | LogEntryOperation |
Type | Description |
LogEntryOperation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LogEntryOperation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
LogEntryOperation.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public LogEntryOperation.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
LogEntryOperation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LogEntryOperation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
LogEntryOperation.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public LogEntryOperation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
LogEntryOperation.Builder |
setFirst(boolean value)
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];
Name | Description |
value | boolean The first to set. |
Type | Description |
LogEntryOperation.Builder | This builder for chaining. |
setId(String value)
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];
Name | Description |
value | String The id to set. |
Type | Description |
LogEntryOperation.Builder | This builder for chaining. |
setIdBytes(ByteString value)
public LogEntryOperation.Builder setIdBytes(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];
Name | Description |
value | ByteString The bytes for id to set. |
Type | Description |
LogEntryOperation.Builder | This builder for chaining. |
setLast(boolean value)
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];
Name | Description |
value | boolean The last to set. |
Type | Description |
LogEntryOperation.Builder | This builder for chaining. |
setProducer(String value)
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];
Name | Description |
value | String The producer to set. |
Type | Description |
LogEntryOperation.Builder | This builder for chaining. |
setProducerBytes(ByteString value)
public LogEntryOperation.Builder setProducerBytes(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];
Name | Description |
value | ByteString The bytes for producer to set. |
Type | Description |
LogEntryOperation.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LogEntryOperation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
LogEntryOperation.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final LogEntryOperation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
LogEntryOperation.Builder |