Class SubordinateConfig.SubordinateConfigChain (2.6.0)

public static final class SubordinateConfig.SubordinateConfigChain extends GeneratedMessageV3 implements SubordinateConfig.SubordinateConfigChainOrBuilder

This message describes a subordinate CA's issuer certificate chain. This wrapper exists for compatibility reasons.

Protobuf type google.cloud.security.privateca.v1.SubordinateConfig.SubordinateConfigChain

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SubordinateConfig.SubordinateConfigChain

Static Fields

PEM_CERTIFICATES_FIELD_NUMBER

public static final int PEM_CERTIFICATES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SubordinateConfig.SubordinateConfigChain getDefaultInstance()
Returns
TypeDescription
SubordinateConfig.SubordinateConfigChain

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SubordinateConfig.SubordinateConfigChain.Builder newBuilder()
Returns
TypeDescription
SubordinateConfig.SubordinateConfigChain.Builder

newBuilder(SubordinateConfig.SubordinateConfigChain prototype)

public static SubordinateConfig.SubordinateConfigChain.Builder newBuilder(SubordinateConfig.SubordinateConfigChain prototype)
Parameter
NameDescription
prototypeSubordinateConfig.SubordinateConfigChain
Returns
TypeDescription
SubordinateConfig.SubordinateConfigChain.Builder

parseDelimitedFrom(InputStream input)

public static SubordinateConfig.SubordinateConfigChain parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SubordinateConfig.SubordinateConfigChain
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SubordinateConfig.SubordinateConfigChain parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubordinateConfig.SubordinateConfigChain
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SubordinateConfig.SubordinateConfigChain parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SubordinateConfig.SubordinateConfigChain
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SubordinateConfig.SubordinateConfigChain parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubordinateConfig.SubordinateConfigChain
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SubordinateConfig.SubordinateConfigChain parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SubordinateConfig.SubordinateConfigChain
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SubordinateConfig.SubordinateConfigChain parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubordinateConfig.SubordinateConfigChain
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SubordinateConfig.SubordinateConfigChain parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SubordinateConfig.SubordinateConfigChain
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SubordinateConfig.SubordinateConfigChain parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubordinateConfig.SubordinateConfigChain
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SubordinateConfig.SubordinateConfigChain parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SubordinateConfig.SubordinateConfigChain
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SubordinateConfig.SubordinateConfigChain parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubordinateConfig.SubordinateConfigChain
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SubordinateConfig.SubordinateConfigChain parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SubordinateConfig.SubordinateConfigChain
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SubordinateConfig.SubordinateConfigChain parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubordinateConfig.SubordinateConfigChain
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SubordinateConfig.SubordinateConfigChain> parser()
Returns
TypeDescription
Parser<SubordinateConfigChain>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SubordinateConfig.SubordinateConfigChain getDefaultInstanceForType()
Returns
TypeDescription
SubordinateConfig.SubordinateConfigChain

getParserForType()

public Parser<SubordinateConfig.SubordinateConfigChain> getParserForType()
Returns
TypeDescription
Parser<SubordinateConfigChain>
Overrides

getPemCertificates(int index)

public String getPemCertificates(int index)

Required. Expected to be in leaf-to-root order according to RFC 5246.

repeated string pem_certificates = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The pemCertificates at the given index.

getPemCertificatesBytes(int index)

public ByteString getPemCertificatesBytes(int index)

Required. Expected to be in leaf-to-root order according to RFC 5246.

repeated string pem_certificates = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the pemCertificates at the given index.

getPemCertificatesCount()

public int getPemCertificatesCount()

Required. Expected to be in leaf-to-root order according to RFC 5246.

repeated string pem_certificates = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The count of pemCertificates.

getPemCertificatesList()

public ProtocolStringList getPemCertificatesList()

Required. Expected to be in leaf-to-root order according to RFC 5246.

repeated string pem_certificates = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ProtocolStringList

A list containing the pemCertificates.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SubordinateConfig.SubordinateConfigChain.Builder newBuilderForType()
Returns
TypeDescription
SubordinateConfig.SubordinateConfigChain.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SubordinateConfig.SubordinateConfigChain.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SubordinateConfig.SubordinateConfigChain.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SubordinateConfig.SubordinateConfigChain.Builder toBuilder()
Returns
TypeDescription
SubordinateConfig.SubordinateConfigChain.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException