Interface TokenOptionsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TokenOptions,TokenOptions.Builder
@Generated
public interface TokenOptionsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.com.google.protobuf.ByteStringOptional.Optional.Optional.getNonce(int index) Optional.com.google.protobuf.ByteStringgetNonceBytes(int index) Optional.intOptional.Optional.Optional.intOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasAwsPrincipalTagsOptions
boolean hasAwsPrincipalTagsOptions()Optional. Options for AWS token type.
.google.cloud.confidentialcomputing.v1.AwsPrincipalTagsOptions aws_principal_tags_options = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the awsPrincipalTagsOptions field is set.
-
getAwsPrincipalTagsOptions
AwsPrincipalTagsOptions getAwsPrincipalTagsOptions()Optional. Options for AWS token type.
.google.cloud.confidentialcomputing.v1.AwsPrincipalTagsOptions aws_principal_tags_options = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The awsPrincipalTagsOptions.
-
getAwsPrincipalTagsOptionsOrBuilder
AwsPrincipalTagsOptionsOrBuilder getAwsPrincipalTagsOptionsOrBuilder()Optional. Options for AWS token type.
.google.cloud.confidentialcomputing.v1.AwsPrincipalTagsOptions aws_principal_tags_options = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getAudience
String getAudience()Optional. Optional string to issue the token with a custom audience claim. Required if one or more nonces are specified.
string audience = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The audience.
-
getAudienceBytes
com.google.protobuf.ByteString getAudienceBytes()Optional. Optional string to issue the token with a custom audience claim. Required if one or more nonces are specified.
string audience = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for audience.
-
getNonceList
Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.
repeated string nonce = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the nonce.
-
getNonceCount
int getNonceCount()Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.
repeated string nonce = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of nonce.
-
getNonce
Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.
repeated string nonce = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The nonce at the given index.
-
getNonceBytes
com.google.protobuf.ByteString getNonceBytes(int index) Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.
repeated string nonce = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the nonce at the given index.
-
getTokenTypeValue
int getTokenTypeValue()Optional. Optional token type to select what type of token to return.
.google.cloud.confidentialcomputing.v1.TokenType token_type = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The enum numeric value on the wire for tokenType.
-
getTokenType
TokenType getTokenType()Optional. Optional token type to select what type of token to return.
.google.cloud.confidentialcomputing.v1.TokenType token_type = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The tokenType.
-
getTokenTypeOptionsCase
TokenOptions.TokenTypeOptionsCase getTokenTypeOptionsCase()
-