public final class Request extends com.google.protobuf.GeneratedMessageV3 implements RequestOrBuilder
auditlog.v2.Request
Modifier and Type | Class and Description |
---|---|
static class |
Request.AccessType
Protobuf enum
auditlog.v2.Request.AccessType |
static class |
Request.Builder
Protobuf type
auditlog.v2.Request |
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 |
ACCESS_TYPE_FIELD_NUMBER |
static int |
DATA_FIELD_NUMBER |
static int |
SCHEMA_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Request.AccessType |
getAccessType()
Is the request intended to be read-only or modify state?
Service owners are strongly encouraged to set this field, rather than
leaving it unknown.
|
int |
getAccessTypeValue()
Is the request intended to be read-only or modify state?
Service owners are strongly encouraged to set this field, rather than
leaving it unknown.
|
com.google.protobuf.Struct |
getData()
Audit-worthy details from the operation request.
|
com.google.protobuf.StructOrBuilder |
getDataOrBuilder()
Audit-worthy details from the operation request.
|
static Request |
getDefaultInstance() |
Request |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<Request> |
getParserForType() |
String |
getSchema()
Reference to a JSON-Schema definition describing the structure and
validation constraints of the semi-structured (google.protobuf.Struct)
field.
|
com.google.protobuf.ByteString |
getSchemaBytes()
Reference to a JSON-Schema definition describing the structure and
validation constraints of the semi-structured (google.protobuf.Struct)
field.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasData()
Audit-worthy details from the operation request.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Request.Builder |
newBuilder() |
static Request.Builder |
newBuilder(Request prototype) |
Request.Builder |
newBuilderForType() |
protected Request.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Request |
parseDelimitedFrom(InputStream input) |
static Request |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Request |
parseFrom(byte[] data) |
static Request |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Request |
parseFrom(ByteBuffer data) |
static Request |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Request |
parseFrom(com.google.protobuf.ByteString data) |
static Request |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Request |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Request |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Request |
parseFrom(InputStream input) |
static Request |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Request> |
parser() |
Request.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 ACCESS_TYPE_FIELD_NUMBER
public static final int SCHEMA_FIELD_NUMBER
public static final int DATA_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 int getAccessTypeValue()
Is the request intended to be read-only or modify state? Service owners are strongly encouraged to set this field, rather than leaving it unknown.
.auditlog.v2.Request.AccessType access_type = 1;
getAccessTypeValue
in interface RequestOrBuilder
public Request.AccessType getAccessType()
Is the request intended to be read-only or modify state? Service owners are strongly encouraged to set this field, rather than leaving it unknown.
.auditlog.v2.Request.AccessType access_type = 1;
getAccessType
in interface RequestOrBuilder
public String getSchema()
Reference to a JSON-Schema definition describing the structure and validation constraints of the semi-structured (google.protobuf.Struct) field. This is a JSON Pointer, relative to the compound JSON schema we bundle and make available. See: https://json-schema.org/understanding-json-schema/structuring.html#bundling So for example, if the compound JSON schema has a base URI of "http://example.com/schemas", then "general/HttpRequest" would resolve to "http://example.com/schemas#/$defs/general/HttpRequest". Examples: "general/HttpRequest" "kafka/IncrementalAlterConfigsRequest" "api/cmk.v2.Cluster" Schema definition authors should ensure that only backwards-compatible changes are made to their definitions. Rather than introduce backwards- incompatible changes, they should start a new schema definition with a different id. Note, this field is OPTIONAL. But, if it is present, the reference MUST be resolvable, and the `data` MUST satisfy the corresponding validation constraints.
string schema = 2 [(.confluent.protobuf.field_meta) = { ... }
getSchema
in interface RequestOrBuilder
public com.google.protobuf.ByteString getSchemaBytes()
Reference to a JSON-Schema definition describing the structure and validation constraints of the semi-structured (google.protobuf.Struct) field. This is a JSON Pointer, relative to the compound JSON schema we bundle and make available. See: https://json-schema.org/understanding-json-schema/structuring.html#bundling So for example, if the compound JSON schema has a base URI of "http://example.com/schemas", then "general/HttpRequest" would resolve to "http://example.com/schemas#/$defs/general/HttpRequest". Examples: "general/HttpRequest" "kafka/IncrementalAlterConfigsRequest" "api/cmk.v2.Cluster" Schema definition authors should ensure that only backwards-compatible changes are made to their definitions. Rather than introduce backwards- incompatible changes, they should start a new schema definition with a different id. Note, this field is OPTIONAL. But, if it is present, the reference MUST be resolvable, and the `data` MUST satisfy the corresponding validation constraints.
string schema = 2 [(.confluent.protobuf.field_meta) = { ... }
getSchemaBytes
in interface RequestOrBuilder
public boolean hasData()
Audit-worthy details from the operation request. MUST not include credential secrets, and SHOULD NOT include large or redundant information. If `schema` field is present, the `data` MUST satisfy any validation constraints of the referenced schema.
.google.protobuf.Struct data = 3;
hasData
in interface RequestOrBuilder
public com.google.protobuf.Struct getData()
Audit-worthy details from the operation request. MUST not include credential secrets, and SHOULD NOT include large or redundant information. If `schema` field is present, the `data` MUST satisfy any validation constraints of the referenced schema.
.google.protobuf.Struct data = 3;
getData
in interface RequestOrBuilder
public com.google.protobuf.StructOrBuilder getDataOrBuilder()
Audit-worthy details from the operation request. MUST not include credential secrets, and SHOULD NOT include large or redundant information. If `schema` field is present, the `data` MUST satisfy any validation constraints of the referenced schema.
.google.protobuf.Struct data = 3;
getDataOrBuilder
in interface RequestOrBuilder
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 Request parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Request parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Request parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Request parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Request parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Request parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Request parseFrom(InputStream input) throws IOException
IOException
public static Request parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Request parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Request parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Request parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Request parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Request.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Request.Builder newBuilder()
public static Request.Builder newBuilder(Request prototype)
public Request.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Request.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static Request getDefaultInstance()
public static com.google.protobuf.Parser<Request> parser()
public com.google.protobuf.Parser<Request> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Request getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder