Send feedback
Class Tool.TLSConfig.CACert.Builder (0.71.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public static final class Tool . TLSConfig . CACert . Builder extends GeneratedMessageV3 . Builder<Tool . TLSConfig . CACert . Builder > implements Tool . TLSConfig . CACertOrBuilder
The CA certificate.
Protobuf type google.cloud.dialogflow.cx.v3beta1.Tool.TLSConfig.CACert
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 . TLSConfig . CACert . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public Tool . TLSConfig . CACert build ()
public Tool . TLSConfig . CACert buildPartial ()
public Tool . TLSConfig . CACert . Builder clear ()
Overrides
public Tool . TLSConfig . CACert . Builder clearCert ()
Required. The allowed custom CA certificates (in DER format) for
HTTPS verification. This overrides the default SSL trust store. If this
is empty or unspecified, Dialogflow will use Google's default trust
store to verify certificates. N.B. Make sure the HTTPS server
certificates are signed with "subject alt name". For instance a
certificate can be self-signed using the following command:
<code><code>
openssl x509 -req -days 200 -in example.com.csr \
-signkey example.com.key \
-out example.com.crt \
-extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
</code></code>
bytes cert = 2 [(.google.api.field_behavior) = REQUIRED];
public Tool . TLSConfig . CACert . Builder clearDisplayName ()
Required. The name of the allowed custom CA certificates. This
can be used to disambiguate the custom CA certificates.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
public Tool . TLSConfig . CACert . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public Tool . TLSConfig . CACert . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public Tool . TLSConfig . CACert . Builder clone ()
Overrides
public ByteString getCert ()
Required. The allowed custom CA certificates (in DER format) for
HTTPS verification. This overrides the default SSL trust store. If this
is empty or unspecified, Dialogflow will use Google's default trust
store to verify certificates. N.B. Make sure the HTTPS server
certificates are signed with "subject alt name". For instance a
certificate can be self-signed using the following command:
<code><code>
openssl x509 -req -days 200 -in example.com.csr \
-signkey example.com.key \
-out example.com.crt \
-extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
</code></code>
bytes cert = 2 [(.google.api.field_behavior) = REQUIRED];
public Tool . TLSConfig . CACert getDefaultInstanceForType ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
public String getDisplayName ()
Required. The name of the allowed custom CA certificates. This
can be used to disambiguate the custom CA certificates.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
String
The displayName.
public ByteString getDisplayNameBytes ()
Required. The name of the allowed custom CA certificates. This
can be used to disambiguate the custom CA certificates.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
ByteString
The bytes for displayName.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public Tool . TLSConfig . CACert . Builder mergeFrom ( Tool . TLSConfig . CACert other )
public Tool . TLSConfig . CACert . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public Tool . TLSConfig . CACert . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
public final Tool . TLSConfig . CACert . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public Tool . TLSConfig . CACert . Builder setCert ( ByteString value )
Required. The allowed custom CA certificates (in DER format) for
HTTPS verification. This overrides the default SSL trust store. If this
is empty or unspecified, Dialogflow will use Google's default trust
store to verify certificates. N.B. Make sure the HTTPS server
certificates are signed with "subject alt name". For instance a
certificate can be self-signed using the following command:
<code><code>
openssl x509 -req -days 200 -in example.com.csr \
-signkey example.com.key \
-out example.com.crt \
-extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
</code></code>
bytes cert = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
ByteString
The cert to set.
public Tool . TLSConfig . CACert . Builder setDisplayName ( String value )
Required. The name of the allowed custom CA certificates. This
can be used to disambiguate the custom CA certificates.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
String
The displayName to set.
public Tool . TLSConfig . CACert . Builder setDisplayNameBytes ( ByteString value )
Required. The name of the allowed custom CA certificates. This
can be used to disambiguate the custom CA certificates.
string display_name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
ByteString
The bytes for displayName to set.
public Tool . TLSConfig . CACert . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public Tool . TLSConfig . CACert . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public final Tool . TLSConfig . CACert . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
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-03-22 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-22 UTC."],[],[]]