public static final class Role.Builder extends GeneratedMessage.Builder<Role.Builder> implements RoleOrBuilderSystem role for resource access and modification.
Protobuf type google.backstory.Role
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Role.BuilderImplements
RoleOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Role build()| Returns | |
|---|---|
| Type | Description |
Role |
|
buildPartial()
public Role buildPartial()| Returns | |
|---|---|
| Type | Description |
Role |
|
clear()
public Role.Builder clear()| Returns | |
|---|---|
| Type | Description |
Role.Builder |
|
clearDescription()
public Role.Builder clearDescription()System role description for user.
string description = 2;
| Returns | |
|---|---|
| Type | Description |
Role.Builder |
This builder for chaining. |
clearName()
public Role.Builder clearName()System role name for user.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
Role.Builder |
This builder for chaining. |
clearType()
public Role.Builder clearType()System role type for well known roles.
.google.backstory.Role.Type type = 3;
| Returns | |
|---|---|
| Type | Description |
Role.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Role getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Role |
|
getDescription()
public String getDescription()System role description for user.
string description = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()System role description for user.
string description = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()System role name for user.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()System role name for user.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getType()
public Role.Type getType()System role type for well known roles.
.google.backstory.Role.Type type = 3;
| Returns | |
|---|---|
| Type | Description |
Role.Type |
The type. |
getTypeValue()
public int getTypeValue()System role type for well known roles.
.google.backstory.Role.Type 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(Role other)
public Role.Builder mergeFrom(Role other)| Parameter | |
|---|---|
| Name | Description |
other |
Role |
| Returns | |
|---|---|
| Type | Description |
Role.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Role.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Role.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Role.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Role.Builder |
|
setDescription(String value)
public Role.Builder setDescription(String value)System role description for user.
string description = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
Role.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public Role.Builder setDescriptionBytes(ByteString value)System role description for user.
string description = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
Role.Builder |
This builder for chaining. |
setName(String value)
public Role.Builder setName(String value)System role name for user.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Role.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Role.Builder setNameBytes(ByteString value)System role name for user.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Role.Builder |
This builder for chaining. |
setType(Role.Type value)
public Role.Builder setType(Role.Type value)System role type for well known roles.
.google.backstory.Role.Type type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Role.TypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
Role.Builder |
This builder for chaining. |
setTypeValue(int value)
public Role.Builder setTypeValue(int value)System role type for well known roles.
.google.backstory.Role.Type type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
Role.Builder |
This builder for chaining. |