Class FetchCaCertsResponse.Builder (2.45.0)

public static final class FetchCaCertsResponse.Builder extends GeneratedMessageV3.Builder<FetchCaCertsResponse.Builder> implements FetchCaCertsResponseOrBuilder

Response message for CertificateAuthorityService.FetchCaCerts.

Protobuf type google.cloud.security.privateca.v1.FetchCaCertsResponse

Static Methods

getDescriptor()

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

Methods

addAllCaCerts(Iterable<? extends FetchCaCertsResponse.CertChain> values)

public FetchCaCertsResponse.Builder addAllCaCerts(Iterable<? extends FetchCaCertsResponse.CertChain> values)

The PEM encoded CA certificate chains of all certificate authorities in this CaPool in the ENABLED, DISABLED, or STAGED states.

repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain>
Returns
Type Description
FetchCaCertsResponse.Builder

addCaCerts(FetchCaCertsResponse.CertChain value)

public FetchCaCertsResponse.Builder addCaCerts(FetchCaCertsResponse.CertChain value)

The PEM encoded CA certificate chains of all certificate authorities in this CaPool in the ENABLED, DISABLED, or STAGED states.

repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;

Parameter
Name Description
value FetchCaCertsResponse.CertChain
Returns
Type Description
FetchCaCertsResponse.Builder

addCaCerts(FetchCaCertsResponse.CertChain.Builder builderForValue)

public FetchCaCertsResponse.Builder addCaCerts(FetchCaCertsResponse.CertChain.Builder builderForValue)

The PEM encoded CA certificate chains of all certificate authorities in this CaPool in the ENABLED, DISABLED, or STAGED states.

repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;

Parameter
Name Description
builderForValue FetchCaCertsResponse.CertChain.Builder
Returns
Type Description
FetchCaCertsResponse.Builder

addCaCerts(int index, FetchCaCertsResponse.CertChain value)

public FetchCaCertsResponse.Builder addCaCerts(int index, FetchCaCertsResponse.CertChain value)

The PEM encoded CA certificate chains of all certificate authorities in this CaPool in the ENABLED, DISABLED, or STAGED states.

repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;

Parameters
Name Description
index int
value FetchCaCertsResponse.CertChain
Returns
Type Description
FetchCaCertsResponse.Builder

addCaCerts(int index, FetchCaCertsResponse.CertChain.Builder builderForValue)

public FetchCaCertsResponse.Builder addCaCerts(int index, FetchCaCertsResponse.CertChain.Builder builderForValue)

The PEM encoded CA certificate chains of all certificate authorities in this CaPool in the ENABLED, DISABLED, or STAGED states.

repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;

Parameters
Name Description
index int
builderForValue FetchCaCertsResponse.CertChain.Builder
Returns
Type Description
FetchCaCertsResponse.Builder

addCaCertsBuilder()

public FetchCaCertsResponse.CertChain.Builder addCaCertsBuilder()

The PEM encoded CA certificate chains of all certificate authorities in this CaPool in the ENABLED, DISABLED, or STAGED states.

repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;

Returns
Type Description
FetchCaCertsResponse.CertChain.Builder

addCaCertsBuilder(int index)

public FetchCaCertsResponse.CertChain.Builder addCaCertsBuilder(int index)

The PEM encoded CA certificate chains of all certificate authorities in this CaPool in the ENABLED, DISABLED, or STAGED states.

repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;

Parameter
Name Description
index int
Returns
Type Description
FetchCaCertsResponse.CertChain.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FetchCaCertsResponse build()
Returns
Type Description
FetchCaCertsResponse

buildPartial()

public FetchCaCertsResponse buildPartial()
Returns
Type Description
FetchCaCertsResponse

clear()

public FetchCaCertsResponse.Builder clear()
Returns
Type Description
FetchCaCertsResponse.Builder
Overrides

clearCaCerts()

public FetchCaCertsResponse.Builder clearCaCerts()

The PEM encoded CA certificate chains of all certificate authorities in this CaPool in the ENABLED, DISABLED, or STAGED states.

repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;

Returns
Type Description
FetchCaCertsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public FetchCaCertsResponse.Builder clone()
Returns
Type Description
FetchCaCertsResponse.Builder
Overrides

getCaCerts(int index)

public FetchCaCertsResponse.CertChain getCaCerts(int index)

The PEM encoded CA certificate chains of all certificate authorities in this CaPool in the ENABLED, DISABLED, or STAGED states.

repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;

Parameter
Name Description
index int
Returns
Type Description
FetchCaCertsResponse.CertChain

getCaCertsBuilder(int index)

public FetchCaCertsResponse.CertChain.Builder getCaCertsBuilder(int index)

The PEM encoded CA certificate chains of all certificate authorities in this CaPool in the ENABLED, DISABLED, or STAGED states.

repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;

Parameter
Name Description
index int
Returns
Type Description
FetchCaCertsResponse.CertChain.Builder

getCaCertsBuilderList()

public List<FetchCaCertsResponse.CertChain.Builder> getCaCertsBuilderList()

The PEM encoded CA certificate chains of all certificate authorities in this CaPool in the ENABLED, DISABLED, or STAGED states.

repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;

Returns
Type Description
List<Builder>

getCaCertsCount()

public int getCaCertsCount()

The PEM encoded CA certificate chains of all certificate authorities in this CaPool in the ENABLED, DISABLED, or STAGED states.

repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;

Returns
Type Description
int

getCaCertsList()

public List<FetchCaCertsResponse.CertChain> getCaCertsList()

The PEM encoded CA certificate chains of all certificate authorities in this CaPool in the ENABLED, DISABLED, or STAGED states.

repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;

Returns
Type Description
List<CertChain>

getCaCertsOrBuilder(int index)

public FetchCaCertsResponse.CertChainOrBuilder getCaCertsOrBuilder(int index)

The PEM encoded CA certificate chains of all certificate authorities in this CaPool in the ENABLED, DISABLED, or STAGED states.

repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;

Parameter
Name Description
index int
Returns
Type Description
FetchCaCertsResponse.CertChainOrBuilder

getCaCertsOrBuilderList()

public List<? extends FetchCaCertsResponse.CertChainOrBuilder> getCaCertsOrBuilderList()

The PEM encoded CA certificate chains of all certificate authorities in this CaPool in the ENABLED, DISABLED, or STAGED states.

repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;

Returns
Type Description
List<? extends com.google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChainOrBuilder>

getDefaultInstanceForType()

public FetchCaCertsResponse getDefaultInstanceForType()
Returns
Type Description
FetchCaCertsResponse

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchCaCertsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeCaCerts(int index)

public FetchCaCertsResponse.Builder removeCaCerts(int index)

The PEM encoded CA certificate chains of all certificate authorities in this CaPool in the ENABLED, DISABLED, or STAGED states.

repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;

Parameter
Name Description
index int
Returns
Type Description
FetchCaCertsResponse.Builder

setCaCerts(int index, FetchCaCertsResponse.CertChain value)

public FetchCaCertsResponse.Builder setCaCerts(int index, FetchCaCertsResponse.CertChain value)

The PEM encoded CA certificate chains of all certificate authorities in this CaPool in the ENABLED, DISABLED, or STAGED states.

repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;

Parameters
Name Description
index int
value FetchCaCertsResponse.CertChain
Returns
Type Description
FetchCaCertsResponse.Builder

setCaCerts(int index, FetchCaCertsResponse.CertChain.Builder builderForValue)

public FetchCaCertsResponse.Builder setCaCerts(int index, FetchCaCertsResponse.CertChain.Builder builderForValue)

The PEM encoded CA certificate chains of all certificate authorities in this CaPool in the ENABLED, DISABLED, or STAGED states.

repeated .google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain ca_certs = 1;

Parameters
Name Description
index int
builderForValue FetchCaCertsResponse.CertChain.Builder
Returns
Type Description
FetchCaCertsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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