Class Pipeline.Destination.AuthenticationConfig.Builder (1.83.0)

public static final class Pipeline.Destination.AuthenticationConfig.Builder extends GeneratedMessage.Builder<Pipeline.Destination.AuthenticationConfig.Builder> implements Pipeline.Destination.AuthenticationConfigOrBuilder

Represents a config used to authenticate message requests.

Protobuf type google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public Pipeline.Destination.AuthenticationConfig build()
Returns
Type Description
Pipeline.Destination.AuthenticationConfig

buildPartial()

public Pipeline.Destination.AuthenticationConfig buildPartial()
Returns
Type Description
Pipeline.Destination.AuthenticationConfig

clear()

public Pipeline.Destination.AuthenticationConfig.Builder clear()
Returns
Type Description
Pipeline.Destination.AuthenticationConfig.Builder
Overrides

clearAuthenticationMethodDescriptor()

public Pipeline.Destination.AuthenticationConfig.Builder clearAuthenticationMethodDescriptor()
Returns
Type Description
Pipeline.Destination.AuthenticationConfig.Builder

clearGoogleOidc()

public Pipeline.Destination.AuthenticationConfig.Builder clearGoogleOidc()

Optional. This authenticate method will apply Google OIDC tokens signed by a Google Cloud service account to the requests.

.google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig.OidcToken google_oidc = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pipeline.Destination.AuthenticationConfig.Builder

clearOauthToken()

public Pipeline.Destination.AuthenticationConfig.Builder clearOauthToken()

Optional. If specified, an OAuth token will be generated and attached as an Authorization header in the HTTP request.

This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.

.google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig.OAuthToken oauth_token = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pipeline.Destination.AuthenticationConfig.Builder

getAuthenticationMethodDescriptorCase()

public Pipeline.Destination.AuthenticationConfig.AuthenticationMethodDescriptorCase getAuthenticationMethodDescriptorCase()
Returns
Type Description
Pipeline.Destination.AuthenticationConfig.AuthenticationMethodDescriptorCase

getDefaultInstanceForType()

public Pipeline.Destination.AuthenticationConfig getDefaultInstanceForType()
Returns
Type Description
Pipeline.Destination.AuthenticationConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getGoogleOidc()

public Pipeline.Destination.AuthenticationConfig.OidcToken getGoogleOidc()

Optional. This authenticate method will apply Google OIDC tokens signed by a Google Cloud service account to the requests.

.google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig.OidcToken google_oidc = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pipeline.Destination.AuthenticationConfig.OidcToken

The googleOidc.

getGoogleOidcBuilder()

public Pipeline.Destination.AuthenticationConfig.OidcToken.Builder getGoogleOidcBuilder()

Optional. This authenticate method will apply Google OIDC tokens signed by a Google Cloud service account to the requests.

.google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig.OidcToken google_oidc = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pipeline.Destination.AuthenticationConfig.OidcToken.Builder

getGoogleOidcOrBuilder()

public Pipeline.Destination.AuthenticationConfig.OidcTokenOrBuilder getGoogleOidcOrBuilder()

Optional. This authenticate method will apply Google OIDC tokens signed by a Google Cloud service account to the requests.

.google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig.OidcToken google_oidc = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pipeline.Destination.AuthenticationConfig.OidcTokenOrBuilder

getOauthToken()

public Pipeline.Destination.AuthenticationConfig.OAuthToken getOauthToken()

Optional. If specified, an OAuth token will be generated and attached as an Authorization header in the HTTP request.

This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.

.google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig.OAuthToken oauth_token = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pipeline.Destination.AuthenticationConfig.OAuthToken

The oauthToken.

getOauthTokenBuilder()

public Pipeline.Destination.AuthenticationConfig.OAuthToken.Builder getOauthTokenBuilder()

Optional. If specified, an OAuth token will be generated and attached as an Authorization header in the HTTP request.

This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.

.google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig.OAuthToken oauth_token = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pipeline.Destination.AuthenticationConfig.OAuthToken.Builder

getOauthTokenOrBuilder()

public Pipeline.Destination.AuthenticationConfig.OAuthTokenOrBuilder getOauthTokenOrBuilder()

Optional. If specified, an OAuth token will be generated and attached as an Authorization header in the HTTP request.

This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.

.google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig.OAuthToken oauth_token = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Pipeline.Destination.AuthenticationConfig.OAuthTokenOrBuilder

hasGoogleOidc()

public boolean hasGoogleOidc()

Optional. This authenticate method will apply Google OIDC tokens signed by a Google Cloud service account to the requests.

.google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig.OidcToken google_oidc = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the googleOidc field is set.

hasOauthToken()

public boolean hasOauthToken()

Optional. If specified, an OAuth token will be generated and attached as an Authorization header in the HTTP request.

This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.

.google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig.OAuthToken oauth_token = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the oauthToken field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Pipeline.Destination.AuthenticationConfig other)

public Pipeline.Destination.AuthenticationConfig.Builder mergeFrom(Pipeline.Destination.AuthenticationConfig other)
Parameter
Name Description
other Pipeline.Destination.AuthenticationConfig
Returns
Type Description
Pipeline.Destination.AuthenticationConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Pipeline.Destination.AuthenticationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Pipeline.Destination.AuthenticationConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Pipeline.Destination.AuthenticationConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Pipeline.Destination.AuthenticationConfig.Builder
Overrides

mergeGoogleOidc(Pipeline.Destination.AuthenticationConfig.OidcToken value)

public Pipeline.Destination.AuthenticationConfig.Builder mergeGoogleOidc(Pipeline.Destination.AuthenticationConfig.OidcToken value)

Optional. This authenticate method will apply Google OIDC tokens signed by a Google Cloud service account to the requests.

.google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig.OidcToken google_oidc = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Pipeline.Destination.AuthenticationConfig.OidcToken
Returns
Type Description
Pipeline.Destination.AuthenticationConfig.Builder

mergeOauthToken(Pipeline.Destination.AuthenticationConfig.OAuthToken value)

public Pipeline.Destination.AuthenticationConfig.Builder mergeOauthToken(Pipeline.Destination.AuthenticationConfig.OAuthToken value)

Optional. If specified, an OAuth token will be generated and attached as an Authorization header in the HTTP request.

This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.

.google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig.OAuthToken oauth_token = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Pipeline.Destination.AuthenticationConfig.OAuthToken
Returns
Type Description
Pipeline.Destination.AuthenticationConfig.Builder

setGoogleOidc(Pipeline.Destination.AuthenticationConfig.OidcToken value)

public Pipeline.Destination.AuthenticationConfig.Builder setGoogleOidc(Pipeline.Destination.AuthenticationConfig.OidcToken value)

Optional. This authenticate method will apply Google OIDC tokens signed by a Google Cloud service account to the requests.

.google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig.OidcToken google_oidc = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Pipeline.Destination.AuthenticationConfig.OidcToken
Returns
Type Description
Pipeline.Destination.AuthenticationConfig.Builder

setGoogleOidc(Pipeline.Destination.AuthenticationConfig.OidcToken.Builder builderForValue)

public Pipeline.Destination.AuthenticationConfig.Builder setGoogleOidc(Pipeline.Destination.AuthenticationConfig.OidcToken.Builder builderForValue)

Optional. This authenticate method will apply Google OIDC tokens signed by a Google Cloud service account to the requests.

.google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig.OidcToken google_oidc = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Pipeline.Destination.AuthenticationConfig.OidcToken.Builder
Returns
Type Description
Pipeline.Destination.AuthenticationConfig.Builder

setOauthToken(Pipeline.Destination.AuthenticationConfig.OAuthToken value)

public Pipeline.Destination.AuthenticationConfig.Builder setOauthToken(Pipeline.Destination.AuthenticationConfig.OAuthToken value)

Optional. If specified, an OAuth token will be generated and attached as an Authorization header in the HTTP request.

This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.

.google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig.OAuthToken oauth_token = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Pipeline.Destination.AuthenticationConfig.OAuthToken
Returns
Type Description
Pipeline.Destination.AuthenticationConfig.Builder

setOauthToken(Pipeline.Destination.AuthenticationConfig.OAuthToken.Builder builderForValue)

public Pipeline.Destination.AuthenticationConfig.Builder setOauthToken(Pipeline.Destination.AuthenticationConfig.OAuthToken.Builder builderForValue)

Optional. If specified, an OAuth token will be generated and attached as an Authorization header in the HTTP request.

This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.

.google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig.OAuthToken oauth_token = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Pipeline.Destination.AuthenticationConfig.OAuthToken.Builder
Returns
Type Description
Pipeline.Destination.AuthenticationConfig.Builder