public static enum _GenerateApiTokenRequest.TopicRole extends java.lang.Enum<_GenerateApiTokenRequest.TopicRole> implements com.google.protobuf.ProtocolMessageEnum
Aliases for categories of functionality.Protobuf enum
auth._GenerateApiTokenRequest.TopicRole| Enum Constant and Description |
|---|
TopicPermitNone
TopicPermitNone = 0; |
TopicReadOnly
Restricts access to apis that read from topics: No higher level resource description or modification.
|
TopicReadWrite
Restricts access to apis that read and write data from topics: No higher level resource description or modification.
|
TopicWriteOnly
Only publish allowed
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
TopicPermitNone_VALUE
TopicPermitNone = 0; |
static int |
TopicReadOnly_VALUE
Restricts access to apis that read from topics: No higher level resource description or modification.
|
static int |
TopicReadWrite_VALUE
Restricts access to apis that read and write data from topics: No higher level resource description or modification.
|
static int |
TopicWriteOnly_VALUE
Only publish allowed
|
| Modifier and Type | Method and Description |
|---|---|
static _GenerateApiTokenRequest.TopicRole |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<_GenerateApiTokenRequest.TopicRole> |
internalGetValueMap() |
static _GenerateApiTokenRequest.TopicRole |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static _GenerateApiTokenRequest.TopicRole |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static _GenerateApiTokenRequest.TopicRole |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static _GenerateApiTokenRequest.TopicRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final _GenerateApiTokenRequest.TopicRole TopicPermitNone
TopicPermitNone = 0;public static final _GenerateApiTokenRequest.TopicRole TopicReadWrite
Restricts access to apis that read and write data from topics: No higher level resource description or modification.
TopicReadWrite = 1;public static final _GenerateApiTokenRequest.TopicRole TopicReadOnly
Restricts access to apis that read from topics: No higher level resource description or modification.
TopicReadOnly = 2;public static final _GenerateApiTokenRequest.TopicRole TopicWriteOnly
Only publish allowed
TopicWriteOnly = 3;public static final _GenerateApiTokenRequest.TopicRole UNRECOGNIZED
public static final int TopicPermitNone_VALUE
TopicPermitNone = 0;public static final int TopicReadWrite_VALUE
Restricts access to apis that read and write data from topics: No higher level resource description or modification.
TopicReadWrite = 1;public static final int TopicReadOnly_VALUE
Restricts access to apis that read from topics: No higher level resource description or modification.
TopicReadOnly = 2;public static final int TopicWriteOnly_VALUE
Only publish allowed
TopicWriteOnly = 3;public static _GenerateApiTokenRequest.TopicRole[] values()
for (_GenerateApiTokenRequest.TopicRole c : _GenerateApiTokenRequest.TopicRole.values()) System.out.println(c);
public static _GenerateApiTokenRequest.TopicRole valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static _GenerateApiTokenRequest.TopicRole valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static _GenerateApiTokenRequest.TopicRole forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<_GenerateApiTokenRequest.TopicRole> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static _GenerateApiTokenRequest.TopicRole valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)