Class Tool.TLSConfig.CACert (0.57.0)

public static final class Tool.TLSConfig.CACert extends GeneratedMessageV3 implements Tool.TLSConfig.CACertOrBuilder

The CA certificate.

Protobuf type google.cloud.dialogflow.cx.v3beta1.Tool.TLSConfig.CACert

Static Fields

CERT_FIELD_NUMBER

public static final int CERT_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Tool.TLSConfig.CACert getDefaultInstance()
Returns
Type Description
Tool.TLSConfig.CACert

getDescriptor()

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

newBuilder()

public static Tool.TLSConfig.CACert.Builder newBuilder()
Returns
Type Description
Tool.TLSConfig.CACert.Builder

newBuilder(Tool.TLSConfig.CACert prototype)

public static Tool.TLSConfig.CACert.Builder newBuilder(Tool.TLSConfig.CACert prototype)
Parameter
Name Description
prototype Tool.TLSConfig.CACert
Returns
Type Description
Tool.TLSConfig.CACert.Builder

parseDelimitedFrom(InputStream input)

public static Tool.TLSConfig.CACert parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Tool.TLSConfig.CACert
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Tool.TLSConfig.CACert parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Tool.TLSConfig.CACert
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Tool.TLSConfig.CACert parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Tool.TLSConfig.CACert
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Tool.TLSConfig.CACert parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Tool.TLSConfig.CACert
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Tool.TLSConfig.CACert parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Tool.TLSConfig.CACert
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Tool.TLSConfig.CACert parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Tool.TLSConfig.CACert
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Tool.TLSConfig.CACert parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Tool.TLSConfig.CACert
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Tool.TLSConfig.CACert parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Tool.TLSConfig.CACert
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Tool.TLSConfig.CACert parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Tool.TLSConfig.CACert
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Tool.TLSConfig.CACert parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Tool.TLSConfig.CACert
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Tool.TLSConfig.CACert parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Tool.TLSConfig.CACert
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Tool.TLSConfig.CACert parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Tool.TLSConfig.CACert
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Tool.TLSConfig.CACert> parser()
Returns
Type Description
Parser<CACert>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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.

getParserForType()

public Parser<Tool.TLSConfig.CACert> getParserForType()
Returns
Type Description
Parser<CACert>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Tool.TLSConfig.CACert.Builder newBuilderForType()
Returns
Type Description
Tool.TLSConfig.CACert.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Tool.TLSConfig.CACert.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Tool.TLSConfig.CACert.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Tool.TLSConfig.CACert.Builder toBuilder()
Returns
Type Description
Tool.TLSConfig.CACert.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException