Class CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder (0.57.0)

public static final class CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder extends GeneratedMessage.Builder<CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder> implements CertificateAuthority.ManagedCertificateAuthority.CertChainOrBuilder

Protobuf type google.cloud.redis.cluster.v1.CertificateAuthority.ManagedCertificateAuthority.CertChain

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder

Static Methods

getDescriptor()

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

Methods

addAllCertificates(Iterable<String> values)

public CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder addAllCertificates(Iterable<String> values)

The certificates that form the CA chain, from leaf to root order.

repeated string certificates = 1;

Parameter
Name Description
values Iterable<String>

The certificates to add.

Returns
Type Description
CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder

This builder for chaining.

addCertificates(String value)

public CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder addCertificates(String value)

The certificates that form the CA chain, from leaf to root order.

repeated string certificates = 1;

Parameter
Name Description
value String

The certificates to add.

Returns
Type Description
CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder

This builder for chaining.

addCertificatesBytes(ByteString value)

public CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder addCertificatesBytes(ByteString value)

The certificates that form the CA chain, from leaf to root order.

repeated string certificates = 1;

Parameter
Name Description
value ByteString

The bytes of the certificates to add.

Returns
Type Description
CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder

This builder for chaining.

build()

public CertificateAuthority.ManagedCertificateAuthority.CertChain build()
Returns
Type Description
CertificateAuthority.ManagedCertificateAuthority.CertChain

buildPartial()

public CertificateAuthority.ManagedCertificateAuthority.CertChain buildPartial()
Returns
Type Description
CertificateAuthority.ManagedCertificateAuthority.CertChain

clear()

public CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder clear()
Returns
Type Description
CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder
Overrides

clearCertificates()

public CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder clearCertificates()

The certificates that form the CA chain, from leaf to root order.

repeated string certificates = 1;

Returns
Type Description
CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder

This builder for chaining.

getCertificates(int index)

public String getCertificates(int index)

The certificates that form the CA chain, from leaf to root order.

repeated string certificates = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The certificates at the given index.

getCertificatesBytes(int index)

public ByteString getCertificatesBytes(int index)

The certificates that form the CA chain, from leaf to root order.

repeated string certificates = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the certificates at the given index.

getCertificatesCount()

public int getCertificatesCount()

The certificates that form the CA chain, from leaf to root order.

repeated string certificates = 1;

Returns
Type Description
int

The count of certificates.

getCertificatesList()

public ProtocolStringList getCertificatesList()

The certificates that form the CA chain, from leaf to root order.

repeated string certificates = 1;

Returns
Type Description
ProtocolStringList

A list containing the certificates.

getDefaultInstanceForType()

public CertificateAuthority.ManagedCertificateAuthority.CertChain getDefaultInstanceForType()
Returns
Type Description
CertificateAuthority.ManagedCertificateAuthority.CertChain

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CertificateAuthority.ManagedCertificateAuthority.CertChain other)

public CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder mergeFrom(CertificateAuthority.ManagedCertificateAuthority.CertChain other)
Parameter
Name Description
other CertificateAuthority.ManagedCertificateAuthority.CertChain
Returns
Type Description
CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder
Overrides

setCertificates(int index, String value)

public CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder setCertificates(int index, String value)

The certificates that form the CA chain, from leaf to root order.

repeated string certificates = 1;

Parameters
Name Description
index int

The index to set the value at.

value String

The certificates to set.

Returns
Type Description
CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder

This builder for chaining.