public static final class Result.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Result.Builder> implements ResultOrBuilder
auditlog.v2.Result
Modifier and Type | Method and Description |
---|---|
Result.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Result |
build() |
Result |
buildPartial() |
Result.Builder |
clear() |
Result.Builder |
clearData()
Audit-worthy details from the operation result.
|
Result.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Result.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Result.Builder |
clearSchema()
Reference to a JSON-Schema definition describing the structure and
validation constraints of the semi-structured (google.protobuf.Struct)
field.
|
Result.Builder |
clearStatus()
Must be set to a non-default value.
|
Result.Builder |
clone() |
com.google.protobuf.Struct |
getData()
Audit-worthy details from the operation result.
|
com.google.protobuf.Struct.Builder |
getDataBuilder()
Audit-worthy details from the operation result.
|
com.google.protobuf.StructOrBuilder |
getDataOrBuilder()
Audit-worthy details from the operation result.
|
Result |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
Result.Status |
getStatus()
Must be set to a non-default value.
|
int |
getStatusValue()
Must be set to a non-default value.
|
boolean |
hasData()
Audit-worthy details from the operation result.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Result.Builder |
mergeData(com.google.protobuf.Struct value)
Audit-worthy details from the operation result.
|
Result.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Result.Builder |
mergeFrom(com.google.protobuf.Message other) |
Result.Builder |
mergeFrom(Result other) |
Result.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Result.Builder |
setData(com.google.protobuf.Struct.Builder builderForValue)
Audit-worthy details from the operation result.
|
Result.Builder |
setData(com.google.protobuf.Struct value)
Audit-worthy details from the operation result.
|
Result.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Result.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Result.Builder |
setSchema(String value)
Reference to a JSON-Schema definition describing the structure and
validation constraints of the semi-structured (google.protobuf.Struct)
field.
|
Result.Builder |
setSchemaBytes(com.google.protobuf.ByteString value)
Reference to a JSON-Schema definition describing the structure and
validation constraints of the semi-structured (google.protobuf.Struct)
field.
|
Result.Builder |
setStatus(Result.Status value)
Must be set to a non-default value.
|
Result.Builder |
setStatusValue(int value)
Must be set to a non-default value.
|
Result.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Result.Builder>
public Result.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Result.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Result.Builder>
public Result getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Result build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Result buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Result.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Result.Builder>
public Result.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Result.Builder>
public Result.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Result.Builder>
public Result.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Result.Builder>
public Result.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Result.Builder>
public Result.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Result.Builder>
public Result.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Result.Builder>
public Result.Builder mergeFrom(Result other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Result.Builder>
public Result.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Result.Builder>
IOException
public int getStatusValue()
Must be set to a non-default value.
.auditlog.v2.Result.Status status = 1;
getStatusValue
in interface ResultOrBuilder
public Result.Builder setStatusValue(int value)
Must be set to a non-default value.
.auditlog.v2.Result.Status status = 1;
value
- The enum numeric value on the wire for status to set.public Result.Status getStatus()
Must be set to a non-default value.
.auditlog.v2.Result.Status status = 1;
getStatus
in interface ResultOrBuilder
public Result.Builder setStatus(Result.Status value)
Must be set to a non-default value.
.auditlog.v2.Result.Status status = 1;
value
- The status to set.public Result.Builder clearStatus()
Must be set to a non-default value.
.auditlog.v2.Result.Status status = 1;
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 Result.Builder setSchema(String value)
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) = { ... }
value
- The schema to set.public Result.Builder clearSchema()
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) = { ... }
public Result.Builder setSchemaBytes(com.google.protobuf.ByteString value)
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) = { ... }
value
- The bytes for schema to set.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 Result.Builder setData(com.google.protobuf.Struct value)
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;
public Result.Builder setData(com.google.protobuf.Struct.Builder builderForValue)
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;
public Result.Builder mergeData(com.google.protobuf.Struct value)
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;
public Result.Builder clearData()
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;
public com.google.protobuf.Struct.Builder getDataBuilder()
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;
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 Result.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Result.Builder>
public final Result.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Result.Builder>