Class TrustConfig.TrustStore.Builder (0.47.0)

public static final class TrustConfig.TrustStore.Builder extends GeneratedMessageV3.Builder<TrustConfig.TrustStore.Builder> implements TrustConfig.TrustStoreOrBuilder

Defines a trust store.

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

Static Methods

getDescriptor()

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

Methods

addAllIntermediateCas(Iterable<? extends TrustConfig.IntermediateCA> values)

public TrustConfig.TrustStore.Builder addAllIntermediateCas(Iterable<? extends TrustConfig.IntermediateCA> values)

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
values Iterable<? extends com.google.cloud.certificatemanager.v1.TrustConfig.IntermediateCA>
Returns
Type Description
TrustConfig.TrustStore.Builder

addAllTrustAnchors(Iterable<? extends TrustConfig.TrustAnchor> values)

public TrustConfig.TrustStore.Builder addAllTrustAnchors(Iterable<? extends TrustConfig.TrustAnchor> values)

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
values Iterable<? extends com.google.cloud.certificatemanager.v1.TrustConfig.TrustAnchor>
Returns
Type Description
TrustConfig.TrustStore.Builder

addIntermediateCas(TrustConfig.IntermediateCA value)

public TrustConfig.TrustStore.Builder addIntermediateCas(TrustConfig.IntermediateCA value)

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
value TrustConfig.IntermediateCA
Returns
Type Description
TrustConfig.TrustStore.Builder

addIntermediateCas(TrustConfig.IntermediateCA.Builder builderForValue)

public TrustConfig.TrustStore.Builder addIntermediateCas(TrustConfig.IntermediateCA.Builder builderForValue)

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
builderForValue TrustConfig.IntermediateCA.Builder
Returns
Type Description
TrustConfig.TrustStore.Builder

addIntermediateCas(int index, TrustConfig.IntermediateCA value)

public TrustConfig.TrustStore.Builder addIntermediateCas(int index, TrustConfig.IntermediateCA value)

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;

Parameters
Name Description
index int
value TrustConfig.IntermediateCA
Returns
Type Description
TrustConfig.TrustStore.Builder

addIntermediateCas(int index, TrustConfig.IntermediateCA.Builder builderForValue)

public TrustConfig.TrustStore.Builder addIntermediateCas(int index, TrustConfig.IntermediateCA.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue TrustConfig.IntermediateCA.Builder
Returns
Type Description
TrustConfig.TrustStore.Builder

addIntermediateCasBuilder()

public TrustConfig.IntermediateCA.Builder addIntermediateCasBuilder()

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
TrustConfig.IntermediateCA.Builder

addIntermediateCasBuilder(int index)

public TrustConfig.IntermediateCA.Builder addIntermediateCasBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TrustConfig.TrustStore.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TrustConfig.TrustStore.Builder
Overrides

addTrustAnchors(TrustConfig.TrustAnchor value)

public TrustConfig.TrustStore.Builder addTrustAnchors(TrustConfig.TrustAnchor value)

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
value TrustConfig.TrustAnchor
Returns
Type Description
TrustConfig.TrustStore.Builder

addTrustAnchors(TrustConfig.TrustAnchor.Builder builderForValue)

public TrustConfig.TrustStore.Builder addTrustAnchors(TrustConfig.TrustAnchor.Builder builderForValue)

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
builderForValue TrustConfig.TrustAnchor.Builder
Returns
Type Description
TrustConfig.TrustStore.Builder

addTrustAnchors(int index, TrustConfig.TrustAnchor value)

public TrustConfig.TrustStore.Builder addTrustAnchors(int index, TrustConfig.TrustAnchor value)

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

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

Parameters
Name Description
index int
value TrustConfig.TrustAnchor
Returns
Type Description
TrustConfig.TrustStore.Builder

addTrustAnchors(int index, TrustConfig.TrustAnchor.Builder builderForValue)

public TrustConfig.TrustStore.Builder addTrustAnchors(int index, TrustConfig.TrustAnchor.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue TrustConfig.TrustAnchor.Builder
Returns
Type Description
TrustConfig.TrustStore.Builder

addTrustAnchorsBuilder()

public TrustConfig.TrustAnchor.Builder addTrustAnchorsBuilder()

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
TrustConfig.TrustAnchor.Builder

addTrustAnchorsBuilder(int index)

public TrustConfig.TrustAnchor.Builder addTrustAnchorsBuilder(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.Builder

build()

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

buildPartial()

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

clear()

public TrustConfig.TrustStore.Builder clear()
Returns
Type Description
TrustConfig.TrustStore.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TrustConfig.TrustStore.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TrustConfig.TrustStore.Builder
Overrides

clearIntermediateCas()

public TrustConfig.TrustStore.Builder clearIntermediateCas()

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
TrustConfig.TrustStore.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public TrustConfig.TrustStore.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TrustConfig.TrustStore.Builder
Overrides

clearTrustAnchors()

public TrustConfig.TrustStore.Builder clearTrustAnchors()

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
TrustConfig.TrustStore.Builder

clone()

public TrustConfig.TrustStore.Builder clone()
Returns
Type Description
TrustConfig.TrustStore.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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

getIntermediateCasBuilder(int index)

public TrustConfig.IntermediateCA.Builder getIntermediateCasBuilder(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.Builder

getIntermediateCasBuilderList()

public List<TrustConfig.IntermediateCA.Builder> getIntermediateCasBuilderList()

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<Builder>

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>

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

getTrustAnchorsBuilder(int index)

public TrustConfig.TrustAnchor.Builder getTrustAnchorsBuilder(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.Builder

getTrustAnchorsBuilderList()

public List<TrustConfig.TrustAnchor.Builder> getTrustAnchorsBuilderList()

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<Builder>

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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TrustConfig.TrustStore other)

public TrustConfig.TrustStore.Builder mergeFrom(TrustConfig.TrustStore other)
Parameter
Name Description
other TrustConfig.TrustStore
Returns
Type Description
TrustConfig.TrustStore.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TrustConfig.TrustStore.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TrustConfig.TrustStore.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TrustConfig.TrustStore.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TrustConfig.TrustStore.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TrustConfig.TrustStore.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TrustConfig.TrustStore.Builder
Overrides

removeIntermediateCas(int index)

public TrustConfig.TrustStore.Builder removeIntermediateCas(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.TrustStore.Builder

removeTrustAnchors(int index)

public TrustConfig.TrustStore.Builder removeTrustAnchors(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.TrustStore.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TrustConfig.TrustStore.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TrustConfig.TrustStore.Builder
Overrides

setIntermediateCas(int index, TrustConfig.IntermediateCA value)

public TrustConfig.TrustStore.Builder setIntermediateCas(int index, TrustConfig.IntermediateCA value)

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;

Parameters
Name Description
index int
value TrustConfig.IntermediateCA
Returns
Type Description
TrustConfig.TrustStore.Builder

setIntermediateCas(int index, TrustConfig.IntermediateCA.Builder builderForValue)

public TrustConfig.TrustStore.Builder setIntermediateCas(int index, TrustConfig.IntermediateCA.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue TrustConfig.IntermediateCA.Builder
Returns
Type Description
TrustConfig.TrustStore.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TrustConfig.TrustStore.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TrustConfig.TrustStore.Builder
Overrides

setTrustAnchors(int index, TrustConfig.TrustAnchor value)

public TrustConfig.TrustStore.Builder setTrustAnchors(int index, TrustConfig.TrustAnchor value)

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

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

Parameters
Name Description
index int
value TrustConfig.TrustAnchor
Returns
Type Description
TrustConfig.TrustStore.Builder

setTrustAnchors(int index, TrustConfig.TrustAnchor.Builder builderForValue)

public TrustConfig.TrustStore.Builder setTrustAnchors(int index, TrustConfig.TrustAnchor.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue TrustConfig.TrustAnchor.Builder
Returns
Type Description
TrustConfig.TrustStore.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final TrustConfig.TrustStore.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TrustConfig.TrustStore.Builder
Overrides