public static final class Request.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Request.Builder> implements RequestOrBuilder
auditlog.v2.Request
Modifier and Type | Method and Description |
---|---|
Request.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Request |
build() |
Request |
buildPartial() |
Request.Builder |
clear() |
Request.Builder |
clearAccessType()
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.
|
Request.Builder |
clearData()
Audit-worthy details from the operation request.
|
Request.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Request.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Request.Builder |
clearSchema()
Reference to a JSON-Schema definition describing the structure and
validation constraints of the semi-structured (google.protobuf.Struct)
field.
|
Request.Builder |
clone() |
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.Struct.Builder |
getDataBuilder()
Audit-worthy details from the operation request.
|
com.google.protobuf.StructOrBuilder |
getDataOrBuilder()
Audit-worthy details from the operation request.
|
Request |
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.
|
boolean |
hasData()
Audit-worthy details from the operation request.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Request.Builder |
mergeData(com.google.protobuf.Struct value)
Audit-worthy details from the operation request.
|
Request.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Request.Builder |
mergeFrom(com.google.protobuf.Message other) |
Request.Builder |
mergeFrom(Request other) |
Request.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Request.Builder |
setAccessType(Request.AccessType value)
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.
|
Request.Builder |
setAccessTypeValue(int value)
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.
|
Request.Builder |
setData(com.google.protobuf.Struct.Builder builderForValue)
Audit-worthy details from the operation request.
|
Request.Builder |
setData(com.google.protobuf.Struct value)
Audit-worthy details from the operation request.
|
Request.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Request.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Request.Builder |
setSchema(String value)
Reference to a JSON-Schema definition describing the structure and
validation constraints of the semi-structured (google.protobuf.Struct)
field.
|
Request.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.
|
Request.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, 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<Request.Builder>
public Request.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<Request.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<Request.Builder>
public Request getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Request build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Request buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Request.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<Request.Builder>
public Request.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<Request.Builder>
public Request.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Request.Builder>
public Request.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Request.Builder>
public Request.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<Request.Builder>
public Request.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<Request.Builder>
public Request.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Request.Builder>
public Request.Builder mergeFrom(Request other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Request.Builder>
public Request.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<Request.Builder>
IOException
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.Builder setAccessTypeValue(int value)
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;
value
- The enum numeric value on the wire for accessType to set.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 Request.Builder setAccessType(Request.AccessType value)
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;
value
- The accessType to set.public Request.Builder clearAccessType()
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;
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 Request.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 Request.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 Request.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 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 Request.Builder setData(com.google.protobuf.Struct value)
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;
public Request.Builder setData(com.google.protobuf.Struct.Builder builderForValue)
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;
public Request.Builder mergeData(com.google.protobuf.Struct value)
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;
public Request.Builder clearData()
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;
public com.google.protobuf.Struct.Builder getDataBuilder()
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;
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 Request.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Request.Builder>
public final Request.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Request.Builder>