Interface Agent.ClientCertificateSettingsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Agent.ClientCertificateSettings,Agent.ClientCertificateSettings.Builder
- Enclosing class:
- Agent
public static interface Agent.ClientCertificateSettingsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.com.google.protobuf.ByteStringOptional.Required.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getSslCertificate
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:
- The sslCertificate.
-
getSslCertificateBytes
com.google.protobuf.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:
- The bytes for sslCertificate.
-
getPrivateKey
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:
- The privateKey.
-
getPrivateKeyBytes
com.google.protobuf.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:
- The bytes for privateKey.
-
getPassphrase
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:
- The passphrase.
-
getPassphraseBytes
com.google.protobuf.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:
- The bytes for passphrase.
-