Class SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain.Builder (0.37.0)

public static final class SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain.Builder extends GeneratedMessage.Builder<SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain.Builder> implements SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChainOrBuilder

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

Protobuf type google.cloud.memorystore.v1beta.SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain.Builder

Static Methods

getDescriptor()

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

Methods

addAllCertificates(Iterable<String> values)

public SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain.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
SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain.Builder

This builder for chaining.

addCertificates(String value)

public SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain.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
SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain.Builder

This builder for chaining.

addCertificatesBytes(ByteString value)

public SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain.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
SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain.Builder

This builder for chaining.

build()

public SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain build()
Returns
Type Description
SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain

buildPartial()

public SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain buildPartial()
Returns
Type Description
SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain

clear()

public SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain.Builder clear()
Returns
Type Description
SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain.Builder
Overrides

clearCertificates()

public SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain.Builder clearCertificates()

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

repeated string certificates = 1;

Returns
Type Description
SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain.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 SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain getDefaultInstanceForType()
Returns
Type Description
SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain

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(SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain other)

public SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain.Builder mergeFrom(SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain other)
Parameter
Name Description
other SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain
Returns
Type Description
SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain.Builder
Overrides

setCertificates(int index, String value)

public SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain.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
SharedRegionalCertificateAuthority.RegionalManagedCertificateAuthority.RegionalCertChain.Builder

This builder for chaining.