Class Agent.ClientCertificateSettings (0.71.0)

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

Settings for custom client certificates.

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

Static Fields

PASSPHRASE_FIELD_NUMBER

public static final int PASSPHRASE_FIELD_NUMBER
Field Value
TypeDescription
int

PRIVATE_KEY_FIELD_NUMBER

public static final int PRIVATE_KEY_FIELD_NUMBER
Field Value
TypeDescription
int

SSL_CERTIFICATE_FIELD_NUMBER

public static final int SSL_CERTIFICATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Agent.ClientCertificateSettings getDefaultInstance()
Returns
TypeDescription
Agent.ClientCertificateSettings

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Agent.ClientCertificateSettings.Builder newBuilder()
Returns
TypeDescription
Agent.ClientCertificateSettings.Builder

newBuilder(Agent.ClientCertificateSettings )

public static Agent.ClientCertificateSettings.Builder newBuilder(Agent.ClientCertificateSettings )
Parameter
NameDescription
Agent.ClientCertificateSettings
Returns
TypeDescription
Agent.ClientCertificateSettings.Builder

parseDelimitedFrom(InputStream input)

public static Agent.ClientCertificateSettings parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Agent.ClientCertificateSettings
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Agent.ClientCertificateSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Agent.ClientCertificateSettings
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Agent.ClientCertificateSettings parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Agent.ClientCertificateSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Agent.ClientCertificateSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Agent.ClientCertificateSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Agent.ClientCertificateSettings parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Agent.ClientCertificateSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Agent.ClientCertificateSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Agent.ClientCertificateSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Agent.ClientCertificateSettings parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Agent.ClientCertificateSettings
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Agent.ClientCertificateSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Agent.ClientCertificateSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Agent.ClientCertificateSettings parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Agent.ClientCertificateSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Agent.ClientCertificateSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Agent.ClientCertificateSettings
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Agent.ClientCertificateSettings parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Agent.ClientCertificateSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Agent.ClientCertificateSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Agent.ClientCertificateSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Agent.ClientCertificateSettings getDefaultInstanceForType()
Returns
TypeDescription
Agent.ClientCertificateSettings

getParserForType()

public Parser<Agent.ClientCertificateSettings> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for privateKey.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for sslCertificate.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Agent.ClientCertificateSettings.Builder newBuilderForType()
Returns
TypeDescription
Agent.ClientCertificateSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Agent.ClientCertificateSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Agent.ClientCertificateSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Agent.ClientCertificateSettings.Builder toBuilder()
Returns
TypeDescription
Agent.ClientCertificateSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException