public static final class SubordinateConfig.SubordinateConfigChain.Builder extends GeneratedMessageV3.Builder<SubordinateConfig.SubordinateConfigChain.Builder> 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
Methods
addAllPemCertificates(Iterable<String> values)
public SubordinateConfig.SubordinateConfigChain.Builder addAllPemCertificates(Iterable<String> values)
Required. Expected to be in leaf-to-root order according to RFC 5246.
repeated string pem_certificates = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
addPemCertificates(String value)
public SubordinateConfig.SubordinateConfigChain.Builder addPemCertificates(String value)
Required. Expected to be in leaf-to-root order according to RFC 5246.
repeated string pem_certificates = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The pemCertificates to add.
|
Returns
addPemCertificatesBytes(ByteString value)
public SubordinateConfig.SubordinateConfigChain.Builder addPemCertificatesBytes(ByteString value)
Required. Expected to be in leaf-to-root order according to RFC 5246.
repeated string pem_certificates = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes of the pemCertificates to add.
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SubordinateConfig.SubordinateConfigChain.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SubordinateConfig.SubordinateConfigChain build()
Returns
buildPartial()
public SubordinateConfig.SubordinateConfigChain buildPartial()
Returns
clear()
public SubordinateConfig.SubordinateConfigChain.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SubordinateConfig.SubordinateConfigChain.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SubordinateConfig.SubordinateConfigChain.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPemCertificates()
public SubordinateConfig.SubordinateConfigChain.Builder clearPemCertificates()
Required. Expected to be in leaf-to-root order according to RFC 5246.
repeated string pem_certificates = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public SubordinateConfig.SubordinateConfigChain.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SubordinateConfig.SubordinateConfigChain getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
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
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
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
Type | Description |
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SubordinateConfig.SubordinateConfigChain other)
public SubordinateConfig.SubordinateConfigChain.Builder mergeFrom(SubordinateConfig.SubordinateConfigChain other)
Parameter
Returns
public SubordinateConfig.SubordinateConfigChain.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SubordinateConfig.SubordinateConfigChain.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SubordinateConfig.SubordinateConfigChain.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SubordinateConfig.SubordinateConfigChain.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setPemCertificates(int index, String value)
public SubordinateConfig.SubordinateConfigChain.Builder setPemCertificates(int index, String value)
Required. Expected to be in leaf-to-root order according to RFC 5246.
repeated string pem_certificates = 1 [(.google.api.field_behavior) = REQUIRED];
Parameters
Name | Description |
index | int
The index to set the value at.
|
value | String
The pemCertificates to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SubordinateConfig.SubordinateConfigChain.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SubordinateConfig.SubordinateConfigChain.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides