Package ai.chalk.protos.chalk.server.v1
Interface AuditLogOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AuditLog,AuditLog.Builder
public interface AuditLogOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsRequest(String key) The serialized requestbooleancontainsResponse(String key) The serialized responsegetAgent()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.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 endpointThe 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.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.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasAgent
boolean hasAgent()The agent who made the request.
.chalk.auth.v1.Agent agent = 1 [json_name = "agent"];- Returns:
- Whether the agent field is set.
-
getAgent
Agent getAgent()The agent who made the request.
.chalk.auth.v1.Agent agent = 1 [json_name = "agent"];- Returns:
- The agent.
-
getAgentOrBuilder
AgentOrBuilder getAgentOrBuilder()The agent who made the request.
.chalk.auth.v1.Agent agent = 1 [json_name = "agent"]; -
hasDescription
boolean hasDescription()A description of the request, taken from the service endpoint
optional string description = 2 [json_name = "description"];- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()A description of the request, taken from the service endpoint
optional string description = 2 [json_name = "description"];- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()A description of the request, taken from the service endpoint
optional string description = 2 [json_name = "description"];- Returns:
- The bytes for description.
-
getEndpoint
String getEndpoint()The service endpoint that was called
string endpoint = 3 [json_name = "endpoint"];- Returns:
- The endpoint.
-
getEndpointBytes
com.google.protobuf.ByteString getEndpointBytes()The service endpoint that was called
string endpoint = 3 [json_name = "endpoint"];- Returns:
- The bytes for endpoint.
-
hasAt
boolean hasAt()The time the request was made.
.google.protobuf.Timestamp at = 4 [json_name = "at"];- Returns:
- Whether the at field is set.
-
getAt
com.google.protobuf.Timestamp getAt()The time the request was made.
.google.protobuf.Timestamp at = 4 [json_name = "at"];- Returns:
- The at.
-
getAtOrBuilder
com.google.protobuf.TimestampOrBuilder getAtOrBuilder()The time the request was made.
.google.protobuf.Timestamp at = 4 [json_name = "at"]; -
hasTraceId
boolean hasTraceId()The trace ID of the request, if available.
optional uint64 trace_id = 5 [json_name = "traceId"];- Returns:
- Whether the traceId field is set.
-
getTraceId
long getTraceId()The trace ID of the request, if available.
optional uint64 trace_id = 5 [json_name = "traceId"];- Returns:
- The traceId.
-
hasCode
boolean hasCode()The status of the request.
optional .google.rpc.Code code = 6 [json_name = "code"];- Returns:
- Whether the code field is set.
-
getCodeValue
int getCodeValue()The status of the request.
optional .google.rpc.Code code = 6 [json_name = "code"];- Returns:
- The enum numeric value on the wire for code.
-
getCode
com.google.rpc.Code getCode()The status of the request.
optional .google.rpc.Code code = 6 [json_name = "code"];- Returns:
- The code.
-
getRequestCount
int getRequestCount()The serialized request
map<string, .google.protobuf.Value> request = 7 [json_name = "request"]; -
containsRequest
The serialized request
map<string, .google.protobuf.Value> request = 7 [json_name = "request"]; -
getRequest
Deprecated.UsegetRequestMap()instead. -
getRequestMap
The serialized request
map<string, .google.protobuf.Value> request = 7 [json_name = "request"]; -
getRequestOrDefault
The serialized request
map<string, .google.protobuf.Value> request = 7 [json_name = "request"]; -
getRequestOrThrow
The serialized request
map<string, .google.protobuf.Value> request = 7 [json_name = "request"]; -
getResponseCount
int getResponseCount()The serialized response
map<string, .google.protobuf.Value> response = 8 [json_name = "response"]; -
containsResponse
The serialized response
map<string, .google.protobuf.Value> response = 8 [json_name = "response"]; -
getResponse
Deprecated.UsegetResponseMap()instead. -
getResponseMap
The serialized response
map<string, .google.protobuf.Value> response = 8 [json_name = "response"]; -
getResponseOrDefault
The serialized response
map<string, .google.protobuf.Value> response = 8 [json_name = "response"]; -
getResponseOrThrow
The serialized response
map<string, .google.protobuf.Value> response = 8 [json_name = "response"]; -
hasIp
boolean hasIp()The IP address of the client
optional string ip = 9 [json_name = "ip"];- Returns:
- Whether the ip field is set.
-
getIp
String getIp()The IP address of the client
optional string ip = 9 [json_name = "ip"];- Returns:
- The ip.
-
getIpBytes
com.google.protobuf.ByteString getIpBytes()The IP address of the client
optional string ip = 9 [json_name = "ip"];- Returns:
- The bytes for ip.
-