Class RelativeDistinguishedName (2.70.0)

public final class RelativeDistinguishedName extends GeneratedMessageV3 implements RelativeDistinguishedNameOrBuilder

RelativeDistinguishedName specifies a relative distinguished name which will be used to build a distinguished name.

Protobuf type google.cloud.security.privateca.v1.RelativeDistinguishedName

Static Fields

ATTRIBUTES_FIELD_NUMBER

public static final int ATTRIBUTES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RelativeDistinguishedName getDefaultInstance()
Returns
Type Description
RelativeDistinguishedName

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RelativeDistinguishedName.Builder newBuilder()
Returns
Type Description
RelativeDistinguishedName.Builder

newBuilder(RelativeDistinguishedName prototype)

public static RelativeDistinguishedName.Builder newBuilder(RelativeDistinguishedName prototype)
Parameter
Name Description
prototype RelativeDistinguishedName
Returns
Type Description
RelativeDistinguishedName.Builder

parseDelimitedFrom(InputStream input)

public static RelativeDistinguishedName parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RelativeDistinguishedName
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RelativeDistinguishedName parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RelativeDistinguishedName
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RelativeDistinguishedName parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RelativeDistinguishedName
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RelativeDistinguishedName parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RelativeDistinguishedName
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RelativeDistinguishedName parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RelativeDistinguishedName
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RelativeDistinguishedName parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RelativeDistinguishedName
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RelativeDistinguishedName parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RelativeDistinguishedName
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RelativeDistinguishedName parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RelativeDistinguishedName
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RelativeDistinguishedName parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RelativeDistinguishedName
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RelativeDistinguishedName parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RelativeDistinguishedName
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RelativeDistinguishedName parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RelativeDistinguishedName
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RelativeDistinguishedName parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RelativeDistinguishedName
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RelativeDistinguishedName> parser()
Returns
Type Description
Parser<RelativeDistinguishedName>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAttributes(int index)

public AttributeTypeAndValue getAttributes(int index)

Attributes describes the attribute value assertions in the RDN.

repeated .google.cloud.security.privateca.v1.AttributeTypeAndValue attributes = 1;

Parameter
Name Description
index int
Returns
Type Description
AttributeTypeAndValue

getAttributesCount()

public int getAttributesCount()

Attributes describes the attribute value assertions in the RDN.

repeated .google.cloud.security.privateca.v1.AttributeTypeAndValue attributes = 1;

Returns
Type Description
int

getAttributesList()

public List<AttributeTypeAndValue> getAttributesList()

Attributes describes the attribute value assertions in the RDN.

repeated .google.cloud.security.privateca.v1.AttributeTypeAndValue attributes = 1;

Returns
Type Description
List<AttributeTypeAndValue>

getAttributesOrBuilder(int index)

public AttributeTypeAndValueOrBuilder getAttributesOrBuilder(int index)

Attributes describes the attribute value assertions in the RDN.

repeated .google.cloud.security.privateca.v1.AttributeTypeAndValue attributes = 1;

Parameter
Name Description
index int
Returns
Type Description
AttributeTypeAndValueOrBuilder

getAttributesOrBuilderList()

public List<? extends AttributeTypeAndValueOrBuilder> getAttributesOrBuilderList()

Attributes describes the attribute value assertions in the RDN.

repeated .google.cloud.security.privateca.v1.AttributeTypeAndValue attributes = 1;

Returns
Type Description
List<? extends com.google.cloud.security.privateca.v1.AttributeTypeAndValueOrBuilder>

getDefaultInstanceForType()

public RelativeDistinguishedName getDefaultInstanceForType()
Returns
Type Description
RelativeDistinguishedName

getParserForType()

public Parser<RelativeDistinguishedName> getParserForType()
Returns
Type Description
Parser<RelativeDistinguishedName>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RelativeDistinguishedName.Builder newBuilderForType()
Returns
Type Description
RelativeDistinguishedName.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RelativeDistinguishedName.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RelativeDistinguishedName.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RelativeDistinguishedName.Builder toBuilder()
Returns
Type Description
RelativeDistinguishedName.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException