public static final class AuthenticationInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AuthenticationInfo.Builder> implements AuthenticationInfoOrBuilder
auditlog.v2.AuthenticationInfo
Modifier and Type | Method and Description |
---|---|
AuthenticationInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AuthenticationInfo |
build() |
AuthenticationInfo |
buildPartial() |
AuthenticationInfo.Builder |
clear() |
AuthenticationInfo.Builder |
clearCredentials()
The information sent to prove the identity of the principal.
|
AuthenticationInfo.Builder |
clearErrorMessage()
A short, human-readable description of the reason authentication failed.
|
AuthenticationInfo.Builder |
clearExposure()
We divide operations into "internal" and "customer" operations.
|
AuthenticationInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AuthenticationInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AuthenticationInfo.Builder |
clearOriginalPrincipal()
In the case where the original actor provides credentials to prove
their own identity and their right to assume the identity of a different
principal, THIS field captures the original actor, while `principal`
captures the assumed principal.
|
AuthenticationInfo.Builder |
clearPrincipal()
The identity that authorization decisions are checked against
when processing the request; usually a user or service account.
|
AuthenticationInfo.Builder |
clearResult()
SUCCESS if the service accepted the principal's credentials, FAILURE
otherwise.
|
AuthenticationInfo.Builder |
clone() |
Credentials |
getCredentials()
The information sent to prove the identity of the principal.
|
Credentials.Builder |
getCredentialsBuilder()
The information sent to prove the identity of the principal.
|
CredentialsOrBuilder |
getCredentialsOrBuilder()
The information sent to prove the identity of the principal.
|
AuthenticationInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getErrorMessage()
A short, human-readable description of the reason authentication failed.
|
com.google.protobuf.ByteString |
getErrorMessageBytes()
A short, human-readable description of the reason authentication failed.
|
AuthenticationInfo.Exposure |
getExposure()
We divide operations into "internal" and "customer" operations.
|
int |
getExposureValue()
We divide operations into "internal" and "customer" operations.
|
Principal |
getOriginalPrincipal()
In the case where the original actor provides credentials to prove
their own identity and their right to assume the identity of a different
principal, THIS field captures the original actor, while `principal`
captures the assumed principal.
|
Principal.Builder |
getOriginalPrincipalBuilder()
In the case where the original actor provides credentials to prove
their own identity and their right to assume the identity of a different
principal, THIS field captures the original actor, while `principal`
captures the assumed principal.
|
PrincipalOrBuilder |
getOriginalPrincipalOrBuilder()
In the case where the original actor provides credentials to prove
their own identity and their right to assume the identity of a different
principal, THIS field captures the original actor, while `principal`
captures the assumed principal.
|
Principal |
getPrincipal()
The identity that authorization decisions are checked against
when processing the request; usually a user or service account.
|
Principal.Builder |
getPrincipalBuilder()
The identity that authorization decisions are checked against
when processing the request; usually a user or service account.
|
PrincipalOrBuilder |
getPrincipalOrBuilder()
The identity that authorization decisions are checked against
when processing the request; usually a user or service account.
|
AuthenticationInfo.Result |
getResult()
SUCCESS if the service accepted the principal's credentials, FAILURE
otherwise.
|
int |
getResultValue()
SUCCESS if the service accepted the principal's credentials, FAILURE
otherwise.
|
boolean |
hasCredentials()
The information sent to prove the identity of the principal.
|
boolean |
hasOriginalPrincipal()
In the case where the original actor provides credentials to prove
their own identity and their right to assume the identity of a different
principal, THIS field captures the original actor, while `principal`
captures the assumed principal.
|
boolean |
hasPrincipal()
The identity that authorization decisions are checked against
when processing the request; usually a user or service account.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AuthenticationInfo.Builder |
mergeCredentials(Credentials value)
The information sent to prove the identity of the principal.
|
AuthenticationInfo.Builder |
mergeFrom(AuthenticationInfo other) |
AuthenticationInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AuthenticationInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
AuthenticationInfo.Builder |
mergeOriginalPrincipal(Principal value)
In the case where the original actor provides credentials to prove
their own identity and their right to assume the identity of a different
principal, THIS field captures the original actor, while `principal`
captures the assumed principal.
|
AuthenticationInfo.Builder |
mergePrincipal(Principal value)
The identity that authorization decisions are checked against
when processing the request; usually a user or service account.
|
AuthenticationInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AuthenticationInfo.Builder |
setCredentials(Credentials.Builder builderForValue)
The information sent to prove the identity of the principal.
|
AuthenticationInfo.Builder |
setCredentials(Credentials value)
The information sent to prove the identity of the principal.
|
AuthenticationInfo.Builder |
setErrorMessage(String value)
A short, human-readable description of the reason authentication failed.
|
AuthenticationInfo.Builder |
setErrorMessageBytes(com.google.protobuf.ByteString value)
A short, human-readable description of the reason authentication failed.
|
AuthenticationInfo.Builder |
setExposure(AuthenticationInfo.Exposure value)
We divide operations into "internal" and "customer" operations.
|
AuthenticationInfo.Builder |
setExposureValue(int value)
We divide operations into "internal" and "customer" operations.
|
AuthenticationInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AuthenticationInfo.Builder |
setOriginalPrincipal(Principal.Builder builderForValue)
In the case where the original actor provides credentials to prove
their own identity and their right to assume the identity of a different
principal, THIS field captures the original actor, while `principal`
captures the assumed principal.
|
AuthenticationInfo.Builder |
setOriginalPrincipal(Principal value)
In the case where the original actor provides credentials to prove
their own identity and their right to assume the identity of a different
principal, THIS field captures the original actor, while `principal`
captures the assumed principal.
|
AuthenticationInfo.Builder |
setPrincipal(Principal.Builder builderForValue)
The identity that authorization decisions are checked against
when processing the request; usually a user or service account.
|
AuthenticationInfo.Builder |
setPrincipal(Principal value)
The identity that authorization decisions are checked against
when processing the request; usually a user or service account.
|
AuthenticationInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AuthenticationInfo.Builder |
setResult(AuthenticationInfo.Result value)
SUCCESS if the service accepted the principal's credentials, FAILURE
otherwise.
|
AuthenticationInfo.Builder |
setResultValue(int value)
SUCCESS if the service accepted the principal's credentials, FAILURE
otherwise.
|
AuthenticationInfo.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<AuthenticationInfo.Builder>
public AuthenticationInfo.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<AuthenticationInfo.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<AuthenticationInfo.Builder>
public AuthenticationInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public AuthenticationInfo build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public AuthenticationInfo buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public AuthenticationInfo.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<AuthenticationInfo.Builder>
public AuthenticationInfo.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<AuthenticationInfo.Builder>
public AuthenticationInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<AuthenticationInfo.Builder>
public AuthenticationInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<AuthenticationInfo.Builder>
public AuthenticationInfo.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<AuthenticationInfo.Builder>
public AuthenticationInfo.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<AuthenticationInfo.Builder>
public AuthenticationInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<AuthenticationInfo.Builder>
public AuthenticationInfo.Builder mergeFrom(AuthenticationInfo other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<AuthenticationInfo.Builder>
public AuthenticationInfo.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<AuthenticationInfo.Builder>
IOException
public int getExposureValue()
We divide operations into "internal" and "customer" operations. All "customer" operations are those which must be requested by a Confluent customer's user or service account. On the other hand, "internal" operations are those requested by systems or employees of Confluent through special internal endpoints. If you're not sure, ask @audit-logs-eng-team in #audit-logs-eng. Downstream, we will scrub audit log events of "internal" authentication info before forwarding to customers. This includes removal of credentials info, and replacement of the employee principal with a generic "Confluent" principal. Down internal streams, we will hide all but the `confluent_user` or `confluent_service_account` details of "customer" principals from employees, unless privileged and working an incident.
.auditlog.v2.AuthenticationInfo.Exposure exposure = 1 [(.confluent.protobuf.field_meta) = { ... }
getExposureValue
in interface AuthenticationInfoOrBuilder
public AuthenticationInfo.Builder setExposureValue(int value)
We divide operations into "internal" and "customer" operations. All "customer" operations are those which must be requested by a Confluent customer's user or service account. On the other hand, "internal" operations are those requested by systems or employees of Confluent through special internal endpoints. If you're not sure, ask @audit-logs-eng-team in #audit-logs-eng. Downstream, we will scrub audit log events of "internal" authentication info before forwarding to customers. This includes removal of credentials info, and replacement of the employee principal with a generic "Confluent" principal. Down internal streams, we will hide all but the `confluent_user` or `confluent_service_account` details of "customer" principals from employees, unless privileged and working an incident.
.auditlog.v2.AuthenticationInfo.Exposure exposure = 1 [(.confluent.protobuf.field_meta) = { ... }
value
- The enum numeric value on the wire for exposure to set.public AuthenticationInfo.Exposure getExposure()
We divide operations into "internal" and "customer" operations. All "customer" operations are those which must be requested by a Confluent customer's user or service account. On the other hand, "internal" operations are those requested by systems or employees of Confluent through special internal endpoints. If you're not sure, ask @audit-logs-eng-team in #audit-logs-eng. Downstream, we will scrub audit log events of "internal" authentication info before forwarding to customers. This includes removal of credentials info, and replacement of the employee principal with a generic "Confluent" principal. Down internal streams, we will hide all but the `confluent_user` or `confluent_service_account` details of "customer" principals from employees, unless privileged and working an incident.
.auditlog.v2.AuthenticationInfo.Exposure exposure = 1 [(.confluent.protobuf.field_meta) = { ... }
getExposure
in interface AuthenticationInfoOrBuilder
public AuthenticationInfo.Builder setExposure(AuthenticationInfo.Exposure value)
We divide operations into "internal" and "customer" operations. All "customer" operations are those which must be requested by a Confluent customer's user or service account. On the other hand, "internal" operations are those requested by systems or employees of Confluent through special internal endpoints. If you're not sure, ask @audit-logs-eng-team in #audit-logs-eng. Downstream, we will scrub audit log events of "internal" authentication info before forwarding to customers. This includes removal of credentials info, and replacement of the employee principal with a generic "Confluent" principal. Down internal streams, we will hide all but the `confluent_user` or `confluent_service_account` details of "customer" principals from employees, unless privileged and working an incident.
.auditlog.v2.AuthenticationInfo.Exposure exposure = 1 [(.confluent.protobuf.field_meta) = { ... }
value
- The exposure to set.public AuthenticationInfo.Builder clearExposure()
We divide operations into "internal" and "customer" operations. All "customer" operations are those which must be requested by a Confluent customer's user or service account. On the other hand, "internal" operations are those requested by systems or employees of Confluent through special internal endpoints. If you're not sure, ask @audit-logs-eng-team in #audit-logs-eng. Downstream, we will scrub audit log events of "internal" authentication info before forwarding to customers. This includes removal of credentials info, and replacement of the employee principal with a generic "Confluent" principal. Down internal streams, we will hide all but the `confluent_user` or `confluent_service_account` details of "customer" principals from employees, unless privileged and working an incident.
.auditlog.v2.AuthenticationInfo.Exposure exposure = 1 [(.confluent.protobuf.field_meta) = { ... }
public boolean hasPrincipal()
The identity that authorization decisions are checked against when processing the request; usually a user or service account. The service MUST NOT fill in this field without first validating credentials and ensuring the credentials can be used to assume the identity of the principal. (If this field is present, `result` must be `SUCCESS`.) In the case where the original actor provides credentials to prove their own identity and their right to assume the identity of a different principal, THIS field captures the assumed principal, while `original_principal` captures the identity of the original actor.
.auditlog.v2.Principal principal = 2;
hasPrincipal
in interface AuthenticationInfoOrBuilder
public Principal getPrincipal()
The identity that authorization decisions are checked against when processing the request; usually a user or service account. The service MUST NOT fill in this field without first validating credentials and ensuring the credentials can be used to assume the identity of the principal. (If this field is present, `result` must be `SUCCESS`.) In the case where the original actor provides credentials to prove their own identity and their right to assume the identity of a different principal, THIS field captures the assumed principal, while `original_principal` captures the identity of the original actor.
.auditlog.v2.Principal principal = 2;
getPrincipal
in interface AuthenticationInfoOrBuilder
public AuthenticationInfo.Builder setPrincipal(Principal value)
The identity that authorization decisions are checked against when processing the request; usually a user or service account. The service MUST NOT fill in this field without first validating credentials and ensuring the credentials can be used to assume the identity of the principal. (If this field is present, `result` must be `SUCCESS`.) In the case where the original actor provides credentials to prove their own identity and their right to assume the identity of a different principal, THIS field captures the assumed principal, while `original_principal` captures the identity of the original actor.
.auditlog.v2.Principal principal = 2;
public AuthenticationInfo.Builder setPrincipal(Principal.Builder builderForValue)
The identity that authorization decisions are checked against when processing the request; usually a user or service account. The service MUST NOT fill in this field without first validating credentials and ensuring the credentials can be used to assume the identity of the principal. (If this field is present, `result` must be `SUCCESS`.) In the case where the original actor provides credentials to prove their own identity and their right to assume the identity of a different principal, THIS field captures the assumed principal, while `original_principal` captures the identity of the original actor.
.auditlog.v2.Principal principal = 2;
public AuthenticationInfo.Builder mergePrincipal(Principal value)
The identity that authorization decisions are checked against when processing the request; usually a user or service account. The service MUST NOT fill in this field without first validating credentials and ensuring the credentials can be used to assume the identity of the principal. (If this field is present, `result` must be `SUCCESS`.) In the case where the original actor provides credentials to prove their own identity and their right to assume the identity of a different principal, THIS field captures the assumed principal, while `original_principal` captures the identity of the original actor.
.auditlog.v2.Principal principal = 2;
public AuthenticationInfo.Builder clearPrincipal()
The identity that authorization decisions are checked against when processing the request; usually a user or service account. The service MUST NOT fill in this field without first validating credentials and ensuring the credentials can be used to assume the identity of the principal. (If this field is present, `result` must be `SUCCESS`.) In the case where the original actor provides credentials to prove their own identity and their right to assume the identity of a different principal, THIS field captures the assumed principal, while `original_principal` captures the identity of the original actor.
.auditlog.v2.Principal principal = 2;
public Principal.Builder getPrincipalBuilder()
The identity that authorization decisions are checked against when processing the request; usually a user or service account. The service MUST NOT fill in this field without first validating credentials and ensuring the credentials can be used to assume the identity of the principal. (If this field is present, `result` must be `SUCCESS`.) In the case where the original actor provides credentials to prove their own identity and their right to assume the identity of a different principal, THIS field captures the assumed principal, while `original_principal` captures the identity of the original actor.
.auditlog.v2.Principal principal = 2;
public PrincipalOrBuilder getPrincipalOrBuilder()
The identity that authorization decisions are checked against when processing the request; usually a user or service account. The service MUST NOT fill in this field without first validating credentials and ensuring the credentials can be used to assume the identity of the principal. (If this field is present, `result` must be `SUCCESS`.) In the case where the original actor provides credentials to prove their own identity and their right to assume the identity of a different principal, THIS field captures the assumed principal, while `original_principal` captures the identity of the original actor.
.auditlog.v2.Principal principal = 2;
getPrincipalOrBuilder
in interface AuthenticationInfoOrBuilder
public boolean hasOriginalPrincipal()
In the case where the original actor provides credentials to prove their own identity and their right to assume the identity of a different principal, THIS field captures the original actor, while `principal` captures the assumed principal. Authorization decisions are based off the privileges attached to `principal`, not this `original_principal`. The service MUST NOT fill in this field unless the `principal` field is also present and has a different value.
.auditlog.v2.Principal original_principal = 3;
hasOriginalPrincipal
in interface AuthenticationInfoOrBuilder
public Principal getOriginalPrincipal()
In the case where the original actor provides credentials to prove their own identity and their right to assume the identity of a different principal, THIS field captures the original actor, while `principal` captures the assumed principal. Authorization decisions are based off the privileges attached to `principal`, not this `original_principal`. The service MUST NOT fill in this field unless the `principal` field is also present and has a different value.
.auditlog.v2.Principal original_principal = 3;
getOriginalPrincipal
in interface AuthenticationInfoOrBuilder
public AuthenticationInfo.Builder setOriginalPrincipal(Principal value)
In the case where the original actor provides credentials to prove their own identity and their right to assume the identity of a different principal, THIS field captures the original actor, while `principal` captures the assumed principal. Authorization decisions are based off the privileges attached to `principal`, not this `original_principal`. The service MUST NOT fill in this field unless the `principal` field is also present and has a different value.
.auditlog.v2.Principal original_principal = 3;
public AuthenticationInfo.Builder setOriginalPrincipal(Principal.Builder builderForValue)
In the case where the original actor provides credentials to prove their own identity and their right to assume the identity of a different principal, THIS field captures the original actor, while `principal` captures the assumed principal. Authorization decisions are based off the privileges attached to `principal`, not this `original_principal`. The service MUST NOT fill in this field unless the `principal` field is also present and has a different value.
.auditlog.v2.Principal original_principal = 3;
public AuthenticationInfo.Builder mergeOriginalPrincipal(Principal value)
In the case where the original actor provides credentials to prove their own identity and their right to assume the identity of a different principal, THIS field captures the original actor, while `principal` captures the assumed principal. Authorization decisions are based off the privileges attached to `principal`, not this `original_principal`. The service MUST NOT fill in this field unless the `principal` field is also present and has a different value.
.auditlog.v2.Principal original_principal = 3;
public AuthenticationInfo.Builder clearOriginalPrincipal()
In the case where the original actor provides credentials to prove their own identity and their right to assume the identity of a different principal, THIS field captures the original actor, while `principal` captures the assumed principal. Authorization decisions are based off the privileges attached to `principal`, not this `original_principal`. The service MUST NOT fill in this field unless the `principal` field is also present and has a different value.
.auditlog.v2.Principal original_principal = 3;
public Principal.Builder getOriginalPrincipalBuilder()
In the case where the original actor provides credentials to prove their own identity and their right to assume the identity of a different principal, THIS field captures the original actor, while `principal` captures the assumed principal. Authorization decisions are based off the privileges attached to `principal`, not this `original_principal`. The service MUST NOT fill in this field unless the `principal` field is also present and has a different value.
.auditlog.v2.Principal original_principal = 3;
public PrincipalOrBuilder getOriginalPrincipalOrBuilder()
In the case where the original actor provides credentials to prove their own identity and their right to assume the identity of a different principal, THIS field captures the original actor, while `principal` captures the assumed principal. Authorization decisions are based off the privileges attached to `principal`, not this `original_principal`. The service MUST NOT fill in this field unless the `principal` field is also present and has a different value.
.auditlog.v2.Principal original_principal = 3;
getOriginalPrincipalOrBuilder
in interface AuthenticationInfoOrBuilder
public int getResultValue()
SUCCESS if the service accepted the principal's credentials, FAILURE otherwise. In case of FAILURE, an error_message should be provided.
.auditlog.v2.AuthenticationInfo.Result result = 4;
getResultValue
in interface AuthenticationInfoOrBuilder
public AuthenticationInfo.Builder setResultValue(int value)
SUCCESS if the service accepted the principal's credentials, FAILURE otherwise. In case of FAILURE, an error_message should be provided.
.auditlog.v2.AuthenticationInfo.Result result = 4;
value
- The enum numeric value on the wire for result to set.public AuthenticationInfo.Result getResult()
SUCCESS if the service accepted the principal's credentials, FAILURE otherwise. In case of FAILURE, an error_message should be provided.
.auditlog.v2.AuthenticationInfo.Result result = 4;
getResult
in interface AuthenticationInfoOrBuilder
public AuthenticationInfo.Builder setResult(AuthenticationInfo.Result value)
SUCCESS if the service accepted the principal's credentials, FAILURE otherwise. In case of FAILURE, an error_message should be provided.
.auditlog.v2.AuthenticationInfo.Result result = 4;
value
- The result to set.public AuthenticationInfo.Builder clearResult()
SUCCESS if the service accepted the principal's credentials, FAILURE otherwise. In case of FAILURE, an error_message should be provided.
.auditlog.v2.AuthenticationInfo.Result result = 4;
public String getErrorMessage()
A short, human-readable description of the reason authentication failed. Producers must not include details from the request itself. Consumers should not programmatically parse this field.
string error_message = 5;
getErrorMessage
in interface AuthenticationInfoOrBuilder
public com.google.protobuf.ByteString getErrorMessageBytes()
A short, human-readable description of the reason authentication failed. Producers must not include details from the request itself. Consumers should not programmatically parse this field.
string error_message = 5;
getErrorMessageBytes
in interface AuthenticationInfoOrBuilder
public AuthenticationInfo.Builder setErrorMessage(String value)
A short, human-readable description of the reason authentication failed. Producers must not include details from the request itself. Consumers should not programmatically parse this field.
string error_message = 5;
value
- The errorMessage to set.public AuthenticationInfo.Builder clearErrorMessage()
A short, human-readable description of the reason authentication failed. Producers must not include details from the request itself. Consumers should not programmatically parse this field.
string error_message = 5;
public AuthenticationInfo.Builder setErrorMessageBytes(com.google.protobuf.ByteString value)
A short, human-readable description of the reason authentication failed. Producers must not include details from the request itself. Consumers should not programmatically parse this field.
string error_message = 5;
value
- The bytes for errorMessage to set.public boolean hasCredentials()
The information sent to prove the identity of the principal. This may be present even when authentication fails. Authentication events include this field, but after a successful authentication attempt, later events (of a different type) on the same connection from the same authenticated principal may omit the credentials from their audit log entries, in which case they can be correlated back to the authentication event by means of the `connection_id` they share. Alternatively, services may include the connected client's credentials even for event types other than authentication events. Consumers should be prepared to handle either case.
.auditlog.v2.Credentials credentials = 6;
hasCredentials
in interface AuthenticationInfoOrBuilder
public Credentials getCredentials()
The information sent to prove the identity of the principal. This may be present even when authentication fails. Authentication events include this field, but after a successful authentication attempt, later events (of a different type) on the same connection from the same authenticated principal may omit the credentials from their audit log entries, in which case they can be correlated back to the authentication event by means of the `connection_id` they share. Alternatively, services may include the connected client's credentials even for event types other than authentication events. Consumers should be prepared to handle either case.
.auditlog.v2.Credentials credentials = 6;
getCredentials
in interface AuthenticationInfoOrBuilder
public AuthenticationInfo.Builder setCredentials(Credentials value)
The information sent to prove the identity of the principal. This may be present even when authentication fails. Authentication events include this field, but after a successful authentication attempt, later events (of a different type) on the same connection from the same authenticated principal may omit the credentials from their audit log entries, in which case they can be correlated back to the authentication event by means of the `connection_id` they share. Alternatively, services may include the connected client's credentials even for event types other than authentication events. Consumers should be prepared to handle either case.
.auditlog.v2.Credentials credentials = 6;
public AuthenticationInfo.Builder setCredentials(Credentials.Builder builderForValue)
The information sent to prove the identity of the principal. This may be present even when authentication fails. Authentication events include this field, but after a successful authentication attempt, later events (of a different type) on the same connection from the same authenticated principal may omit the credentials from their audit log entries, in which case they can be correlated back to the authentication event by means of the `connection_id` they share. Alternatively, services may include the connected client's credentials even for event types other than authentication events. Consumers should be prepared to handle either case.
.auditlog.v2.Credentials credentials = 6;
public AuthenticationInfo.Builder mergeCredentials(Credentials value)
The information sent to prove the identity of the principal. This may be present even when authentication fails. Authentication events include this field, but after a successful authentication attempt, later events (of a different type) on the same connection from the same authenticated principal may omit the credentials from their audit log entries, in which case they can be correlated back to the authentication event by means of the `connection_id` they share. Alternatively, services may include the connected client's credentials even for event types other than authentication events. Consumers should be prepared to handle either case.
.auditlog.v2.Credentials credentials = 6;
public AuthenticationInfo.Builder clearCredentials()
The information sent to prove the identity of the principal. This may be present even when authentication fails. Authentication events include this field, but after a successful authentication attempt, later events (of a different type) on the same connection from the same authenticated principal may omit the credentials from their audit log entries, in which case they can be correlated back to the authentication event by means of the `connection_id` they share. Alternatively, services may include the connected client's credentials even for event types other than authentication events. Consumers should be prepared to handle either case.
.auditlog.v2.Credentials credentials = 6;
public Credentials.Builder getCredentialsBuilder()
The information sent to prove the identity of the principal. This may be present even when authentication fails. Authentication events include this field, but after a successful authentication attempt, later events (of a different type) on the same connection from the same authenticated principal may omit the credentials from their audit log entries, in which case they can be correlated back to the authentication event by means of the `connection_id` they share. Alternatively, services may include the connected client's credentials even for event types other than authentication events. Consumers should be prepared to handle either case.
.auditlog.v2.Credentials credentials = 6;
public CredentialsOrBuilder getCredentialsOrBuilder()
The information sent to prove the identity of the principal. This may be present even when authentication fails. Authentication events include this field, but after a successful authentication attempt, later events (of a different type) on the same connection from the same authenticated principal may omit the credentials from their audit log entries, in which case they can be correlated back to the authentication event by means of the `connection_id` they share. Alternatively, services may include the connected client's credentials even for event types other than authentication events. Consumers should be prepared to handle either case.
.auditlog.v2.Credentials credentials = 6;
getCredentialsOrBuilder
in interface AuthenticationInfoOrBuilder
public final AuthenticationInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<AuthenticationInfo.Builder>
public final AuthenticationInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<AuthenticationInfo.Builder>