Class RelativeDistinguishedName.Builder (2.85.0)

public static final class RelativeDistinguishedName.Builder extends GeneratedMessage.Builder<RelativeDistinguishedName.Builder> 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 Methods

getDescriptor()

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

Methods

addAllAttributes(Iterable<? extends AttributeTypeAndValue> values)

public RelativeDistinguishedName.Builder addAllAttributes(Iterable<? extends AttributeTypeAndValue> values)

Attributes describes the attribute value assertions in the RDN.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.security.privateca.v1.AttributeTypeAndValue>
Returns
Type Description
RelativeDistinguishedName.Builder

addAttributes(AttributeTypeAndValue value)

public RelativeDistinguishedName.Builder addAttributes(AttributeTypeAndValue value)

Attributes describes the attribute value assertions in the RDN.

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

Parameter
Name Description
value AttributeTypeAndValue
Returns
Type Description
RelativeDistinguishedName.Builder

addAttributes(AttributeTypeAndValue.Builder builderForValue)

public RelativeDistinguishedName.Builder addAttributes(AttributeTypeAndValue.Builder builderForValue)

Attributes describes the attribute value assertions in the RDN.

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

Parameter
Name Description
builderForValue AttributeTypeAndValue.Builder
Returns
Type Description
RelativeDistinguishedName.Builder

addAttributes(int index, AttributeTypeAndValue value)

public RelativeDistinguishedName.Builder addAttributes(int index, AttributeTypeAndValue value)

Attributes describes the attribute value assertions in the RDN.

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

Parameters
Name Description
index int
value AttributeTypeAndValue
Returns
Type Description
RelativeDistinguishedName.Builder

addAttributes(int index, AttributeTypeAndValue.Builder builderForValue)

public RelativeDistinguishedName.Builder addAttributes(int index, AttributeTypeAndValue.Builder builderForValue)

Attributes describes the attribute value assertions in the RDN.

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

Parameters
Name Description
index int
builderForValue AttributeTypeAndValue.Builder
Returns
Type Description
RelativeDistinguishedName.Builder

addAttributesBuilder()

public AttributeTypeAndValue.Builder addAttributesBuilder()

Attributes describes the attribute value assertions in the RDN.

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

Returns
Type Description
AttributeTypeAndValue.Builder

addAttributesBuilder(int index)

public AttributeTypeAndValue.Builder addAttributesBuilder(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.Builder

build()

public RelativeDistinguishedName build()
Returns
Type Description
RelativeDistinguishedName

buildPartial()

public RelativeDistinguishedName buildPartial()
Returns
Type Description
RelativeDistinguishedName

clear()

public RelativeDistinguishedName.Builder clear()
Returns
Type Description
RelativeDistinguishedName.Builder
Overrides

clearAttributes()

public RelativeDistinguishedName.Builder clearAttributes()

Attributes describes the attribute value assertions in the RDN.

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

Returns
Type Description
RelativeDistinguishedName.Builder

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

getAttributesBuilder(int index)

public AttributeTypeAndValue.Builder getAttributesBuilder(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.Builder

getAttributesBuilderList()

public List<AttributeTypeAndValue.Builder> getAttributesBuilderList()

Attributes describes the attribute value assertions in the RDN.

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

Returns
Type Description
List<Builder>

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RelativeDistinguishedName other)

public RelativeDistinguishedName.Builder mergeFrom(RelativeDistinguishedName other)
Parameter
Name Description
other RelativeDistinguishedName
Returns
Type Description
RelativeDistinguishedName.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RelativeDistinguishedName.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RelativeDistinguishedName.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RelativeDistinguishedName.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RelativeDistinguishedName.Builder
Overrides

removeAttributes(int index)

public RelativeDistinguishedName.Builder removeAttributes(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
RelativeDistinguishedName.Builder

setAttributes(int index, AttributeTypeAndValue value)

public RelativeDistinguishedName.Builder setAttributes(int index, AttributeTypeAndValue value)

Attributes describes the attribute value assertions in the RDN.

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

Parameters
Name Description
index int
value AttributeTypeAndValue
Returns
Type Description
RelativeDistinguishedName.Builder

setAttributes(int index, AttributeTypeAndValue.Builder builderForValue)

public RelativeDistinguishedName.Builder setAttributes(int index, AttributeTypeAndValue.Builder builderForValue)

Attributes describes the attribute value assertions in the RDN.

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

Parameters
Name Description
index int
builderForValue AttributeTypeAndValue.Builder
Returns
Type Description
RelativeDistinguishedName.Builder