Class CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder (0.30.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
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.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
Overrides

build()

public CertificateAuthority.ManagedCertificateAuthority.CertChain build()

buildPartial()

public CertificateAuthority.ManagedCertificateAuthority.CertChain buildPartial()

clear()

public CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder clear()
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
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder clone()
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()

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)

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setUnknownFields(UnknownFieldSet unknownFields)

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