Class Tool.OpenApiTool (0.75.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 0.75.0keyboard_arrow_down
public static final class Tool . OpenApiTool extends GeneratedMessageV3 implements Tool . OpenApiToolOrBuilder
An OpenAPI tool is a way to provide the Tool specifications in the Open API
schema format.
Protobuf type google.cloud.dialogflow.cx.v3beta1.Tool.OpenApiTool
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int AUTHENTICATION_FIELD_NUMBER
Field Value
Type
Description
int
public static final int SERVICE_DIRECTORY_CONFIG_FIELD_NUMBER
Field Value
Type
Description
int
TEXT_SCHEMA_FIELD_NUMBER
public static final int TEXT_SCHEMA_FIELD_NUMBER
Field Value
Type
Description
int
public static final int TLS_CONFIG_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static Tool . OpenApiTool getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static Tool . OpenApiTool . Builder newBuilder ()
public static Tool . OpenApiTool . Builder newBuilder ( Tool . OpenApiTool prototype )
public static Tool . OpenApiTool parseDelimitedFrom ( InputStream input )
public static Tool . OpenApiTool parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static Tool . OpenApiTool parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static Tool . OpenApiTool parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static Tool . OpenApiTool parseFrom ( ByteString data )
public static Tool . OpenApiTool parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static Tool . OpenApiTool parseFrom ( CodedInputStream input )
public static Tool . OpenApiTool parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static Tool . OpenApiTool parseFrom ( InputStream input )
public static Tool . OpenApiTool parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static Tool . OpenApiTool parseFrom ( ByteBuffer data )
public static Tool . OpenApiTool parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<Tool . OpenApiTool > parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public Tool . Authentication getAuthentication ()
Optional. Authentication information required by the API.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication authentication = 2 [(.google.api.field_behavior) = OPTIONAL];
public Tool . AuthenticationOrBuilder getAuthenticationOrBuilder ()
Optional. Authentication information required by the API.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication authentication = 2 [(.google.api.field_behavior) = OPTIONAL];
public Tool . OpenApiTool getDefaultInstanceForType ()
public Parser<Tool . OpenApiTool > getParserForType ()
Overrides
public Tool . OpenApiTool . SchemaCase getSchemaCase ()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public Tool . ServiceDirectoryConfig getServiceDirectoryConfig ()
Optional. Service Directory configuration.
.google.cloud.dialogflow.cx.v3beta1.Tool.ServiceDirectoryConfig service_directory_config = 4 [(.google.api.field_behavior) = OPTIONAL];
public Tool . ServiceDirectoryConfigOrBuilder getServiceDirectoryConfigOrBuilder ()
Optional. Service Directory configuration.
.google.cloud.dialogflow.cx.v3beta1.Tool.ServiceDirectoryConfig service_directory_config = 4 [(.google.api.field_behavior) = OPTIONAL];
getTextSchema()
public String getTextSchema ()
Required. The OpenAPI schema specified as a text.
string text_schema = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
String
The textSchema.
getTextSchemaBytes()
public ByteString getTextSchemaBytes ()
Required. The OpenAPI schema specified as a text.
string text_schema = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
ByteString
The bytes for textSchema.
public Tool . TLSConfig getTlsConfig ()
Optional. TLS configuration for the HTTPS verification.
.google.cloud.dialogflow.cx.v3beta1.Tool.TLSConfig tls_config = 3 [(.google.api.field_behavior) = OPTIONAL];
public Tool . TLSConfigOrBuilder getTlsConfigOrBuilder ()
Optional. TLS configuration for the HTTPS verification.
.google.cloud.dialogflow.cx.v3beta1.Tool.TLSConfig tls_config = 3 [(.google.api.field_behavior) = OPTIONAL];
public boolean hasAuthentication ()
Optional. Authentication information required by the API.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication authentication = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the authentication field is set.
public boolean hasServiceDirectoryConfig ()
Optional. Service Directory configuration.
.google.cloud.dialogflow.cx.v3beta1.Tool.ServiceDirectoryConfig service_directory_config = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the serviceDirectoryConfig field is set.
hasTextSchema()
public boolean hasTextSchema ()
Required. The OpenAPI schema specified as a text.
string text_schema = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
boolean
Whether the textSchema field is set.
public boolean hasTlsConfig ()
Optional. TLS configuration for the HTTPS verification.
.google.cloud.dialogflow.cx.v3beta1.Tool.TLSConfig tls_config = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the tlsConfig field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public Tool . OpenApiTool . Builder newBuilderForType ()
protected Tool . OpenApiTool . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public Tool . OpenApiTool . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,[]]