public static final class CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder extends GeneratedMessage.Builder<CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder> implements CertificateAuthority.ManagedCertificateAuthority.CertChainOrBuilderA certificate chain.
Protobuf type
google.cloud.memorystore.v1beta.CertificateAuthority.ManagedCertificateAuthority.CertChain
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CertificateAuthority.ManagedCertificateAuthority.CertChain.BuilderStatic 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 in order of leaf to root.
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 in order of leaf to root.
repeated string certificates = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 in order of leaf to root.
repeated string certificates = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe 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 |
|
clearCertificates()
public CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder clearCertificates()The certificates that form the CA chain in order of leaf to root.
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 in order of leaf to root.
repeated string certificates = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe 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 in order of leaf to root.
repeated string certificates = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe 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 in order of leaf to root.
repeated string certificates = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The count of certificates. |
getCertificatesList()
public ProtocolStringList getCertificatesList()The certificates that form the CA chain in order of leaf to root.
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 |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
setCertificates(int index, String value)
public CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder setCertificates(int index, String value)The certificates that form the CA chain in order of leaf to root.
repeated string certificates = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe certificates to set. |
| Returns | |
|---|---|
| Type | Description |
CertificateAuthority.ManagedCertificateAuthority.CertChain.Builder |
This builder for chaining. |