Class Pipeline.Destination.AuthenticationConfig.Builder (1.58.0)

public static final class Pipeline.Destination.AuthenticationConfig.Builder extends GeneratedMessageV3.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Pipeline.Destination.AuthenticationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

build()

public Pipeline.Destination.AuthenticationConfig build()

buildPartial()

public Pipeline.Destination.AuthenticationConfig buildPartial()

clear()

public Pipeline.Destination.AuthenticationConfig.Builder clear()
Overrides

clearAuthenticationMethodDescriptor()

public Pipeline.Destination.AuthenticationConfig.Builder clearAuthenticationMethodDescriptor()

clearField(Descriptors.FieldDescriptor field)

public Pipeline.Destination.AuthenticationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Overrides

clearGoogleOidc()

public Pipeline.Destination.AuthenticationConfig.Builder clearGoogleOidc()

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

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

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];

clearOneof(Descriptors.OneofDescriptor oneof)

public Pipeline.Destination.AuthenticationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Overrides

clone()

public Pipeline.Destination.AuthenticationConfig.Builder clone()
Overrides

getAuthenticationMethodDescriptorCase()

public Pipeline.Destination.AuthenticationConfig.AuthenticationMethodDescriptorCase getAuthenticationMethodDescriptorCase()

getDefaultInstanceForType()

public Pipeline.Destination.AuthenticationConfig getDefaultInstanceForType()

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 GCP 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 GCP service account to the requests.

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

getGoogleOidcOrBuilder()

public Pipeline.Destination.AuthenticationConfig.OidcTokenOrBuilder getGoogleOidcOrBuilder()

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

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

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];

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];

hasGoogleOidc()

public boolean hasGoogleOidc()

Optional. This authenticate method will apply Google OIDC tokens signed by a GCP 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 GeneratedMessageV3.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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Pipeline.Destination.AuthenticationConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
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 GCP 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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Pipeline.Destination.AuthenticationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Pipeline.Destination.AuthenticationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Overrides

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 GCP 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

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 GCP 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

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

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Pipeline.Destination.AuthenticationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Pipeline.Destination.AuthenticationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides