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.events.cloud.audit.v1.LogEntryOperation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > LogEntryOperation.BuilderImplements
LogEntryOperationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LogEntryOperation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
LogEntryOperation.Builder |
build()
public LogEntryOperation build()
Returns | |
---|---|
Type | Description |
LogEntryOperation |
buildPartial()
public LogEntryOperation buildPartial()
Returns | |
---|---|
Type | Description |
LogEntryOperation |
clear()
public LogEntryOperation.Builder clear()
Returns | |
---|---|
Type | Description |
LogEntryOperation.Builder |
clearField(Descriptors.FieldDescriptor field)
public LogEntryOperation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
LogEntryOperation.Builder |
clearFirst()
public LogEntryOperation.Builder clearFirst()
True if this is the first log entry in the operation.
bool first = 3;
Returns | |
---|---|
Type | Description |
LogEntryOperation.Builder | This builder for chaining. |
clearId()
public LogEntryOperation.Builder clearId()
An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operation.
string id = 1;
Returns | |
---|---|
Type | Description |
LogEntryOperation.Builder | This builder for chaining. |
clearLast()
public LogEntryOperation.Builder clearLast()
True if this is the last log entry in the operation.
bool last = 4;
Returns | |
---|---|
Type | Description |
LogEntryOperation.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public LogEntryOperation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
LogEntryOperation.Builder |
clearProducer()
public LogEntryOperation.Builder clearProducer()
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;
Returns | |
---|---|
Type | Description |
LogEntryOperation.Builder | This builder for chaining. |
clone()
public LogEntryOperation.Builder clone()
Returns | |
---|---|
Type | Description |
LogEntryOperation.Builder |
getDefaultInstanceForType()
public LogEntryOperation getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
LogEntryOperation |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFirst()
public boolean getFirst()
True if this is the first log entry in the operation.
bool first = 3;
Returns | |
---|---|
Type | Description |
boolean | The first. |
getId()
public String getId()
An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operation.
string id = 1;
Returns | |
---|---|
Type | Description |
String | The id. |
getIdBytes()
public ByteString getIdBytes()
An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operation.
string id = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for id. |
getLast()
public boolean getLast()
True if this is the last log entry in the operation.
bool last = 4;
Returns | |
---|---|
Type | Description |
boolean | The last. |
getProducer()
public String getProducer()
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;
Returns | |
---|---|
Type | Description |
String | The producer. |
getProducerBytes()
public ByteString getProducerBytes()
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;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for producer. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(LogEntryOperation other)
public LogEntryOperation.Builder mergeFrom(LogEntryOperation other)
Parameter | |
---|---|
Name | Description |
other | LogEntryOperation |
Returns | |
---|---|
Type | Description |
LogEntryOperation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LogEntryOperation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
LogEntryOperation.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public LogEntryOperation.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
LogEntryOperation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LogEntryOperation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LogEntryOperation.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public LogEntryOperation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
LogEntryOperation.Builder |
setFirst(boolean value)
public LogEntryOperation.Builder setFirst(boolean value)
True if this is the first log entry in the operation.
bool first = 3;
Parameter | |
---|---|
Name | Description |
value | boolean The first to set. |
Returns | |
---|---|
Type | Description |
LogEntryOperation.Builder | This builder for chaining. |
setId(String value)
public LogEntryOperation.Builder setId(String value)
An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operation.
string id = 1;
Parameter | |
---|---|
Name | Description |
value | String The id to set. |
Returns | |
---|---|
Type | Description |
LogEntryOperation.Builder | This builder for chaining. |
setIdBytes(ByteString value)
public LogEntryOperation.Builder setIdBytes(ByteString value)
An arbitrary operation identifier. Log entries with the same identifier are assumed to be part of the same operation.
string id = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for id to set. |
Returns | |
---|---|
Type | Description |
LogEntryOperation.Builder | This builder for chaining. |
setLast(boolean value)
public LogEntryOperation.Builder setLast(boolean value)
True if this is the last log entry in the operation.
bool last = 4;
Parameter | |
---|---|
Name | Description |
value | boolean The last to set. |
Returns | |
---|---|
Type | Description |
LogEntryOperation.Builder | This builder for chaining. |
setProducer(String value)
public LogEntryOperation.Builder setProducer(String value)
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;
Parameter | |
---|---|
Name | Description |
value | String The producer to set. |
Returns | |
---|---|
Type | Description |
LogEntryOperation.Builder | This builder for chaining. |
setProducerBytes(ByteString value)
public LogEntryOperation.Builder setProducerBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for producer to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
LogEntryOperation.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final LogEntryOperation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LogEntryOperation.Builder |