Class RelativeDistinguishedName.Builder (2.70.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RelativeDistinguishedName.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RelativeDistinguishedName.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public RelativeDistinguishedName.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RelativeDistinguishedName.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RelativeDistinguishedName.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RelativeDistinguishedName.Builder
Overrides

clone()

public RelativeDistinguishedName.Builder clone()
Returns
Type Description
RelativeDistinguishedName.Builder
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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RelativeDistinguishedName.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

public RelativeDistinguishedName.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RelativeDistinguishedName.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RelativeDistinguishedName.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RelativeDistinguishedName.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RelativeDistinguishedName.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RelativeDistinguishedName.Builder
Overrides