Class Tool.TLSConfig.CACert.Builder (0.48.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Tool.TLSConfig.CACert.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Tool.TLSConfig.CACert.Builder
Overrides

build()

public Tool.TLSConfig.CACert build()
Returns
Type Description
Tool.TLSConfig.CACert

buildPartial()

public Tool.TLSConfig.CACert buildPartial()
Returns
Type Description
Tool.TLSConfig.CACert

clear()

public Tool.TLSConfig.CACert.Builder clear()
Returns
Type Description
Tool.TLSConfig.CACert.Builder
Overrides

clearCert()

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, openssl x509 -req -days 200 -in example.com.csr \ -signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\nsubjectAltName='DNS:www.example.com'")

bytes cert = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Tool.TLSConfig.CACert.Builder

This builder for chaining.

clearDisplayName()

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];

Returns
Type Description
Tool.TLSConfig.CACert.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Tool.TLSConfig.CACert.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Tool.TLSConfig.CACert.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Tool.TLSConfig.CACert.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Tool.TLSConfig.CACert.Builder
Overrides

clone()

public Tool.TLSConfig.CACert.Builder clone()
Returns
Type Description
Tool.TLSConfig.CACert.Builder
Overrides

getCert()

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, openssl x509 -req -days 200 -in example.com.csr \ -signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\nsubjectAltName='DNS:www.example.com'")

bytes cert = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The cert.

getDefaultInstanceForType()

public Tool.TLSConfig.CACert getDefaultInstanceForType()
Returns
Type Description
Tool.TLSConfig.CACert

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

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.

getDisplayNameBytes()

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Tool.TLSConfig.CACert other)

public Tool.TLSConfig.CACert.Builder mergeFrom(Tool.TLSConfig.CACert other)
Parameter
Name Description
other Tool.TLSConfig.CACert
Returns
Type Description
Tool.TLSConfig.CACert.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Tool.TLSConfig.CACert.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Tool.TLSConfig.CACert.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Tool.TLSConfig.CACert.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Tool.TLSConfig.CACert.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Tool.TLSConfig.CACert.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Tool.TLSConfig.CACert.Builder
Overrides

setCert(ByteString value)

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, openssl x509 -req -days 200 -in example.com.csr \ -signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\nsubjectAltName='DNS:www.example.com'")

bytes cert = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The cert to set.

Returns
Type Description
Tool.TLSConfig.CACert.Builder

This builder for chaining.

setDisplayName(String value)

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.

Returns
Type Description
Tool.TLSConfig.CACert.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

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.

Returns
Type Description
Tool.TLSConfig.CACert.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Tool.TLSConfig.CACert.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Tool.TLSConfig.CACert.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Tool.TLSConfig.CACert.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Tool.TLSConfig.CACert.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Tool.TLSConfig.CACert.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Tool.TLSConfig.CACert.Builder
Overrides