Class TrustConfig.TrustStore (0.45.0)

public static final class TrustConfig.TrustStore extends GeneratedMessageV3 implements TrustConfig.TrustStoreOrBuilder

Defines a trust store.

Protobuf type google.cloud.certificatemanager.v1.TrustConfig.TrustStore

Static Fields

INTERMEDIATE_CAS_FIELD_NUMBER

public static final int INTERMEDIATE_CAS_FIELD_NUMBER
Field Value
Type Description
int

TRUST_ANCHORS_FIELD_NUMBER

public static final int TRUST_ANCHORS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TrustConfig.TrustStore getDefaultInstance()
Returns
Type Description
TrustConfig.TrustStore

getDescriptor()

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

newBuilder()

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

newBuilder(TrustConfig.TrustStore prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public TrustConfig.TrustStore getDefaultInstanceForType()
Returns
Type Description
TrustConfig.TrustStore

getIntermediateCas(int index)

public TrustConfig.IntermediateCA getIntermediateCas(int index)

Set of intermediate CA certificates used for the path building phase of chain validation.

The field is currently not supported if TrustConfig is used for the workload certificate feature.

repeated .google.cloud.certificatemanager.v1.TrustConfig.IntermediateCA intermediate_cas = 2;

Parameter
Name Description
index int
Returns
Type Description
TrustConfig.IntermediateCA

getIntermediateCasCount()

public int getIntermediateCasCount()

Set of intermediate CA certificates used for the path building phase of chain validation.

The field is currently not supported if TrustConfig is used for the workload certificate feature.

repeated .google.cloud.certificatemanager.v1.TrustConfig.IntermediateCA intermediate_cas = 2;

Returns
Type Description
int

getIntermediateCasList()

public List<TrustConfig.IntermediateCA> getIntermediateCasList()

Set of intermediate CA certificates used for the path building phase of chain validation.

The field is currently not supported if TrustConfig is used for the workload certificate feature.

repeated .google.cloud.certificatemanager.v1.TrustConfig.IntermediateCA intermediate_cas = 2;

Returns
Type Description
List<IntermediateCA>

getIntermediateCasOrBuilder(int index)

public TrustConfig.IntermediateCAOrBuilder getIntermediateCasOrBuilder(int index)

Set of intermediate CA certificates used for the path building phase of chain validation.

The field is currently not supported if TrustConfig is used for the workload certificate feature.

repeated .google.cloud.certificatemanager.v1.TrustConfig.IntermediateCA intermediate_cas = 2;

Parameter
Name Description
index int
Returns
Type Description
TrustConfig.IntermediateCAOrBuilder

getIntermediateCasOrBuilderList()

public List<? extends TrustConfig.IntermediateCAOrBuilder> getIntermediateCasOrBuilderList()

Set of intermediate CA certificates used for the path building phase of chain validation.

The field is currently not supported if TrustConfig is used for the workload certificate feature.

repeated .google.cloud.certificatemanager.v1.TrustConfig.IntermediateCA intermediate_cas = 2;

Returns
Type Description
List<? extends com.google.cloud.certificatemanager.v1.TrustConfig.IntermediateCAOrBuilder>

getParserForType()

public Parser<TrustConfig.TrustStore> getParserForType()
Returns
Type Description
Parser<TrustStore>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTrustAnchors(int index)

public TrustConfig.TrustAnchor getTrustAnchors(int index)

List of Trust Anchors to be used while performing validation against a given TrustStore.

repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustAnchor trust_anchors = 1;

Parameter
Name Description
index int
Returns
Type Description
TrustConfig.TrustAnchor

getTrustAnchorsCount()

public int getTrustAnchorsCount()

List of Trust Anchors to be used while performing validation against a given TrustStore.

repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustAnchor trust_anchors = 1;

Returns
Type Description
int

getTrustAnchorsList()

public List<TrustConfig.TrustAnchor> getTrustAnchorsList()

List of Trust Anchors to be used while performing validation against a given TrustStore.

repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustAnchor trust_anchors = 1;

Returns
Type Description
List<TrustAnchor>

getTrustAnchorsOrBuilder(int index)

public TrustConfig.TrustAnchorOrBuilder getTrustAnchorsOrBuilder(int index)

List of Trust Anchors to be used while performing validation against a given TrustStore.

repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustAnchor trust_anchors = 1;

Parameter
Name Description
index int
Returns
Type Description
TrustConfig.TrustAnchorOrBuilder

getTrustAnchorsOrBuilderList()

public List<? extends TrustConfig.TrustAnchorOrBuilder> getTrustAnchorsOrBuilderList()

List of Trust Anchors to be used while performing validation against a given TrustStore.

repeated .google.cloud.certificatemanager.v1.TrustConfig.TrustAnchor trust_anchors = 1;

Returns
Type Description
List<? extends com.google.cloud.certificatemanager.v1.TrustConfig.TrustAnchorOrBuilder>

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TrustConfig.TrustStore.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TrustConfig.TrustStore.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.TrustStore.Builder toBuilder()
Returns
Type Description
TrustConfig.TrustStore.Builder

writeTo(CodedOutputStream output)

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