required bytes CertificateContent = 1;
+ * @return Whether the certificateContent field is set.
+ */
+ boolean hasCertificateContent();
+ /**
+ * required bytes CertificateContent = 1;
+ * @return The certificateContent.
+ */
+ com.google.protobuf.ByteString getCertificateContent();
+ }
+ /**
+ * Protobuf type {@code Diadoc.Api.Proto.Certificates.CertificateVerificationRequest}
+ */
+ public static final class CertificateVerificationRequest extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:Diadoc.Api.Proto.Certificates.CertificateVerificationRequest)
+ CertificateVerificationRequestOrBuilder {
+ private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 28,
+ /* patch= */ 1,
+ /* suffix= */ "",
+ CertificateVerificationRequest.class.getName());
+ }
+ // Use CertificateVerificationRequest.newBuilder() to construct.
+ private CertificateVerificationRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+ private CertificateVerificationRequest() {
+ certificateContent_ = com.google.protobuf.ByteString.EMPTY;
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.internal_static_Diadoc_Api_Proto_Certificates_CertificateVerificationRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.internal_static_Diadoc_Api_Proto_Certificates_CertificateVerificationRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationRequest.class, Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationRequest.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int CERTIFICATECONTENT_FIELD_NUMBER = 1;
+ private com.google.protobuf.ByteString certificateContent_ = com.google.protobuf.ByteString.EMPTY;
+ /**
+ * required bytes CertificateContent = 1;
+ * @return Whether the certificateContent field is set.
+ */
+ @java.lang.Override
+ public boolean hasCertificateContent() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ * required bytes CertificateContent = 1;
+ * @return The certificateContent.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getCertificateContent() {
+ return certificateContent_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ if (!hasCertificateContent()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeBytes(1, certificateContent_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBytesSize(1, certificateContent_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationRequest)) {
+ return super.equals(obj);
+ }
+ Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationRequest other = (Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationRequest) obj;
+
+ if (hasCertificateContent() != other.hasCertificateContent()) return false;
+ if (hasCertificateContent()) {
+ if (!getCertificateContent()
+ .equals(other.getCertificateContent())) return false;
+ }
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasCertificateContent()) {
+ hash = (37 * hash) + CERTIFICATECONTENT_FIELD_NUMBER;
+ hash = (53 * hash) + getCertificateContent().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationRequest parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationRequest parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationRequest parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationRequest parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationRequest parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationRequest parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationRequest parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationRequest parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationRequest parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationRequest parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationRequest 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code Diadoc.Api.Proto.Certificates.CertificateVerificationRequest}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builderrequired bytes CertificateContent = 1;
+ * @return Whether the certificateContent field is set.
+ */
+ @java.lang.Override
+ public boolean hasCertificateContent() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ * required bytes CertificateContent = 1;
+ * @return The certificateContent.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getCertificateContent() {
+ return certificateContent_;
+ }
+ /**
+ * required bytes CertificateContent = 1;
+ * @param value The certificateContent to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCertificateContent(com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ certificateContent_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * required bytes CertificateContent = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearCertificateContent() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ certificateContent_ = getDefaultInstance().getCertificateContent();
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:Diadoc.Api.Proto.Certificates.CertificateVerificationRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:Diadoc.Api.Proto.Certificates.CertificateVerificationRequest)
+ private static final Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationRequest DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationRequest();
+ }
+
+ public static Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationRequest getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parserrequired bool IsValid = 1;
+ * @return Whether the isValid field is set.
+ */
+ boolean hasIsValid();
+ /**
+ * required bool IsValid = 1;
+ * @return The isValid.
+ */
+ boolean getIsValid();
+
+ /**
+ * required .Diadoc.Api.Proto.Timestamp VerifiedAt = 2;
+ * @return Whether the verifiedAt field is set.
+ */
+ boolean hasVerifiedAt();
+ /**
+ * required .Diadoc.Api.Proto.Timestamp VerifiedAt = 2;
+ * @return The verifiedAt.
+ */
+ Diadoc.Api.Proto.TimestampProtos.Timestamp getVerifiedAt();
+ /**
+ * required .Diadoc.Api.Proto.Timestamp VerifiedAt = 2;
+ */
+ Diadoc.Api.Proto.TimestampProtos.TimestampOrBuilder getVerifiedAtOrBuilder();
+
+ /**
+ * optional .Diadoc.Api.Proto.Certificates.CertificateSubjectType SubjectType = 3 [default = UnknownCertificateSubjectType];
+ * @return Whether the subjectType field is set.
+ */
+ boolean hasSubjectType();
+ /**
+ * optional .Diadoc.Api.Proto.Certificates.CertificateSubjectType SubjectType = 3 [default = UnknownCertificateSubjectType];
+ * @return The subjectType.
+ */
+ Diadoc.Api.Proto.Certificates.CertificateInfoV2Protos.CertificateSubjectType getSubjectType();
+ }
+ /**
+ * Protobuf type {@code Diadoc.Api.Proto.Certificates.CertificateVerificationResponse}
+ */
+ public static final class CertificateVerificationResponse extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:Diadoc.Api.Proto.Certificates.CertificateVerificationResponse)
+ CertificateVerificationResponseOrBuilder {
+ private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 28,
+ /* patch= */ 1,
+ /* suffix= */ "",
+ CertificateVerificationResponse.class.getName());
+ }
+ // Use CertificateVerificationResponse.newBuilder() to construct.
+ private CertificateVerificationResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+ private CertificateVerificationResponse() {
+ subjectType_ = 0;
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.internal_static_Diadoc_Api_Proto_Certificates_CertificateVerificationResponse_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.internal_static_Diadoc_Api_Proto_Certificates_CertificateVerificationResponse_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationResponse.class, Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationResponse.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int ISVALID_FIELD_NUMBER = 1;
+ private boolean isValid_ = false;
+ /**
+ * required bool IsValid = 1;
+ * @return Whether the isValid field is set.
+ */
+ @java.lang.Override
+ public boolean hasIsValid() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ * required bool IsValid = 1;
+ * @return The isValid.
+ */
+ @java.lang.Override
+ public boolean getIsValid() {
+ return isValid_;
+ }
+
+ public static final int VERIFIEDAT_FIELD_NUMBER = 2;
+ private Diadoc.Api.Proto.TimestampProtos.Timestamp verifiedAt_;
+ /**
+ * required .Diadoc.Api.Proto.Timestamp VerifiedAt = 2;
+ * @return Whether the verifiedAt field is set.
+ */
+ @java.lang.Override
+ public boolean hasVerifiedAt() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ * required .Diadoc.Api.Proto.Timestamp VerifiedAt = 2;
+ * @return The verifiedAt.
+ */
+ @java.lang.Override
+ public Diadoc.Api.Proto.TimestampProtos.Timestamp getVerifiedAt() {
+ return verifiedAt_ == null ? Diadoc.Api.Proto.TimestampProtos.Timestamp.getDefaultInstance() : verifiedAt_;
+ }
+ /**
+ * required .Diadoc.Api.Proto.Timestamp VerifiedAt = 2;
+ */
+ @java.lang.Override
+ public Diadoc.Api.Proto.TimestampProtos.TimestampOrBuilder getVerifiedAtOrBuilder() {
+ return verifiedAt_ == null ? Diadoc.Api.Proto.TimestampProtos.Timestamp.getDefaultInstance() : verifiedAt_;
+ }
+
+ public static final int SUBJECTTYPE_FIELD_NUMBER = 3;
+ private int subjectType_ = 0;
+ /**
+ * optional .Diadoc.Api.Proto.Certificates.CertificateSubjectType SubjectType = 3 [default = UnknownCertificateSubjectType];
+ * @return Whether the subjectType field is set.
+ */
+ @java.lang.Override public boolean hasSubjectType() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+ /**
+ * optional .Diadoc.Api.Proto.Certificates.CertificateSubjectType SubjectType = 3 [default = UnknownCertificateSubjectType];
+ * @return The subjectType.
+ */
+ @java.lang.Override public Diadoc.Api.Proto.Certificates.CertificateInfoV2Protos.CertificateSubjectType getSubjectType() {
+ Diadoc.Api.Proto.Certificates.CertificateInfoV2Protos.CertificateSubjectType result = Diadoc.Api.Proto.Certificates.CertificateInfoV2Protos.CertificateSubjectType.forNumber(subjectType_);
+ return result == null ? Diadoc.Api.Proto.Certificates.CertificateInfoV2Protos.CertificateSubjectType.UnknownCertificateSubjectType : result;
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ if (!hasIsValid()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (!hasVerifiedAt()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (!getVerifiedAt().isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeBool(1, isValid_);
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ output.writeMessage(2, getVerifiedAt());
+ }
+ if (((bitField0_ & 0x00000004) != 0)) {
+ output.writeEnum(3, subjectType_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(1, isValid_);
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(2, getVerifiedAt());
+ }
+ if (((bitField0_ & 0x00000004) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeEnumSize(3, subjectType_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationResponse)) {
+ return super.equals(obj);
+ }
+ Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationResponse other = (Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationResponse) obj;
+
+ if (hasIsValid() != other.hasIsValid()) return false;
+ if (hasIsValid()) {
+ if (getIsValid()
+ != other.getIsValid()) return false;
+ }
+ if (hasVerifiedAt() != other.hasVerifiedAt()) return false;
+ if (hasVerifiedAt()) {
+ if (!getVerifiedAt()
+ .equals(other.getVerifiedAt())) return false;
+ }
+ if (hasSubjectType() != other.hasSubjectType()) return false;
+ if (hasSubjectType()) {
+ if (subjectType_ != other.subjectType_) return false;
+ }
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasIsValid()) {
+ hash = (37 * hash) + ISVALID_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getIsValid());
+ }
+ if (hasVerifiedAt()) {
+ hash = (37 * hash) + VERIFIEDAT_FIELD_NUMBER;
+ hash = (53 * hash) + getVerifiedAt().hashCode();
+ }
+ if (hasSubjectType()) {
+ hash = (37 * hash) + SUBJECTTYPE_FIELD_NUMBER;
+ hash = (53 * hash) + subjectType_;
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationResponse parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationResponse parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationResponse parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationResponse parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationResponse parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationResponse parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationResponse parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationResponse parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationResponse parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationResponse parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationResponse parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationResponse parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationResponse 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code Diadoc.Api.Proto.Certificates.CertificateVerificationResponse}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builderrequired bool IsValid = 1;
+ * @return Whether the isValid field is set.
+ */
+ @java.lang.Override
+ public boolean hasIsValid() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ * required bool IsValid = 1;
+ * @return The isValid.
+ */
+ @java.lang.Override
+ public boolean getIsValid() {
+ return isValid_;
+ }
+ /**
+ * required bool IsValid = 1;
+ * @param value The isValid to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIsValid(boolean value) {
+
+ isValid_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * required bool IsValid = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearIsValid() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ isValid_ = false;
+ onChanged();
+ return this;
+ }
+
+ private Diadoc.Api.Proto.TimestampProtos.Timestamp verifiedAt_;
+ private com.google.protobuf.SingleFieldBuilder<
+ Diadoc.Api.Proto.TimestampProtos.Timestamp, Diadoc.Api.Proto.TimestampProtos.Timestamp.Builder, Diadoc.Api.Proto.TimestampProtos.TimestampOrBuilder> verifiedAtBuilder_;
+ /**
+ * required .Diadoc.Api.Proto.Timestamp VerifiedAt = 2;
+ * @return Whether the verifiedAt field is set.
+ */
+ public boolean hasVerifiedAt() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ * required .Diadoc.Api.Proto.Timestamp VerifiedAt = 2;
+ * @return The verifiedAt.
+ */
+ public Diadoc.Api.Proto.TimestampProtos.Timestamp getVerifiedAt() {
+ if (verifiedAtBuilder_ == null) {
+ return verifiedAt_ == null ? Diadoc.Api.Proto.TimestampProtos.Timestamp.getDefaultInstance() : verifiedAt_;
+ } else {
+ return verifiedAtBuilder_.getMessage();
+ }
+ }
+ /**
+ * required .Diadoc.Api.Proto.Timestamp VerifiedAt = 2;
+ */
+ public Builder setVerifiedAt(Diadoc.Api.Proto.TimestampProtos.Timestamp value) {
+ if (verifiedAtBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ verifiedAt_ = value;
+ } else {
+ verifiedAtBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * required .Diadoc.Api.Proto.Timestamp VerifiedAt = 2;
+ */
+ public Builder setVerifiedAt(
+ Diadoc.Api.Proto.TimestampProtos.Timestamp.Builder builderForValue) {
+ if (verifiedAtBuilder_ == null) {
+ verifiedAt_ = builderForValue.build();
+ } else {
+ verifiedAtBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * required .Diadoc.Api.Proto.Timestamp VerifiedAt = 2;
+ */
+ public Builder mergeVerifiedAt(Diadoc.Api.Proto.TimestampProtos.Timestamp value) {
+ if (verifiedAtBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) != 0) &&
+ verifiedAt_ != null &&
+ verifiedAt_ != Diadoc.Api.Proto.TimestampProtos.Timestamp.getDefaultInstance()) {
+ getVerifiedAtBuilder().mergeFrom(value);
+ } else {
+ verifiedAt_ = value;
+ }
+ } else {
+ verifiedAtBuilder_.mergeFrom(value);
+ }
+ if (verifiedAt_ != null) {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ }
+ return this;
+ }
+ /**
+ * required .Diadoc.Api.Proto.Timestamp VerifiedAt = 2;
+ */
+ public Builder clearVerifiedAt() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ verifiedAt_ = null;
+ if (verifiedAtBuilder_ != null) {
+ verifiedAtBuilder_.dispose();
+ verifiedAtBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ * required .Diadoc.Api.Proto.Timestamp VerifiedAt = 2;
+ */
+ public Diadoc.Api.Proto.TimestampProtos.Timestamp.Builder getVerifiedAtBuilder() {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return getVerifiedAtFieldBuilder().getBuilder();
+ }
+ /**
+ * required .Diadoc.Api.Proto.Timestamp VerifiedAt = 2;
+ */
+ public Diadoc.Api.Proto.TimestampProtos.TimestampOrBuilder getVerifiedAtOrBuilder() {
+ if (verifiedAtBuilder_ != null) {
+ return verifiedAtBuilder_.getMessageOrBuilder();
+ } else {
+ return verifiedAt_ == null ?
+ Diadoc.Api.Proto.TimestampProtos.Timestamp.getDefaultInstance() : verifiedAt_;
+ }
+ }
+ /**
+ * required .Diadoc.Api.Proto.Timestamp VerifiedAt = 2;
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ Diadoc.Api.Proto.TimestampProtos.Timestamp, Diadoc.Api.Proto.TimestampProtos.Timestamp.Builder, Diadoc.Api.Proto.TimestampProtos.TimestampOrBuilder>
+ getVerifiedAtFieldBuilder() {
+ if (verifiedAtBuilder_ == null) {
+ verifiedAtBuilder_ = new com.google.protobuf.SingleFieldBuilder<
+ Diadoc.Api.Proto.TimestampProtos.Timestamp, Diadoc.Api.Proto.TimestampProtos.Timestamp.Builder, Diadoc.Api.Proto.TimestampProtos.TimestampOrBuilder>(
+ getVerifiedAt(),
+ getParentForChildren(),
+ isClean());
+ verifiedAt_ = null;
+ }
+ return verifiedAtBuilder_;
+ }
+
+ private int subjectType_ = 0;
+ /**
+ * optional .Diadoc.Api.Proto.Certificates.CertificateSubjectType SubjectType = 3 [default = UnknownCertificateSubjectType];
+ * @return Whether the subjectType field is set.
+ */
+ @java.lang.Override public boolean hasSubjectType() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+ /**
+ * optional .Diadoc.Api.Proto.Certificates.CertificateSubjectType SubjectType = 3 [default = UnknownCertificateSubjectType];
+ * @return The subjectType.
+ */
+ @java.lang.Override
+ public Diadoc.Api.Proto.Certificates.CertificateInfoV2Protos.CertificateSubjectType getSubjectType() {
+ Diadoc.Api.Proto.Certificates.CertificateInfoV2Protos.CertificateSubjectType result = Diadoc.Api.Proto.Certificates.CertificateInfoV2Protos.CertificateSubjectType.forNumber(subjectType_);
+ return result == null ? Diadoc.Api.Proto.Certificates.CertificateInfoV2Protos.CertificateSubjectType.UnknownCertificateSubjectType : result;
+ }
+ /**
+ * optional .Diadoc.Api.Proto.Certificates.CertificateSubjectType SubjectType = 3 [default = UnknownCertificateSubjectType];
+ * @param value The subjectType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSubjectType(Diadoc.Api.Proto.Certificates.CertificateInfoV2Protos.CertificateSubjectType value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
+ subjectType_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ * optional .Diadoc.Api.Proto.Certificates.CertificateSubjectType SubjectType = 3 [default = UnknownCertificateSubjectType];
+ * @return This builder for chaining.
+ */
+ public Builder clearSubjectType() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ subjectType_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:Diadoc.Api.Proto.Certificates.CertificateVerificationResponse)
+ }
+
+ // @@protoc_insertion_point(class_scope:Diadoc.Api.Proto.Certificates.CertificateVerificationResponse)
+ private static final Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationResponse DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationResponse();
+ }
+
+ public static Diadoc.Api.Proto.Certificates.CertificateVerificationProtos.CertificateVerificationResponse getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parserrepeated .Diadoc.Api.Proto.RoamingOperator RoamingOperators = 1;
+ */
+ java.util.Listrepeated .Diadoc.Api.Proto.RoamingOperator RoamingOperators = 1;
+ */
+ Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator getRoamingOperators(int index);
+ /**
+ * repeated .Diadoc.Api.Proto.RoamingOperator RoamingOperators = 1;
+ */
+ int getRoamingOperatorsCount();
+ /**
+ * repeated .Diadoc.Api.Proto.RoamingOperator RoamingOperators = 1;
+ */
+ java.util.List extends Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperatorOrBuilder>
+ getRoamingOperatorsOrBuilderList();
+ /**
+ * repeated .Diadoc.Api.Proto.RoamingOperator RoamingOperators = 1;
+ */
+ Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperatorOrBuilder getRoamingOperatorsOrBuilder(
+ int index);
+ }
+ /**
+ * Protobuf type {@code Diadoc.Api.Proto.RoamingOperatorList}
+ */
+ public static final class RoamingOperatorList extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:Diadoc.Api.Proto.RoamingOperatorList)
+ RoamingOperatorListOrBuilder {
+ private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 28,
+ /* patch= */ 1,
+ /* suffix= */ "",
+ RoamingOperatorList.class.getName());
+ }
+ // Use RoamingOperatorList.newBuilder() to construct.
+ private RoamingOperatorList(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+ private RoamingOperatorList() {
+ roamingOperators_ = java.util.Collections.emptyList();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return Diadoc.Api.Proto.RoamingOperatorProtos.internal_static_Diadoc_Api_Proto_RoamingOperatorList_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return Diadoc.Api.Proto.RoamingOperatorProtos.internal_static_Diadoc_Api_Proto_RoamingOperatorList_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperatorList.class, Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperatorList.Builder.class);
+ }
+
+ public static final int ROAMINGOPERATORS_FIELD_NUMBER = 1;
+ @SuppressWarnings("serial")
+ private java.util.Listrepeated .Diadoc.Api.Proto.RoamingOperator RoamingOperators = 1;
+ */
+ @java.lang.Override
+ public java.util.Listrepeated .Diadoc.Api.Proto.RoamingOperator RoamingOperators = 1;
+ */
+ @java.lang.Override
+ public java.util.List extends Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperatorOrBuilder>
+ getRoamingOperatorsOrBuilderList() {
+ return roamingOperators_;
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.RoamingOperator RoamingOperators = 1;
+ */
+ @java.lang.Override
+ public int getRoamingOperatorsCount() {
+ return roamingOperators_.size();
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.RoamingOperator RoamingOperators = 1;
+ */
+ @java.lang.Override
+ public Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator getRoamingOperators(int index) {
+ return roamingOperators_.get(index);
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.RoamingOperator RoamingOperators = 1;
+ */
+ @java.lang.Override
+ public Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperatorOrBuilder getRoamingOperatorsOrBuilder(
+ int index) {
+ return roamingOperators_.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;
+
+ for (int i = 0; i < getRoamingOperatorsCount(); i++) {
+ if (!getRoamingOperators(i).isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ }
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ for (int i = 0; i < roamingOperators_.size(); i++) {
+ output.writeMessage(1, roamingOperators_.get(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < roamingOperators_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(1, roamingOperators_.get(i));
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperatorList)) {
+ return super.equals(obj);
+ }
+ Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperatorList other = (Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperatorList) obj;
+
+ if (!getRoamingOperatorsList()
+ .equals(other.getRoamingOperatorsList())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getRoamingOperatorsCount() > 0) {
+ hash = (37 * hash) + ROAMINGOPERATORS_FIELD_NUMBER;
+ hash = (53 * hash) + getRoamingOperatorsList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperatorList parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperatorList parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperatorList parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperatorList parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperatorList parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperatorList parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperatorList parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperatorList parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperatorList parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperatorList parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperatorList parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperatorList parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperatorList 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code Diadoc.Api.Proto.RoamingOperatorList}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builderrepeated .Diadoc.Api.Proto.RoamingOperator RoamingOperators = 1;
+ */
+ public java.util.Listrepeated .Diadoc.Api.Proto.RoamingOperator RoamingOperators = 1;
+ */
+ public int getRoamingOperatorsCount() {
+ if (roamingOperatorsBuilder_ == null) {
+ return roamingOperators_.size();
+ } else {
+ return roamingOperatorsBuilder_.getCount();
+ }
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.RoamingOperator RoamingOperators = 1;
+ */
+ public Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator getRoamingOperators(int index) {
+ if (roamingOperatorsBuilder_ == null) {
+ return roamingOperators_.get(index);
+ } else {
+ return roamingOperatorsBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.RoamingOperator RoamingOperators = 1;
+ */
+ public Builder setRoamingOperators(
+ int index, Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator value) {
+ if (roamingOperatorsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureRoamingOperatorsIsMutable();
+ roamingOperators_.set(index, value);
+ onChanged();
+ } else {
+ roamingOperatorsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.RoamingOperator RoamingOperators = 1;
+ */
+ public Builder setRoamingOperators(
+ int index, Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator.Builder builderForValue) {
+ if (roamingOperatorsBuilder_ == null) {
+ ensureRoamingOperatorsIsMutable();
+ roamingOperators_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ roamingOperatorsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.RoamingOperator RoamingOperators = 1;
+ */
+ public Builder addRoamingOperators(Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator value) {
+ if (roamingOperatorsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureRoamingOperatorsIsMutable();
+ roamingOperators_.add(value);
+ onChanged();
+ } else {
+ roamingOperatorsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.RoamingOperator RoamingOperators = 1;
+ */
+ public Builder addRoamingOperators(
+ int index, Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator value) {
+ if (roamingOperatorsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureRoamingOperatorsIsMutable();
+ roamingOperators_.add(index, value);
+ onChanged();
+ } else {
+ roamingOperatorsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.RoamingOperator RoamingOperators = 1;
+ */
+ public Builder addRoamingOperators(
+ Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator.Builder builderForValue) {
+ if (roamingOperatorsBuilder_ == null) {
+ ensureRoamingOperatorsIsMutable();
+ roamingOperators_.add(builderForValue.build());
+ onChanged();
+ } else {
+ roamingOperatorsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.RoamingOperator RoamingOperators = 1;
+ */
+ public Builder addRoamingOperators(
+ int index, Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator.Builder builderForValue) {
+ if (roamingOperatorsBuilder_ == null) {
+ ensureRoamingOperatorsIsMutable();
+ roamingOperators_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ roamingOperatorsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.RoamingOperator RoamingOperators = 1;
+ */
+ public Builder addAllRoamingOperators(
+ java.lang.Iterable extends Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator> values) {
+ if (roamingOperatorsBuilder_ == null) {
+ ensureRoamingOperatorsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, roamingOperators_);
+ onChanged();
+ } else {
+ roamingOperatorsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.RoamingOperator RoamingOperators = 1;
+ */
+ public Builder clearRoamingOperators() {
+ if (roamingOperatorsBuilder_ == null) {
+ roamingOperators_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ roamingOperatorsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.RoamingOperator RoamingOperators = 1;
+ */
+ public Builder removeRoamingOperators(int index) {
+ if (roamingOperatorsBuilder_ == null) {
+ ensureRoamingOperatorsIsMutable();
+ roamingOperators_.remove(index);
+ onChanged();
+ } else {
+ roamingOperatorsBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.RoamingOperator RoamingOperators = 1;
+ */
+ public Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator.Builder getRoamingOperatorsBuilder(
+ int index) {
+ return getRoamingOperatorsFieldBuilder().getBuilder(index);
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.RoamingOperator RoamingOperators = 1;
+ */
+ public Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperatorOrBuilder getRoamingOperatorsOrBuilder(
+ int index) {
+ if (roamingOperatorsBuilder_ == null) {
+ return roamingOperators_.get(index); } else {
+ return roamingOperatorsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.RoamingOperator RoamingOperators = 1;
+ */
+ public java.util.List extends Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperatorOrBuilder>
+ getRoamingOperatorsOrBuilderList() {
+ if (roamingOperatorsBuilder_ != null) {
+ return roamingOperatorsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(roamingOperators_);
+ }
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.RoamingOperator RoamingOperators = 1;
+ */
+ public Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator.Builder addRoamingOperatorsBuilder() {
+ return getRoamingOperatorsFieldBuilder().addBuilder(
+ Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator.getDefaultInstance());
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.RoamingOperator RoamingOperators = 1;
+ */
+ public Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator.Builder addRoamingOperatorsBuilder(
+ int index) {
+ return getRoamingOperatorsFieldBuilder().addBuilder(
+ index, Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator.getDefaultInstance());
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.RoamingOperator RoamingOperators = 1;
+ */
+ public java.util.Listrequired string FnsId = 1;
+ * @return Whether the fnsId field is set.
+ */
+ boolean hasFnsId();
+ /**
+ * required string FnsId = 1;
+ * @return The fnsId.
+ */
+ java.lang.String getFnsId();
+ /**
+ * required string FnsId = 1;
+ * @return The bytes for fnsId.
+ */
+ com.google.protobuf.ByteString
+ getFnsIdBytes();
+
+ /**
+ * required string Name = 2;
+ * @return Whether the name field is set.
+ */
+ boolean hasName();
+ /**
+ * required string Name = 2;
+ * @return The name.
+ */
+ java.lang.String getName();
+ /**
+ * required string Name = 2;
+ * @return The bytes for name.
+ */
+ com.google.protobuf.ByteString
+ getNameBytes();
+
+ /**
+ * required bool IsActive = 3;
+ * @return Whether the isActive field is set.
+ */
+ boolean hasIsActive();
+ /**
+ * required bool IsActive = 3;
+ * @return The isActive.
+ */
+ boolean getIsActive();
+
+ /**
+ * repeated .Diadoc.Api.Proto.OperatorFeature Features = 4;
+ */
+ java.util.Listrepeated .Diadoc.Api.Proto.OperatorFeature Features = 4;
+ */
+ Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature getFeatures(int index);
+ /**
+ * repeated .Diadoc.Api.Proto.OperatorFeature Features = 4;
+ */
+ int getFeaturesCount();
+ /**
+ * repeated .Diadoc.Api.Proto.OperatorFeature Features = 4;
+ */
+ java.util.List extends Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeatureOrBuilder>
+ getFeaturesOrBuilderList();
+ /**
+ * repeated .Diadoc.Api.Proto.OperatorFeature Features = 4;
+ */
+ Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeatureOrBuilder getFeaturesOrBuilder(
+ int index);
+ }
+ /**
+ * Protobuf type {@code Diadoc.Api.Proto.RoamingOperator}
+ */
+ public static final class RoamingOperator extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:Diadoc.Api.Proto.RoamingOperator)
+ RoamingOperatorOrBuilder {
+ private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 28,
+ /* patch= */ 1,
+ /* suffix= */ "",
+ RoamingOperator.class.getName());
+ }
+ // Use RoamingOperator.newBuilder() to construct.
+ private RoamingOperator(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+ private RoamingOperator() {
+ fnsId_ = "";
+ name_ = "";
+ features_ = java.util.Collections.emptyList();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return Diadoc.Api.Proto.RoamingOperatorProtos.internal_static_Diadoc_Api_Proto_RoamingOperator_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return Diadoc.Api.Proto.RoamingOperatorProtos.internal_static_Diadoc_Api_Proto_RoamingOperator_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator.class, Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int FNSID_FIELD_NUMBER = 1;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object fnsId_ = "";
+ /**
+ * required string FnsId = 1;
+ * @return Whether the fnsId field is set.
+ */
+ @java.lang.Override
+ public boolean hasFnsId() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ * required string FnsId = 1;
+ * @return The fnsId.
+ */
+ @java.lang.Override
+ public java.lang.String getFnsId() {
+ java.lang.Object ref = fnsId_;
+ 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();
+ if (bs.isValidUtf8()) {
+ fnsId_ = s;
+ }
+ return s;
+ }
+ }
+ /**
+ * required string FnsId = 1;
+ * @return The bytes for fnsId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getFnsIdBytes() {
+ java.lang.Object ref = fnsId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ fnsId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int NAME_FIELD_NUMBER = 2;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
+ /**
+ * required string Name = 2;
+ * @return Whether the name field is set.
+ */
+ @java.lang.Override
+ public boolean hasName() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ * required string Name = 2;
+ * @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();
+ if (bs.isValidUtf8()) {
+ name_ = s;
+ }
+ return s;
+ }
+ }
+ /**
+ * required string Name = 2;
+ * @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;
+ }
+ }
+
+ public static final int ISACTIVE_FIELD_NUMBER = 3;
+ private boolean isActive_ = false;
+ /**
+ * required bool IsActive = 3;
+ * @return Whether the isActive field is set.
+ */
+ @java.lang.Override
+ public boolean hasIsActive() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+ /**
+ * required bool IsActive = 3;
+ * @return The isActive.
+ */
+ @java.lang.Override
+ public boolean getIsActive() {
+ return isActive_;
+ }
+
+ public static final int FEATURES_FIELD_NUMBER = 4;
+ @SuppressWarnings("serial")
+ private java.util.Listrepeated .Diadoc.Api.Proto.OperatorFeature Features = 4;
+ */
+ @java.lang.Override
+ public java.util.Listrepeated .Diadoc.Api.Proto.OperatorFeature Features = 4;
+ */
+ @java.lang.Override
+ public java.util.List extends Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeatureOrBuilder>
+ getFeaturesOrBuilderList() {
+ return features_;
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.OperatorFeature Features = 4;
+ */
+ @java.lang.Override
+ public int getFeaturesCount() {
+ return features_.size();
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.OperatorFeature Features = 4;
+ */
+ @java.lang.Override
+ public Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature getFeatures(int index) {
+ return features_.get(index);
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.OperatorFeature Features = 4;
+ */
+ @java.lang.Override
+ public Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeatureOrBuilder getFeaturesOrBuilder(
+ int index) {
+ return features_.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;
+
+ if (!hasFnsId()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (!hasName()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (!hasIsActive()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ for (int i = 0; i < getFeaturesCount(); i++) {
+ if (!getFeatures(i).isInitialized()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ }
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, fnsId_);
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 2, name_);
+ }
+ if (((bitField0_ & 0x00000004) != 0)) {
+ output.writeBool(3, isActive_);
+ }
+ for (int i = 0; i < features_.size(); i++) {
+ output.writeMessage(4, features_.get(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, fnsId_);
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(2, name_);
+ }
+ if (((bitField0_ & 0x00000004) != 0)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(3, isActive_);
+ }
+ for (int i = 0; i < features_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeMessageSize(4, features_.get(i));
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator)) {
+ return super.equals(obj);
+ }
+ Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator other = (Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator) obj;
+
+ if (hasFnsId() != other.hasFnsId()) return false;
+ if (hasFnsId()) {
+ if (!getFnsId()
+ .equals(other.getFnsId())) return false;
+ }
+ if (hasName() != other.hasName()) return false;
+ if (hasName()) {
+ if (!getName()
+ .equals(other.getName())) return false;
+ }
+ if (hasIsActive() != other.hasIsActive()) return false;
+ if (hasIsActive()) {
+ if (getIsActive()
+ != other.getIsActive()) return false;
+ }
+ if (!getFeaturesList()
+ .equals(other.getFeaturesList())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasFnsId()) {
+ hash = (37 * hash) + FNSID_FIELD_NUMBER;
+ hash = (53 * hash) + getFnsId().hashCode();
+ }
+ if (hasName()) {
+ hash = (37 * hash) + NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getName().hashCode();
+ }
+ if (hasIsActive()) {
+ hash = (37 * hash) + ISACTIVE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getIsActive());
+ }
+ if (getFeaturesCount() > 0) {
+ hash = (37 * hash) + FEATURES_FIELD_NUMBER;
+ hash = (53 * hash) + getFeaturesList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(Diadoc.Api.Proto.RoamingOperatorProtos.RoamingOperator 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code Diadoc.Api.Proto.RoamingOperator}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builderrequired string FnsId = 1;
+ * @return Whether the fnsId field is set.
+ */
+ public boolean hasFnsId() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ * required string FnsId = 1;
+ * @return The fnsId.
+ */
+ public java.lang.String getFnsId() {
+ java.lang.Object ref = fnsId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ fnsId_ = s;
+ }
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * required string FnsId = 1;
+ * @return The bytes for fnsId.
+ */
+ public com.google.protobuf.ByteString
+ getFnsIdBytes() {
+ java.lang.Object ref = fnsId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ fnsId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * required string FnsId = 1;
+ * @param value The fnsId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFnsId(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ fnsId_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * required string FnsId = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearFnsId() {
+ fnsId_ = getDefaultInstance().getFnsId();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ * required string FnsId = 1;
+ * @param value The bytes for fnsId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFnsIdBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ fnsId_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object name_ = "";
+ /**
+ * required string Name = 2;
+ * @return Whether the name field is set.
+ */
+ public boolean hasName() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ * required string Name = 2;
+ * @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();
+ if (bs.isValidUtf8()) {
+ name_ = s;
+ }
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * required string Name = 2;
+ * @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;
+ }
+ }
+ /**
+ * required string Name = 2;
+ * @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;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * required string Name = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearName() {
+ name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+ /**
+ * required string Name = 2;
+ * @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(); }
+ name_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ private boolean isActive_ ;
+ /**
+ * required bool IsActive = 3;
+ * @return Whether the isActive field is set.
+ */
+ @java.lang.Override
+ public boolean hasIsActive() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+ /**
+ * required bool IsActive = 3;
+ * @return The isActive.
+ */
+ @java.lang.Override
+ public boolean getIsActive() {
+ return isActive_;
+ }
+ /**
+ * required bool IsActive = 3;
+ * @param value The isActive to set.
+ * @return This builder for chaining.
+ */
+ public Builder setIsActive(boolean value) {
+
+ isActive_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ * required bool IsActive = 3;
+ * @return This builder for chaining.
+ */
+ public Builder clearIsActive() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ isActive_ = false;
+ onChanged();
+ return this;
+ }
+
+ private java.util.Listrepeated .Diadoc.Api.Proto.OperatorFeature Features = 4;
+ */
+ public java.util.Listrepeated .Diadoc.Api.Proto.OperatorFeature Features = 4;
+ */
+ public int getFeaturesCount() {
+ if (featuresBuilder_ == null) {
+ return features_.size();
+ } else {
+ return featuresBuilder_.getCount();
+ }
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.OperatorFeature Features = 4;
+ */
+ public Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature getFeatures(int index) {
+ if (featuresBuilder_ == null) {
+ return features_.get(index);
+ } else {
+ return featuresBuilder_.getMessage(index);
+ }
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.OperatorFeature Features = 4;
+ */
+ public Builder setFeatures(
+ int index, Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature value) {
+ if (featuresBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureFeaturesIsMutable();
+ features_.set(index, value);
+ onChanged();
+ } else {
+ featuresBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.OperatorFeature Features = 4;
+ */
+ public Builder setFeatures(
+ int index, Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature.Builder builderForValue) {
+ if (featuresBuilder_ == null) {
+ ensureFeaturesIsMutable();
+ features_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ featuresBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.OperatorFeature Features = 4;
+ */
+ public Builder addFeatures(Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature value) {
+ if (featuresBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureFeaturesIsMutable();
+ features_.add(value);
+ onChanged();
+ } else {
+ featuresBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.OperatorFeature Features = 4;
+ */
+ public Builder addFeatures(
+ int index, Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature value) {
+ if (featuresBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureFeaturesIsMutable();
+ features_.add(index, value);
+ onChanged();
+ } else {
+ featuresBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.OperatorFeature Features = 4;
+ */
+ public Builder addFeatures(
+ Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature.Builder builderForValue) {
+ if (featuresBuilder_ == null) {
+ ensureFeaturesIsMutable();
+ features_.add(builderForValue.build());
+ onChanged();
+ } else {
+ featuresBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.OperatorFeature Features = 4;
+ */
+ public Builder addFeatures(
+ int index, Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature.Builder builderForValue) {
+ if (featuresBuilder_ == null) {
+ ensureFeaturesIsMutable();
+ features_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ featuresBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.OperatorFeature Features = 4;
+ */
+ public Builder addAllFeatures(
+ java.lang.Iterable extends Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature> values) {
+ if (featuresBuilder_ == null) {
+ ensureFeaturesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(
+ values, features_);
+ onChanged();
+ } else {
+ featuresBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.OperatorFeature Features = 4;
+ */
+ public Builder clearFeatures() {
+ if (featuresBuilder_ == null) {
+ features_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000008);
+ onChanged();
+ } else {
+ featuresBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.OperatorFeature Features = 4;
+ */
+ public Builder removeFeatures(int index) {
+ if (featuresBuilder_ == null) {
+ ensureFeaturesIsMutable();
+ features_.remove(index);
+ onChanged();
+ } else {
+ featuresBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.OperatorFeature Features = 4;
+ */
+ public Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature.Builder getFeaturesBuilder(
+ int index) {
+ return getFeaturesFieldBuilder().getBuilder(index);
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.OperatorFeature Features = 4;
+ */
+ public Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeatureOrBuilder getFeaturesOrBuilder(
+ int index) {
+ if (featuresBuilder_ == null) {
+ return features_.get(index); } else {
+ return featuresBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.OperatorFeature Features = 4;
+ */
+ public java.util.List extends Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeatureOrBuilder>
+ getFeaturesOrBuilderList() {
+ if (featuresBuilder_ != null) {
+ return featuresBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(features_);
+ }
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.OperatorFeature Features = 4;
+ */
+ public Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature.Builder addFeaturesBuilder() {
+ return getFeaturesFieldBuilder().addBuilder(
+ Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature.getDefaultInstance());
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.OperatorFeature Features = 4;
+ */
+ public Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature.Builder addFeaturesBuilder(
+ int index) {
+ return getFeaturesFieldBuilder().addBuilder(
+ index, Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature.getDefaultInstance());
+ }
+ /**
+ * repeated .Diadoc.Api.Proto.OperatorFeature Features = 4;
+ */
+ public java.util.Listrequired string Name = 1;
+ * @return Whether the name field is set.
+ */
+ boolean hasName();
+ /**
+ * required string Name = 1;
+ * @return The name.
+ */
+ java.lang.String getName();
+ /**
+ * required string Name = 1;
+ * @return The bytes for name.
+ */
+ com.google.protobuf.ByteString
+ getNameBytes();
+
+ /**
+ * required string Description = 2;
+ * @return Whether the description field is set.
+ */
+ boolean hasDescription();
+ /**
+ * required string Description = 2;
+ * @return The description.
+ */
+ java.lang.String getDescription();
+ /**
+ * required string Description = 2;
+ * @return The bytes for description.
+ */
+ com.google.protobuf.ByteString
+ getDescriptionBytes();
+ }
+ /**
+ * Protobuf type {@code Diadoc.Api.Proto.OperatorFeature}
+ */
+ public static final class OperatorFeature extends
+ com.google.protobuf.GeneratedMessage implements
+ // @@protoc_insertion_point(message_implements:Diadoc.Api.Proto.OperatorFeature)
+ OperatorFeatureOrBuilder {
+ private static final long serialVersionUID = 0L;
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 28,
+ /* patch= */ 1,
+ /* suffix= */ "",
+ OperatorFeature.class.getName());
+ }
+ // Use OperatorFeature.newBuilder() to construct.
+ private OperatorFeature(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+ private OperatorFeature() {
+ name_ = "";
+ description_ = "";
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return Diadoc.Api.Proto.RoamingOperatorProtos.internal_static_Diadoc_Api_Proto_OperatorFeature_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return Diadoc.Api.Proto.RoamingOperatorProtos.internal_static_Diadoc_Api_Proto_OperatorFeature_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature.class, Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int NAME_FIELD_NUMBER = 1;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
+ /**
+ * required string Name = 1;
+ * @return Whether the name field is set.
+ */
+ @java.lang.Override
+ public boolean hasName() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ * required 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();
+ if (bs.isValidUtf8()) {
+ name_ = s;
+ }
+ return s;
+ }
+ }
+ /**
+ * required 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;
+ }
+ }
+
+ public static final int DESCRIPTION_FIELD_NUMBER = 2;
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object description_ = "";
+ /**
+ * required string Description = 2;
+ * @return Whether the description field is set.
+ */
+ @java.lang.Override
+ public boolean hasDescription() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ * required string Description = 2;
+ * @return The description.
+ */
+ @java.lang.Override
+ public java.lang.String getDescription() {
+ java.lang.Object ref = description_;
+ 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();
+ if (bs.isValidUtf8()) {
+ description_ = s;
+ }
+ return s;
+ }
+ }
+ /**
+ * required string Description = 2;
+ * @return The bytes for description.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString
+ getDescriptionBytes() {
+ java.lang.Object ref = description_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ description_ = 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;
+
+ if (!hasName()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ if (!hasDescription()) {
+ memoizedIsInitialized = 0;
+ return false;
+ }
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, name_);
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 2, description_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, name_);
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(2, description_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature)) {
+ return super.equals(obj);
+ }
+ Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature other = (Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature) obj;
+
+ if (hasName() != other.hasName()) return false;
+ if (hasName()) {
+ if (!getName()
+ .equals(other.getName())) return false;
+ }
+ if (hasDescription() != other.hasDescription()) return false;
+ if (hasDescription()) {
+ if (!getDescription()
+ .equals(other.getDescription())) return false;
+ }
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasName()) {
+ hash = (37 * hash) + NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getName().hashCode();
+ }
+ if (hasDescription()) {
+ hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
+ hash = (53 * hash) + getDescription().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input);
+ }
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature 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.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code Diadoc.Api.Proto.OperatorFeature}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessage.Builderrequired string Name = 1;
+ * @return Whether the name field is set.
+ */
+ public boolean hasName() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ * required 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();
+ if (bs.isValidUtf8()) {
+ name_ = s;
+ }
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * required 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;
+ }
+ }
+ /**
+ * required 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;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ * required string Name = 1;
+ * @return This builder for chaining.
+ */
+ public Builder clearName() {
+ name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ * required 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(); }
+ name_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object description_ = "";
+ /**
+ * required string Description = 2;
+ * @return Whether the description field is set.
+ */
+ public boolean hasDescription() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ * required string Description = 2;
+ * @return The description.
+ */
+ public java.lang.String getDescription() {
+ java.lang.Object ref = description_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs =
+ (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
+ description_ = s;
+ }
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * required string Description = 2;
+ * @return The bytes for description.
+ */
+ public com.google.protobuf.ByteString
+ getDescriptionBytes() {
+ java.lang.Object ref = description_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ description_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ * required string Description = 2;
+ * @param value The description to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDescription(
+ java.lang.String value) {
+ if (value == null) { throw new NullPointerException(); }
+ description_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ * required string Description = 2;
+ * @return This builder for chaining.
+ */
+ public Builder clearDescription() {
+ description_ = getDefaultInstance().getDescription();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+ /**
+ * required string Description = 2;
+ * @param value The bytes for description to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDescriptionBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) { throw new NullPointerException(); }
+ description_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:Diadoc.Api.Proto.OperatorFeature)
+ }
+
+ // @@protoc_insertion_point(class_scope:Diadoc.Api.Proto.OperatorFeature)
+ private static final Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature();
+ }
+
+ public static Diadoc.Api.Proto.RoamingOperatorProtos.OperatorFeature getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parseroptional .Diadoc.Api.Proto.CertificateSubjectType CertificateSubjectType = 16 [default = UnknownCertificateSubjectType];
+ * optional .Diadoc.Api.Proto.Certificates.CertificateSubjectType CertificateSubjectType = 16 [default = UnknownCertificateSubjectType];
* @return Whether the certificateSubjectType field is set.
*/
boolean hasCertificateSubjectType();
@@ -472,10 +472,10 @@ public interface SignatureInfoOrBuilder extends
* Тип владельца сертификата
*
*
- * optional .Diadoc.Api.Proto.CertificateSubjectType CertificateSubjectType = 16 [default = UnknownCertificateSubjectType];
+ * optional .Diadoc.Api.Proto.Certificates.CertificateSubjectType CertificateSubjectType = 16 [default = UnknownCertificateSubjectType];
* @return The certificateSubjectType.
*/
- Diadoc.Api.Proto.CertificateInfoV2Protos.CertificateSubjectType getCertificateSubjectType();
+ Diadoc.Api.Proto.Certificates.CertificateInfoV2Protos.CertificateSubjectType getCertificateSubjectType();
}
/**
* Protobuf type {@code Diadoc.Api.Proto.SignatureInfo}
@@ -1381,7 +1381,7 @@ public java.lang.String getEmail() {
* Тип владельца сертификата
*
*
- * optional .Diadoc.Api.Proto.CertificateSubjectType CertificateSubjectType = 16 [default = UnknownCertificateSubjectType];
+ * optional .Diadoc.Api.Proto.Certificates.CertificateSubjectType CertificateSubjectType = 16 [default = UnknownCertificateSubjectType];
* @return Whether the certificateSubjectType field is set.
*/
@java.lang.Override public boolean hasCertificateSubjectType() {
@@ -1392,12 +1392,12 @@ public java.lang.String getEmail() {
* Тип владельца сертификата
*
*
- * optional .Diadoc.Api.Proto.CertificateSubjectType CertificateSubjectType = 16 [default = UnknownCertificateSubjectType];
+ * optional .Diadoc.Api.Proto.Certificates.CertificateSubjectType CertificateSubjectType = 16 [default = UnknownCertificateSubjectType];
* @return The certificateSubjectType.
*/
- @java.lang.Override public Diadoc.Api.Proto.CertificateInfoV2Protos.CertificateSubjectType getCertificateSubjectType() {
- Diadoc.Api.Proto.CertificateInfoV2Protos.CertificateSubjectType result = Diadoc.Api.Proto.CertificateInfoV2Protos.CertificateSubjectType.forNumber(certificateSubjectType_);
- return result == null ? Diadoc.Api.Proto.CertificateInfoV2Protos.CertificateSubjectType.UnknownCertificateSubjectType : result;
+ @java.lang.Override public Diadoc.Api.Proto.Certificates.CertificateInfoV2Protos.CertificateSubjectType getCertificateSubjectType() {
+ Diadoc.Api.Proto.Certificates.CertificateInfoV2Protos.CertificateSubjectType result = Diadoc.Api.Proto.Certificates.CertificateInfoV2Protos.CertificateSubjectType.forNumber(certificateSubjectType_);
+ return result == null ? Diadoc.Api.Proto.Certificates.CertificateInfoV2Protos.CertificateSubjectType.UnknownCertificateSubjectType : result;
}
private byte memoizedIsInitialized = -1;
@@ -2209,8 +2209,8 @@ public Builder mergeFrom(
} // case 122
case 128: {
int tmpRaw = input.readEnum();
- Diadoc.Api.Proto.CertificateInfoV2Protos.CertificateSubjectType tmpValue =
- Diadoc.Api.Proto.CertificateInfoV2Protos.CertificateSubjectType.forNumber(tmpRaw);
+ Diadoc.Api.Proto.Certificates.CertificateInfoV2Protos.CertificateSubjectType tmpValue =
+ Diadoc.Api.Proto.Certificates.CertificateInfoV2Protos.CertificateSubjectType.forNumber(tmpRaw);
if (tmpValue == null) {
mergeUnknownVarintField(16, tmpRaw);
} else {
@@ -3961,7 +3961,7 @@ public Builder setEmailBytes(
* Тип владельца сертификата
*
*
- * optional .Diadoc.Api.Proto.CertificateSubjectType CertificateSubjectType = 16 [default = UnknownCertificateSubjectType];
+ * optional .Diadoc.Api.Proto.Certificates.CertificateSubjectType CertificateSubjectType = 16 [default = UnknownCertificateSubjectType];
* @return Whether the certificateSubjectType field is set.
*/
@java.lang.Override public boolean hasCertificateSubjectType() {
@@ -3972,24 +3972,24 @@ public Builder setEmailBytes(
* Тип владельца сертификата
*
*
- * optional .Diadoc.Api.Proto.CertificateSubjectType CertificateSubjectType = 16 [default = UnknownCertificateSubjectType];
+ * optional .Diadoc.Api.Proto.Certificates.CertificateSubjectType CertificateSubjectType = 16 [default = UnknownCertificateSubjectType];
* @return The certificateSubjectType.
*/
@java.lang.Override
- public Diadoc.Api.Proto.CertificateInfoV2Protos.CertificateSubjectType getCertificateSubjectType() {
- Diadoc.Api.Proto.CertificateInfoV2Protos.CertificateSubjectType result = Diadoc.Api.Proto.CertificateInfoV2Protos.CertificateSubjectType.forNumber(certificateSubjectType_);
- return result == null ? Diadoc.Api.Proto.CertificateInfoV2Protos.CertificateSubjectType.UnknownCertificateSubjectType : result;
+ public Diadoc.Api.Proto.Certificates.CertificateInfoV2Protos.CertificateSubjectType getCertificateSubjectType() {
+ Diadoc.Api.Proto.Certificates.CertificateInfoV2Protos.CertificateSubjectType result = Diadoc.Api.Proto.Certificates.CertificateInfoV2Protos.CertificateSubjectType.forNumber(certificateSubjectType_);
+ return result == null ? Diadoc.Api.Proto.Certificates.CertificateInfoV2Protos.CertificateSubjectType.UnknownCertificateSubjectType : result;
}
/**
* * Тип владельца сертификата ** - *
optional .Diadoc.Api.Proto.CertificateSubjectType CertificateSubjectType = 16 [default = UnknownCertificateSubjectType];
+ * optional .Diadoc.Api.Proto.Certificates.CertificateSubjectType CertificateSubjectType = 16 [default = UnknownCertificateSubjectType];
* @param value The certificateSubjectType to set.
* @return This builder for chaining.
*/
- public Builder setCertificateSubjectType(Diadoc.Api.Proto.CertificateInfoV2Protos.CertificateSubjectType value) {
+ public Builder setCertificateSubjectType(Diadoc.Api.Proto.Certificates.CertificateInfoV2Protos.CertificateSubjectType value) {
if (value == null) {
throw new NullPointerException();
}
@@ -4003,7 +4003,7 @@ public Builder setCertificateSubjectType(Diadoc.Api.Proto.CertificateInfoV2Proto
* Тип владельца сертификата
*
*
- * optional .Diadoc.Api.Proto.CertificateSubjectType CertificateSubjectType = 16 [default = UnknownCertificateSubjectType];
+ * optional .Diadoc.Api.Proto.Certificates.CertificateSubjectType CertificateSubjectType = 16 [default = UnknownCertificateSubjectType];
* @return This builder for chaining.
*/
public Builder clearCertificateSubjectType() {
@@ -4079,27 +4079,28 @@ public Diadoc.Api.Proto.SignatureInfoProtos.SignatureInfo getDefaultInstanceForT
static {
java.lang.String[] descriptorData = {
"\n\023SignatureInfo.proto\022\020Diadoc.Api.Proto\032" +
- "\027CertificateInfoV2.proto\032!SignatureVerif" +
- "icationResult.proto\032\017Timestamp.proto\"\221\004\n" +
- "\rSignatureInfo\0220\n\013SigningTime\030\001 \002(\0132\033.Di" +
- "adoc.Api.Proto.Timestamp\022>\n\031SignatureVer" +
- "ificationTime\030\002 \001(\0132\033.Diadoc.Api.Proto.T" +
- "imestamp\022R\n\033SignatureVerificationResult\030" +
- "\003 \001(\0132-.Diadoc.Api.Proto.SignatureVerifi" +
- "cationResult\022\022\n\nThumbprint\030\004 \002(\t\022\024\n\014Seri" +
- "alNumber\030\005 \002(\t\022\016\n\006Issuer\030\006 \001(\t\022\021\n\tStartD" +
- "ate\030\007 \001(\t\022\017\n\007EndDate\030\010 \001(\t\022\017\n\007OrgName\030\t " +
- "\001(\t\022\016\n\006OrgInn\030\n \001(\t\022\020\n\010JobTitle\030\013 \001(\t\022\021\n" +
- "\tFirstName\030\014 \001(\t\022\017\n\007Surname\030\r \001(\t\022\r\n\005Sni" +
- "ls\030\016 \001(\t\022\r\n\005Email\030\017 \001(\t\022g\n\026CertificateSu" +
- "bjectType\030\020 \001(\0162(.Diadoc.Api.Proto.Certi" +
- "ficateSubjectType:\035UnknownCertificateSub" +
- "jectTypeB\025B\023SignatureInfoProtos"
+ "$Certificates/CertificateInfoV2.proto\032!S" +
+ "ignatureVerificationResult.proto\032\017Timest" +
+ "amp.proto\"\236\004\n\rSignatureInfo\0220\n\013SigningTi" +
+ "me\030\001 \002(\0132\033.Diadoc.Api.Proto.Timestamp\022>\n" +
+ "\031SignatureVerificationTime\030\002 \001(\0132\033.Diado" +
+ "c.Api.Proto.Timestamp\022R\n\033SignatureVerifi" +
+ "cationResult\030\003 \001(\0132-.Diadoc.Api.Proto.Si" +
+ "gnatureVerificationResult\022\022\n\nThumbprint\030" +
+ "\004 \002(\t\022\024\n\014SerialNumber\030\005 \002(\t\022\016\n\006Issuer\030\006 " +
+ "\001(\t\022\021\n\tStartDate\030\007 \001(\t\022\017\n\007EndDate\030\010 \001(\t\022" +
+ "\017\n\007OrgName\030\t \001(\t\022\016\n\006OrgInn\030\n \001(\t\022\020\n\010JobT" +
+ "itle\030\013 \001(\t\022\021\n\tFirstName\030\014 \001(\t\022\017\n\007Surname" +
+ "\030\r \001(\t\022\r\n\005Snils\030\016 \001(\t\022\r\n\005Email\030\017 \001(\t\022t\n\026" +
+ "CertificateSubjectType\030\020 \001(\01625.Diadoc.Ap" +
+ "i.Proto.Certificates.CertificateSubjectT" +
+ "ype:\035UnknownCertificateSubjectTypeB\025B\023Si" +
+ "gnatureInfoProtos"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
- Diadoc.Api.Proto.CertificateInfoV2Protos.getDescriptor(),
+ Diadoc.Api.Proto.Certificates.CertificateInfoV2Protos.getDescriptor(),
Diadoc.Api.Proto.SignatureVerificationResultProtos.getDescriptor(),
Diadoc.Api.Proto.TimestampProtos.getDescriptor(),
});
@@ -4110,7 +4111,7 @@ public Diadoc.Api.Proto.SignatureInfoProtos.SignatureInfo getDefaultInstanceForT
internal_static_Diadoc_Api_Proto_SignatureInfo_descriptor,
new java.lang.String[] { "SigningTime", "SignatureVerificationTime", "SignatureVerificationResult", "Thumbprint", "SerialNumber", "Issuer", "StartDate", "EndDate", "OrgName", "OrgInn", "JobTitle", "FirstName", "Surname", "Snils", "Email", "CertificateSubjectType", });
descriptor.resolveAllFeaturesImmutable();
- Diadoc.Api.Proto.CertificateInfoV2Protos.getDescriptor();
+ Diadoc.Api.Proto.Certificates.CertificateInfoV2Protos.getDescriptor();
Diadoc.Api.Proto.SignatureVerificationResultProtos.getDescriptor();
Diadoc.Api.Proto.TimestampProtos.getDescriptor();
}