Class FetchCaCertsResponse.Builder (2.33.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
TypeDescription
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 ACTIVE CertificateAuthority resources in this CaPool.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.security.privateca.v1.FetchCaCertsResponse.CertChain>
Returns
TypeDescription
FetchCaCertsResponse.Builder

addCaCerts(FetchCaCertsResponse.CertChain value)

public FetchCaCertsResponse.Builder addCaCerts(FetchCaCertsResponse.CertChain value)

The PEM encoded CA certificate chains of all ACTIVE CertificateAuthority resources in this CaPool.

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

Parameter
NameDescription
valueFetchCaCertsResponse.CertChain
Returns
TypeDescription
FetchCaCertsResponse.Builder

addCaCerts(FetchCaCertsResponse.CertChain.Builder builderForValue)

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

The PEM encoded CA certificate chains of all ACTIVE CertificateAuthority resources in this CaPool.

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

Parameter
NameDescription
builderForValueFetchCaCertsResponse.CertChain.Builder
Returns
TypeDescription
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 ACTIVE CertificateAuthority resources in this CaPool.

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

Parameters
NameDescription
indexint
valueFetchCaCertsResponse.CertChain
Returns
TypeDescription
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 ACTIVE CertificateAuthority resources in this CaPool.

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

Parameters
NameDescription
indexint
builderForValueFetchCaCertsResponse.CertChain.Builder
Returns
TypeDescription
FetchCaCertsResponse.Builder

addCaCertsBuilder()

public FetchCaCertsResponse.CertChain.Builder addCaCertsBuilder()

The PEM encoded CA certificate chains of all ACTIVE CertificateAuthority resources in this CaPool.

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

Returns
TypeDescription
FetchCaCertsResponse.CertChain.Builder

addCaCertsBuilder(int index)

public FetchCaCertsResponse.CertChain.Builder addCaCertsBuilder(int index)

The PEM encoded CA certificate chains of all ACTIVE CertificateAuthority resources in this CaPool.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
FetchCaCertsResponse.CertChain.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FetchCaCertsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FetchCaCertsResponse.Builder
Overrides

build()

public FetchCaCertsResponse build()
Returns
TypeDescription
FetchCaCertsResponse

buildPartial()

public FetchCaCertsResponse buildPartial()
Returns
TypeDescription
FetchCaCertsResponse

clear()

public FetchCaCertsResponse.Builder clear()
Returns
TypeDescription
FetchCaCertsResponse.Builder
Overrides

clearCaCerts()

public FetchCaCertsResponse.Builder clearCaCerts()

The PEM encoded CA certificate chains of all ACTIVE CertificateAuthority resources in this CaPool.

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

Returns
TypeDescription
FetchCaCertsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public FetchCaCertsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
FetchCaCertsResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FetchCaCertsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FetchCaCertsResponse.Builder
Overrides

clone()

public FetchCaCertsResponse.Builder clone()
Returns
TypeDescription
FetchCaCertsResponse.Builder
Overrides

getCaCerts(int index)

public FetchCaCertsResponse.CertChain getCaCerts(int index)

The PEM encoded CA certificate chains of all ACTIVE CertificateAuthority resources in this CaPool.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
FetchCaCertsResponse.CertChain

getCaCertsBuilder(int index)

public FetchCaCertsResponse.CertChain.Builder getCaCertsBuilder(int index)

The PEM encoded CA certificate chains of all ACTIVE CertificateAuthority resources in this CaPool.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
FetchCaCertsResponse.CertChain.Builder

getCaCertsBuilderList()

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

The PEM encoded CA certificate chains of all ACTIVE CertificateAuthority resources in this CaPool.

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

Returns
TypeDescription
List<Builder>

getCaCertsCount()

public int getCaCertsCount()

The PEM encoded CA certificate chains of all ACTIVE CertificateAuthority resources in this CaPool.

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

Returns
TypeDescription
int

getCaCertsList()

public List<FetchCaCertsResponse.CertChain> getCaCertsList()

The PEM encoded CA certificate chains of all ACTIVE CertificateAuthority resources in this CaPool.

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

Returns
TypeDescription
List<CertChain>

getCaCertsOrBuilder(int index)

public FetchCaCertsResponse.CertChainOrBuilder getCaCertsOrBuilder(int index)

The PEM encoded CA certificate chains of all ACTIVE CertificateAuthority resources in this CaPool.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
FetchCaCertsResponse.CertChainOrBuilder

getCaCertsOrBuilderList()

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

The PEM encoded CA certificate chains of all ACTIVE CertificateAuthority resources in this CaPool.

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

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

getDefaultInstanceForType()

public FetchCaCertsResponse getDefaultInstanceForType()
Returns
TypeDescription
FetchCaCertsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FetchCaCertsResponse other)

public FetchCaCertsResponse.Builder mergeFrom(FetchCaCertsResponse other)
Parameter
NameDescription
otherFetchCaCertsResponse
Returns
TypeDescription
FetchCaCertsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FetchCaCertsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FetchCaCertsResponse.Builder
Overrides

removeCaCerts(int index)

public FetchCaCertsResponse.Builder removeCaCerts(int index)

The PEM encoded CA certificate chains of all ACTIVE CertificateAuthority resources in this CaPool.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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 ACTIVE CertificateAuthority resources in this CaPool.

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

Parameters
NameDescription
indexint
valueFetchCaCertsResponse.CertChain
Returns
TypeDescription
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 ACTIVE CertificateAuthority resources in this CaPool.

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

Parameters
NameDescription
indexint
builderForValueFetchCaCertsResponse.CertChain.Builder
Returns
TypeDescription
FetchCaCertsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public FetchCaCertsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FetchCaCertsResponse.Builder
Overrides

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

public FetchCaCertsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FetchCaCertsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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