Class TrustConfig (0.24.0)

public final class TrustConfig extends GeneratedMessageV3 implements TrustConfigOrBuilder

Sources of CA certificates to install in the broker's truststore.

Protobuf type google.cloud.managedkafka.v1.TrustConfig

Static Fields

CAS_CONFIGS_FIELD_NUMBER

public static final int CAS_CONFIGS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TrustConfig getDefaultInstance()
Returns
Type Description
TrustConfig

getDescriptor()

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

newBuilder()

public static TrustConfig.Builder newBuilder()
Returns
Type Description
TrustConfig.Builder

newBuilder(TrustConfig prototype)

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

parseDelimitedFrom(InputStream input)

public static TrustConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TrustConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static TrustConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TrustConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static TrustConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TrustConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static TrustConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TrustConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static TrustConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TrustConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<TrustConfig> parser()
Returns
Type Description
Parser<TrustConfig>

Methods

equals(Object obj)

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

getCasConfigs(int index)

public TrustConfig.CertificateAuthorityServiceConfig getCasConfigs(int index)

Optional. Configuration for the Google Certificate Authority Service. Maximum 10.

repeated .google.cloud.managedkafka.v1.TrustConfig.CertificateAuthorityServiceConfig cas_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
TrustConfig.CertificateAuthorityServiceConfig

getCasConfigsCount()

public int getCasConfigsCount()

Optional. Configuration for the Google Certificate Authority Service. Maximum 10.

repeated .google.cloud.managedkafka.v1.TrustConfig.CertificateAuthorityServiceConfig cas_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getCasConfigsList()

public List<TrustConfig.CertificateAuthorityServiceConfig> getCasConfigsList()

Optional. Configuration for the Google Certificate Authority Service. Maximum 10.

repeated .google.cloud.managedkafka.v1.TrustConfig.CertificateAuthorityServiceConfig cas_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<CertificateAuthorityServiceConfig>

getCasConfigsOrBuilder(int index)

public TrustConfig.CertificateAuthorityServiceConfigOrBuilder getCasConfigsOrBuilder(int index)

Optional. Configuration for the Google Certificate Authority Service. Maximum 10.

repeated .google.cloud.managedkafka.v1.TrustConfig.CertificateAuthorityServiceConfig cas_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
TrustConfig.CertificateAuthorityServiceConfigOrBuilder

getCasConfigsOrBuilderList()

public List<? extends TrustConfig.CertificateAuthorityServiceConfigOrBuilder> getCasConfigsOrBuilderList()

Optional. Configuration for the Google Certificate Authority Service. Maximum 10.

repeated .google.cloud.managedkafka.v1.TrustConfig.CertificateAuthorityServiceConfig cas_configs = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.managedkafka.v1.TrustConfig.CertificateAuthorityServiceConfigOrBuilder>

getDefaultInstanceForType()

public TrustConfig getDefaultInstanceForType()
Returns
Type Description
TrustConfig

getParserForType()

public Parser<TrustConfig> getParserForType()
Returns
Type Description
Parser<TrustConfig>
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 TrustConfig.Builder newBuilderForType()
Returns
Type Description
TrustConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public TrustConfig.Builder toBuilder()
Returns
Type Description
TrustConfig.Builder

writeTo(CodedOutputStream output)

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