Interface Tool.TLSConfig.CACertOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Tool.TLSConfig.CACert, Tool.TLSConfig.CACert.Builder
Enclosing class:
Tool.TLSConfig

public static interface Tool.TLSConfig.CACertOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.ByteString
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDisplayName

      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:
      The displayName.
    • getDisplayNameBytes

      com.google.protobuf.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:
      The bytes for displayName.
    • getCert

      com.google.protobuf.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:
      The cert.