public static final class Permission.Builder extends GeneratedMessage.Builder<Permission.Builder> implements PermissionOrBuilderSystem permission for resource access and modification.
Protobuf type google.backstory.Permission
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Permission.BuilderImplements
PermissionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Permission build()| Returns | |
|---|---|
| Type | Description |
Permission |
|
buildPartial()
public Permission buildPartial()| Returns | |
|---|---|
| Type | Description |
Permission |
|
clear()
public Permission.Builder clear()| Returns | |
|---|---|
| Type | Description |
Permission.Builder |
|
clearDescription()
public Permission.Builder clearDescription()Description of the permission (e.g. 'Ability to update detect rules').
string description = 2;
| Returns | |
|---|---|
| Type | Description |
Permission.Builder |
This builder for chaining. |
clearName()
public Permission.Builder clearName()Name of the permission (e.g. chronicle.analyst.updateRule).
string name = 1;
| Returns | |
|---|---|
| Type | Description |
Permission.Builder |
This builder for chaining. |
clearType()
public Permission.Builder clearType()Type of the permission.
.google.backstory.Permission.PermissionType type = 3;
| Returns | |
|---|---|
| Type | Description |
Permission.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Permission getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Permission |
|
getDescription()
public String getDescription()Description of the permission (e.g. 'Ability to update detect rules').
string description = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Description of the permission (e.g. 'Ability to update detect rules').
string description = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Name of the permission (e.g. chronicle.analyst.updateRule).
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Name of the permission (e.g. chronicle.analyst.updateRule).
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getType()
public Permission.PermissionType getType()Type of the permission.
.google.backstory.Permission.PermissionType type = 3;
| Returns | |
|---|---|
| Type | Description |
Permission.PermissionType |
The type. |
getTypeValue()
public int getTypeValue()Type of the permission.
.google.backstory.Permission.PermissionType type = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Permission other)
public Permission.Builder mergeFrom(Permission other)| Parameter | |
|---|---|
| Name | Description |
other |
Permission |
| Returns | |
|---|---|
| Type | Description |
Permission.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Permission.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Permission.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Permission.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Permission.Builder |
|
setDescription(String value)
public Permission.Builder setDescription(String value)Description of the permission (e.g. 'Ability to update detect rules').
string description = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
Permission.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public Permission.Builder setDescriptionBytes(ByteString value)Description of the permission (e.g. 'Ability to update detect rules').
string description = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
Permission.Builder |
This builder for chaining. |
setName(String value)
public Permission.Builder setName(String value)Name of the permission (e.g. chronicle.analyst.updateRule).
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Permission.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Permission.Builder setNameBytes(ByteString value)Name of the permission (e.g. chronicle.analyst.updateRule).
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Permission.Builder |
This builder for chaining. |
setType(Permission.PermissionType value)
public Permission.Builder setType(Permission.PermissionType value)Type of the permission.
.google.backstory.Permission.PermissionType type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Permission.PermissionTypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
Permission.Builder |
This builder for chaining. |
setTypeValue(int value)
public Permission.Builder setTypeValue(int value)Type of the permission.
.google.backstory.Permission.PermissionType type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
Permission.Builder |
This builder for chaining. |