public final class RequestMetadata extends com.google.protobuf.GeneratedMessageV3 implements RequestMetadataOrBuilder
auditlog.v2.RequestMetadata
Modifier and Type | Class and Description |
---|---|
static class |
RequestMetadata.Address
Protobuf type
auditlog.v2.RequestMetadata.Address |
static interface |
RequestMetadata.AddressOrBuilder |
static class |
RequestMetadata.Builder
Protobuf type
auditlog.v2.RequestMetadata |
static class |
RequestMetadata.RequestType
Protobuf enum
auditlog.v2.RequestMetadata.RequestType |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
CLIENT_ADDRESS_FIELD_NUMBER |
static int |
CLIENT_ID_FIELD_NUMBER |
static int |
CLIENT_TRACE_ID_FIELD_NUMBER |
static int |
CONNECTION_ID_FIELD_NUMBER |
static int |
LOCAL_ADDRESS_FIELD_NUMBER |
static int |
REQUEST_ID_FIELD_NUMBER |
static int |
REQUEST_PATH_FIELD_NUMBER |
static int |
REQUEST_TYPE_FIELD_NUMBER |
static int |
SERVICE_SPAN_ID_FIELD_NUMBER |
static int |
SERVICE_TRACE_ID_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
RequestMetadata.Address |
getClientAddress(int index)
Network address of the remote client.
|
int |
getClientAddressCount()
Network address of the remote client.
|
List<RequestMetadata.Address> |
getClientAddressList()
Network address of the remote client.
|
RequestMetadata.AddressOrBuilder |
getClientAddressOrBuilder(int index)
Network address of the remote client.
|
List<? extends RequestMetadata.AddressOrBuilder> |
getClientAddressOrBuilderList()
Network address of the remote client.
|
String |
getClientId()
A client-provided identifier, logged for correlation, as a courtesy to
the client.
|
com.google.protobuf.ByteString |
getClientIdBytes()
A client-provided identifier, logged for correlation, as a courtesy to
the client.
|
com.google.protobuf.ByteString |
getClientTraceId()
A client-provided identifier, logged for correlation, as a courtesy to
the client.
|
String |
getConnectionId()
Uniquely identifies an authenticated connection.
|
com.google.protobuf.ByteString |
getConnectionIdBytes()
Uniquely identifies an authenticated connection.
|
static RequestMetadata |
getDefaultInstance() |
RequestMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
RequestMetadata.Address |
getLocalAddress()
The local address that received the request on the service.
|
RequestMetadata.AddressOrBuilder |
getLocalAddressOrBuilder()
The local address that received the request on the service.
|
com.google.protobuf.Parser<RequestMetadata> |
getParserForType() |
String |
getRequestId(int index)
Uniquely identifies a client request.
|
com.google.protobuf.ByteString |
getRequestIdBytes(int index)
Uniquely identifies a client request.
|
int |
getRequestIdCount()
Uniquely identifies a client request.
|
com.google.protobuf.ProtocolStringList |
getRequestIdList()
Uniquely identifies a client request.
|
String |
getRequestPath()
Service path for the request
This would help in identifying the endpoint version (e.g.
|
com.google.protobuf.ByteString |
getRequestPathBytes()
Service path for the request
This would help in identifying the endpoint version (e.g.
|
RequestMetadata.RequestType |
getRequestType()
Request Type for the request
|
int |
getRequestTypeValue()
Request Type for the request
|
int |
getSerializedSize() |
com.google.protobuf.ByteString |
getServiceSpanId()
The distributed span ID of the request, if the service generated one.
|
com.google.protobuf.ByteString |
getServiceTraceId()
The distributed trace ID of the request, if the service has or provides
one.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasLocalAddress()
The local address that received the request on the service.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RequestMetadata.Builder |
newBuilder() |
static RequestMetadata.Builder |
newBuilder(RequestMetadata prototype) |
RequestMetadata.Builder |
newBuilderForType() |
protected RequestMetadata.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RequestMetadata |
parseDelimitedFrom(InputStream input) |
static RequestMetadata |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RequestMetadata |
parseFrom(byte[] data) |
static RequestMetadata |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RequestMetadata |
parseFrom(ByteBuffer data) |
static RequestMetadata |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RequestMetadata |
parseFrom(com.google.protobuf.ByteString data) |
static RequestMetadata |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RequestMetadata |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RequestMetadata |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RequestMetadata |
parseFrom(InputStream input) |
static RequestMetadata |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RequestMetadata> |
parser() |
RequestMetadata.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int CONNECTION_ID_FIELD_NUMBER
public static final int REQUEST_ID_FIELD_NUMBER
public static final int CLIENT_ADDRESS_FIELD_NUMBER
public static final int CLIENT_ID_FIELD_NUMBER
public static final int CLIENT_TRACE_ID_FIELD_NUMBER
public static final int LOCAL_ADDRESS_FIELD_NUMBER
public static final int SERVICE_TRACE_ID_FIELD_NUMBER
public static final int SERVICE_SPAN_ID_FIELD_NUMBER
public static final int REQUEST_TYPE_FIELD_NUMBER
public static final int REQUEST_PATH_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public String getConnectionId()
Uniquely identifies an authenticated connection. Only present for successfully authenticated connections. May be used during analysis to correlate events back to credentials.
string connection_id = 1 [(.confluent.protobuf.field_meta) = { ... }
getConnectionId
in interface RequestMetadataOrBuilder
public com.google.protobuf.ByteString getConnectionIdBytes()
Uniquely identifies an authenticated connection. Only present for successfully authenticated connections. May be used during analysis to correlate events back to credentials.
string connection_id = 1 [(.confluent.protobuf.field_meta) = { ... }
getConnectionIdBytes
in interface RequestMetadataOrBuilder
public com.google.protobuf.ProtocolStringList getRequestIdList()
Uniquely identifies a client request. May be used during analysis to correlate authorization check and response audit events back to the original client's request.
repeated string request_id = 2 [(.confluent.protobuf.field_meta) = { ... }
getRequestIdList
in interface RequestMetadataOrBuilder
public int getRequestIdCount()
Uniquely identifies a client request. May be used during analysis to correlate authorization check and response audit events back to the original client's request.
repeated string request_id = 2 [(.confluent.protobuf.field_meta) = { ... }
getRequestIdCount
in interface RequestMetadataOrBuilder
public String getRequestId(int index)
Uniquely identifies a client request. May be used during analysis to correlate authorization check and response audit events back to the original client's request.
repeated string request_id = 2 [(.confluent.protobuf.field_meta) = { ... }
getRequestId
in interface RequestMetadataOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getRequestIdBytes(int index)
Uniquely identifies a client request. May be used during analysis to correlate authorization check and response audit events back to the original client's request.
repeated string request_id = 2 [(.confluent.protobuf.field_meta) = { ... }
getRequestIdBytes
in interface RequestMetadataOrBuilder
index
- The index of the value to return.public List<RequestMetadata.Address> getClientAddressList()
Network address of the remote client. Source service must take care to ensure that this is not the address of a load balancer.
repeated .auditlog.v2.RequestMetadata.Address client_address = 3 [(.confluent.protobuf.field_meta) = { ... }
getClientAddressList
in interface RequestMetadataOrBuilder
public List<? extends RequestMetadata.AddressOrBuilder> getClientAddressOrBuilderList()
Network address of the remote client. Source service must take care to ensure that this is not the address of a load balancer.
repeated .auditlog.v2.RequestMetadata.Address client_address = 3 [(.confluent.protobuf.field_meta) = { ... }
getClientAddressOrBuilderList
in interface RequestMetadataOrBuilder
public int getClientAddressCount()
Network address of the remote client. Source service must take care to ensure that this is not the address of a load balancer.
repeated .auditlog.v2.RequestMetadata.Address client_address = 3 [(.confluent.protobuf.field_meta) = { ... }
getClientAddressCount
in interface RequestMetadataOrBuilder
public RequestMetadata.Address getClientAddress(int index)
Network address of the remote client. Source service must take care to ensure that this is not the address of a load balancer.
repeated .auditlog.v2.RequestMetadata.Address client_address = 3 [(.confluent.protobuf.field_meta) = { ... }
getClientAddress
in interface RequestMetadataOrBuilder
public RequestMetadata.AddressOrBuilder getClientAddressOrBuilder(int index)
Network address of the remote client. Source service must take care to ensure that this is not the address of a load balancer.
repeated .auditlog.v2.RequestMetadata.Address client_address = 3 [(.confluent.protobuf.field_meta) = { ... }
getClientAddressOrBuilder
in interface RequestMetadataOrBuilder
public String getClientId()
A client-provided identifier, logged for correlation, as a courtesy to the client. May be omitted if, to reduce volume, the system combines multiple events that are otherwise similar except for this field.
string client_id = 4 [(.confluent.protobuf.field_meta) = { ... }
getClientId
in interface RequestMetadataOrBuilder
public com.google.protobuf.ByteString getClientIdBytes()
A client-provided identifier, logged for correlation, as a courtesy to the client. May be omitted if, to reduce volume, the system combines multiple events that are otherwise similar except for this field.
string client_id = 4 [(.confluent.protobuf.field_meta) = { ... }
getClientIdBytes
in interface RequestMetadataOrBuilder
public com.google.protobuf.ByteString getClientTraceId()
A client-provided identifier, logged for correlation, as a courtesy to the client. May be omitted if, to reduce volume, the system combines multiple events that are otherwise similar except for this field.
bytes client_trace_id = 5 [(.confluent.protobuf.field_meta) = { ... }
getClientTraceId
in interface RequestMetadataOrBuilder
public boolean hasLocalAddress()
The local address that received the request on the service.
.auditlog.v2.RequestMetadata.Address local_address = 6 [(.confluent.protobuf.field_meta) = { ... }
hasLocalAddress
in interface RequestMetadataOrBuilder
public RequestMetadata.Address getLocalAddress()
The local address that received the request on the service.
.auditlog.v2.RequestMetadata.Address local_address = 6 [(.confluent.protobuf.field_meta) = { ... }
getLocalAddress
in interface RequestMetadataOrBuilder
public RequestMetadata.AddressOrBuilder getLocalAddressOrBuilder()
The local address that received the request on the service.
.auditlog.v2.RequestMetadata.Address local_address = 6 [(.confluent.protobuf.field_meta) = { ... }
getLocalAddressOrBuilder
in interface RequestMetadataOrBuilder
public com.google.protobuf.ByteString getServiceTraceId()
The distributed trace ID of the request, if the service has or provides one. Intended for correlation with OpenTelemetry tracing or its cousins. May be omitted if, to reduce volume, the system combines multiple events that are otherwise similar except for this field.
bytes service_trace_id = 7 [(.confluent.protobuf.field_meta) = { ... }
getServiceTraceId
in interface RequestMetadataOrBuilder
public com.google.protobuf.ByteString getServiceSpanId()
The distributed span ID of the request, if the service generated one. Intended for correlation with OpenTelemetry tracing or its cousins. May be omitted if, to reduce volume, the system combines multiple events that are otherwise similar except for this field.
bytes service_span_id = 8 [(.confluent.protobuf.field_meta) = { ... }
getServiceSpanId
in interface RequestMetadataOrBuilder
public int getRequestTypeValue()
Request Type for the request
.auditlog.v2.RequestMetadata.RequestType request_type = 9 [(.confluent.protobuf.field_meta) = { ... }
getRequestTypeValue
in interface RequestMetadataOrBuilder
public RequestMetadata.RequestType getRequestType()
Request Type for the request
.auditlog.v2.RequestMetadata.RequestType request_type = 9 [(.confluent.protobuf.field_meta) = { ... }
getRequestType
in interface RequestMetadataOrBuilder
public String getRequestPath()
Service path for the request This would help in identifying the endpoint version (e.g. http v1/v2)
string request_path = 10 [(.confluent.protobuf.field_meta) = { ... }
getRequestPath
in interface RequestMetadataOrBuilder
public com.google.protobuf.ByteString getRequestPathBytes()
Service path for the request This would help in identifying the endpoint version (e.g. http v1/v2)
string request_path = 10 [(.confluent.protobuf.field_meta) = { ... }
getRequestPathBytes
in interface RequestMetadataOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static RequestMetadata parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RequestMetadata parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RequestMetadata parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RequestMetadata parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RequestMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RequestMetadata parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static RequestMetadata parseFrom(InputStream input) throws IOException
IOException
public static RequestMetadata parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RequestMetadata parseDelimitedFrom(InputStream input) throws IOException
IOException
public static RequestMetadata parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static RequestMetadata parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static RequestMetadata parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public RequestMetadata.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static RequestMetadata.Builder newBuilder()
public static RequestMetadata.Builder newBuilder(RequestMetadata prototype)
public RequestMetadata.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected RequestMetadata.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static RequestMetadata getDefaultInstance()
public static com.google.protobuf.Parser<RequestMetadata> parser()
public com.google.protobuf.Parser<RequestMetadata> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public RequestMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder