public static final class GrpcService.GoogleGrpc.CallCredentials.StsService extends com.google.protobuf.GeneratedMessageV3 implements GrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilder
Security token service configuration that allows Google gRPC to fetch security token from an OAuth 2.0 authorization server. See https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-16 and https://github.com/grpc/grpc/pull/19587. [#next-free-field: 10]Protobuf type
envoy.config.core.v4alpha.GrpcService.GoogleGrpc.CallCredentials.StsService| Modifier and Type | Class and Description |
|---|---|
static class |
GrpcService.GoogleGrpc.CallCredentials.StsService.Builder
Security token service configuration that allows Google gRPC to
fetch security token from an OAuth 2.0 authorization server.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ACTOR_TOKEN_PATH_FIELD_NUMBER |
static int |
ACTOR_TOKEN_TYPE_FIELD_NUMBER |
static int |
AUDIENCE_FIELD_NUMBER |
static int |
REQUESTED_TOKEN_TYPE_FIELD_NUMBER |
static int |
RESOURCE_FIELD_NUMBER |
static int |
SCOPE_FIELD_NUMBER |
static int |
SUBJECT_TOKEN_PATH_FIELD_NUMBER |
static int |
SUBJECT_TOKEN_TYPE_FIELD_NUMBER |
static int |
TOKEN_EXCHANGE_SERVICE_URI_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getActorTokenPath()
The path of actor token, a security token that represents the identity
of the acting party.
|
com.google.protobuf.ByteString |
getActorTokenPathBytes()
The path of actor token, a security token that represents the identity
of the acting party.
|
String |
getActorTokenType()
Type of the actor token.
|
com.google.protobuf.ByteString |
getActorTokenTypeBytes()
Type of the actor token.
|
String |
getAudience()
Logical name of the target service where the client intends to
use the requested security token.
|
com.google.protobuf.ByteString |
getAudienceBytes()
Logical name of the target service where the client intends to
use the requested security token.
|
static GrpcService.GoogleGrpc.CallCredentials.StsService |
getDefaultInstance() |
GrpcService.GoogleGrpc.CallCredentials.StsService |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<GrpcService.GoogleGrpc.CallCredentials.StsService> |
getParserForType() |
String |
getRequestedTokenType()
Type of the requested security token.
|
com.google.protobuf.ByteString |
getRequestedTokenTypeBytes()
Type of the requested security token.
|
String |
getResource()
Location of the target service or resource where the client
intends to use the requested security token.
|
com.google.protobuf.ByteString |
getResourceBytes()
Location of the target service or resource where the client
intends to use the requested security token.
|
String |
getScope()
The desired scope of the requested security token in the
context of the service or resource where the token will be used.
|
com.google.protobuf.ByteString |
getScopeBytes()
The desired scope of the requested security token in the
context of the service or resource where the token will be used.
|
int |
getSerializedSize() |
String |
getSubjectTokenPath()
The path of subject token, a security token that represents the
identity of the party on behalf of whom the request is being made.
|
com.google.protobuf.ByteString |
getSubjectTokenPathBytes()
The path of subject token, a security token that represents the
identity of the party on behalf of whom the request is being made.
|
String |
getSubjectTokenType()
Type of the subject token.
|
com.google.protobuf.ByteString |
getSubjectTokenTypeBytes()
Type of the subject token.
|
String |
getTokenExchangeServiceUri()
URI of the token exchange service that handles token exchange requests.
|
com.google.protobuf.ByteString |
getTokenExchangeServiceUriBytes()
URI of the token exchange service that handles token exchange requests.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static GrpcService.GoogleGrpc.CallCredentials.StsService.Builder |
newBuilder() |
static GrpcService.GoogleGrpc.CallCredentials.StsService.Builder |
newBuilder(GrpcService.GoogleGrpc.CallCredentials.StsService prototype) |
GrpcService.GoogleGrpc.CallCredentials.StsService.Builder |
newBuilderForType() |
protected GrpcService.GoogleGrpc.CallCredentials.StsService.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static GrpcService.GoogleGrpc.CallCredentials.StsService |
parseDelimitedFrom(InputStream input) |
static GrpcService.GoogleGrpc.CallCredentials.StsService |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GrpcService.GoogleGrpc.CallCredentials.StsService |
parseFrom(byte[] data) |
static GrpcService.GoogleGrpc.CallCredentials.StsService |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GrpcService.GoogleGrpc.CallCredentials.StsService |
parseFrom(ByteBuffer data) |
static GrpcService.GoogleGrpc.CallCredentials.StsService |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GrpcService.GoogleGrpc.CallCredentials.StsService |
parseFrom(com.google.protobuf.ByteString data) |
static GrpcService.GoogleGrpc.CallCredentials.StsService |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GrpcService.GoogleGrpc.CallCredentials.StsService |
parseFrom(com.google.protobuf.CodedInputStream input) |
static GrpcService.GoogleGrpc.CallCredentials.StsService |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GrpcService.GoogleGrpc.CallCredentials.StsService |
parseFrom(InputStream input) |
static GrpcService.GoogleGrpc.CallCredentials.StsService |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<GrpcService.GoogleGrpc.CallCredentials.StsService> |
parser() |
GrpcService.GoogleGrpc.CallCredentials.StsService.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TOKEN_EXCHANGE_SERVICE_URI_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER
public static final int AUDIENCE_FIELD_NUMBER
public static final int SCOPE_FIELD_NUMBER
public static final int REQUESTED_TOKEN_TYPE_FIELD_NUMBER
public static final int SUBJECT_TOKEN_PATH_FIELD_NUMBER
public static final int SUBJECT_TOKEN_TYPE_FIELD_NUMBER
public static final int ACTOR_TOKEN_PATH_FIELD_NUMBER
public static final int ACTOR_TOKEN_TYPE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getTokenExchangeServiceUri()
URI of the token exchange service that handles token exchange requests. [#comment:TODO(asraa): Add URI validation when implemented. Tracked by https://github.com/envoyproxy/protoc-gen-validate/issues/303]
string token_exchange_service_uri = 1;getTokenExchangeServiceUri in interface GrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilderpublic com.google.protobuf.ByteString getTokenExchangeServiceUriBytes()
URI of the token exchange service that handles token exchange requests. [#comment:TODO(asraa): Add URI validation when implemented. Tracked by https://github.com/envoyproxy/protoc-gen-validate/issues/303]
string token_exchange_service_uri = 1;getTokenExchangeServiceUriBytes in interface GrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilderpublic String getResource()
Location of the target service or resource where the client intends to use the requested security token.
string resource = 2;getResource in interface GrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilderpublic com.google.protobuf.ByteString getResourceBytes()
Location of the target service or resource where the client intends to use the requested security token.
string resource = 2;getResourceBytes in interface GrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilderpublic String getAudience()
Logical name of the target service where the client intends to use the requested security token.
string audience = 3;getAudience in interface GrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilderpublic com.google.protobuf.ByteString getAudienceBytes()
Logical name of the target service where the client intends to use the requested security token.
string audience = 3;getAudienceBytes in interface GrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilderpublic String getScope()
The desired scope of the requested security token in the context of the service or resource where the token will be used.
string scope = 4;getScope in interface GrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilderpublic com.google.protobuf.ByteString getScopeBytes()
The desired scope of the requested security token in the context of the service or resource where the token will be used.
string scope = 4;getScopeBytes in interface GrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilderpublic String getRequestedTokenType()
Type of the requested security token.
string requested_token_type = 5;getRequestedTokenType in interface GrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilderpublic com.google.protobuf.ByteString getRequestedTokenTypeBytes()
Type of the requested security token.
string requested_token_type = 5;getRequestedTokenTypeBytes in interface GrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilderpublic String getSubjectTokenPath()
The path of subject token, a security token that represents the identity of the party on behalf of whom the request is being made.
string subject_token_path = 6 [(.validate.rules) = { ... }getSubjectTokenPath in interface GrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilderpublic com.google.protobuf.ByteString getSubjectTokenPathBytes()
The path of subject token, a security token that represents the identity of the party on behalf of whom the request is being made.
string subject_token_path = 6 [(.validate.rules) = { ... }getSubjectTokenPathBytes in interface GrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilderpublic String getSubjectTokenType()
Type of the subject token.
string subject_token_type = 7 [(.validate.rules) = { ... }getSubjectTokenType in interface GrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilderpublic com.google.protobuf.ByteString getSubjectTokenTypeBytes()
Type of the subject token.
string subject_token_type = 7 [(.validate.rules) = { ... }getSubjectTokenTypeBytes in interface GrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilderpublic String getActorTokenPath()
The path of actor token, a security token that represents the identity of the acting party. The acting party is authorized to use the requested security token and act on behalf of the subject.
string actor_token_path = 8;getActorTokenPath in interface GrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilderpublic com.google.protobuf.ByteString getActorTokenPathBytes()
The path of actor token, a security token that represents the identity of the acting party. The acting party is authorized to use the requested security token and act on behalf of the subject.
string actor_token_path = 8;getActorTokenPathBytes in interface GrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilderpublic String getActorTokenType()
Type of the actor token.
string actor_token_type = 9;getActorTokenType in interface GrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilderpublic com.google.protobuf.ByteString getActorTokenTypeBytes()
Type of the actor token.
string actor_token_type = 9;getActorTokenTypeBytes in interface GrpcService.GoogleGrpc.CallCredentials.StsServiceOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static GrpcService.GoogleGrpc.CallCredentials.StsService parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GrpcService.GoogleGrpc.CallCredentials.StsService parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GrpcService.GoogleGrpc.CallCredentials.StsService parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GrpcService.GoogleGrpc.CallCredentials.StsService parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GrpcService.GoogleGrpc.CallCredentials.StsService parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GrpcService.GoogleGrpc.CallCredentials.StsService parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GrpcService.GoogleGrpc.CallCredentials.StsService parseFrom(InputStream input) throws IOException
IOExceptionpublic static GrpcService.GoogleGrpc.CallCredentials.StsService parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GrpcService.GoogleGrpc.CallCredentials.StsService parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static GrpcService.GoogleGrpc.CallCredentials.StsService parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GrpcService.GoogleGrpc.CallCredentials.StsService parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static GrpcService.GoogleGrpc.CallCredentials.StsService parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic GrpcService.GoogleGrpc.CallCredentials.StsService.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static GrpcService.GoogleGrpc.CallCredentials.StsService.Builder newBuilder()
public static GrpcService.GoogleGrpc.CallCredentials.StsService.Builder newBuilder(GrpcService.GoogleGrpc.CallCredentials.StsService prototype)
public GrpcService.GoogleGrpc.CallCredentials.StsService.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected GrpcService.GoogleGrpc.CallCredentials.StsService.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static GrpcService.GoogleGrpc.CallCredentials.StsService getDefaultInstance()
public static com.google.protobuf.Parser<GrpcService.GoogleGrpc.CallCredentials.StsService> parser()
public com.google.protobuf.Parser<GrpcService.GoogleGrpc.CallCredentials.StsService> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public GrpcService.GoogleGrpc.CallCredentials.StsService getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.