java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<OAuth2.Builder>
io.envoyproxy.envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, OAuth2OrBuilder, Cloneable
Enclosing class:
OAuth2

public static final class OAuth2.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OAuth2.Builder> implements OAuth2OrBuilder
 OAuth2 extension can be used to retrieve an OAuth2 access token from an authorization server and inject it into the
 proxied requests.
 Currently, only the Client Credentials Grant flow is supported.
 The access token will be injected into the request headers using the ``Authorization`` header as a bearer token.
 [#next-free-field: 6]
 
Protobuf type envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<OAuth2.Builder>
    • clear

      public OAuth2.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<OAuth2.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<OAuth2.Builder>
    • getDefaultInstanceForType

      public OAuth2 getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public OAuth2 build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public OAuth2 buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public OAuth2.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<OAuth2.Builder>
    • setField

      public OAuth2.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<OAuth2.Builder>
    • clearField

      public OAuth2.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<OAuth2.Builder>
    • clearOneof

      public OAuth2.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<OAuth2.Builder>
    • setRepeatedField

      public OAuth2.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OAuth2.Builder>
    • addRepeatedField

      public OAuth2.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OAuth2.Builder>
    • mergeFrom

      public OAuth2.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<OAuth2.Builder>
    • mergeFrom

      public OAuth2.Builder mergeFrom(OAuth2 other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<OAuth2.Builder>
    • mergeFrom

      public OAuth2.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<OAuth2.Builder>
      Throws:
      IOException
    • getFlowTypeCase

      public OAuth2.FlowTypeCase getFlowTypeCase()
      Specified by:
      getFlowTypeCase in interface OAuth2OrBuilder
    • clearFlowType

      public OAuth2.Builder clearFlowType()
    • hasTokenEndpoint

      public boolean hasTokenEndpoint()
       Endpoint on the authorization server to retrieve the access token from.
       Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-3.2) for details.
       
      .envoy.config.core.v3.HttpUri token_endpoint = 1 [(.validate.rules) = { ... }
      Specified by:
      hasTokenEndpoint in interface OAuth2OrBuilder
      Returns:
      Whether the tokenEndpoint field is set.
    • getTokenEndpoint

      public HttpUri getTokenEndpoint()
       Endpoint on the authorization server to retrieve the access token from.
       Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-3.2) for details.
       
      .envoy.config.core.v3.HttpUri token_endpoint = 1 [(.validate.rules) = { ... }
      Specified by:
      getTokenEndpoint in interface OAuth2OrBuilder
      Returns:
      The tokenEndpoint.
    • setTokenEndpoint

      public OAuth2.Builder setTokenEndpoint(HttpUri value)
       Endpoint on the authorization server to retrieve the access token from.
       Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-3.2) for details.
       
      .envoy.config.core.v3.HttpUri token_endpoint = 1 [(.validate.rules) = { ... }
    • setTokenEndpoint

      public OAuth2.Builder setTokenEndpoint(HttpUri.Builder builderForValue)
       Endpoint on the authorization server to retrieve the access token from.
       Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-3.2) for details.
       
      .envoy.config.core.v3.HttpUri token_endpoint = 1 [(.validate.rules) = { ... }
    • mergeTokenEndpoint

      public OAuth2.Builder mergeTokenEndpoint(HttpUri value)
       Endpoint on the authorization server to retrieve the access token from.
       Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-3.2) for details.
       
      .envoy.config.core.v3.HttpUri token_endpoint = 1 [(.validate.rules) = { ... }
    • clearTokenEndpoint

      public OAuth2.Builder clearTokenEndpoint()
       Endpoint on the authorization server to retrieve the access token from.
       Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-3.2) for details.
       
      .envoy.config.core.v3.HttpUri token_endpoint = 1 [(.validate.rules) = { ... }
    • getTokenEndpointBuilder

      public HttpUri.Builder getTokenEndpointBuilder()
       Endpoint on the authorization server to retrieve the access token from.
       Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-3.2) for details.
       
      .envoy.config.core.v3.HttpUri token_endpoint = 1 [(.validate.rules) = { ... }
    • getTokenEndpointOrBuilder

      public HttpUriOrBuilder getTokenEndpointOrBuilder()
       Endpoint on the authorization server to retrieve the access token from.
       Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-3.2) for details.
       
      .envoy.config.core.v3.HttpUri token_endpoint = 1 [(.validate.rules) = { ... }
      Specified by:
      getTokenEndpointOrBuilder in interface OAuth2OrBuilder
    • getScopesList

      public com.google.protobuf.ProtocolStringList getScopesList()
       Optional list of OAuth scopes to be claimed in the authorization request.
       Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4.2) for details.
       
      repeated string scopes = 2;
      Specified by:
      getScopesList in interface OAuth2OrBuilder
      Returns:
      A list containing the scopes.
    • getScopesCount

      public int getScopesCount()
       Optional list of OAuth scopes to be claimed in the authorization request.
       Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4.2) for details.
       
      repeated string scopes = 2;
      Specified by:
      getScopesCount in interface OAuth2OrBuilder
      Returns:
      The count of scopes.
    • getScopes

      public String getScopes(int index)
       Optional list of OAuth scopes to be claimed in the authorization request.
       Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4.2) for details.
       
      repeated string scopes = 2;
      Specified by:
      getScopes in interface OAuth2OrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The scopes at the given index.
    • getScopesBytes

      public com.google.protobuf.ByteString getScopesBytes(int index)
       Optional list of OAuth scopes to be claimed in the authorization request.
       Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4.2) for details.
       
      repeated string scopes = 2;
      Specified by:
      getScopesBytes in interface OAuth2OrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the scopes at the given index.
    • setScopes

      public OAuth2.Builder setScopes(int index, String value)
       Optional list of OAuth scopes to be claimed in the authorization request.
       Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4.2) for details.
       
      repeated string scopes = 2;
      Parameters:
      index - The index to set the value at.
      value - The scopes to set.
      Returns:
      This builder for chaining.
    • addScopes

      public OAuth2.Builder addScopes(String value)
       Optional list of OAuth scopes to be claimed in the authorization request.
       Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4.2) for details.
       
      repeated string scopes = 2;
      Parameters:
      value - The scopes to add.
      Returns:
      This builder for chaining.
    • addAllScopes

      public OAuth2.Builder addAllScopes(Iterable<String> values)
       Optional list of OAuth scopes to be claimed in the authorization request.
       Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4.2) for details.
       
      repeated string scopes = 2;
      Parameters:
      values - The scopes to add.
      Returns:
      This builder for chaining.
    • clearScopes

      public OAuth2.Builder clearScopes()
       Optional list of OAuth scopes to be claimed in the authorization request.
       Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4.2) for details.
       
      repeated string scopes = 2;
      Returns:
      This builder for chaining.
    • addScopesBytes

      public OAuth2.Builder addScopesBytes(com.google.protobuf.ByteString value)
       Optional list of OAuth scopes to be claimed in the authorization request.
       Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4.2) for details.
       
      repeated string scopes = 2;
      Parameters:
      value - The bytes of the scopes to add.
      Returns:
      This builder for chaining.
    • hasClientCredentials

      public boolean hasClientCredentials()
       Client Credentials Grant.
       Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4) for details.
       
      .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.ClientCredentials client_credentials = 3;
      Specified by:
      hasClientCredentials in interface OAuth2OrBuilder
      Returns:
      Whether the clientCredentials field is set.
    • getClientCredentials

      public OAuth2.ClientCredentials getClientCredentials()
       Client Credentials Grant.
       Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4) for details.
       
      .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.ClientCredentials client_credentials = 3;
      Specified by:
      getClientCredentials in interface OAuth2OrBuilder
      Returns:
      The clientCredentials.
    • setClientCredentials

      public OAuth2.Builder setClientCredentials(OAuth2.ClientCredentials value)
       Client Credentials Grant.
       Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4) for details.
       
      .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.ClientCredentials client_credentials = 3;
    • setClientCredentials

      public OAuth2.Builder setClientCredentials(OAuth2.ClientCredentials.Builder builderForValue)
       Client Credentials Grant.
       Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4) for details.
       
      .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.ClientCredentials client_credentials = 3;
    • mergeClientCredentials

      public OAuth2.Builder mergeClientCredentials(OAuth2.ClientCredentials value)
       Client Credentials Grant.
       Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4) for details.
       
      .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.ClientCredentials client_credentials = 3;
    • clearClientCredentials

      public OAuth2.Builder clearClientCredentials()
       Client Credentials Grant.
       Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4) for details.
       
      .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.ClientCredentials client_credentials = 3;
    • getClientCredentialsBuilder

      public OAuth2.ClientCredentials.Builder getClientCredentialsBuilder()
       Client Credentials Grant.
       Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4) for details.
       
      .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.ClientCredentials client_credentials = 3;
    • getClientCredentialsOrBuilder

      public OAuth2.ClientCredentialsOrBuilder getClientCredentialsOrBuilder()
       Client Credentials Grant.
       Refer to [RFC 6749: The OAuth 2.0 Authorization Framework](https://www.rfc-editor.org/rfc/rfc6749#section-4.4) for details.
       
      .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.ClientCredentials client_credentials = 3;
      Specified by:
      getClientCredentialsOrBuilder in interface OAuth2OrBuilder
    • hasTokenFetchRetryInterval

      public boolean hasTokenFetchRetryInterval()
       The interval between two successive retries to fetch token from Identity Provider. Default is 2 secs.
       The interval must be at least 1 second.
       
      .google.protobuf.Duration token_fetch_retry_interval = 4 [(.validate.rules) = { ... }
      Specified by:
      hasTokenFetchRetryInterval in interface OAuth2OrBuilder
      Returns:
      Whether the tokenFetchRetryInterval field is set.
    • getTokenFetchRetryInterval

      public com.google.protobuf.Duration getTokenFetchRetryInterval()
       The interval between two successive retries to fetch token from Identity Provider. Default is 2 secs.
       The interval must be at least 1 second.
       
      .google.protobuf.Duration token_fetch_retry_interval = 4 [(.validate.rules) = { ... }
      Specified by:
      getTokenFetchRetryInterval in interface OAuth2OrBuilder
      Returns:
      The tokenFetchRetryInterval.
    • setTokenFetchRetryInterval

      public OAuth2.Builder setTokenFetchRetryInterval(com.google.protobuf.Duration value)
       The interval between two successive retries to fetch token from Identity Provider. Default is 2 secs.
       The interval must be at least 1 second.
       
      .google.protobuf.Duration token_fetch_retry_interval = 4 [(.validate.rules) = { ... }
    • setTokenFetchRetryInterval

      public OAuth2.Builder setTokenFetchRetryInterval(com.google.protobuf.Duration.Builder builderForValue)
       The interval between two successive retries to fetch token from Identity Provider. Default is 2 secs.
       The interval must be at least 1 second.
       
      .google.protobuf.Duration token_fetch_retry_interval = 4 [(.validate.rules) = { ... }
    • mergeTokenFetchRetryInterval

      public OAuth2.Builder mergeTokenFetchRetryInterval(com.google.protobuf.Duration value)
       The interval between two successive retries to fetch token from Identity Provider. Default is 2 secs.
       The interval must be at least 1 second.
       
      .google.protobuf.Duration token_fetch_retry_interval = 4 [(.validate.rules) = { ... }
    • clearTokenFetchRetryInterval

      public OAuth2.Builder clearTokenFetchRetryInterval()
       The interval between two successive retries to fetch token from Identity Provider. Default is 2 secs.
       The interval must be at least 1 second.
       
      .google.protobuf.Duration token_fetch_retry_interval = 4 [(.validate.rules) = { ... }
    • getTokenFetchRetryIntervalBuilder

      public com.google.protobuf.Duration.Builder getTokenFetchRetryIntervalBuilder()
       The interval between two successive retries to fetch token from Identity Provider. Default is 2 secs.
       The interval must be at least 1 second.
       
      .google.protobuf.Duration token_fetch_retry_interval = 4 [(.validate.rules) = { ... }
    • getTokenFetchRetryIntervalOrBuilder

      public com.google.protobuf.DurationOrBuilder getTokenFetchRetryIntervalOrBuilder()
       The interval between two successive retries to fetch token from Identity Provider. Default is 2 secs.
       The interval must be at least 1 second.
       
      .google.protobuf.Duration token_fetch_retry_interval = 4 [(.validate.rules) = { ... }
      Specified by:
      getTokenFetchRetryIntervalOrBuilder in interface OAuth2OrBuilder
    • getEndpointParamsList

      public List<OAuth2.EndpointParameter> getEndpointParamsList()
       Optional list of additional parameters to send to the token endpoint.
       These parameters will be URL-encoded and included in the token request body.
       
      repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5;
      Specified by:
      getEndpointParamsList in interface OAuth2OrBuilder
    • getEndpointParamsCount

      public int getEndpointParamsCount()
       Optional list of additional parameters to send to the token endpoint.
       These parameters will be URL-encoded and included in the token request body.
       
      repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5;
      Specified by:
      getEndpointParamsCount in interface OAuth2OrBuilder
    • getEndpointParams

      public OAuth2.EndpointParameter getEndpointParams(int index)
       Optional list of additional parameters to send to the token endpoint.
       These parameters will be URL-encoded and included in the token request body.
       
      repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5;
      Specified by:
      getEndpointParams in interface OAuth2OrBuilder
    • setEndpointParams

      public OAuth2.Builder setEndpointParams(int index, OAuth2.EndpointParameter value)
       Optional list of additional parameters to send to the token endpoint.
       These parameters will be URL-encoded and included in the token request body.
       
      repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5;
    • setEndpointParams

      public OAuth2.Builder setEndpointParams(int index, OAuth2.EndpointParameter.Builder builderForValue)
       Optional list of additional parameters to send to the token endpoint.
       These parameters will be URL-encoded and included in the token request body.
       
      repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5;
    • addEndpointParams

      public OAuth2.Builder addEndpointParams(OAuth2.EndpointParameter value)
       Optional list of additional parameters to send to the token endpoint.
       These parameters will be URL-encoded and included in the token request body.
       
      repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5;
    • addEndpointParams

      public OAuth2.Builder addEndpointParams(int index, OAuth2.EndpointParameter value)
       Optional list of additional parameters to send to the token endpoint.
       These parameters will be URL-encoded and included in the token request body.
       
      repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5;
    • addEndpointParams

      public OAuth2.Builder addEndpointParams(OAuth2.EndpointParameter.Builder builderForValue)
       Optional list of additional parameters to send to the token endpoint.
       These parameters will be URL-encoded and included in the token request body.
       
      repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5;
    • addEndpointParams

      public OAuth2.Builder addEndpointParams(int index, OAuth2.EndpointParameter.Builder builderForValue)
       Optional list of additional parameters to send to the token endpoint.
       These parameters will be URL-encoded and included in the token request body.
       
      repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5;
    • addAllEndpointParams

      public OAuth2.Builder addAllEndpointParams(Iterable<? extends OAuth2.EndpointParameter> values)
       Optional list of additional parameters to send to the token endpoint.
       These parameters will be URL-encoded and included in the token request body.
       
      repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5;
    • clearEndpointParams

      public OAuth2.Builder clearEndpointParams()
       Optional list of additional parameters to send to the token endpoint.
       These parameters will be URL-encoded and included in the token request body.
       
      repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5;
    • removeEndpointParams

      public OAuth2.Builder removeEndpointParams(int index)
       Optional list of additional parameters to send to the token endpoint.
       These parameters will be URL-encoded and included in the token request body.
       
      repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5;
    • getEndpointParamsBuilder

      public OAuth2.EndpointParameter.Builder getEndpointParamsBuilder(int index)
       Optional list of additional parameters to send to the token endpoint.
       These parameters will be URL-encoded and included in the token request body.
       
      repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5;
    • getEndpointParamsOrBuilder

      public OAuth2.EndpointParameterOrBuilder getEndpointParamsOrBuilder(int index)
       Optional list of additional parameters to send to the token endpoint.
       These parameters will be URL-encoded and included in the token request body.
       
      repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5;
      Specified by:
      getEndpointParamsOrBuilder in interface OAuth2OrBuilder
    • getEndpointParamsOrBuilderList

      public List<? extends OAuth2.EndpointParameterOrBuilder> getEndpointParamsOrBuilderList()
       Optional list of additional parameters to send to the token endpoint.
       These parameters will be URL-encoded and included in the token request body.
       
      repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5;
      Specified by:
      getEndpointParamsOrBuilderList in interface OAuth2OrBuilder
    • addEndpointParamsBuilder

      public OAuth2.EndpointParameter.Builder addEndpointParamsBuilder()
       Optional list of additional parameters to send to the token endpoint.
       These parameters will be URL-encoded and included in the token request body.
       
      repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5;
    • addEndpointParamsBuilder

      public OAuth2.EndpointParameter.Builder addEndpointParamsBuilder(int index)
       Optional list of additional parameters to send to the token endpoint.
       These parameters will be URL-encoded and included in the token request body.
       
      repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5;
    • getEndpointParamsBuilderList

      public List<OAuth2.EndpointParameter.Builder> getEndpointParamsBuilderList()
       Optional list of additional parameters to send to the token endpoint.
       These parameters will be URL-encoded and included in the token request body.
       
      repeated .envoy.extensions.http.injected_credentials.oauth2.v3.OAuth2.EndpointParameter endpoint_params = 5;
    • setUnknownFields

      public final OAuth2.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OAuth2.Builder>
    • mergeUnknownFields

      public final OAuth2.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OAuth2.Builder>