All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.yoti.api.client.spi.remote.proto.IssuingAttributesProto Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: IssuingAttributes.proto

package com.yoti.api.client.spi.remote.proto;

public final class IssuingAttributesProto {
  private IssuingAttributesProto() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface IssuingAttributesOrBuilder extends
      // @@protoc_insertion_point(interface_extends:sharepubapi_v1.IssuingAttributes)
      com.google.protobuf.MessageOrBuilder {

    /**
     * string expiry_date = 1;
     * @return The expiryDate.
     */
    java.lang.String getExpiryDate();
    /**
     * string expiry_date = 1;
     * @return The bytes for expiryDate.
     */
    com.google.protobuf.ByteString
        getExpiryDateBytes();

    /**
     * repeated .sharepubapi_v1.Definition definitions = 2;
     */
    java.util.List 
        getDefinitionsList();
    /**
     * repeated .sharepubapi_v1.Definition definitions = 2;
     */
    com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition getDefinitions(int index);
    /**
     * repeated .sharepubapi_v1.Definition definitions = 2;
     */
    int getDefinitionsCount();
    /**
     * repeated .sharepubapi_v1.Definition definitions = 2;
     */
    java.util.List 
        getDefinitionsOrBuilderList();
    /**
     * repeated .sharepubapi_v1.Definition definitions = 2;
     */
    com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.DefinitionOrBuilder getDefinitionsOrBuilder(
        int index);
  }
  /**
   * Protobuf type {@code sharepubapi_v1.IssuingAttributes}
   */
  public static final class IssuingAttributes extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:sharepubapi_v1.IssuingAttributes)
      IssuingAttributesOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use IssuingAttributes.newBuilder() to construct.
    private IssuingAttributes(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private IssuingAttributes() {
      expiryDate_ = "";
      definitions_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new IssuingAttributes();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private IssuingAttributes(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              expiryDate_ = s;
              break;
            }
            case 18: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                definitions_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              definitions_.add(
                  input.readMessage(com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition.parser(), extensionRegistry));
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          definitions_ = java.util.Collections.unmodifiableList(definitions_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.internal_static_sharepubapi_v1_IssuingAttributes_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.internal_static_sharepubapi_v1_IssuingAttributes_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes.class, com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes.Builder.class);
    }

    public static final int EXPIRY_DATE_FIELD_NUMBER = 1;
    private volatile java.lang.Object expiryDate_;
    /**
     * string expiry_date = 1;
     * @return The expiryDate.
     */
    @java.lang.Override
    public java.lang.String getExpiryDate() {
      java.lang.Object ref = expiryDate_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        expiryDate_ = s;
        return s;
      }
    }
    /**
     * string expiry_date = 1;
     * @return The bytes for expiryDate.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getExpiryDateBytes() {
      java.lang.Object ref = expiryDate_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        expiryDate_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int DEFINITIONS_FIELD_NUMBER = 2;
    private java.util.List definitions_;
    /**
     * repeated .sharepubapi_v1.Definition definitions = 2;
     */
    @java.lang.Override
    public java.util.List getDefinitionsList() {
      return definitions_;
    }
    /**
     * repeated .sharepubapi_v1.Definition definitions = 2;
     */
    @java.lang.Override
    public java.util.List 
        getDefinitionsOrBuilderList() {
      return definitions_;
    }
    /**
     * repeated .sharepubapi_v1.Definition definitions = 2;
     */
    @java.lang.Override
    public int getDefinitionsCount() {
      return definitions_.size();
    }
    /**
     * repeated .sharepubapi_v1.Definition definitions = 2;
     */
    @java.lang.Override
    public com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition getDefinitions(int index) {
      return definitions_.get(index);
    }
    /**
     * repeated .sharepubapi_v1.Definition definitions = 2;
     */
    @java.lang.Override
    public com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.DefinitionOrBuilder getDefinitionsOrBuilder(
        int index) {
      return definitions_.get(index);
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expiryDate_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, expiryDate_);
      }
      for (int i = 0; i < definitions_.size(); i++) {
        output.writeMessage(2, definitions_.get(i));
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expiryDate_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, expiryDate_);
      }
      for (int i = 0; i < definitions_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, definitions_.get(i));
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes)) {
        return super.equals(obj);
      }
      com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes other = (com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes) obj;

      if (!getExpiryDate()
          .equals(other.getExpiryDate())) return false;
      if (!getDefinitionsList()
          .equals(other.getDefinitionsList())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + EXPIRY_DATE_FIELD_NUMBER;
      hash = (53 * hash) + getExpiryDate().hashCode();
      if (getDefinitionsCount() > 0) {
        hash = (37 * hash) + DEFINITIONS_FIELD_NUMBER;
        hash = (53 * hash) + getDefinitionsList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code sharepubapi_v1.IssuingAttributes}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:sharepubapi_v1.IssuingAttributes)
        com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributesOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.internal_static_sharepubapi_v1_IssuingAttributes_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.internal_static_sharepubapi_v1_IssuingAttributes_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes.class, com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes.Builder.class);
      }

      // Construct using com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getDefinitionsFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        expiryDate_ = "";

        if (definitionsBuilder_ == null) {
          definitions_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
        } else {
          definitionsBuilder_.clear();
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.internal_static_sharepubapi_v1_IssuingAttributes_descriptor;
      }

      @java.lang.Override
      public com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes getDefaultInstanceForType() {
        return com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes.getDefaultInstance();
      }

      @java.lang.Override
      public com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes build() {
        com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes buildPartial() {
        com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes result = new com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes(this);
        int from_bitField0_ = bitField0_;
        result.expiryDate_ = expiryDate_;
        if (definitionsBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0)) {
            definitions_ = java.util.Collections.unmodifiableList(definitions_);
            bitField0_ = (bitField0_ & ~0x00000001);
          }
          result.definitions_ = definitions_;
        } else {
          result.definitions_ = definitionsBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes) {
          return mergeFrom((com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes other) {
        if (other == com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes.getDefaultInstance()) return this;
        if (!other.getExpiryDate().isEmpty()) {
          expiryDate_ = other.expiryDate_;
          onChanged();
        }
        if (definitionsBuilder_ == null) {
          if (!other.definitions_.isEmpty()) {
            if (definitions_.isEmpty()) {
              definitions_ = other.definitions_;
              bitField0_ = (bitField0_ & ~0x00000001);
            } else {
              ensureDefinitionsIsMutable();
              definitions_.addAll(other.definitions_);
            }
            onChanged();
          }
        } else {
          if (!other.definitions_.isEmpty()) {
            if (definitionsBuilder_.isEmpty()) {
              definitionsBuilder_.dispose();
              definitionsBuilder_ = null;
              definitions_ = other.definitions_;
              bitField0_ = (bitField0_ & ~0x00000001);
              definitionsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getDefinitionsFieldBuilder() : null;
            } else {
              definitionsBuilder_.addAllMessages(other.definitions_);
            }
          }
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.lang.Object expiryDate_ = "";
      /**
       * string expiry_date = 1;
       * @return The expiryDate.
       */
      public java.lang.String getExpiryDate() {
        java.lang.Object ref = expiryDate_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          expiryDate_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string expiry_date = 1;
       * @return The bytes for expiryDate.
       */
      public com.google.protobuf.ByteString
          getExpiryDateBytes() {
        java.lang.Object ref = expiryDate_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          expiryDate_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string expiry_date = 1;
       * @param value The expiryDate to set.
       * @return This builder for chaining.
       */
      public Builder setExpiryDate(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        expiryDate_ = value;
        onChanged();
        return this;
      }
      /**
       * string expiry_date = 1;
       * @return This builder for chaining.
       */
      public Builder clearExpiryDate() {
        
        expiryDate_ = getDefaultInstance().getExpiryDate();
        onChanged();
        return this;
      }
      /**
       * string expiry_date = 1;
       * @param value The bytes for expiryDate to set.
       * @return This builder for chaining.
       */
      public Builder setExpiryDateBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        expiryDate_ = value;
        onChanged();
        return this;
      }

      private java.util.List definitions_ =
        java.util.Collections.emptyList();
      private void ensureDefinitionsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          definitions_ = new java.util.ArrayList(definitions_);
          bitField0_ |= 0x00000001;
         }
      }

      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition, com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition.Builder, com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.DefinitionOrBuilder> definitionsBuilder_;

      /**
       * repeated .sharepubapi_v1.Definition definitions = 2;
       */
      public java.util.List getDefinitionsList() {
        if (definitionsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(definitions_);
        } else {
          return definitionsBuilder_.getMessageList();
        }
      }
      /**
       * repeated .sharepubapi_v1.Definition definitions = 2;
       */
      public int getDefinitionsCount() {
        if (definitionsBuilder_ == null) {
          return definitions_.size();
        } else {
          return definitionsBuilder_.getCount();
        }
      }
      /**
       * repeated .sharepubapi_v1.Definition definitions = 2;
       */
      public com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition getDefinitions(int index) {
        if (definitionsBuilder_ == null) {
          return definitions_.get(index);
        } else {
          return definitionsBuilder_.getMessage(index);
        }
      }
      /**
       * repeated .sharepubapi_v1.Definition definitions = 2;
       */
      public Builder setDefinitions(
          int index, com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition value) {
        if (definitionsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDefinitionsIsMutable();
          definitions_.set(index, value);
          onChanged();
        } else {
          definitionsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .sharepubapi_v1.Definition definitions = 2;
       */
      public Builder setDefinitions(
          int index, com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition.Builder builderForValue) {
        if (definitionsBuilder_ == null) {
          ensureDefinitionsIsMutable();
          definitions_.set(index, builderForValue.build());
          onChanged();
        } else {
          definitionsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .sharepubapi_v1.Definition definitions = 2;
       */
      public Builder addDefinitions(com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition value) {
        if (definitionsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDefinitionsIsMutable();
          definitions_.add(value);
          onChanged();
        } else {
          definitionsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * repeated .sharepubapi_v1.Definition definitions = 2;
       */
      public Builder addDefinitions(
          int index, com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition value) {
        if (definitionsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureDefinitionsIsMutable();
          definitions_.add(index, value);
          onChanged();
        } else {
          definitionsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * repeated .sharepubapi_v1.Definition definitions = 2;
       */
      public Builder addDefinitions(
          com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition.Builder builderForValue) {
        if (definitionsBuilder_ == null) {
          ensureDefinitionsIsMutable();
          definitions_.add(builderForValue.build());
          onChanged();
        } else {
          definitionsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .sharepubapi_v1.Definition definitions = 2;
       */
      public Builder addDefinitions(
          int index, com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition.Builder builderForValue) {
        if (definitionsBuilder_ == null) {
          ensureDefinitionsIsMutable();
          definitions_.add(index, builderForValue.build());
          onChanged();
        } else {
          definitionsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * repeated .sharepubapi_v1.Definition definitions = 2;
       */
      public Builder addAllDefinitions(
          java.lang.Iterable values) {
        if (definitionsBuilder_ == null) {
          ensureDefinitionsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, definitions_);
          onChanged();
        } else {
          definitionsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * repeated .sharepubapi_v1.Definition definitions = 2;
       */
      public Builder clearDefinitions() {
        if (definitionsBuilder_ == null) {
          definitions_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000001);
          onChanged();
        } else {
          definitionsBuilder_.clear();
        }
        return this;
      }
      /**
       * repeated .sharepubapi_v1.Definition definitions = 2;
       */
      public Builder removeDefinitions(int index) {
        if (definitionsBuilder_ == null) {
          ensureDefinitionsIsMutable();
          definitions_.remove(index);
          onChanged();
        } else {
          definitionsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * repeated .sharepubapi_v1.Definition definitions = 2;
       */
      public com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition.Builder getDefinitionsBuilder(
          int index) {
        return getDefinitionsFieldBuilder().getBuilder(index);
      }
      /**
       * repeated .sharepubapi_v1.Definition definitions = 2;
       */
      public com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.DefinitionOrBuilder getDefinitionsOrBuilder(
          int index) {
        if (definitionsBuilder_ == null) {
          return definitions_.get(index);  } else {
          return definitionsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * repeated .sharepubapi_v1.Definition definitions = 2;
       */
      public java.util.List 
           getDefinitionsOrBuilderList() {
        if (definitionsBuilder_ != null) {
          return definitionsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(definitions_);
        }
      }
      /**
       * repeated .sharepubapi_v1.Definition definitions = 2;
       */
      public com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition.Builder addDefinitionsBuilder() {
        return getDefinitionsFieldBuilder().addBuilder(
            com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition.getDefaultInstance());
      }
      /**
       * repeated .sharepubapi_v1.Definition definitions = 2;
       */
      public com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition.Builder addDefinitionsBuilder(
          int index) {
        return getDefinitionsFieldBuilder().addBuilder(
            index, com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition.getDefaultInstance());
      }
      /**
       * repeated .sharepubapi_v1.Definition definitions = 2;
       */
      public java.util.List 
           getDefinitionsBuilderList() {
        return getDefinitionsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition, com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition.Builder, com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.DefinitionOrBuilder> 
          getDefinitionsFieldBuilder() {
        if (definitionsBuilder_ == null) {
          definitionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition, com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition.Builder, com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.DefinitionOrBuilder>(
                  definitions_,
                  ((bitField0_ & 0x00000001) != 0),
                  getParentForChildren(),
                  isClean());
          definitions_ = null;
        }
        return definitionsBuilder_;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:sharepubapi_v1.IssuingAttributes)
    }

    // @@protoc_insertion_point(class_scope:sharepubapi_v1.IssuingAttributes)
    private static final com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes();
    }

    public static com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public IssuingAttributes parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new IssuingAttributes(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.IssuingAttributes getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface DefinitionOrBuilder extends
      // @@protoc_insertion_point(interface_extends:sharepubapi_v1.Definition)
      com.google.protobuf.MessageOrBuilder {

    /**
     * string name = 1;
     * @return The name.
     */
    java.lang.String getName();
    /**
     * string name = 1;
     * @return The bytes for name.
     */
    com.google.protobuf.ByteString
        getNameBytes();
  }
  /**
   * Protobuf type {@code sharepubapi_v1.Definition}
   */
  public static final class Definition extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:sharepubapi_v1.Definition)
      DefinitionOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Definition.newBuilder() to construct.
    private Definition(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private Definition() {
      name_ = "";
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new Definition();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private Definition(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              name_ = s;
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.internal_static_sharepubapi_v1_Definition_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.internal_static_sharepubapi_v1_Definition_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition.class, com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition.Builder.class);
    }

    public static final int NAME_FIELD_NUMBER = 1;
    private volatile java.lang.Object name_;
    /**
     * string name = 1;
     * @return The name.
     */
    @java.lang.Override
    public java.lang.String getName() {
      java.lang.Object ref = name_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        name_ = s;
        return s;
      }
    }
    /**
     * string name = 1;
     * @return The bytes for name.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getNameBytes() {
      java.lang.Object ref = name_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        name_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition)) {
        return super.equals(obj);
      }
      com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition other = (com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition) obj;

      if (!getName()
          .equals(other.getName())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + NAME_FIELD_NUMBER;
      hash = (53 * hash) + getName().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code sharepubapi_v1.Definition}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:sharepubapi_v1.Definition)
        com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.DefinitionOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.internal_static_sharepubapi_v1_Definition_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.internal_static_sharepubapi_v1_Definition_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition.class, com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition.Builder.class);
      }

      // Construct using com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        name_ = "";

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.internal_static_sharepubapi_v1_Definition_descriptor;
      }

      @java.lang.Override
      public com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition getDefaultInstanceForType() {
        return com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition.getDefaultInstance();
      }

      @java.lang.Override
      public com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition build() {
        com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition buildPartial() {
        com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition result = new com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition(this);
        result.name_ = name_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition) {
          return mergeFrom((com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition other) {
        if (other == com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition.getDefaultInstance()) return this;
        if (!other.getName().isEmpty()) {
          name_ = other.name_;
          onChanged();
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object name_ = "";
      /**
       * string name = 1;
       * @return The name.
       */
      public java.lang.String getName() {
        java.lang.Object ref = name_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          name_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string name = 1;
       * @return The bytes for name.
       */
      public com.google.protobuf.ByteString
          getNameBytes() {
        java.lang.Object ref = name_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          name_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string name = 1;
       * @param value The name to set.
       * @return This builder for chaining.
       */
      public Builder setName(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        name_ = value;
        onChanged();
        return this;
      }
      /**
       * string name = 1;
       * @return This builder for chaining.
       */
      public Builder clearName() {
        
        name_ = getDefaultInstance().getName();
        onChanged();
        return this;
      }
      /**
       * string name = 1;
       * @param value The bytes for name to set.
       * @return This builder for chaining.
       */
      public Builder setNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        name_ = value;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:sharepubapi_v1.Definition)
    }

    // @@protoc_insertion_point(class_scope:sharepubapi_v1.Definition)
    private static final com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition();
    }

    public static com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public Definition parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new Definition(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public com.yoti.api.client.spi.remote.proto.IssuingAttributesProto.Definition getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_sharepubapi_v1_IssuingAttributes_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_sharepubapi_v1_IssuingAttributes_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_sharepubapi_v1_Definition_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_sharepubapi_v1_Definition_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\027IssuingAttributes.proto\022\016sharepubapi_v" +
      "1\"Y\n\021IssuingAttributes\022\023\n\013expiry_date\030\001 " +
      "\001(\t\022/\n\013definitions\030\002 \003(\0132\032.sharepubapi_v" +
      "1.Definition\"\032\n\nDefinition\022\014\n\004name\030\001 \001(\t" +
      "B\355\001\n$com.yoti.api.client.spi.remote.prot" +
      "oB\026IssuingAttributesProtoZ0github.com/ge" +
      "tyoti/yoti-go-sdk/v3/yotiprotoshare\252\002\030Yo" +
      "ti.Auth.ProtoBuf.Share\312\002\031Yoti\\Protobuf\\S" +
      "harepubapi\342\002%Yoti\\Protobuf\\Sharepubapi\\G" +
      "PBMetadata\352\002\033Yoti::Protobuf::Sharepubapi" +
      "b\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        });
    internal_static_sharepubapi_v1_IssuingAttributes_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_sharepubapi_v1_IssuingAttributes_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_sharepubapi_v1_IssuingAttributes_descriptor,
        new java.lang.String[] { "ExpiryDate", "Definitions", });
    internal_static_sharepubapi_v1_Definition_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_sharepubapi_v1_Definition_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_sharepubapi_v1_Definition_descriptor,
        new java.lang.String[] { "Name", });
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy