Class GrpcService.GoogleGrpc.CallCredentials

    • Field Detail

      • credentialSpecifierCase_

        private int credentialSpecifierCase_
      • credentialSpecifier_

        private java.lang.Object credentialSpecifier_
      • ACCESS_TOKEN_FIELD_NUMBER

        public static final int ACCESS_TOKEN_FIELD_NUMBER
        See Also:
        Constant Field Values
      • GOOGLE_COMPUTE_ENGINE_FIELD_NUMBER

        public static final int GOOGLE_COMPUTE_ENGINE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • GOOGLE_REFRESH_TOKEN_FIELD_NUMBER

        public static final int GOOGLE_REFRESH_TOKEN_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SERVICE_ACCOUNT_JWT_ACCESS_FIELD_NUMBER

        public static final int SERVICE_ACCOUNT_JWT_ACCESS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • GOOGLE_IAM_FIELD_NUMBER

        public static final int GOOGLE_IAM_FIELD_NUMBER
        See Also:
        Constant Field Values
      • FROM_PLUGIN_FIELD_NUMBER

        public static final int FROM_PLUGIN_FIELD_NUMBER
        See Also:
        Constant Field Values
      • STS_SERVICE_FIELD_NUMBER

        public static final int STS_SERVICE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • memoizedIsInitialized

        private byte memoizedIsInitialized
    • Constructor Detail

      • CallCredentials

        private CallCredentials​(com.google.protobuf.GeneratedMessage.Builder<?> builder)
      • CallCredentials

        private CallCredentials()
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
      • hasAccessToken

        public boolean hasAccessToken()
         Access token credentials.
         https://grpc.io/grpc/cpp/namespacegrpc.html#ad3a80da696ffdaea943f0f858d7a360d.
         
        string access_token = 1;
        Specified by:
        hasAccessToken in interface GrpcService.GoogleGrpc.CallCredentialsOrBuilder
        Returns:
        Whether the accessToken field is set.
      • getAccessToken

        public java.lang.String getAccessToken()
         Access token credentials.
         https://grpc.io/grpc/cpp/namespacegrpc.html#ad3a80da696ffdaea943f0f858d7a360d.
         
        string access_token = 1;
        Specified by:
        getAccessToken in interface GrpcService.GoogleGrpc.CallCredentialsOrBuilder
        Returns:
        The accessToken.
      • getAccessTokenBytes

        public com.google.protobuf.ByteString getAccessTokenBytes()
         Access token credentials.
         https://grpc.io/grpc/cpp/namespacegrpc.html#ad3a80da696ffdaea943f0f858d7a360d.
         
        string access_token = 1;
        Specified by:
        getAccessTokenBytes in interface GrpcService.GoogleGrpc.CallCredentialsOrBuilder
        Returns:
        The bytes for accessToken.
      • hasGoogleComputeEngine

        public boolean hasGoogleComputeEngine()
         Google Compute Engine credentials.
         https://grpc.io/grpc/cpp/namespacegrpc.html#a6beb3ac70ff94bd2ebbd89b8f21d1f61
         
        .google.protobuf.Empty google_compute_engine = 2;
        Specified by:
        hasGoogleComputeEngine in interface GrpcService.GoogleGrpc.CallCredentialsOrBuilder
        Returns:
        Whether the googleComputeEngine field is set.
      • getGoogleComputeEngine

        public com.google.protobuf.Empty getGoogleComputeEngine()
         Google Compute Engine credentials.
         https://grpc.io/grpc/cpp/namespacegrpc.html#a6beb3ac70ff94bd2ebbd89b8f21d1f61
         
        .google.protobuf.Empty google_compute_engine = 2;
        Specified by:
        getGoogleComputeEngine in interface GrpcService.GoogleGrpc.CallCredentialsOrBuilder
        Returns:
        The googleComputeEngine.
      • hasGoogleRefreshToken

        public boolean hasGoogleRefreshToken()
         Google refresh token credentials.
         https://grpc.io/grpc/cpp/namespacegrpc.html#a96901c997b91bc6513b08491e0dca37c.
         
        string google_refresh_token = 3;
        Specified by:
        hasGoogleRefreshToken in interface GrpcService.GoogleGrpc.CallCredentialsOrBuilder
        Returns:
        Whether the googleRefreshToken field is set.
      • getGoogleRefreshToken

        public java.lang.String getGoogleRefreshToken()
         Google refresh token credentials.
         https://grpc.io/grpc/cpp/namespacegrpc.html#a96901c997b91bc6513b08491e0dca37c.
         
        string google_refresh_token = 3;
        Specified by:
        getGoogleRefreshToken in interface GrpcService.GoogleGrpc.CallCredentialsOrBuilder
        Returns:
        The googleRefreshToken.
      • getGoogleRefreshTokenBytes

        public com.google.protobuf.ByteString getGoogleRefreshTokenBytes()
         Google refresh token credentials.
         https://grpc.io/grpc/cpp/namespacegrpc.html#a96901c997b91bc6513b08491e0dca37c.
         
        string google_refresh_token = 3;
        Specified by:
        getGoogleRefreshTokenBytes in interface GrpcService.GoogleGrpc.CallCredentialsOrBuilder
        Returns:
        The bytes for googleRefreshToken.
      • hasServiceAccountJwtAccess

        public boolean hasServiceAccountJwtAccess()
         Service Account JWT Access credentials.
         https://grpc.io/grpc/cpp/namespacegrpc.html#a92a9f959d6102461f66ee973d8e9d3aa.
         
        .envoy.config.core.v3.GrpcService.GoogleGrpc.CallCredentials.ServiceAccountJWTAccessCredentials service_account_jwt_access = 4;
        Specified by:
        hasServiceAccountJwtAccess in interface GrpcService.GoogleGrpc.CallCredentialsOrBuilder
        Returns:
        Whether the serviceAccountJwtAccess field is set.
      • hasGoogleIam

        public boolean hasGoogleIam()
         Google IAM credentials.
         https://grpc.io/grpc/cpp/namespacegrpc.html#a9fc1fc101b41e680d47028166e76f9d0.
         
        .envoy.config.core.v3.GrpcService.GoogleGrpc.CallCredentials.GoogleIAMCredentials google_iam = 5;
        Specified by:
        hasGoogleIam in interface GrpcService.GoogleGrpc.CallCredentialsOrBuilder
        Returns:
        Whether the googleIam field is set.
      • hasFromPlugin

        public boolean hasFromPlugin()
         Custom authenticator credentials.
         https://grpc.io/grpc/cpp/namespacegrpc.html#a823c6a4b19ffc71fb33e90154ee2ad07.
         https://grpc.io/docs/guides/auth.html#extending-grpc-to-support-other-authentication-mechanisms.
         
        .envoy.config.core.v3.GrpcService.GoogleGrpc.CallCredentials.MetadataCredentialsFromPlugin from_plugin = 6;
        Specified by:
        hasFromPlugin in interface GrpcService.GoogleGrpc.CallCredentialsOrBuilder
        Returns:
        Whether the fromPlugin field is set.
      • hasStsService

        public boolean hasStsService()
         Custom security token service which implements OAuth 2.0 token exchange.
         https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-16
         See https://github.com/grpc/grpc/pull/19587.
         
        .envoy.config.core.v3.GrpcService.GoogleGrpc.CallCredentials.StsService sts_service = 7;
        Specified by:
        hasStsService in interface GrpcService.GoogleGrpc.CallCredentialsOrBuilder
        Returns:
        Whether the stsService field is set.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessage
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessage
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static GrpcService.GoogleGrpc.CallCredentials parseFrom​(java.nio.ByteBuffer data)
                                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GrpcService.GoogleGrpc.CallCredentials parseFrom​(java.nio.ByteBuffer data,
                                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GrpcService.GoogleGrpc.CallCredentials parseFrom​(com.google.protobuf.ByteString data)
                                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GrpcService.GoogleGrpc.CallCredentials parseFrom​(com.google.protobuf.ByteString data,
                                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GrpcService.GoogleGrpc.CallCredentials parseFrom​(byte[] data)
                                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GrpcService.GoogleGrpc.CallCredentials parseFrom​(byte[] data,
                                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GrpcService.GoogleGrpc.CallCredentials parseFrom​(java.io.InputStream input,
                                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static GrpcService.GoogleGrpc.CallCredentials parseDelimitedFrom​(java.io.InputStream input,
                                                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static GrpcService.GoogleGrpc.CallCredentials parseFrom​(com.google.protobuf.CodedInputStream input,
                                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        public GrpcService.GoogleGrpc.CallCredentials.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected GrpcService.GoogleGrpc.CallCredentials.Builder newBuilderForType​(com.google.protobuf.AbstractMessage.BuilderParent parent)
        Overrides:
        newBuilderForType in class com.google.protobuf.AbstractMessage
      • getParserForType

        public com.google.protobuf.Parser<GrpcService.GoogleGrpc.CallCredentials> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessage
      • getDefaultInstanceForType

        public GrpcService.GoogleGrpc.CallCredentials getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder