- 3.50.0 (latest)
- 3.49.0
- 3.48.0
- 3.47.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.0
- 2.0.0
- 1.2.5
- 1.1.8
- 0.2.0
public static final class AuditData.PermissionDelta.Builder extends GeneratedMessageV3.Builder<AuditData.PermissionDelta.Builder> implements AuditData.PermissionDeltaOrBuilder
A PermissionDelta message to record the added_permissions and removed_permissions inside a role.
Protobuf type google.iam.admin.v1.AuditData.PermissionDelta
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AuditData.PermissionDelta.BuilderImplements
AuditData.PermissionDeltaOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAddedPermissions(String value)
public AuditData.PermissionDelta.Builder addAddedPermissions(String value)
Added permissions.
repeated string added_permissions = 1;
Parameter | |
---|---|
Name | Description |
value |
String The addedPermissions to add. |
Returns | |
---|---|
Type | Description |
AuditData.PermissionDelta.Builder |
This builder for chaining. |
addAddedPermissionsBytes(ByteString value)
public AuditData.PermissionDelta.Builder addAddedPermissionsBytes(ByteString value)
Added permissions.
repeated string added_permissions = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the addedPermissions to add. |
Returns | |
---|---|
Type | Description |
AuditData.PermissionDelta.Builder |
This builder for chaining. |
addAllAddedPermissions(Iterable<String> values)
public AuditData.PermissionDelta.Builder addAllAddedPermissions(Iterable<String> values)
Added permissions.
repeated string added_permissions = 1;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The addedPermissions to add. |
Returns | |
---|---|
Type | Description |
AuditData.PermissionDelta.Builder |
This builder for chaining. |
addAllRemovedPermissions(Iterable<String> values)
public AuditData.PermissionDelta.Builder addAllRemovedPermissions(Iterable<String> values)
Removed permissions.
repeated string removed_permissions = 2;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The removedPermissions to add. |
Returns | |
---|---|
Type | Description |
AuditData.PermissionDelta.Builder |
This builder for chaining. |
addRemovedPermissions(String value)
public AuditData.PermissionDelta.Builder addRemovedPermissions(String value)
Removed permissions.
repeated string removed_permissions = 2;
Parameter | |
---|---|
Name | Description |
value |
String The removedPermissions to add. |
Returns | |
---|---|
Type | Description |
AuditData.PermissionDelta.Builder |
This builder for chaining. |
addRemovedPermissionsBytes(ByteString value)
public AuditData.PermissionDelta.Builder addRemovedPermissionsBytes(ByteString value)
Removed permissions.
repeated string removed_permissions = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the removedPermissions to add. |
Returns | |
---|---|
Type | Description |
AuditData.PermissionDelta.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AuditData.PermissionDelta.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AuditData.PermissionDelta.Builder |
build()
public AuditData.PermissionDelta build()
Returns | |
---|---|
Type | Description |
AuditData.PermissionDelta |
buildPartial()
public AuditData.PermissionDelta buildPartial()
Returns | |
---|---|
Type | Description |
AuditData.PermissionDelta |
clear()
public AuditData.PermissionDelta.Builder clear()
Returns | |
---|---|
Type | Description |
AuditData.PermissionDelta.Builder |
clearAddedPermissions()
public AuditData.PermissionDelta.Builder clearAddedPermissions()
Added permissions.
repeated string added_permissions = 1;
Returns | |
---|---|
Type | Description |
AuditData.PermissionDelta.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AuditData.PermissionDelta.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AuditData.PermissionDelta.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AuditData.PermissionDelta.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AuditData.PermissionDelta.Builder |
clearRemovedPermissions()
public AuditData.PermissionDelta.Builder clearRemovedPermissions()
Removed permissions.
repeated string removed_permissions = 2;
Returns | |
---|---|
Type | Description |
AuditData.PermissionDelta.Builder |
This builder for chaining. |
clone()
public AuditData.PermissionDelta.Builder clone()
Returns | |
---|---|
Type | Description |
AuditData.PermissionDelta.Builder |
getAddedPermissions(int index)
public String getAddedPermissions(int index)
Added permissions.
repeated string added_permissions = 1;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The addedPermissions at the given index. |
getAddedPermissionsBytes(int index)
public ByteString getAddedPermissionsBytes(int index)
Added permissions.
repeated string added_permissions = 1;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the addedPermissions at the given index. |
getAddedPermissionsCount()
public int getAddedPermissionsCount()
Added permissions.
repeated string added_permissions = 1;
Returns | |
---|---|
Type | Description |
int |
The count of addedPermissions. |
getAddedPermissionsList()
public ProtocolStringList getAddedPermissionsList()
Added permissions.
repeated string added_permissions = 1;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the addedPermissions. |
getDefaultInstanceForType()
public AuditData.PermissionDelta getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AuditData.PermissionDelta |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getRemovedPermissions(int index)
public String getRemovedPermissions(int index)
Removed permissions.
repeated string removed_permissions = 2;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The removedPermissions at the given index. |
getRemovedPermissionsBytes(int index)
public ByteString getRemovedPermissionsBytes(int index)
Removed permissions.
repeated string removed_permissions = 2;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the removedPermissions at the given index. |
getRemovedPermissionsCount()
public int getRemovedPermissionsCount()
Removed permissions.
repeated string removed_permissions = 2;
Returns | |
---|---|
Type | Description |
int |
The count of removedPermissions. |
getRemovedPermissionsList()
public ProtocolStringList getRemovedPermissionsList()
Removed permissions.
repeated string removed_permissions = 2;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the removedPermissions. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(AuditData.PermissionDelta other)
public AuditData.PermissionDelta.Builder mergeFrom(AuditData.PermissionDelta other)
Parameter | |
---|---|
Name | Description |
other |
AuditData.PermissionDelta |
Returns | |
---|---|
Type | Description |
AuditData.PermissionDelta.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AuditData.PermissionDelta.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AuditData.PermissionDelta.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AuditData.PermissionDelta.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AuditData.PermissionDelta.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AuditData.PermissionDelta.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AuditData.PermissionDelta.Builder |
setAddedPermissions(int index, String value)
public AuditData.PermissionDelta.Builder setAddedPermissions(int index, String value)
Added permissions.
repeated string added_permissions = 1;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The addedPermissions to set. |
Returns | |
---|---|
Type | Description |
AuditData.PermissionDelta.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AuditData.PermissionDelta.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AuditData.PermissionDelta.Builder |
setRemovedPermissions(int index, String value)
public AuditData.PermissionDelta.Builder setRemovedPermissions(int index, String value)
Removed permissions.
repeated string removed_permissions = 2;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The removedPermissions to set. |
Returns | |
---|---|
Type | Description |
AuditData.PermissionDelta.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AuditData.PermissionDelta.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AuditData.PermissionDelta.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AuditData.PermissionDelta.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AuditData.PermissionDelta.Builder |