Class CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder (0.18.0)

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

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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.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.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

public CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder
Overrides