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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AuditConfigDelta.BuilderImplements
AuditConfigDeltaOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AuditConfigDelta.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
AuditConfigDelta.Builder |
build()
public AuditConfigDelta build()
Returns | |
---|---|
Type | Description |
AuditConfigDelta |
buildPartial()
public AuditConfigDelta buildPartial()
Returns | |
---|---|
Type | Description |
AuditConfigDelta |
clear()
public AuditConfigDelta.Builder clear()
Returns | |
---|---|
Type | Description |
AuditConfigDelta.Builder |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
AuditConfigDelta.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AuditConfigDelta.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
AuditConfigDelta.Builder |
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 | |
---|---|
Type | Description |
AuditConfigDelta.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AuditConfigDelta.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
AuditConfigDelta.Builder |
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 | |
---|---|
Type | Description |
AuditConfigDelta.Builder | This builder for chaining. |
clone()
public AuditConfigDelta.Builder clone()
Returns | |
---|---|
Type | Description |
AuditConfigDelta.Builder |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
int | The enum numeric value on the wire for action. |
getDefaultInstanceForType()
public AuditConfigDelta getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AuditConfigDelta |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ByteString | The bytes for service. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(AuditConfigDelta other)
public AuditConfigDelta.Builder mergeFrom(AuditConfigDelta other)
Parameter | |
---|---|
Name | Description |
other | AuditConfigDelta |
Returns | |
---|---|
Type | Description |
AuditConfigDelta.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AuditConfigDelta.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AuditConfigDelta.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AuditConfigDelta.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
AuditConfigDelta.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AuditConfigDelta.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AuditConfigDelta.Builder |
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 | |
---|---|
Name | Description |
value | AuditConfigDelta.Action The action to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for action to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | String The exemptedMember to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for exemptedMember to set. |
Returns | |
---|---|
Type | Description |
AuditConfigDelta.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AuditConfigDelta.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
AuditConfigDelta.Builder |
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 | |
---|---|
Name | Description |
value | String The logType to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for logType to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
AuditConfigDelta.Builder |
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 | |
---|---|
Name | Description |
value | String The service to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for service to set. |
Returns | |
---|---|
Type | Description |
AuditConfigDelta.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AuditConfigDelta.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AuditConfigDelta.Builder |