Package s2.v1alpha
Class AccessTokenScope
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- s2.v1alpha.AccessTokenScope
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.io.Serializable
,AccessTokenScopeOrBuilder
public final class AccessTokenScope extends com.google.protobuf.GeneratedMessage implements AccessTokenScopeOrBuilder
Access token scope.
Protobuf types2.v1alpha.AccessTokenScope
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AccessTokenScope.Builder
Access token scope.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends java.lang.Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACCESS_TOKENS_FIELD_NUMBER
static int
BASINS_FIELD_NUMBER
static int
OP_GROUPS_FIELD_NUMBER
static int
OPS_FIELD_NUMBER
static int
STREAMS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
ResourceSet
getAccessTokens()
Token IDs allowed.ResourceSetOrBuilder
getAccessTokensOrBuilder()
Token IDs allowed.ResourceSet
getBasins()
Basin names allowed.ResourceSetOrBuilder
getBasinsOrBuilder()
Basin names allowed.static AccessTokenScope
getDefaultInstance()
AccessTokenScope
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
PermittedOperationGroups
getOpGroups()
Access permissions at operation group level.PermittedOperationGroupsOrBuilder
getOpGroupsOrBuilder()
Access permissions at operation group level.Operation
getOps(int index)
Operations allowed for the token.int
getOpsCount()
Operations allowed for the token.java.util.List<Operation>
getOpsList()
Operations allowed for the token.int
getOpsValue(int index)
Operations allowed for the token.java.util.List<java.lang.Integer>
getOpsValueList()
Operations allowed for the token.com.google.protobuf.Parser<AccessTokenScope>
getParserForType()
int
getSerializedSize()
ResourceSet
getStreams()
Stream names allowed.ResourceSetOrBuilder
getStreamsOrBuilder()
Stream names allowed.boolean
hasAccessTokens()
Token IDs allowed.boolean
hasBasins()
Basin names allowed.int
hashCode()
boolean
hasOpGroups()
Access permissions at operation group level.boolean
hasStreams()
Stream names allowed.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static AccessTokenScope.Builder
newBuilder()
static AccessTokenScope.Builder
newBuilder(AccessTokenScope prototype)
AccessTokenScope.Builder
newBuilderForType()
protected AccessTokenScope.Builder
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
static AccessTokenScope
parseDelimitedFrom(java.io.InputStream input)
static AccessTokenScope
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AccessTokenScope
parseFrom(byte[] data)
static AccessTokenScope
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AccessTokenScope
parseFrom(com.google.protobuf.ByteString data)
static AccessTokenScope
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AccessTokenScope
parseFrom(com.google.protobuf.CodedInputStream input)
static AccessTokenScope
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AccessTokenScope
parseFrom(java.io.InputStream input)
static AccessTokenScope
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AccessTokenScope
parseFrom(java.nio.ByteBuffer data)
static AccessTokenScope
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<AccessTokenScope>
parser()
AccessTokenScope.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
BASINS_FIELD_NUMBER
public static final int BASINS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STREAMS_FIELD_NUMBER
public static final int STREAMS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACCESS_TOKENS_FIELD_NUMBER
public static final int ACCESS_TOKENS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OP_GROUPS_FIELD_NUMBER
public static final int OP_GROUPS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OPS_FIELD_NUMBER
public static final int OPS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage
-
hasBasins
public boolean hasBasins()
Basin names allowed.
.s2.v1alpha.ResourceSet basins = 1;
- Specified by:
hasBasins
in interfaceAccessTokenScopeOrBuilder
- Returns:
- Whether the basins field is set.
-
getBasins
public ResourceSet getBasins()
Basin names allowed.
.s2.v1alpha.ResourceSet basins = 1;
- Specified by:
getBasins
in interfaceAccessTokenScopeOrBuilder
- Returns:
- The basins.
-
getBasinsOrBuilder
public ResourceSetOrBuilder getBasinsOrBuilder()
Basin names allowed.
.s2.v1alpha.ResourceSet basins = 1;
- Specified by:
getBasinsOrBuilder
in interfaceAccessTokenScopeOrBuilder
-
hasStreams
public boolean hasStreams()
Stream names allowed.
.s2.v1alpha.ResourceSet streams = 2;
- Specified by:
hasStreams
in interfaceAccessTokenScopeOrBuilder
- Returns:
- Whether the streams field is set.
-
getStreams
public ResourceSet getStreams()
Stream names allowed.
.s2.v1alpha.ResourceSet streams = 2;
- Specified by:
getStreams
in interfaceAccessTokenScopeOrBuilder
- Returns:
- The streams.
-
getStreamsOrBuilder
public ResourceSetOrBuilder getStreamsOrBuilder()
Stream names allowed.
.s2.v1alpha.ResourceSet streams = 2;
- Specified by:
getStreamsOrBuilder
in interfaceAccessTokenScopeOrBuilder
-
hasAccessTokens
public boolean hasAccessTokens()
Token IDs allowed.
.s2.v1alpha.ResourceSet access_tokens = 3;
- Specified by:
hasAccessTokens
in interfaceAccessTokenScopeOrBuilder
- Returns:
- Whether the accessTokens field is set.
-
getAccessTokens
public ResourceSet getAccessTokens()
Token IDs allowed.
.s2.v1alpha.ResourceSet access_tokens = 3;
- Specified by:
getAccessTokens
in interfaceAccessTokenScopeOrBuilder
- Returns:
- The accessTokens.
-
getAccessTokensOrBuilder
public ResourceSetOrBuilder getAccessTokensOrBuilder()
Token IDs allowed.
.s2.v1alpha.ResourceSet access_tokens = 3;
- Specified by:
getAccessTokensOrBuilder
in interfaceAccessTokenScopeOrBuilder
-
hasOpGroups
public boolean hasOpGroups()
Access permissions at operation group level.
.s2.v1alpha.PermittedOperationGroups op_groups = 4;
- Specified by:
hasOpGroups
in interfaceAccessTokenScopeOrBuilder
- Returns:
- Whether the opGroups field is set.
-
getOpGroups
public PermittedOperationGroups getOpGroups()
Access permissions at operation group level.
.s2.v1alpha.PermittedOperationGroups op_groups = 4;
- Specified by:
getOpGroups
in interfaceAccessTokenScopeOrBuilder
- Returns:
- The opGroups.
-
getOpGroupsOrBuilder
public PermittedOperationGroupsOrBuilder getOpGroupsOrBuilder()
Access permissions at operation group level.
.s2.v1alpha.PermittedOperationGroups op_groups = 4;
- Specified by:
getOpGroupsOrBuilder
in interfaceAccessTokenScopeOrBuilder
-
getOpsList
public java.util.List<Operation> getOpsList()
Operations allowed for the token. A union of allowed operations and groups is used as an effective set of allowed operations.
repeated .s2.v1alpha.Operation ops = 5;
- Specified by:
getOpsList
in interfaceAccessTokenScopeOrBuilder
- Returns:
- A list containing the ops.
-
getOpsCount
public int getOpsCount()
Operations allowed for the token. A union of allowed operations and groups is used as an effective set of allowed operations.
repeated .s2.v1alpha.Operation ops = 5;
- Specified by:
getOpsCount
in interfaceAccessTokenScopeOrBuilder
- Returns:
- The count of ops.
-
getOps
public Operation getOps(int index)
Operations allowed for the token. A union of allowed operations and groups is used as an effective set of allowed operations.
repeated .s2.v1alpha.Operation ops = 5;
- Specified by:
getOps
in interfaceAccessTokenScopeOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The ops at the given index.
-
getOpsValueList
public java.util.List<java.lang.Integer> getOpsValueList()
Operations allowed for the token. A union of allowed operations and groups is used as an effective set of allowed operations.
repeated .s2.v1alpha.Operation ops = 5;
- Specified by:
getOpsValueList
in interfaceAccessTokenScopeOrBuilder
- Returns:
- A list containing the enum numeric values on the wire for ops.
-
getOpsValue
public int getOpsValue(int index)
Operations allowed for the token. A union of allowed operations and groups is used as an effective set of allowed operations.
repeated .s2.v1alpha.Operation ops = 5;
- Specified by:
getOpsValue
in interfaceAccessTokenScopeOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of ops at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AccessTokenScope parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AccessTokenScope parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AccessTokenScope parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AccessTokenScope parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AccessTokenScope parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AccessTokenScope parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AccessTokenScope parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AccessTokenScope parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static AccessTokenScope parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static AccessTokenScope parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AccessTokenScope parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AccessTokenScope parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public AccessTokenScope.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static AccessTokenScope.Builder newBuilder()
-
newBuilder
public static AccessTokenScope.Builder newBuilder(AccessTokenScope prototype)
-
toBuilder
public AccessTokenScope.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AccessTokenScope.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static AccessTokenScope getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<AccessTokenScope> parser()
-
getParserForType
public com.google.protobuf.Parser<AccessTokenScope> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public AccessTokenScope getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-