Class TrustConfig.TrustStore.Builder (0.42.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.certificatemanager.v1.TrustConfig.IntermediateCA>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.certificatemanager.v1.TrustConfig.TrustAnchor>
Returns
TypeDescription
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
NameDescription
valueTrustConfig.IntermediateCA
Returns
TypeDescription
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
NameDescription
builderForValueTrustConfig.IntermediateCA.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueTrustConfig.IntermediateCA
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTrustConfig.IntermediateCA.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TrustConfig.IntermediateCA.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TrustConfig.TrustStore.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTrustConfig.TrustAnchor
Returns
TypeDescription
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
NameDescription
builderForValueTrustConfig.TrustAnchor.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueTrustConfig.TrustAnchor
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTrustConfig.TrustAnchor.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TrustConfig.TrustAnchor.Builder

build()

public TrustConfig.TrustStore build()
Returns
TypeDescription
TrustConfig.TrustStore

buildPartial()

public TrustConfig.TrustStore buildPartial()
Returns
TypeDescription
TrustConfig.TrustStore

clear()

public TrustConfig.TrustStore.Builder clear()
Returns
TypeDescription
TrustConfig.TrustStore.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TrustConfig.TrustStore.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
TrustConfig.TrustStore.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public TrustConfig.TrustStore.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
TrustConfig.TrustStore.Builder

clone()

public TrustConfig.TrustStore.Builder clone()
Returns
TypeDescription
TrustConfig.TrustStore.Builder
Overrides

getDefaultInstanceForType()

public TrustConfig.TrustStore getDefaultInstanceForType()
Returns
TypeDescription
TrustConfig.TrustStore

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
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>

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

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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TrustConfig.TrustStore other)

public TrustConfig.TrustStore.Builder mergeFrom(TrustConfig.TrustStore other)
Parameter
NameDescription
otherTrustConfig.TrustStore
Returns
TypeDescription
TrustConfig.TrustStore.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TrustConfig.TrustStore.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TrustConfig.TrustStore.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TrustConfig.TrustStore.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TrustConfig.TrustStore.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TrustConfig.TrustStore.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TrustConfig.TrustStore.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TrustConfig.TrustStore.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueTrustConfig.IntermediateCA
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTrustConfig.IntermediateCA.Builder
Returns
TypeDescription
TrustConfig.TrustStore.Builder

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

public TrustConfig.TrustStore.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueTrustConfig.TrustAnchor
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTrustConfig.TrustAnchor.Builder
Returns
TypeDescription
TrustConfig.TrustStore.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final TrustConfig.TrustStore.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TrustConfig.TrustStore.Builder
Overrides