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()
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 |
---|
Name | Description |
values | Iterable<String>
The pemCertificates to add.
|
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.
|
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.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SubordinateConfig.SubordinateConfigChain.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SubordinateConfig.SubordinateConfigChain build()
buildPartial()
public SubordinateConfig.SubordinateConfigChain buildPartial()
clear()
public SubordinateConfig.SubordinateConfigChain.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SubordinateConfig.SubordinateConfigChain.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SubordinateConfig.SubordinateConfigChain.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public SubordinateConfig.SubordinateConfigChain.Builder clone()
Overrides
getDefaultInstanceForType()
public SubordinateConfig.SubordinateConfigChain getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SubordinateConfig.SubordinateConfigChain other)
public SubordinateConfig.SubordinateConfigChain.Builder mergeFrom(SubordinateConfig.SubordinateConfigChain other)
public SubordinateConfig.SubordinateConfigChain.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SubordinateConfig.SubordinateConfigChain.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SubordinateConfig.SubordinateConfigChain.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SubordinateConfig.SubordinateConfigChain.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SubordinateConfig.SubordinateConfigChain.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SubordinateConfig.SubordinateConfigChain.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides