Class CertificateAuthority.ManagedCertificateAuthority.Builder (0.33.0)

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

A managed certificate authority.

Protobuf type google.cloud.memorystore.v1.CertificateAuthority.ManagedCertificateAuthority

Static Methods

getDescriptor()

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

Methods

addAllCaCerts(Iterable<? extends CertificateAuthority.ManagedCertificateAuthority.CertChain> values)

public CertificateAuthority.ManagedCertificateAuthority.Builder addAllCaCerts(Iterable<? extends CertificateAuthority.ManagedCertificateAuthority.CertChain> values)

PEM encoded CA certificate chains for managed server authentication.

repeated .google.cloud.memorystore.v1.CertificateAuthority.ManagedCertificateAuthority.CertChain ca_certs = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.memorystore.v1.CertificateAuthority.ManagedCertificateAuthority.CertChain>
Returns
Type Description
CertificateAuthority.ManagedCertificateAuthority.Builder

addCaCerts(CertificateAuthority.ManagedCertificateAuthority.CertChain value)

public CertificateAuthority.ManagedCertificateAuthority.Builder addCaCerts(CertificateAuthority.ManagedCertificateAuthority.CertChain value)

PEM encoded CA certificate chains for managed server authentication.

repeated .google.cloud.memorystore.v1.CertificateAuthority.ManagedCertificateAuthority.CertChain ca_certs = 1;

Parameter
Name Description
value CertificateAuthority.ManagedCertificateAuthority.CertChain
Returns
Type Description
CertificateAuthority.ManagedCertificateAuthority.Builder

addCaCerts(CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder builderForValue)

public CertificateAuthority.ManagedCertificateAuthority.Builder addCaCerts(CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder builderForValue)

PEM encoded CA certificate chains for managed server authentication.

repeated .google.cloud.memorystore.v1.CertificateAuthority.ManagedCertificateAuthority.CertChain ca_certs = 1;

Parameter
Name Description
builderForValue CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder
Returns
Type Description
CertificateAuthority.ManagedCertificateAuthority.Builder

addCaCerts(int index, CertificateAuthority.ManagedCertificateAuthority.CertChain value)

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

PEM encoded CA certificate chains for managed server authentication.

repeated .google.cloud.memorystore.v1.CertificateAuthority.ManagedCertificateAuthority.CertChain ca_certs = 1;

Parameters
Name Description
index int
value CertificateAuthority.ManagedCertificateAuthority.CertChain
Returns
Type Description
CertificateAuthority.ManagedCertificateAuthority.Builder

addCaCerts(int index, CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder builderForValue)

public CertificateAuthority.ManagedCertificateAuthority.Builder addCaCerts(int index, CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder builderForValue)

PEM encoded CA certificate chains for managed server authentication.

repeated .google.cloud.memorystore.v1.CertificateAuthority.ManagedCertificateAuthority.CertChain ca_certs = 1;

Parameters
Name Description
index int
builderForValue CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder
Returns
Type Description
CertificateAuthority.ManagedCertificateAuthority.Builder

addCaCertsBuilder()

public CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder addCaCertsBuilder()

PEM encoded CA certificate chains for managed server authentication.

repeated .google.cloud.memorystore.v1.CertificateAuthority.ManagedCertificateAuthority.CertChain ca_certs = 1;

Returns
Type Description
CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder

addCaCertsBuilder(int index)

public CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder addCaCertsBuilder(int index)

PEM encoded CA certificate chains for managed server authentication.

repeated .google.cloud.memorystore.v1.CertificateAuthority.ManagedCertificateAuthority.CertChain ca_certs = 1;

Parameter
Name Description
index int
Returns
Type Description
CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder

build()

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

buildPartial()

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

clear()

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

clearCaCerts()

public CertificateAuthority.ManagedCertificateAuthority.Builder clearCaCerts()

PEM encoded CA certificate chains for managed server authentication.

repeated .google.cloud.memorystore.v1.CertificateAuthority.ManagedCertificateAuthority.CertChain ca_certs = 1;

Returns
Type Description
CertificateAuthority.ManagedCertificateAuthority.Builder

getCaCerts(int index)

public CertificateAuthority.ManagedCertificateAuthority.CertChain getCaCerts(int index)

PEM encoded CA certificate chains for managed server authentication.

repeated .google.cloud.memorystore.v1.CertificateAuthority.ManagedCertificateAuthority.CertChain ca_certs = 1;

Parameter
Name Description
index int
Returns
Type Description
CertificateAuthority.ManagedCertificateAuthority.CertChain

getCaCertsBuilder(int index)

public CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder getCaCertsBuilder(int index)

PEM encoded CA certificate chains for managed server authentication.

repeated .google.cloud.memorystore.v1.CertificateAuthority.ManagedCertificateAuthority.CertChain ca_certs = 1;

Parameter
Name Description
index int
Returns
Type Description
CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder

getCaCertsBuilderList()

public List<CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder> getCaCertsBuilderList()

PEM encoded CA certificate chains for managed server authentication.

repeated .google.cloud.memorystore.v1.CertificateAuthority.ManagedCertificateAuthority.CertChain ca_certs = 1;

Returns
Type Description
List<Builder>

getCaCertsCount()

public int getCaCertsCount()

PEM encoded CA certificate chains for managed server authentication.

repeated .google.cloud.memorystore.v1.CertificateAuthority.ManagedCertificateAuthority.CertChain ca_certs = 1;

Returns
Type Description
int

getCaCertsList()

public List<CertificateAuthority.ManagedCertificateAuthority.CertChain> getCaCertsList()

PEM encoded CA certificate chains for managed server authentication.

repeated .google.cloud.memorystore.v1.CertificateAuthority.ManagedCertificateAuthority.CertChain ca_certs = 1;

Returns
Type Description
List<CertChain>

getCaCertsOrBuilder(int index)

public CertificateAuthority.ManagedCertificateAuthority.CertChainOrBuilder getCaCertsOrBuilder(int index)

PEM encoded CA certificate chains for managed server authentication.

repeated .google.cloud.memorystore.v1.CertificateAuthority.ManagedCertificateAuthority.CertChain ca_certs = 1;

Parameter
Name Description
index int
Returns
Type Description
CertificateAuthority.ManagedCertificateAuthority.CertChainOrBuilder

getCaCertsOrBuilderList()

public List<? extends CertificateAuthority.ManagedCertificateAuthority.CertChainOrBuilder> getCaCertsOrBuilderList()

PEM encoded CA certificate chains for managed server authentication.

repeated .google.cloud.memorystore.v1.CertificateAuthority.ManagedCertificateAuthority.CertChain ca_certs = 1;

Returns
Type Description
List<? extends com.google.cloud.memorystore.v1.CertificateAuthority.ManagedCertificateAuthority.CertChainOrBuilder>

getDefaultInstanceForType()

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

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 other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeCaCerts(int index)

public CertificateAuthority.ManagedCertificateAuthority.Builder removeCaCerts(int index)

PEM encoded CA certificate chains for managed server authentication.

repeated .google.cloud.memorystore.v1.CertificateAuthority.ManagedCertificateAuthority.CertChain ca_certs = 1;

Parameter
Name Description
index int
Returns
Type Description
CertificateAuthority.ManagedCertificateAuthority.Builder

setCaCerts(int index, CertificateAuthority.ManagedCertificateAuthority.CertChain value)

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

PEM encoded CA certificate chains for managed server authentication.

repeated .google.cloud.memorystore.v1.CertificateAuthority.ManagedCertificateAuthority.CertChain ca_certs = 1;

Parameters
Name Description
index int
value CertificateAuthority.ManagedCertificateAuthority.CertChain
Returns
Type Description
CertificateAuthority.ManagedCertificateAuthority.Builder

setCaCerts(int index, CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder builderForValue)

public CertificateAuthority.ManagedCertificateAuthority.Builder setCaCerts(int index, CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder builderForValue)

PEM encoded CA certificate chains for managed server authentication.

repeated .google.cloud.memorystore.v1.CertificateAuthority.ManagedCertificateAuthority.CertChain ca_certs = 1;

Parameters
Name Description
index int
builderForValue CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder
Returns
Type Description
CertificateAuthority.ManagedCertificateAuthority.Builder