Class TrustConfig.TrustStore (0.44.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
TypeDescription
int

TRUST_ANCHORS_FIELD_NUMBER

public static final int TRUST_ANCHORS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TrustConfig.TrustStore getDefaultInstance()
Returns
TypeDescription
TrustConfig.TrustStore

getDescriptor()

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

newBuilder()

public static TrustConfig.TrustStore.Builder newBuilder()
Returns
TypeDescription
TrustConfig.TrustStore.Builder

newBuilder(TrustConfig.TrustStore prototype)

public static TrustConfig.TrustStore.Builder newBuilder(TrustConfig.TrustStore prototype)
Parameter
NameDescription
prototypeTrustConfig.TrustStore
Returns
TypeDescription
TrustConfig.TrustStore.Builder

parseDelimitedFrom(InputStream input)

public static TrustConfig.TrustStore parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TrustConfig.TrustStore
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static TrustConfig.TrustStore parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TrustConfig.TrustStore
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static TrustConfig.TrustStore parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TrustConfig.TrustStore
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static TrustConfig.TrustStore parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TrustConfig.TrustStore
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static TrustConfig.TrustStore parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TrustConfig.TrustStore
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public TrustConfig.TrustStore getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.certificatemanager.v1.TrustConfig.IntermediateCAOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.certificatemanager.v1.TrustConfig.TrustAnchorOrBuilder>

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TrustConfig.TrustStore.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TrustConfig.TrustStore.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public TrustConfig.TrustStore.Builder toBuilder()
Returns
TypeDescription
TrustConfig.TrustStore.Builder

writeTo(CodedOutputStream output)

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