Package com.google.cloud.eventarc.v1
Class Pipeline.Destination.AuthenticationConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Pipeline.Destination.AuthenticationConfig.Builder>
com.google.cloud.eventarc.v1.Pipeline.Destination.AuthenticationConfig.Builder
- All Implemented Interfaces:
Pipeline.Destination.AuthenticationConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Pipeline.Destination.AuthenticationConfig
public static final class Pipeline.Destination.AuthenticationConfig.Builder
extends com.google.protobuf.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.Optional.Optional.Optional.Optional.Optional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.Optional.Optional.setGoogleOidc(Pipeline.Destination.AuthenticationConfig.OidcToken.Builder builderForValue) Optional.Optional.Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Pipeline.Destination.AuthenticationConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Pipeline.Destination.AuthenticationConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Pipeline.Destination.AuthenticationConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public Pipeline.Destination.AuthenticationConfig.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Pipeline.Destination.AuthenticationConfig.Builder>
-
mergeFrom
public Pipeline.Destination.AuthenticationConfig.Builder mergeFrom(Pipeline.Destination.AuthenticationConfig other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Pipeline.Destination.AuthenticationConfig.Builder>
-
mergeFrom
public Pipeline.Destination.AuthenticationConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Pipeline.Destination.AuthenticationConfig.Builder>- Throws:
IOException
-
getAuthenticationMethodDescriptorCase
public Pipeline.Destination.AuthenticationConfig.AuthenticationMethodDescriptorCase getAuthenticationMethodDescriptorCase()- Specified by:
getAuthenticationMethodDescriptorCasein interfacePipeline.Destination.AuthenticationConfigOrBuilder
-
clearAuthenticationMethodDescriptor
-
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];- Specified by:
hasGoogleOidcin interfacePipeline.Destination.AuthenticationConfigOrBuilder- Returns:
- Whether the googleOidc field is set.
-
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];- Specified by:
getGoogleOidcin interfacePipeline.Destination.AuthenticationConfigOrBuilder- Returns:
- The googleOidc.
-
setGoogleOidc
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]; -
setGoogleOidc
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]; -
mergeGoogleOidc
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]; -
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]; -
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]; -
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];- Specified by:
getGoogleOidcOrBuilderin interfacePipeline.Destination.AuthenticationConfigOrBuilder
-
hasOauthToken
public boolean hasOauthToken()Optional. If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) 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];- Specified by:
hasOauthTokenin interfacePipeline.Destination.AuthenticationConfigOrBuilder- Returns:
- Whether the oauthToken field is set.
-
getOauthToken
Optional. If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) 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];- Specified by:
getOauthTokenin interfacePipeline.Destination.AuthenticationConfigOrBuilder- Returns:
- The oauthToken.
-
setOauthToken
public Pipeline.Destination.AuthenticationConfig.Builder setOauthToken(Pipeline.Destination.AuthenticationConfig.OAuthToken value) Optional. If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) 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
public Pipeline.Destination.AuthenticationConfig.Builder setOauthToken(Pipeline.Destination.AuthenticationConfig.OAuthToken.Builder builderForValue) Optional. If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) 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]; -
mergeOauthToken
public Pipeline.Destination.AuthenticationConfig.Builder mergeOauthToken(Pipeline.Destination.AuthenticationConfig.OAuthToken value) Optional. If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) 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]; -
clearOauthToken
Optional. If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) 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
Optional. If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) 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
Optional. If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) 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];- Specified by:
getOauthTokenOrBuilderin interfacePipeline.Destination.AuthenticationConfigOrBuilder
-