Class AuditConfigDelta.Builder (1.17.1)

public static final class AuditConfigDelta.Builder extends GeneratedMessageV3.Builder<AuditConfigDelta.Builder> implements AuditConfigDeltaOrBuilder

One delta entry for AuditConfig. Each individual change (only one exempted_member in each entry) to a AuditConfig will be a separate entry.

Protobuf type google.iam.v1.AuditConfigDelta

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AuditConfigDelta build()
Returns
TypeDescription
AuditConfigDelta

buildPartial()

public AuditConfigDelta buildPartial()
Returns
TypeDescription
AuditConfigDelta

clear()

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

clearAction()

public AuditConfigDelta.Builder clearAction()

The action that was performed on an audit configuration in a policy. Required

.google.iam.v1.AuditConfigDelta.Action action = 1;

Returns
TypeDescription
AuditConfigDelta.Builder

This builder for chaining.

clearExemptedMember()

public AuditConfigDelta.Builder clearExemptedMember()

A single identity that is exempted from "data access" audit logging for the service specified above. Follows the same format of Binding.members.

string exempted_member = 3;

Returns
TypeDescription
AuditConfigDelta.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearLogType()

public AuditConfigDelta.Builder clearLogType()

Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always enabled, and cannot be configured. Required

string log_type = 4;

Returns
TypeDescription
AuditConfigDelta.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AuditConfigDelta.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AuditConfigDelta.Builder
Overrides

clearService()

public AuditConfigDelta.Builder clearService()

Specifies a service that was configured for Cloud Audit Logging. For example, storage.googleapis.com, cloudsql.googleapis.com. allServices is a special value that covers all services. Required

string service = 2;

Returns
TypeDescription
AuditConfigDelta.Builder

This builder for chaining.

clone()

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

getAction()

public AuditConfigDelta.Action getAction()

The action that was performed on an audit configuration in a policy. Required

.google.iam.v1.AuditConfigDelta.Action action = 1;

Returns
TypeDescription
AuditConfigDelta.Action

The action.

getActionValue()

public int getActionValue()

The action that was performed on an audit configuration in a policy. Required

.google.iam.v1.AuditConfigDelta.Action action = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for action.

getDefaultInstanceForType()

public AuditConfigDelta getDefaultInstanceForType()
Returns
TypeDescription
AuditConfigDelta

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExemptedMember()

public String getExemptedMember()

A single identity that is exempted from "data access" audit logging for the service specified above. Follows the same format of Binding.members.

string exempted_member = 3;

Returns
TypeDescription
String

The exemptedMember.

getExemptedMemberBytes()

public ByteString getExemptedMemberBytes()

A single identity that is exempted from "data access" audit logging for the service specified above. Follows the same format of Binding.members.

string exempted_member = 3;

Returns
TypeDescription
ByteString

The bytes for exemptedMember.

getLogType()

public String getLogType()

Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always enabled, and cannot be configured. Required

string log_type = 4;

Returns
TypeDescription
String

The logType.

getLogTypeBytes()

public ByteString getLogTypeBytes()

Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always enabled, and cannot be configured. Required

string log_type = 4;

Returns
TypeDescription
ByteString

The bytes for logType.

getService()

public String getService()

Specifies a service that was configured for Cloud Audit Logging. For example, storage.googleapis.com, cloudsql.googleapis.com. allServices is a special value that covers all services. Required

string service = 2;

Returns
TypeDescription
String

The service.

getServiceBytes()

public ByteString getServiceBytes()

Specifies a service that was configured for Cloud Audit Logging. For example, storage.googleapis.com, cloudsql.googleapis.com. allServices is a special value that covers all services. Required

string service = 2;

Returns
TypeDescription
ByteString

The bytes for service.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AuditConfigDelta other)

public AuditConfigDelta.Builder mergeFrom(AuditConfigDelta other)
Parameter
NameDescription
otherAuditConfigDelta
Returns
TypeDescription
AuditConfigDelta.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AuditConfigDelta.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AuditConfigDelta.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAction(AuditConfigDelta.Action value)

public AuditConfigDelta.Builder setAction(AuditConfigDelta.Action value)

The action that was performed on an audit configuration in a policy. Required

.google.iam.v1.AuditConfigDelta.Action action = 1;

Parameter
NameDescription
valueAuditConfigDelta.Action

The action to set.

Returns
TypeDescription
AuditConfigDelta.Builder

This builder for chaining.

setActionValue(int value)

public AuditConfigDelta.Builder setActionValue(int value)

The action that was performed on an audit configuration in a policy. Required

.google.iam.v1.AuditConfigDelta.Action action = 1;

Parameter
NameDescription
valueint

The enum numeric value on the wire for action to set.

Returns
TypeDescription
AuditConfigDelta.Builder

This builder for chaining.

setExemptedMember(String value)

public AuditConfigDelta.Builder setExemptedMember(String value)

A single identity that is exempted from "data access" audit logging for the service specified above. Follows the same format of Binding.members.

string exempted_member = 3;

Parameter
NameDescription
valueString

The exemptedMember to set.

Returns
TypeDescription
AuditConfigDelta.Builder

This builder for chaining.

setExemptedMemberBytes(ByteString value)

public AuditConfigDelta.Builder setExemptedMemberBytes(ByteString value)

A single identity that is exempted from "data access" audit logging for the service specified above. Follows the same format of Binding.members.

string exempted_member = 3;

Parameter
NameDescription
valueByteString

The bytes for exemptedMember to set.

Returns
TypeDescription
AuditConfigDelta.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setLogType(String value)

public AuditConfigDelta.Builder setLogType(String value)

Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always enabled, and cannot be configured. Required

string log_type = 4;

Parameter
NameDescription
valueString

The logType to set.

Returns
TypeDescription
AuditConfigDelta.Builder

This builder for chaining.

setLogTypeBytes(ByteString value)

public AuditConfigDelta.Builder setLogTypeBytes(ByteString value)

Specifies the log_type that was be enabled. ADMIN_ACTIVITY is always enabled, and cannot be configured. Required

string log_type = 4;

Parameter
NameDescription
valueByteString

The bytes for logType to set.

Returns
TypeDescription
AuditConfigDelta.Builder

This builder for chaining.

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

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

setService(String value)

public AuditConfigDelta.Builder setService(String value)

Specifies a service that was configured for Cloud Audit Logging. For example, storage.googleapis.com, cloudsql.googleapis.com. allServices is a special value that covers all services. Required

string service = 2;

Parameter
NameDescription
valueString

The service to set.

Returns
TypeDescription
AuditConfigDelta.Builder

This builder for chaining.

setServiceBytes(ByteString value)

public AuditConfigDelta.Builder setServiceBytes(ByteString value)

Specifies a service that was configured for Cloud Audit Logging. For example, storage.googleapis.com, cloudsql.googleapis.com. allServices is a special value that covers all services. Required

string service = 2;

Parameter
NameDescription
valueByteString

The bytes for service to set.

Returns
TypeDescription
AuditConfigDelta.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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