Package ai.chalk.protos.chalk.server.v1
Class AuditLog.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
ai.chalk.protos.chalk.server.v1.AuditLog.Builder
- All Implemented Interfaces:
AuditLogOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AuditLog
public static final class AuditLog.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
implements AuditLogOrBuilder
Protobuf type
chalk.server.v1.AuditLog-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The agent who made the request.clearAt()The time the request was made.The status of the request.A description of the request, taken from the service endpointThe service endpoint that was calledclearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearIp()The IP address of the clientclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The trace ID of the request, if available.clone()booleancontainsRequest(String key) The serialized requestbooleancontainsResponse(String key) The serialized responsegetAgent()The agent who made the request.The agent who made the request.The agent who made the request.com.google.protobuf.TimestampgetAt()The time the request was made.com.google.protobuf.Timestamp.BuilderThe time the request was made.com.google.protobuf.TimestampOrBuilderThe time the request was made.com.google.rpc.CodegetCode()The status of the request.intThe status of the request.A description of the request, taken from the service endpointcom.google.protobuf.ByteStringA description of the request, taken from the service endpointstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe service endpoint that was calledcom.google.protobuf.ByteStringThe service endpoint that was calledgetIp()The IP address of the clientcom.google.protobuf.ByteStringThe IP address of the clientDeprecated.Deprecated.Deprecated.intThe serialized requestThe serialized requestcom.google.protobuf.ValuegetRequestOrDefault(String key, com.google.protobuf.Value defaultValue) The serialized requestcom.google.protobuf.ValuegetRequestOrThrow(String key) The serialized requestDeprecated.intThe serialized responseThe serialized responsecom.google.protobuf.ValuegetResponseOrDefault(String key, com.google.protobuf.Value defaultValue) The serialized responsecom.google.protobuf.ValuegetResponseOrThrow(String key) The serialized responselongThe trace ID of the request, if available.booleanhasAgent()The agent who made the request.booleanhasAt()The time the request was made.booleanhasCode()The status of the request.booleanA description of the request, taken from the service endpointbooleanhasIp()The IP address of the clientbooleanThe trace ID of the request, if available.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeAgent(Agent value) The agent who made the request.mergeAt(com.google.protobuf.Timestamp value) The time the request was made.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final AuditLog.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllRequest(Map<String, com.google.protobuf.Value> values) The serialized requestputAllResponse(Map<String, com.google.protobuf.Value> values) The serialized responseputRequest(String key, com.google.protobuf.Value value) The serialized requestcom.google.protobuf.Value.BuilderThe serialized requestputResponse(String key, com.google.protobuf.Value value) The serialized responsecom.google.protobuf.Value.BuilderThe serialized responseremoveRequest(String key) The serialized requestremoveResponse(String key) The serialized responseThe agent who made the request.setAgent(Agent.Builder builderForValue) The agent who made the request.setAt(com.google.protobuf.Timestamp value) The time the request was made.setAt(com.google.protobuf.Timestamp.Builder builderForValue) The time the request was made.setCode(com.google.rpc.Code value) The status of the request.setCodeValue(int value) The status of the request.setDescription(String value) A description of the request, taken from the service endpointsetDescriptionBytes(com.google.protobuf.ByteString value) A description of the request, taken from the service endpointsetEndpoint(String value) The service endpoint that was calledsetEndpointBytes(com.google.protobuf.ByteString value) The service endpoint that was calledThe IP address of the clientsetIpBytes(com.google.protobuf.ByteString value) The IP address of the clientsetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setTraceId(long value) The trace ID of the request, if available.final AuditLog.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
setField
public AuditLog.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
setRepeatedField
public AuditLog.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
addRepeatedField
public AuditLog.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AuditLog.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
mergeFrom
public AuditLog.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AuditLog.Builder>- Throws:
IOException
-
hasAgent
public boolean hasAgent()The agent who made the request.
.chalk.auth.v1.Agent agent = 1 [json_name = "agent"];- Specified by:
hasAgentin interfaceAuditLogOrBuilder- Returns:
- Whether the agent field is set.
-
getAgent
The agent who made the request.
.chalk.auth.v1.Agent agent = 1 [json_name = "agent"];- Specified by:
getAgentin interfaceAuditLogOrBuilder- Returns:
- The agent.
-
setAgent
The agent who made the request.
.chalk.auth.v1.Agent agent = 1 [json_name = "agent"]; -
setAgent
The agent who made the request.
.chalk.auth.v1.Agent agent = 1 [json_name = "agent"]; -
mergeAgent
The agent who made the request.
.chalk.auth.v1.Agent agent = 1 [json_name = "agent"]; -
clearAgent
The agent who made the request.
.chalk.auth.v1.Agent agent = 1 [json_name = "agent"]; -
getAgentBuilder
The agent who made the request.
.chalk.auth.v1.Agent agent = 1 [json_name = "agent"]; -
getAgentOrBuilder
The agent who made the request.
.chalk.auth.v1.Agent agent = 1 [json_name = "agent"];- Specified by:
getAgentOrBuilderin interfaceAuditLogOrBuilder
-
hasDescription
public boolean hasDescription()A description of the request, taken from the service endpoint
optional string description = 2 [json_name = "description"];- Specified by:
hasDescriptionin interfaceAuditLogOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
A description of the request, taken from the service endpoint
optional string description = 2 [json_name = "description"];- Specified by:
getDescriptionin interfaceAuditLogOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()A description of the request, taken from the service endpoint
optional string description = 2 [json_name = "description"];- Specified by:
getDescriptionBytesin interfaceAuditLogOrBuilder- Returns:
- The bytes for description.
-
setDescription
A description of the request, taken from the service endpoint
optional string description = 2 [json_name = "description"];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
A description of the request, taken from the service endpoint
optional string description = 2 [json_name = "description"];- Returns:
- This builder for chaining.
-
setDescriptionBytes
A description of the request, taken from the service endpoint
optional string description = 2 [json_name = "description"];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getEndpoint
The service endpoint that was called
string endpoint = 3 [json_name = "endpoint"];- Specified by:
getEndpointin interfaceAuditLogOrBuilder- Returns:
- The endpoint.
-
getEndpointBytes
public com.google.protobuf.ByteString getEndpointBytes()The service endpoint that was called
string endpoint = 3 [json_name = "endpoint"];- Specified by:
getEndpointBytesin interfaceAuditLogOrBuilder- Returns:
- The bytes for endpoint.
-
setEndpoint
The service endpoint that was called
string endpoint = 3 [json_name = "endpoint"];- Parameters:
value- The endpoint to set.- Returns:
- This builder for chaining.
-
clearEndpoint
The service endpoint that was called
string endpoint = 3 [json_name = "endpoint"];- Returns:
- This builder for chaining.
-
setEndpointBytes
The service endpoint that was called
string endpoint = 3 [json_name = "endpoint"];- Parameters:
value- The bytes for endpoint to set.- Returns:
- This builder for chaining.
-
hasAt
public boolean hasAt()The time the request was made.
.google.protobuf.Timestamp at = 4 [json_name = "at"];- Specified by:
hasAtin interfaceAuditLogOrBuilder- Returns:
- Whether the at field is set.
-
getAt
public com.google.protobuf.Timestamp getAt()The time the request was made.
.google.protobuf.Timestamp at = 4 [json_name = "at"];- Specified by:
getAtin interfaceAuditLogOrBuilder- Returns:
- The at.
-
setAt
The time the request was made.
.google.protobuf.Timestamp at = 4 [json_name = "at"]; -
setAt
The time the request was made.
.google.protobuf.Timestamp at = 4 [json_name = "at"]; -
mergeAt
The time the request was made.
.google.protobuf.Timestamp at = 4 [json_name = "at"]; -
clearAt
The time the request was made.
.google.protobuf.Timestamp at = 4 [json_name = "at"]; -
getAtBuilder
public com.google.protobuf.Timestamp.Builder getAtBuilder()The time the request was made.
.google.protobuf.Timestamp at = 4 [json_name = "at"]; -
getAtOrBuilder
public com.google.protobuf.TimestampOrBuilder getAtOrBuilder()The time the request was made.
.google.protobuf.Timestamp at = 4 [json_name = "at"];- Specified by:
getAtOrBuilderin interfaceAuditLogOrBuilder
-
hasTraceId
public boolean hasTraceId()The trace ID of the request, if available.
optional uint64 trace_id = 5 [json_name = "traceId"];- Specified by:
hasTraceIdin interfaceAuditLogOrBuilder- Returns:
- Whether the traceId field is set.
-
getTraceId
public long getTraceId()The trace ID of the request, if available.
optional uint64 trace_id = 5 [json_name = "traceId"];- Specified by:
getTraceIdin interfaceAuditLogOrBuilder- Returns:
- The traceId.
-
setTraceId
The trace ID of the request, if available.
optional uint64 trace_id = 5 [json_name = "traceId"];- Parameters:
value- The traceId to set.- Returns:
- This builder for chaining.
-
clearTraceId
The trace ID of the request, if available.
optional uint64 trace_id = 5 [json_name = "traceId"];- Returns:
- This builder for chaining.
-
hasCode
public boolean hasCode()The status of the request.
optional .google.rpc.Code code = 6 [json_name = "code"];- Specified by:
hasCodein interfaceAuditLogOrBuilder- Returns:
- Whether the code field is set.
-
getCodeValue
public int getCodeValue()The status of the request.
optional .google.rpc.Code code = 6 [json_name = "code"];- Specified by:
getCodeValuein interfaceAuditLogOrBuilder- Returns:
- The enum numeric value on the wire for code.
-
setCodeValue
The status of the request.
optional .google.rpc.Code code = 6 [json_name = "code"];- Parameters:
value- The enum numeric value on the wire for code to set.- Returns:
- This builder for chaining.
-
getCode
public com.google.rpc.Code getCode()The status of the request.
optional .google.rpc.Code code = 6 [json_name = "code"];- Specified by:
getCodein interfaceAuditLogOrBuilder- Returns:
- The code.
-
setCode
The status of the request.
optional .google.rpc.Code code = 6 [json_name = "code"];- Parameters:
value- The code to set.- Returns:
- This builder for chaining.
-
clearCode
The status of the request.
optional .google.rpc.Code code = 6 [json_name = "code"];- Returns:
- This builder for chaining.
-
getRequestCount
public int getRequestCount()Description copied from interface:AuditLogOrBuilderThe serialized request
map<string, .google.protobuf.Value> request = 7 [json_name = "request"];- Specified by:
getRequestCountin interfaceAuditLogOrBuilder
-
containsRequest
The serialized request
map<string, .google.protobuf.Value> request = 7 [json_name = "request"];- Specified by:
containsRequestin interfaceAuditLogOrBuilder
-
getRequest
Deprecated.UsegetRequestMap()instead.- Specified by:
getRequestin interfaceAuditLogOrBuilder
-
getRequestMap
The serialized request
map<string, .google.protobuf.Value> request = 7 [json_name = "request"];- Specified by:
getRequestMapin interfaceAuditLogOrBuilder
-
getRequestOrDefault
public com.google.protobuf.Value getRequestOrDefault(String key, com.google.protobuf.Value defaultValue) The serialized request
map<string, .google.protobuf.Value> request = 7 [json_name = "request"];- Specified by:
getRequestOrDefaultin interfaceAuditLogOrBuilder
-
getRequestOrThrow
The serialized request
map<string, .google.protobuf.Value> request = 7 [json_name = "request"];- Specified by:
getRequestOrThrowin interfaceAuditLogOrBuilder
-
clearRequest
-
removeRequest
The serialized request
map<string, .google.protobuf.Value> request = 7 [json_name = "request"]; -
getMutableRequest
Deprecated.Use alternate mutation accessors instead. -
putRequest
The serialized request
map<string, .google.protobuf.Value> request = 7 [json_name = "request"]; -
putAllRequest
The serialized request
map<string, .google.protobuf.Value> request = 7 [json_name = "request"]; -
putRequestBuilderIfAbsent
The serialized request
map<string, .google.protobuf.Value> request = 7 [json_name = "request"]; -
getResponseCount
public int getResponseCount()Description copied from interface:AuditLogOrBuilderThe serialized response
map<string, .google.protobuf.Value> response = 8 [json_name = "response"];- Specified by:
getResponseCountin interfaceAuditLogOrBuilder
-
containsResponse
The serialized response
map<string, .google.protobuf.Value> response = 8 [json_name = "response"];- Specified by:
containsResponsein interfaceAuditLogOrBuilder
-
getResponse
Deprecated.UsegetResponseMap()instead.- Specified by:
getResponsein interfaceAuditLogOrBuilder
-
getResponseMap
The serialized response
map<string, .google.protobuf.Value> response = 8 [json_name = "response"];- Specified by:
getResponseMapin interfaceAuditLogOrBuilder
-
getResponseOrDefault
public com.google.protobuf.Value getResponseOrDefault(String key, com.google.protobuf.Value defaultValue) The serialized response
map<string, .google.protobuf.Value> response = 8 [json_name = "response"];- Specified by:
getResponseOrDefaultin interfaceAuditLogOrBuilder
-
getResponseOrThrow
The serialized response
map<string, .google.protobuf.Value> response = 8 [json_name = "response"];- Specified by:
getResponseOrThrowin interfaceAuditLogOrBuilder
-
clearResponse
-
removeResponse
The serialized response
map<string, .google.protobuf.Value> response = 8 [json_name = "response"]; -
getMutableResponse
Deprecated.Use alternate mutation accessors instead. -
putResponse
The serialized response
map<string, .google.protobuf.Value> response = 8 [json_name = "response"]; -
putAllResponse
The serialized response
map<string, .google.protobuf.Value> response = 8 [json_name = "response"]; -
putResponseBuilderIfAbsent
The serialized response
map<string, .google.protobuf.Value> response = 8 [json_name = "response"]; -
hasIp
public boolean hasIp()The IP address of the client
optional string ip = 9 [json_name = "ip"];- Specified by:
hasIpin interfaceAuditLogOrBuilder- Returns:
- Whether the ip field is set.
-
getIp
The IP address of the client
optional string ip = 9 [json_name = "ip"];- Specified by:
getIpin interfaceAuditLogOrBuilder- Returns:
- The ip.
-
getIpBytes
public com.google.protobuf.ByteString getIpBytes()The IP address of the client
optional string ip = 9 [json_name = "ip"];- Specified by:
getIpBytesin interfaceAuditLogOrBuilder- Returns:
- The bytes for ip.
-
setIp
The IP address of the client
optional string ip = 9 [json_name = "ip"];- Parameters:
value- The ip to set.- Returns:
- This builder for chaining.
-
clearIp
The IP address of the client
optional string ip = 9 [json_name = "ip"];- Returns:
- This builder for chaining.
-
setIpBytes
The IP address of the client
optional string ip = 9 [json_name = "ip"];- Parameters:
value- The bytes for ip to set.- Returns:
- This builder for chaining.
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AuditLog.Builder>
-