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
Inherited Members
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Pipeline.Destination.AuthenticationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overridesbuild()
public Pipeline.Destination.AuthenticationConfig build()
buildPartial()
public Pipeline.Destination.AuthenticationConfig buildPartial()
clear()
public Pipeline.Destination.AuthenticationConfig.Builder clear()
OverridesclearAuthenticationMethodDescriptor()
public Pipeline.Destination.AuthenticationConfig.Builder clearAuthenticationMethodDescriptor()
clearField(Descriptors.FieldDescriptor field)
public Pipeline.Destination.AuthenticationConfig.Builder clearField(Descriptors.FieldDescriptor field)
OverridesclearGoogleOidc()
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)
Overridesclone()
public Pipeline.Destination.AuthenticationConfig.Builder clone()
OverridesgetAuthenticationMethodDescriptorCase()
public Pipeline.Destination.AuthenticationConfig.AuthenticationMethodDescriptorCase getAuthenticationMethodDescriptorCase()
getDefaultInstanceForType()
public Pipeline.Destination.AuthenticationConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
OverridesgetGoogleOidc()
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];
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];
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()
OverridesisInitialized()
public final boolean isInitialized()
OverridesmergeFrom(Pipeline.Destination.AuthenticationConfig other)
public Pipeline.Destination.AuthenticationConfig.Builder mergeFrom(Pipeline.Destination.AuthenticationConfig other)
public Pipeline.Destination.AuthenticationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
OverridesmergeFrom(Message other)
public Pipeline.Destination.AuthenticationConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
OverridesmergeGoogleOidc(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];
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Pipeline.Destination.AuthenticationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
OverridessetField(Descriptors.FieldDescriptor field, Object value)
public Pipeline.Destination.AuthenticationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
OverridessetGoogleOidc(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];
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];
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];
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Pipeline.Destination.AuthenticationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
OverridessetUnknownFields(UnknownFieldSet unknownFields)
public final Pipeline.Destination.AuthenticationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides