Class Agent.ClientCertificateSettings (0.65.0)

public static final class Agent.ClientCertificateSettings extends GeneratedMessageV3 implements Agent.ClientCertificateSettingsOrBuilder

Settings for custom client certificates.

Protobuf type google.cloud.dialogflow.cx.v3.Agent.ClientCertificateSettings

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Agent.ClientCertificateSettings

Static Fields

PASSPHRASE_FIELD_NUMBER

public static final int PASSPHRASE_FIELD_NUMBER
Field Value
Type Description
int

PRIVATE_KEY_FIELD_NUMBER

public static final int PRIVATE_KEY_FIELD_NUMBER
Field Value
Type Description
int

SSL_CERTIFICATE_FIELD_NUMBER

public static final int SSL_CERTIFICATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Agent.ClientCertificateSettings getDefaultInstance()
Returns
Type Description
Agent.ClientCertificateSettings

getDescriptor()

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

newBuilder()

public static Agent.ClientCertificateSettings.Builder newBuilder()
Returns
Type Description
Agent.ClientCertificateSettings.Builder

newBuilder(Agent.ClientCertificateSettings prototype)

public static Agent.ClientCertificateSettings.Builder newBuilder(Agent.ClientCertificateSettings prototype)
Parameter
Name Description
prototype Agent.ClientCertificateSettings
Returns
Type Description
Agent.ClientCertificateSettings.Builder

parseDelimitedFrom(InputStream input)

public static Agent.ClientCertificateSettings parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Agent.ClientCertificateSettings
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Agent.ClientCertificateSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Agent.ClientCertificateSettings
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Agent.ClientCertificateSettings parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Agent.ClientCertificateSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Agent.ClientCertificateSettings parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Agent.ClientCertificateSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Agent.ClientCertificateSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Agent.ClientCertificateSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Agent.ClientCertificateSettings parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Agent.ClientCertificateSettings
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Agent.ClientCertificateSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Agent.ClientCertificateSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Agent.ClientCertificateSettings parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Agent.ClientCertificateSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Agent.ClientCertificateSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Agent.ClientCertificateSettings
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Agent.ClientCertificateSettings parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Agent.ClientCertificateSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Agent.ClientCertificateSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Agent.ClientCertificateSettings
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Agent.ClientCertificateSettings> parser()
Returns
Type Description
Parser<ClientCertificateSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Agent.ClientCertificateSettings getDefaultInstanceForType()
Returns
Type Description
Agent.ClientCertificateSettings

getParserForType()

public Parser<Agent.ClientCertificateSettings> getParserForType()
Returns
Type Description
Parser<ClientCertificateSettings>
Overrides

getPassphrase()

public String getPassphrase()

Optional. The name of the SecretManager secret version resource storing the passphrase. 'passphrase' should be left unset if the private key is not encrypted. Format: projects/{project}/secrets/{secret}/versions/{version}

string passphrase = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The passphrase.

getPassphraseBytes()

public ByteString getPassphraseBytes()

Optional. The name of the SecretManager secret version resource storing the passphrase. 'passphrase' should be left unset if the private key is not encrypted. Format: projects/{project}/secrets/{secret}/versions/{version}

string passphrase = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for passphrase.

getPrivateKey()

public String getPrivateKey()

Required. The name of the SecretManager secret version resource storing the private key encoded in PEM format. Format: projects/{project}/secrets/{secret}/versions/{version}

string private_key = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The privateKey.

getPrivateKeyBytes()

public ByteString getPrivateKeyBytes()

Required. The name of the SecretManager secret version resource storing the private key encoded in PEM format. Format: projects/{project}/secrets/{secret}/versions/{version}

string private_key = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for privateKey.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSslCertificate()

public String getSslCertificate()

Required. The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines.

string ssl_certificate = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The sslCertificate.

getSslCertificateBytes()

public ByteString getSslCertificateBytes()

Required. The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines.

string ssl_certificate = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for sslCertificate.

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 Agent.ClientCertificateSettings.Builder newBuilderForType()
Returns
Type Description
Agent.ClientCertificateSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Agent.ClientCertificateSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Agent.ClientCertificateSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Agent.ClientCertificateSettings.Builder toBuilder()
Returns
Type Description
Agent.ClientCertificateSettings.Builder

writeTo(CodedOutputStream output)

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