Class RelativeDistinguishedName.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RelativeDistinguishedName.Builder>
com.google.cloud.security.privateca.v1.RelativeDistinguishedName.Builder
All Implemented Interfaces:
RelativeDistinguishedNameOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
RelativeDistinguishedName

public static final class RelativeDistinguishedName.Builder extends com.google.protobuf.GeneratedMessage.Builder<RelativeDistinguishedName.Builder> implements RelativeDistinguishedNameOrBuilder
 [RelativeDistinguishedName][google.cloud.security.privateca.v1.RelativeDistinguishedName]
 specifies a relative distinguished name which will be used to build a
 distinguished name.
 
Protobuf type google.cloud.security.privateca.v1.RelativeDistinguishedName
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RelativeDistinguishedName.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<RelativeDistinguishedName.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RelativeDistinguishedName.Builder>
    • getDefaultInstanceForType

      public RelativeDistinguishedName getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public RelativeDistinguishedName build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public RelativeDistinguishedName buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public RelativeDistinguishedName.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RelativeDistinguishedName.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<RelativeDistinguishedName.Builder>
    • mergeFrom

      public RelativeDistinguishedName.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RelativeDistinguishedName.Builder>
      Throws:
      IOException
    • getAttributesList

      public List<AttributeTypeAndValue> getAttributesList()
       Attributes describes the attribute value assertions in the RDN.
       
      repeated .google.cloud.security.privateca.v1.AttributeTypeAndValue attributes = 1;
      Specified by:
      getAttributesList in interface RelativeDistinguishedNameOrBuilder
    • getAttributesCount

      public int getAttributesCount()
       Attributes describes the attribute value assertions in the RDN.
       
      repeated .google.cloud.security.privateca.v1.AttributeTypeAndValue attributes = 1;
      Specified by:
      getAttributesCount in interface RelativeDistinguishedNameOrBuilder
    • getAttributes

      public AttributeTypeAndValue getAttributes(int index)
       Attributes describes the attribute value assertions in the RDN.
       
      repeated .google.cloud.security.privateca.v1.AttributeTypeAndValue attributes = 1;
      Specified by:
      getAttributes in interface RelativeDistinguishedNameOrBuilder
    • setAttributes

      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;
    • setAttributes

      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;
    • addAttributes

       Attributes describes the attribute value assertions in the RDN.
       
      repeated .google.cloud.security.privateca.v1.AttributeTypeAndValue attributes = 1;
    • addAttributes

      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;
    • addAttributes

      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;
    • addAttributes

      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;
    • addAllAttributes

      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;
    • clearAttributes

      public RelativeDistinguishedName.Builder clearAttributes()
       Attributes describes the attribute value assertions in the RDN.
       
      repeated .google.cloud.security.privateca.v1.AttributeTypeAndValue attributes = 1;
    • removeAttributes

      public RelativeDistinguishedName.Builder removeAttributes(int index)
       Attributes describes the attribute value assertions in the RDN.
       
      repeated .google.cloud.security.privateca.v1.AttributeTypeAndValue attributes = 1;
    • getAttributesBuilder

      public AttributeTypeAndValue.Builder getAttributesBuilder(int index)
       Attributes describes the attribute value assertions in the RDN.
       
      repeated .google.cloud.security.privateca.v1.AttributeTypeAndValue attributes = 1;
    • getAttributesOrBuilder

      public AttributeTypeAndValueOrBuilder getAttributesOrBuilder(int index)
       Attributes describes the attribute value assertions in the RDN.
       
      repeated .google.cloud.security.privateca.v1.AttributeTypeAndValue attributes = 1;
      Specified by:
      getAttributesOrBuilder in interface RelativeDistinguishedNameOrBuilder
    • getAttributesOrBuilderList

      public List<? extends AttributeTypeAndValueOrBuilder> getAttributesOrBuilderList()
       Attributes describes the attribute value assertions in the RDN.
       
      repeated .google.cloud.security.privateca.v1.AttributeTypeAndValue attributes = 1;
      Specified by:
      getAttributesOrBuilderList in interface RelativeDistinguishedNameOrBuilder
    • addAttributesBuilder

      public AttributeTypeAndValue.Builder addAttributesBuilder()
       Attributes describes the attribute value assertions in the RDN.
       
      repeated .google.cloud.security.privateca.v1.AttributeTypeAndValue attributes = 1;
    • addAttributesBuilder

      public AttributeTypeAndValue.Builder addAttributesBuilder(int index)
       Attributes describes the attribute value assertions in the RDN.
       
      repeated .google.cloud.security.privateca.v1.AttributeTypeAndValue attributes = 1;
    • getAttributesBuilderList

      public List<AttributeTypeAndValue.Builder> getAttributesBuilderList()
       Attributes describes the attribute value assertions in the RDN.
       
      repeated .google.cloud.security.privateca.v1.AttributeTypeAndValue attributes = 1;