Class AuditData.Builder (1.10.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AuditData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AuditData.Builder
Overrides

build()

public AuditData build()
Returns
TypeDescription
AuditData

buildPartial()

public AuditData buildPartial()
Returns
TypeDescription
AuditData

clear()

public AuditData.Builder clear()
Returns
TypeDescription
AuditData.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AuditData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AuditData.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AuditData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
AuditData.Builder

clone()

public AuditData.Builder clone()
Returns
TypeDescription
AuditData.Builder
Overrides

getDefaultInstanceForType()

public AuditData getDefaultInstanceForType()
Returns
TypeDescription
AuditData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
PolicyDeltaOrBuilder

hasPolicyDelta()

public boolean hasPolicyDelta()

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

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

Returns
TypeDescription
boolean

Whether the policyDelta field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AuditData other)

public AuditData.Builder mergeFrom(AuditData other)
Parameter
NameDescription
otherAuditData
Returns
TypeDescription
AuditData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AuditData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AuditData.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AuditData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valuePolicyDelta
Returns
TypeDescription
AuditData.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AuditData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AuditData.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AuditData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuePolicyDelta
Returns
TypeDescription
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
NameDescription
builderForValuePolicyDelta.Builder
Returns
TypeDescription
AuditData.Builder

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

public AuditData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AuditData.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AuditData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AuditData.Builder
Overrides