public static final class Tool.OpenApiTool.Builder extends GeneratedMessageV3.Builder<Tool.OpenApiTool.Builder> 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.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
public static final Descriptors.Descriptor getDescriptor()
Methods
public Tool.OpenApiTool.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Tool.OpenApiTool build()
public Tool.OpenApiTool buildPartial()
public Tool.OpenApiTool.Builder clear()
Overrides
public Tool.OpenApiTool.Builder clearAuthentication()
Optional. Authentication information required by the API.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication authentication = 2 [(.google.api.field_behavior) = OPTIONAL];
public Tool.OpenApiTool.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public Tool.OpenApiTool.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public Tool.OpenApiTool.Builder clearSchema()
clearTextSchema()
public Tool.OpenApiTool.Builder clearTextSchema()
Required. The OpenAPI schema specified as a text.
string text_schema = 1 [(.google.api.field_behavior) = REQUIRED];
public Tool.OpenApiTool.Builder clearTlsConfig()
Optional. TLS configuration for the HTTPS verification.
.google.cloud.dialogflow.cx.v3beta1.Tool.TLSConfig tls_config = 3 [(.google.api.field_behavior) = OPTIONAL];
public Tool.OpenApiTool.Builder clone()
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.Authentication.Builder getAuthenticationBuilder()
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 Descriptors.Descriptor getDescriptorForType()
Overrides
public Tool.OpenApiTool.SchemaCase getSchemaCase()
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.TLSConfig.Builder getTlsConfigBuilder()
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public Tool.OpenApiTool.Builder mergeAuthentication(Tool.Authentication value)
Optional. Authentication information required by the API.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication authentication = 2 [(.google.api.field_behavior) = OPTIONAL];
public Tool.OpenApiTool.Builder mergeFrom(Tool.OpenApiTool other)
public Tool.OpenApiTool.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public Tool.OpenApiTool.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public Tool.OpenApiTool.Builder mergeTlsConfig(Tool.TLSConfig value)
Optional. TLS configuration for the HTTPS verification.
.google.cloud.dialogflow.cx.v3beta1.Tool.TLSConfig tls_config = 3 [(.google.api.field_behavior) = OPTIONAL];
public final Tool.OpenApiTool.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public Tool.OpenApiTool.Builder setAuthentication(Tool.Authentication value)
Optional. Authentication information required by the API.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication authentication = 2 [(.google.api.field_behavior) = OPTIONAL];
public Tool.OpenApiTool.Builder setAuthentication(Tool.Authentication.Builder builderForValue)
Optional. Authentication information required by the API.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication authentication = 2 [(.google.api.field_behavior) = OPTIONAL];
public Tool.OpenApiTool.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public Tool.OpenApiTool.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTextSchema(String value)
public Tool.OpenApiTool.Builder setTextSchema(String value)
Required. The OpenAPI schema specified as a text.
string text_schema = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The textSchema to set.
|
setTextSchemaBytes(ByteString value)
public Tool.OpenApiTool.Builder setTextSchemaBytes(ByteString value)
Required. The OpenAPI schema specified as a text.
string text_schema = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for textSchema to set.
|
public Tool.OpenApiTool.Builder setTlsConfig(Tool.TLSConfig value)
Optional. TLS configuration for the HTTPS verification.
.google.cloud.dialogflow.cx.v3beta1.Tool.TLSConfig tls_config = 3 [(.google.api.field_behavior) = OPTIONAL];
public Tool.OpenApiTool.Builder setTlsConfig(Tool.TLSConfig.Builder builderForValue)
Optional. TLS configuration for the HTTPS verification.
.google.cloud.dialogflow.cx.v3beta1.Tool.TLSConfig tls_config = 3 [(.google.api.field_behavior) = OPTIONAL];
public final Tool.OpenApiTool.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides