Class LogEvent.Builder
-
- All Implemented Interfaces:
-
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable,xyz.block.ftl.v1.console.LogEventOrBuilder
public final class LogEvent.Builder extends GeneratedMessageV3.Builder<BuilderT> implements LogEventOrBuilder
Protobuf type
xyz.block.ftl.v1.console.LogEvent
-
-
Method Summary
Modifier and Type Method Description final static Descriptors.DescriptorgetDescriptor()LogEvent.Builderclear()Descriptors.DescriptorgetDescriptorForType()LogEventgetDefaultInstanceForType()LogEventbuild()LogEventbuildPartial()LogEvent.Builderclone()LogEvent.BuildersetField(Descriptors.FieldDescriptor field, Object value)LogEvent.BuilderclearField(Descriptors.FieldDescriptor field)LogEvent.BuilderclearOneof(Descriptors.OneofDescriptor oneof)LogEvent.BuildersetRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)LogEvent.BuilderaddRepeatedField(Descriptors.FieldDescriptor field, Object value)LogEvent.BuildermergeFrom(Message other)LogEvent.BuildermergeFrom(LogEvent other)final booleanisInitialized()LogEvent.BuildermergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)StringgetDeploymentKey()string deployment_key = 1;ByteStringgetDeploymentKeyBytes()string deployment_key = 1;LogEvent.BuildersetDeploymentKey(String value)string deployment_key = 1;LogEvent.BuilderclearDeploymentKey()string deployment_key = 1;LogEvent.BuildersetDeploymentKeyBytes(ByteString value)string deployment_key = 1;booleanhasRequestKey()optional string request_key = 2;StringgetRequestKey()optional string request_key = 2;ByteStringgetRequestKeyBytes()optional string request_key = 2;LogEvent.BuildersetRequestKey(String value)optional string request_key = 2;LogEvent.BuilderclearRequestKey()optional string request_key = 2;LogEvent.BuildersetRequestKeyBytes(ByteString value)optional string request_key = 2;booleanhasTimeStamp().google.protobuf.Timestamp time_stamp = 3;TimestampgetTimeStamp().google.protobuf.Timestamp time_stamp = 3;LogEvent.BuildersetTimeStamp(Timestamp value).google.protobuf.Timestamp time_stamp = 3;LogEvent.BuildersetTimeStamp(Timestamp.Builder builderForValue).google.protobuf.Timestamp time_stamp = 3;LogEvent.BuildermergeTimeStamp(Timestamp value).google.protobuf.Timestamp time_stamp = 3;LogEvent.BuilderclearTimeStamp().google.protobuf.Timestamp time_stamp = 3;Timestamp.BuildergetTimeStampBuilder().google.protobuf.Timestamp time_stamp = 3;TimestampOrBuildergetTimeStampOrBuilder().google.protobuf.Timestamp time_stamp = 3;intgetLogLevel()int32 log_level = 4;LogEvent.BuildersetLogLevel(int value)int32 log_level = 4;LogEvent.BuilderclearLogLevel()int32 log_level = 4;intgetAttributesCount()map<string, string> attributes = 5;booleancontainsAttributes(String key)map<string, string> attributes = 5;Map<String, String>getAttributes()Use getAttributesMap instead. Map<String, String>getAttributesMap()map<string, string> attributes = 5;StringgetAttributesOrDefault(String key, String defaultValue)map<string, string> attributes = 5;StringgetAttributesOrThrow(String key)map<string, string> attributes = 5;LogEvent.BuilderclearAttributes()LogEvent.BuilderremoveAttributes(String key)map<string, string> attributes = 5;Map<String, String>getMutableAttributes()Use alternate mutation accessors instead. LogEvent.BuilderputAttributes(String key, String value)map<string, string> attributes = 5;LogEvent.BuilderputAllAttributes(Map<String, String> values)map<string, string> attributes = 5;StringgetMessage()string message = 6;ByteStringgetMessageBytes()string message = 6;LogEvent.BuildersetMessage(String value)string message = 6;LogEvent.BuilderclearMessage()string message = 6;LogEvent.BuildersetMessageBytes(ByteString value)string message = 6;booleanhasError()optional string error = 7;StringgetError()optional string error = 7;ByteStringgetErrorBytes()optional string error = 7;LogEvent.BuildersetError(String value)optional string error = 7;LogEvent.BuilderclearError()optional string error = 7;LogEvent.BuildersetErrorBytes(ByteString value)optional string error = 7;booleanhasStack()optional string stack = 8;StringgetStack()optional string stack = 8;ByteStringgetStackBytes()optional string stack = 8;LogEvent.BuildersetStack(String value)optional string stack = 8;LogEvent.BuilderclearStack()optional string stack = 8;LogEvent.BuildersetStackBytes(ByteString value)optional string stack = 8;final LogEvent.BuildersetUnknownFields(UnknownFieldSet unknownFields)final LogEvent.BuildermergeUnknownFields(UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField -
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
clear, clearOneof, clone, findInitializationErrors, getInitializationErrorString, mergeUnknownFields, toString -
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
mergeDelimitedFrom -
Methods inherited from class com.google.protobuf.Message.Builder
addRepeatedField, clear, clearField, clearOneof, clone, mergeFrom, mergeUnknownFields, setField, setRepeatedField, setUnknownFields -
Methods inherited from class com.google.protobuf.MessageLite.Builder
build, buildPartial -
Methods inherited from class com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getDescriptor
final static Descriptors.Descriptor getDescriptor()
-
clear
LogEvent.Builder clear()
-
getDescriptorForType
Descriptors.Descriptor getDescriptorForType()
-
getDefaultInstanceForType
LogEvent getDefaultInstanceForType()
-
buildPartial
LogEvent buildPartial()
-
clone
LogEvent.Builder clone()
-
setField
LogEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
-
clearField
LogEvent.Builder clearField(Descriptors.FieldDescriptor field)
-
clearOneof
LogEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
-
setRepeatedField
LogEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
-
addRepeatedField
LogEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
-
mergeFrom
LogEvent.Builder mergeFrom(Message other)
-
mergeFrom
LogEvent.Builder mergeFrom(LogEvent other)
-
isInitialized
final boolean isInitialized()
-
mergeFrom
LogEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
getDeploymentKey
String getDeploymentKey()
string deployment_key = 1;- Returns:
The deploymentKey.
-
getDeploymentKeyBytes
ByteString getDeploymentKeyBytes()
string deployment_key = 1;- Returns:
The bytes for deploymentKey.
-
setDeploymentKey
LogEvent.Builder setDeploymentKey(String value)
string deployment_key = 1;- Parameters:
value- The deploymentKey to set.- Returns:
This builder for chaining.
-
clearDeploymentKey
LogEvent.Builder clearDeploymentKey()
string deployment_key = 1;- Returns:
This builder for chaining.
-
setDeploymentKeyBytes
LogEvent.Builder setDeploymentKeyBytes(ByteString value)
string deployment_key = 1;- Parameters:
value- The bytes for deploymentKey to set.- Returns:
This builder for chaining.
-
hasRequestKey
boolean hasRequestKey()
optional string request_key = 2;- Returns:
Whether the requestKey field is set.
-
getRequestKey
String getRequestKey()
optional string request_key = 2;- Returns:
The requestKey.
-
getRequestKeyBytes
ByteString getRequestKeyBytes()
optional string request_key = 2;- Returns:
The bytes for requestKey.
-
setRequestKey
LogEvent.Builder setRequestKey(String value)
optional string request_key = 2;- Parameters:
value- The requestKey to set.- Returns:
This builder for chaining.
-
clearRequestKey
LogEvent.Builder clearRequestKey()
optional string request_key = 2;- Returns:
This builder for chaining.
-
setRequestKeyBytes
LogEvent.Builder setRequestKeyBytes(ByteString value)
optional string request_key = 2;- Parameters:
value- The bytes for requestKey to set.- Returns:
This builder for chaining.
-
hasTimeStamp
boolean hasTimeStamp()
.google.protobuf.Timestamp time_stamp = 3;- Returns:
Whether the timeStamp field is set.
-
getTimeStamp
Timestamp getTimeStamp()
.google.protobuf.Timestamp time_stamp = 3;- Returns:
The timeStamp.
-
setTimeStamp
LogEvent.Builder setTimeStamp(Timestamp value)
.google.protobuf.Timestamp time_stamp = 3;
-
setTimeStamp
LogEvent.Builder setTimeStamp(Timestamp.Builder builderForValue)
.google.protobuf.Timestamp time_stamp = 3;
-
mergeTimeStamp
LogEvent.Builder mergeTimeStamp(Timestamp value)
.google.protobuf.Timestamp time_stamp = 3;
-
clearTimeStamp
LogEvent.Builder clearTimeStamp()
.google.protobuf.Timestamp time_stamp = 3;
-
getTimeStampBuilder
Timestamp.Builder getTimeStampBuilder()
.google.protobuf.Timestamp time_stamp = 3;
-
getTimeStampOrBuilder
TimestampOrBuilder getTimeStampOrBuilder()
.google.protobuf.Timestamp time_stamp = 3;
-
getLogLevel
int getLogLevel()
int32 log_level = 4;- Returns:
The logLevel.
-
setLogLevel
LogEvent.Builder setLogLevel(int value)
int32 log_level = 4;- Parameters:
value- The logLevel to set.- Returns:
This builder for chaining.
-
clearLogLevel
LogEvent.Builder clearLogLevel()
int32 log_level = 4;- Returns:
This builder for chaining.
-
getAttributesCount
int getAttributesCount()
map<string, string> attributes = 5;
-
containsAttributes
boolean containsAttributes(String key)
map<string, string> attributes = 5;
-
getAttributes
@Deprecated() Map<String, String> getAttributes()
Use getAttributesMap instead.
-
getAttributesMap
Map<String, String> getAttributesMap()
map<string, string> attributes = 5;
-
getAttributesOrDefault
String getAttributesOrDefault(String key, String defaultValue)
map<string, string> attributes = 5;
-
getAttributesOrThrow
String getAttributesOrThrow(String key)
map<string, string> attributes = 5;
-
clearAttributes
LogEvent.Builder clearAttributes()
-
removeAttributes
LogEvent.Builder removeAttributes(String key)
map<string, string> attributes = 5;
-
getMutableAttributes
@Deprecated() Map<String, String> getMutableAttributes()
Use alternate mutation accessors instead.
-
putAttributes
LogEvent.Builder putAttributes(String key, String value)
map<string, string> attributes = 5;
-
putAllAttributes
LogEvent.Builder putAllAttributes(Map<String, String> values)
map<string, string> attributes = 5;
-
getMessage
String getMessage()
string message = 6;- Returns:
The message.
-
getMessageBytes
ByteString getMessageBytes()
string message = 6;- Returns:
The bytes for message.
-
setMessage
LogEvent.Builder setMessage(String value)
string message = 6;- Parameters:
value- The message to set.- Returns:
This builder for chaining.
-
clearMessage
LogEvent.Builder clearMessage()
string message = 6;- Returns:
This builder for chaining.
-
setMessageBytes
LogEvent.Builder setMessageBytes(ByteString value)
string message = 6;- Parameters:
value- The bytes for message to set.- Returns:
This builder for chaining.
-
hasError
boolean hasError()
optional string error = 7;- Returns:
Whether the error field is set.
-
getErrorBytes
ByteString getErrorBytes()
optional string error = 7;- Returns:
The bytes for error.
-
setError
LogEvent.Builder setError(String value)
optional string error = 7;- Parameters:
value- The error to set.- Returns:
This builder for chaining.
-
clearError
LogEvent.Builder clearError()
optional string error = 7;- Returns:
This builder for chaining.
-
setErrorBytes
LogEvent.Builder setErrorBytes(ByteString value)
optional string error = 7;- Parameters:
value- The bytes for error to set.- Returns:
This builder for chaining.
-
hasStack
boolean hasStack()
optional string stack = 8;- Returns:
Whether the stack field is set.
-
getStackBytes
ByteString getStackBytes()
optional string stack = 8;- Returns:
The bytes for stack.
-
setStack
LogEvent.Builder setStack(String value)
optional string stack = 8;- Parameters:
value- The stack to set.- Returns:
This builder for chaining.
-
clearStack
LogEvent.Builder clearStack()
optional string stack = 8;- Returns:
This builder for chaining.
-
setStackBytes
LogEvent.Builder setStackBytes(ByteString value)
optional string stack = 8;- Parameters:
value- The bytes for stack to set.- Returns:
This builder for chaining.
-
setUnknownFields
final LogEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
-
mergeUnknownFields
final LogEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
-
-
-
-