public static final class CertificateConfig.SubjectConfig extends GeneratedMessageV3 implements CertificateConfig.SubjectConfigOrBuilder
These values are used to create the distinguished name and subject
alternative name fields in an X.509 certificate.
Protobuf type google.cloud.security.privateca.v1.CertificateConfig.SubjectConfig
Static Fields
SUBJECT_ALT_NAME_FIELD_NUMBER
public static final int SUBJECT_ALT_NAME_FIELD_NUMBER
Field Value
SUBJECT_FIELD_NUMBER
public static final int SUBJECT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CertificateConfig.SubjectConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CertificateConfig.SubjectConfig.Builder newBuilder()
Returns
newBuilder(CertificateConfig.SubjectConfig prototype)
public static CertificateConfig.SubjectConfig.Builder newBuilder(CertificateConfig.SubjectConfig prototype)
Parameter
Returns
public static CertificateConfig.SubjectConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CertificateConfig.SubjectConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CertificateConfig.SubjectConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CertificateConfig.SubjectConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CertificateConfig.SubjectConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CertificateConfig.SubjectConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CertificateConfig.SubjectConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CertificateConfig.SubjectConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CertificateConfig.SubjectConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CertificateConfig.SubjectConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CertificateConfig.SubjectConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CertificateConfig.SubjectConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CertificateConfig.SubjectConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public CertificateConfig.SubjectConfig getDefaultInstanceForType()
Returns
getParserForType()
public Parser<CertificateConfig.SubjectConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSubject()
public Subject getSubject()
Required. Contains distinguished name fields such as the common name,
location and organization.
.google.cloud.security.privateca.v1.Subject subject = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getSubjectAltName()
public SubjectAltNames getSubjectAltName()
Optional. The subject alternative name fields.
.google.cloud.security.privateca.v1.SubjectAltNames subject_alt_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getSubjectAltNameOrBuilder()
public SubjectAltNamesOrBuilder getSubjectAltNameOrBuilder()
Optional. The subject alternative name fields.
.google.cloud.security.privateca.v1.SubjectAltNames subject_alt_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getSubjectOrBuilder()
public SubjectOrBuilder getSubjectOrBuilder()
Required. Contains distinguished name fields such as the common name,
location and organization.
.google.cloud.security.privateca.v1.Subject subject = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasSubject()
public boolean hasSubject()
Required. Contains distinguished name fields such as the common name,
location and organization.
.google.cloud.security.privateca.v1.Subject subject = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the subject field is set.
|
hasSubjectAltName()
public boolean hasSubjectAltName()
Optional. The subject alternative name fields.
.google.cloud.security.privateca.v1.SubjectAltNames subject_alt_name = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | Whether the subjectAltName field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CertificateConfig.SubjectConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CertificateConfig.SubjectConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CertificateConfig.SubjectConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions