Class AuditData.Builder (1.35.0)

public static final class AuditData.Builder extends GeneratedMessageV3.Builder<AuditData.Builder> implements AuditDataOrBuilder

Audit log information specific to Cloud IAM. This message is serialized as an Any type in the ServiceData message of an AuditLog message.

Protobuf type google.iam.v1.logging.AuditData

Implements

AuditDataOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AuditData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AuditData.Builder
Overrides

build()

public AuditData build()
Returns
Type Description
AuditData

buildPartial()

public AuditData buildPartial()
Returns
Type Description
AuditData

clear()

public AuditData.Builder clear()
Returns
Type Description
AuditData.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AuditData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AuditData.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AuditData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AuditData.Builder
Overrides

clearPolicyDelta()

public AuditData.Builder clearPolicyDelta()

Policy delta between the original policy and the newly set policy.

.google.iam.v1.PolicyDelta policy_delta = 2;

Returns
Type Description
AuditData.Builder

clone()

public AuditData.Builder clone()
Returns
Type Description
AuditData.Builder
Overrides

getDefaultInstanceForType()

public AuditData getDefaultInstanceForType()
Returns
Type Description
AuditData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPolicyDelta()

public PolicyDelta getPolicyDelta()

Policy delta between the original policy and the newly set policy.

.google.iam.v1.PolicyDelta policy_delta = 2;

Returns
Type Description
PolicyDelta

The policyDelta.

getPolicyDeltaBuilder()

public PolicyDelta.Builder getPolicyDeltaBuilder()

Policy delta between the original policy and the newly set policy.

.google.iam.v1.PolicyDelta policy_delta = 2;

Returns
Type Description
PolicyDelta.Builder

getPolicyDeltaOrBuilder()

public PolicyDeltaOrBuilder getPolicyDeltaOrBuilder()

Policy delta between the original policy and the newly set policy.

.google.iam.v1.PolicyDelta policy_delta = 2;

Returns
Type Description
PolicyDeltaOrBuilder

hasPolicyDelta()

public boolean hasPolicyDelta()

Policy delta between the original policy and the newly set policy.

.google.iam.v1.PolicyDelta policy_delta = 2;

Returns
Type Description
boolean

Whether the policyDelta field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AuditData other)

public AuditData.Builder mergeFrom(AuditData other)
Parameter
Name Description
other AuditData
Returns
Type Description
AuditData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AuditData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AuditData.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AuditData.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AuditData.Builder
Overrides

mergePolicyDelta(PolicyDelta value)

public AuditData.Builder mergePolicyDelta(PolicyDelta value)

Policy delta between the original policy and the newly set policy.

.google.iam.v1.PolicyDelta policy_delta = 2;

Parameter
Name Description
value PolicyDelta
Returns
Type Description
AuditData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AuditData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AuditData.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AuditData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AuditData.Builder
Overrides

setPolicyDelta(PolicyDelta value)

public AuditData.Builder setPolicyDelta(PolicyDelta value)

Policy delta between the original policy and the newly set policy.

.google.iam.v1.PolicyDelta policy_delta = 2;

Parameter
Name Description
value PolicyDelta
Returns
Type Description
AuditData.Builder

setPolicyDelta(PolicyDelta.Builder builderForValue)

public AuditData.Builder setPolicyDelta(PolicyDelta.Builder builderForValue)

Policy delta between the original policy and the newly set policy.

.google.iam.v1.PolicyDelta policy_delta = 2;

Parameter
Name Description
builderForValue PolicyDelta.Builder
Returns
Type Description
AuditData.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AuditData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AuditData.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AuditData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AuditData.Builder
Overrides