public final class Result extends com.google.protobuf.GeneratedMessageV3 implements ResultOrBuilder
auditlog.v2.Result
Modifier and Type | Class and Description |
---|---|
static class |
Result.Builder
Protobuf type
auditlog.v2.Result |
static class |
Result.Status
Protobuf enum
auditlog.v2.Result.Status |
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 |
DATA_FIELD_NUMBER |
static int |
SCHEMA_FIELD_NUMBER |
static int |
STATUS_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
com.google.protobuf.Struct |
getData()
Audit-worthy details from the operation result.
|
com.google.protobuf.StructOrBuilder |
getDataOrBuilder()
Audit-worthy details from the operation result.
|
static Result |
getDefaultInstance() |
Result |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<Result> |
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() |
Result.Status |
getStatus()
Must be set to a non-default value.
|
int |
getStatusValue()
Must be set to a non-default value.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasData()
Audit-worthy details from the operation result.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Result.Builder |
newBuilder() |
static Result.Builder |
newBuilder(Result prototype) |
Result.Builder |
newBuilderForType() |
protected Result.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Result |
parseDelimitedFrom(InputStream input) |
static Result |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Result |
parseFrom(byte[] data) |
static Result |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Result |
parseFrom(ByteBuffer data) |
static Result |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Result |
parseFrom(com.google.protobuf.ByteString data) |
static Result |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Result |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Result |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Result |
parseFrom(InputStream input) |
static Result |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Result> |
parser() |
Result.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 STATUS_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 getStatusValue()
Must be set to a non-default value.
.auditlog.v2.Result.Status status = 1;
getStatusValue
in interface ResultOrBuilder
public Result.Status getStatus()
Must be set to a non-default value.
.auditlog.v2.Result.Status status = 1;
getStatus
in interface ResultOrBuilder
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 ResultOrBuilder
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 ResultOrBuilder
public boolean hasData()
Audit-worthy details from the operation result. MUST not include credential secrets, and SHOULD NOT include large or redundant information. For many types of requests, the "success" or "failure" status is all that's audit-worthy, and the `data` field can be omitted. Requests that create, modify, or match resource IDs that were not explicitly specified in the request payload SHOULD include relevant resource IDs in the `cloud_resources` or `platform_resources` fields, and MAY also include them in the result data if necessary to provide more context. If the `schema` field is present, the `data` MUST satisfy any validation constraints of the referenced schema.
.google.protobuf.Struct data = 3;
hasData
in interface ResultOrBuilder
public com.google.protobuf.Struct getData()
Audit-worthy details from the operation result. MUST not include credential secrets, and SHOULD NOT include large or redundant information. For many types of requests, the "success" or "failure" status is all that's audit-worthy, and the `data` field can be omitted. Requests that create, modify, or match resource IDs that were not explicitly specified in the request payload SHOULD include relevant resource IDs in the `cloud_resources` or `platform_resources` fields, and MAY also include them in the result data if necessary to provide more context. If the `schema` field is present, the `data` MUST satisfy any validation constraints of the referenced schema.
.google.protobuf.Struct data = 3;
getData
in interface ResultOrBuilder
public com.google.protobuf.StructOrBuilder getDataOrBuilder()
Audit-worthy details from the operation result. MUST not include credential secrets, and SHOULD NOT include large or redundant information. For many types of requests, the "success" or "failure" status is all that's audit-worthy, and the `data` field can be omitted. Requests that create, modify, or match resource IDs that were not explicitly specified in the request payload SHOULD include relevant resource IDs in the `cloud_resources` or `platform_resources` fields, and MAY also include them in the result data if necessary to provide more context. If the `schema` field is present, the `data` MUST satisfy any validation constraints of the referenced schema.
.google.protobuf.Struct data = 3;
getDataOrBuilder
in interface ResultOrBuilder
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 Result parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Result parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Result parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Result parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Result parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Result parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Result parseFrom(InputStream input) throws IOException
IOException
public static Result parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Result parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Result parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Result parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Result parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Result.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Result.Builder newBuilder()
public static Result.Builder newBuilder(Result prototype)
public Result.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Result.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static Result getDefaultInstance()
public static com.google.protobuf.Parser<Result> parser()
public com.google.protobuf.Parser<Result> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Result getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder