Class Tool.EndUserAuthConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.dialogflow.cx.v3beta1.Tool.EndUserAuthConfig
- All Implemented Interfaces:
Tool.EndUserAuthConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- Tool
public static final class Tool.EndUserAuthConfig
extends com.google.protobuf.GeneratedMessage
implements Tool.EndUserAuthConfigOrBuilder
End-user authentication configuration used for Connection calls. The field values can either be hardcoded authentication values or the names of [session parameters](https://cloud.google.com/dialogflow/cx/docs/concept/parameter#session-ref) or [request parameters](https://cloud.google.com/dialogflow/cx/docs/concept/parameter#request-scoped). If parameter names are provided, then those parameters can be used to pass the authentication values dynamically, through `$session.params.param-id` or `$request.payload.param-id`.Protobuf type
google.cloud.dialogflow.cx.v3beta1.Tool.EndUserAuthConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classEnd-user authentication configuration used for Connection calls.static enumstatic final classOauth 2.0 Authorization Code authentication configuration.static interfacestatic final classJWT Profile Oauth 2.0 Authorization Grant authentication configuration.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Tool.EndUserAuthConfigstatic final com.google.protobuf.Descriptors.DescriptorOauth 2.0 Authorization Code authentication.Oauth 2.0 Authorization Code authentication.JWT Profile Oauth 2.0 Authorization Grant authentication.JWT Profile Oauth 2.0 Authorization Grant authentication.com.google.protobuf.Parser<Tool.EndUserAuthConfig>intinthashCode()booleanOauth 2.0 Authorization Code authentication.booleanJWT Profile Oauth 2.0 Authorization Grant authentication.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(Tool.EndUserAuthConfig prototype) protected Tool.EndUserAuthConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static Tool.EndUserAuthConfigparseDelimitedFrom(InputStream input) static Tool.EndUserAuthConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Tool.EndUserAuthConfigparseFrom(byte[] data) static Tool.EndUserAuthConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Tool.EndUserAuthConfigparseFrom(com.google.protobuf.ByteString data) static Tool.EndUserAuthConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Tool.EndUserAuthConfigparseFrom(com.google.protobuf.CodedInputStream input) static Tool.EndUserAuthConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Tool.EndUserAuthConfigparseFrom(InputStream input) static Tool.EndUserAuthConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Tool.EndUserAuthConfigparseFrom(ByteBuffer data) static Tool.EndUserAuthConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Tool.EndUserAuthConfig>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
OAUTH2_AUTH_CODE_CONFIG_FIELD_NUMBER
public static final int OAUTH2_AUTH_CODE_CONFIG_FIELD_NUMBER- See Also:
-
OAUTH2_JWT_BEARER_CONFIG_FIELD_NUMBER
public static final int OAUTH2_JWT_BEARER_CONFIG_FIELD_NUMBER- See Also:
-
-
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
-
getEndUserAuthConfigCase
- Specified by:
getEndUserAuthConfigCasein interfaceTool.EndUserAuthConfigOrBuilder
-
hasOauth2AuthCodeConfig
public boolean hasOauth2AuthCodeConfig()Oauth 2.0 Authorization Code authentication.
.google.cloud.dialogflow.cx.v3beta1.Tool.EndUserAuthConfig.Oauth2AuthCodeConfig oauth2_auth_code_config = 2;- Specified by:
hasOauth2AuthCodeConfigin interfaceTool.EndUserAuthConfigOrBuilder- Returns:
- Whether the oauth2AuthCodeConfig field is set.
-
getOauth2AuthCodeConfig
Oauth 2.0 Authorization Code authentication.
.google.cloud.dialogflow.cx.v3beta1.Tool.EndUserAuthConfig.Oauth2AuthCodeConfig oauth2_auth_code_config = 2;- Specified by:
getOauth2AuthCodeConfigin interfaceTool.EndUserAuthConfigOrBuilder- Returns:
- The oauth2AuthCodeConfig.
-
getOauth2AuthCodeConfigOrBuilder
Oauth 2.0 Authorization Code authentication.
.google.cloud.dialogflow.cx.v3beta1.Tool.EndUserAuthConfig.Oauth2AuthCodeConfig oauth2_auth_code_config = 2;- Specified by:
getOauth2AuthCodeConfigOrBuilderin interfaceTool.EndUserAuthConfigOrBuilder
-
hasOauth2JwtBearerConfig
public boolean hasOauth2JwtBearerConfig()JWT Profile Oauth 2.0 Authorization Grant authentication.
.google.cloud.dialogflow.cx.v3beta1.Tool.EndUserAuthConfig.Oauth2JwtBearerConfig oauth2_jwt_bearer_config = 3;- Specified by:
hasOauth2JwtBearerConfigin interfaceTool.EndUserAuthConfigOrBuilder- Returns:
- Whether the oauth2JwtBearerConfig field is set.
-
getOauth2JwtBearerConfig
JWT Profile Oauth 2.0 Authorization Grant authentication.
.google.cloud.dialogflow.cx.v3beta1.Tool.EndUserAuthConfig.Oauth2JwtBearerConfig oauth2_jwt_bearer_config = 3;- Specified by:
getOauth2JwtBearerConfigin interfaceTool.EndUserAuthConfigOrBuilder- Returns:
- The oauth2JwtBearerConfig.
-
getOauth2JwtBearerConfigOrBuilder
JWT Profile Oauth 2.0 Authorization Grant authentication.
.google.cloud.dialogflow.cx.v3beta1.Tool.EndUserAuthConfig.Oauth2JwtBearerConfig oauth2_jwt_bearer_config = 3;- Specified by:
getOauth2JwtBearerConfigOrBuilderin interfaceTool.EndUserAuthConfigOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Tool.EndUserAuthConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tool.EndUserAuthConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tool.EndUserAuthConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tool.EndUserAuthConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tool.EndUserAuthConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Tool.EndUserAuthConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Tool.EndUserAuthConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Tool.EndUserAuthConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Tool.EndUserAuthConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Tool.EndUserAuthConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Tool.EndUserAuthConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-