Class AuditData.Builder (3.8.0)

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

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

Protobuf type google.iam.admin.v1.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

clearPermissionDelta()

public AuditData.Builder clearPermissionDelta()

The permission_delta when when creating or updating a Role.

.google.iam.admin.v1.AuditData.PermissionDelta permission_delta = 1;

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

getPermissionDelta()

public AuditData.PermissionDelta getPermissionDelta()

The permission_delta when when creating or updating a Role.

.google.iam.admin.v1.AuditData.PermissionDelta permission_delta = 1;

Returns
TypeDescription
AuditData.PermissionDelta

The permissionDelta.

getPermissionDeltaBuilder()

public AuditData.PermissionDelta.Builder getPermissionDeltaBuilder()

The permission_delta when when creating or updating a Role.

.google.iam.admin.v1.AuditData.PermissionDelta permission_delta = 1;

Returns
TypeDescription
AuditData.PermissionDelta.Builder

getPermissionDeltaOrBuilder()

public AuditData.PermissionDeltaOrBuilder getPermissionDeltaOrBuilder()

The permission_delta when when creating or updating a Role.

.google.iam.admin.v1.AuditData.PermissionDelta permission_delta = 1;

Returns
TypeDescription
AuditData.PermissionDeltaOrBuilder

hasPermissionDelta()

public boolean hasPermissionDelta()

The permission_delta when when creating or updating a Role.

.google.iam.admin.v1.AuditData.PermissionDelta permission_delta = 1;

Returns
TypeDescription
boolean

Whether the permissionDelta 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

mergePermissionDelta(AuditData.PermissionDelta value)

public AuditData.Builder mergePermissionDelta(AuditData.PermissionDelta value)

The permission_delta when when creating or updating a Role.

.google.iam.admin.v1.AuditData.PermissionDelta permission_delta = 1;

Parameter
NameDescription
valueAuditData.PermissionDelta
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

setPermissionDelta(AuditData.PermissionDelta value)

public AuditData.Builder setPermissionDelta(AuditData.PermissionDelta value)

The permission_delta when when creating or updating a Role.

.google.iam.admin.v1.AuditData.PermissionDelta permission_delta = 1;

Parameter
NameDescription
valueAuditData.PermissionDelta
Returns
TypeDescription
AuditData.Builder

setPermissionDelta(AuditData.PermissionDelta.Builder builderForValue)

public AuditData.Builder setPermissionDelta(AuditData.PermissionDelta.Builder builderForValue)

The permission_delta when when creating or updating a Role.

.google.iam.admin.v1.AuditData.PermissionDelta permission_delta = 1;

Parameter
NameDescription
builderForValueAuditData.PermissionDelta.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