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

io.opensergo.proto.service_contract.v1.ServiceOptions Maven / Gradle / Ivy

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

package io.opensergo.proto.service_contract.v1;

/**
 * Protobuf type {@code opensergo.proto.service_contract.v1.ServiceOptions}
 */
public final class ServiceOptions extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:opensergo.proto.service_contract.v1.ServiceOptions)
    ServiceOptionsOrBuilder {
private static final long serialVersionUID = 0L;
  // Use ServiceOptions.newBuilder() to construct.
  private ServiceOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private ServiceOptions() {
    uninterpretedOption_ = java.util.Collections.emptyList();
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private ServiceOptions(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    int mutable_bitField0_ = 0;
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 264: {
            bitField0_ |= 0x00000001;
            deprecated_ = input.readBool();
            break;
          }
          case 7994: {
            if (!((mutable_bitField0_ & 0x00000002) != 0)) {
              uninterpretedOption_ = new java.util.ArrayList();
              mutable_bitField0_ |= 0x00000002;
            }
            uninterpretedOption_.add(
                input.readMessage(io.opensergo.proto.service_contract.v1.UninterpretedOption.parser(), extensionRegistry));
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      if (((mutable_bitField0_ & 0x00000002) != 0)) {
        uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.opensergo.proto.service_contract.v1.ServiceContractProto.internal_static_opensergo_proto_service_contract_v1_ServiceOptions_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return io.opensergo.proto.service_contract.v1.ServiceContractProto.internal_static_opensergo_proto_service_contract_v1_ServiceOptions_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.opensergo.proto.service_contract.v1.ServiceOptions.class, io.opensergo.proto.service_contract.v1.ServiceOptions.Builder.class);
  }

  private int bitField0_;
  public static final int DEPRECATED_FIELD_NUMBER = 33;
  private boolean deprecated_;
  /**
   * 
   * Is this service deprecated?
   * Depending on the target platform, this can emit Deprecated annotations
   * for the service, or it will be completely ignored; in the very least,
   * this is a formalization for deprecating services.
   * 
* * optional bool deprecated = 33; * @return Whether the deprecated field is set. */ @java.lang.Override public boolean hasDeprecated() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * Is this service deprecated?
   * Depending on the target platform, this can emit Deprecated annotations
   * for the service, or it will be completely ignored; in the very least,
   * this is a formalization for deprecating services.
   * 
* * optional bool deprecated = 33; * @return The deprecated. */ @java.lang.Override public boolean getDeprecated() { return deprecated_; } public static final int UNINTERPRETED_OPTION_FIELD_NUMBER = 999; private java.util.List uninterpretedOption_; /** *
   * The parser stores options it doesn't recognize here. See above.
   * 
* * repeated .opensergo.proto.service_contract.v1.UninterpretedOption uninterpreted_option = 999; */ @java.lang.Override public java.util.List getUninterpretedOptionList() { return uninterpretedOption_; } /** *
   * The parser stores options it doesn't recognize here. See above.
   * 
* * repeated .opensergo.proto.service_contract.v1.UninterpretedOption uninterpreted_option = 999; */ @java.lang.Override public java.util.List getUninterpretedOptionOrBuilderList() { return uninterpretedOption_; } /** *
   * The parser stores options it doesn't recognize here. See above.
   * 
* * repeated .opensergo.proto.service_contract.v1.UninterpretedOption uninterpreted_option = 999; */ @java.lang.Override public int getUninterpretedOptionCount() { return uninterpretedOption_.size(); } /** *
   * The parser stores options it doesn't recognize here. See above.
   * 
* * repeated .opensergo.proto.service_contract.v1.UninterpretedOption uninterpreted_option = 999; */ @java.lang.Override public io.opensergo.proto.service_contract.v1.UninterpretedOption getUninterpretedOption(int index) { return uninterpretedOption_.get(index); } /** *
   * The parser stores options it doesn't recognize here. See above.
   * 
* * repeated .opensergo.proto.service_contract.v1.UninterpretedOption uninterpreted_option = 999; */ @java.lang.Override public io.opensergo.proto.service_contract.v1.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( int index) { return uninterpretedOption_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBool(33, deprecated_); } for (int i = 0; i < uninterpretedOption_.size(); i++) { output.writeMessage(999, uninterpretedOption_.get(i)); } unknownFields.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(33, deprecated_); } for (int i = 0; i < uninterpretedOption_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(999, uninterpretedOption_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.opensergo.proto.service_contract.v1.ServiceOptions)) { return super.equals(obj); } io.opensergo.proto.service_contract.v1.ServiceOptions other = (io.opensergo.proto.service_contract.v1.ServiceOptions) obj; if (hasDeprecated() != other.hasDeprecated()) return false; if (hasDeprecated()) { if (getDeprecated() != other.getDeprecated()) return false; } if (!getUninterpretedOptionList() .equals(other.getUninterpretedOptionList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasDeprecated()) { hash = (37 * hash) + DEPRECATED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDeprecated()); } if (getUninterpretedOptionCount() > 0) { hash = (37 * hash) + UNINTERPRETED_OPTION_FIELD_NUMBER; hash = (53 * hash) + getUninterpretedOptionList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.opensergo.proto.service_contract.v1.ServiceOptions parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.opensergo.proto.service_contract.v1.ServiceOptions parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.opensergo.proto.service_contract.v1.ServiceOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.opensergo.proto.service_contract.v1.ServiceOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.opensergo.proto.service_contract.v1.ServiceOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.opensergo.proto.service_contract.v1.ServiceOptions parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.opensergo.proto.service_contract.v1.ServiceOptions parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.opensergo.proto.service_contract.v1.ServiceOptions parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.opensergo.proto.service_contract.v1.ServiceOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.opensergo.proto.service_contract.v1.ServiceOptions parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.opensergo.proto.service_contract.v1.ServiceOptions parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.opensergo.proto.service_contract.v1.ServiceOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.opensergo.proto.service_contract.v1.ServiceOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code opensergo.proto.service_contract.v1.ServiceOptions} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:opensergo.proto.service_contract.v1.ServiceOptions) io.opensergo.proto.service_contract.v1.ServiceOptionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.opensergo.proto.service_contract.v1.ServiceContractProto.internal_static_opensergo_proto_service_contract_v1_ServiceOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.opensergo.proto.service_contract.v1.ServiceContractProto.internal_static_opensergo_proto_service_contract_v1_ServiceOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( io.opensergo.proto.service_contract.v1.ServiceOptions.class, io.opensergo.proto.service_contract.v1.ServiceOptions.Builder.class); } // Construct using io.opensergo.proto.service_contract.v1.ServiceOptions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getUninterpretedOptionFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); deprecated_ = false; bitField0_ = (bitField0_ & ~0x00000001); if (uninterpretedOptionBuilder_ == null) { uninterpretedOption_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { uninterpretedOptionBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.opensergo.proto.service_contract.v1.ServiceContractProto.internal_static_opensergo_proto_service_contract_v1_ServiceOptions_descriptor; } @java.lang.Override public io.opensergo.proto.service_contract.v1.ServiceOptions getDefaultInstanceForType() { return io.opensergo.proto.service_contract.v1.ServiceOptions.getDefaultInstance(); } @java.lang.Override public io.opensergo.proto.service_contract.v1.ServiceOptions build() { io.opensergo.proto.service_contract.v1.ServiceOptions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.opensergo.proto.service_contract.v1.ServiceOptions buildPartial() { io.opensergo.proto.service_contract.v1.ServiceOptions result = new io.opensergo.proto.service_contract.v1.ServiceOptions(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.deprecated_ = deprecated_; to_bitField0_ |= 0x00000001; } if (uninterpretedOptionBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { uninterpretedOption_ = java.util.Collections.unmodifiableList(uninterpretedOption_); bitField0_ = (bitField0_ & ~0x00000002); } result.uninterpretedOption_ = uninterpretedOption_; } else { result.uninterpretedOption_ = uninterpretedOptionBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.opensergo.proto.service_contract.v1.ServiceOptions) { return mergeFrom((io.opensergo.proto.service_contract.v1.ServiceOptions)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.opensergo.proto.service_contract.v1.ServiceOptions other) { if (other == io.opensergo.proto.service_contract.v1.ServiceOptions.getDefaultInstance()) return this; if (other.hasDeprecated()) { setDeprecated(other.getDeprecated()); } if (uninterpretedOptionBuilder_ == null) { if (!other.uninterpretedOption_.isEmpty()) { if (uninterpretedOption_.isEmpty()) { uninterpretedOption_ = other.uninterpretedOption_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureUninterpretedOptionIsMutable(); uninterpretedOption_.addAll(other.uninterpretedOption_); } onChanged(); } } else { if (!other.uninterpretedOption_.isEmpty()) { if (uninterpretedOptionBuilder_.isEmpty()) { uninterpretedOptionBuilder_.dispose(); uninterpretedOptionBuilder_ = null; uninterpretedOption_ = other.uninterpretedOption_; bitField0_ = (bitField0_ & ~0x00000002); uninterpretedOptionBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getUninterpretedOptionFieldBuilder() : null; } else { uninterpretedOptionBuilder_.addAllMessages(other.uninterpretedOption_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.opensergo.proto.service_contract.v1.ServiceOptions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.opensergo.proto.service_contract.v1.ServiceOptions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private boolean deprecated_ ; /** *
     * Is this service deprecated?
     * Depending on the target platform, this can emit Deprecated annotations
     * for the service, or it will be completely ignored; in the very least,
     * this is a formalization for deprecating services.
     * 
* * optional bool deprecated = 33; * @return Whether the deprecated field is set. */ @java.lang.Override public boolean hasDeprecated() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Is this service deprecated?
     * Depending on the target platform, this can emit Deprecated annotations
     * for the service, or it will be completely ignored; in the very least,
     * this is a formalization for deprecating services.
     * 
* * optional bool deprecated = 33; * @return The deprecated. */ @java.lang.Override public boolean getDeprecated() { return deprecated_; } /** *
     * Is this service deprecated?
     * Depending on the target platform, this can emit Deprecated annotations
     * for the service, or it will be completely ignored; in the very least,
     * this is a formalization for deprecating services.
     * 
* * optional bool deprecated = 33; * @param value The deprecated to set. * @return This builder for chaining. */ public Builder setDeprecated(boolean value) { bitField0_ |= 0x00000001; deprecated_ = value; onChanged(); return this; } /** *
     * Is this service deprecated?
     * Depending on the target platform, this can emit Deprecated annotations
     * for the service, or it will be completely ignored; in the very least,
     * this is a formalization for deprecating services.
     * 
* * optional bool deprecated = 33; * @return This builder for chaining. */ public Builder clearDeprecated() { bitField0_ = (bitField0_ & ~0x00000001); deprecated_ = false; onChanged(); return this; } private java.util.List uninterpretedOption_ = java.util.Collections.emptyList(); private void ensureUninterpretedOptionIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { uninterpretedOption_ = new java.util.ArrayList(uninterpretedOption_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< io.opensergo.proto.service_contract.v1.UninterpretedOption, io.opensergo.proto.service_contract.v1.UninterpretedOption.Builder, io.opensergo.proto.service_contract.v1.UninterpretedOptionOrBuilder> uninterpretedOptionBuilder_; /** *
     * The parser stores options it doesn't recognize here. See above.
     * 
* * repeated .opensergo.proto.service_contract.v1.UninterpretedOption uninterpreted_option = 999; */ public java.util.List getUninterpretedOptionList() { if (uninterpretedOptionBuilder_ == null) { return java.util.Collections.unmodifiableList(uninterpretedOption_); } else { return uninterpretedOptionBuilder_.getMessageList(); } } /** *
     * The parser stores options it doesn't recognize here. See above.
     * 
* * repeated .opensergo.proto.service_contract.v1.UninterpretedOption uninterpreted_option = 999; */ public int getUninterpretedOptionCount() { if (uninterpretedOptionBuilder_ == null) { return uninterpretedOption_.size(); } else { return uninterpretedOptionBuilder_.getCount(); } } /** *
     * The parser stores options it doesn't recognize here. See above.
     * 
* * repeated .opensergo.proto.service_contract.v1.UninterpretedOption uninterpreted_option = 999; */ public io.opensergo.proto.service_contract.v1.UninterpretedOption getUninterpretedOption(int index) { if (uninterpretedOptionBuilder_ == null) { return uninterpretedOption_.get(index); } else { return uninterpretedOptionBuilder_.getMessage(index); } } /** *
     * The parser stores options it doesn't recognize here. See above.
     * 
* * repeated .opensergo.proto.service_contract.v1.UninterpretedOption uninterpreted_option = 999; */ public Builder setUninterpretedOption( int index, io.opensergo.proto.service_contract.v1.UninterpretedOption value) { if (uninterpretedOptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUninterpretedOptionIsMutable(); uninterpretedOption_.set(index, value); onChanged(); } else { uninterpretedOptionBuilder_.setMessage(index, value); } return this; } /** *
     * The parser stores options it doesn't recognize here. See above.
     * 
* * repeated .opensergo.proto.service_contract.v1.UninterpretedOption uninterpreted_option = 999; */ public Builder setUninterpretedOption( int index, io.opensergo.proto.service_contract.v1.UninterpretedOption.Builder builderForValue) { if (uninterpretedOptionBuilder_ == null) { ensureUninterpretedOptionIsMutable(); uninterpretedOption_.set(index, builderForValue.build()); onChanged(); } else { uninterpretedOptionBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
     * The parser stores options it doesn't recognize here. See above.
     * 
* * repeated .opensergo.proto.service_contract.v1.UninterpretedOption uninterpreted_option = 999; */ public Builder addUninterpretedOption(io.opensergo.proto.service_contract.v1.UninterpretedOption value) { if (uninterpretedOptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUninterpretedOptionIsMutable(); uninterpretedOption_.add(value); onChanged(); } else { uninterpretedOptionBuilder_.addMessage(value); } return this; } /** *
     * The parser stores options it doesn't recognize here. See above.
     * 
* * repeated .opensergo.proto.service_contract.v1.UninterpretedOption uninterpreted_option = 999; */ public Builder addUninterpretedOption( int index, io.opensergo.proto.service_contract.v1.UninterpretedOption value) { if (uninterpretedOptionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUninterpretedOptionIsMutable(); uninterpretedOption_.add(index, value); onChanged(); } else { uninterpretedOptionBuilder_.addMessage(index, value); } return this; } /** *
     * The parser stores options it doesn't recognize here. See above.
     * 
* * repeated .opensergo.proto.service_contract.v1.UninterpretedOption uninterpreted_option = 999; */ public Builder addUninterpretedOption( io.opensergo.proto.service_contract.v1.UninterpretedOption.Builder builderForValue) { if (uninterpretedOptionBuilder_ == null) { ensureUninterpretedOptionIsMutable(); uninterpretedOption_.add(builderForValue.build()); onChanged(); } else { uninterpretedOptionBuilder_.addMessage(builderForValue.build()); } return this; } /** *
     * The parser stores options it doesn't recognize here. See above.
     * 
* * repeated .opensergo.proto.service_contract.v1.UninterpretedOption uninterpreted_option = 999; */ public Builder addUninterpretedOption( int index, io.opensergo.proto.service_contract.v1.UninterpretedOption.Builder builderForValue) { if (uninterpretedOptionBuilder_ == null) { ensureUninterpretedOptionIsMutable(); uninterpretedOption_.add(index, builderForValue.build()); onChanged(); } else { uninterpretedOptionBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
     * The parser stores options it doesn't recognize here. See above.
     * 
* * repeated .opensergo.proto.service_contract.v1.UninterpretedOption uninterpreted_option = 999; */ public Builder addAllUninterpretedOption( java.lang.Iterable values) { if (uninterpretedOptionBuilder_ == null) { ensureUninterpretedOptionIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, uninterpretedOption_); onChanged(); } else { uninterpretedOptionBuilder_.addAllMessages(values); } return this; } /** *
     * The parser stores options it doesn't recognize here. See above.
     * 
* * repeated .opensergo.proto.service_contract.v1.UninterpretedOption uninterpreted_option = 999; */ public Builder clearUninterpretedOption() { if (uninterpretedOptionBuilder_ == null) { uninterpretedOption_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { uninterpretedOptionBuilder_.clear(); } return this; } /** *
     * The parser stores options it doesn't recognize here. See above.
     * 
* * repeated .opensergo.proto.service_contract.v1.UninterpretedOption uninterpreted_option = 999; */ public Builder removeUninterpretedOption(int index) { if (uninterpretedOptionBuilder_ == null) { ensureUninterpretedOptionIsMutable(); uninterpretedOption_.remove(index); onChanged(); } else { uninterpretedOptionBuilder_.remove(index); } return this; } /** *
     * The parser stores options it doesn't recognize here. See above.
     * 
* * repeated .opensergo.proto.service_contract.v1.UninterpretedOption uninterpreted_option = 999; */ public io.opensergo.proto.service_contract.v1.UninterpretedOption.Builder getUninterpretedOptionBuilder( int index) { return getUninterpretedOptionFieldBuilder().getBuilder(index); } /** *
     * The parser stores options it doesn't recognize here. See above.
     * 
* * repeated .opensergo.proto.service_contract.v1.UninterpretedOption uninterpreted_option = 999; */ public io.opensergo.proto.service_contract.v1.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder( int index) { if (uninterpretedOptionBuilder_ == null) { return uninterpretedOption_.get(index); } else { return uninterpretedOptionBuilder_.getMessageOrBuilder(index); } } /** *
     * The parser stores options it doesn't recognize here. See above.
     * 
* * repeated .opensergo.proto.service_contract.v1.UninterpretedOption uninterpreted_option = 999; */ public java.util.List getUninterpretedOptionOrBuilderList() { if (uninterpretedOptionBuilder_ != null) { return uninterpretedOptionBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(uninterpretedOption_); } } /** *
     * The parser stores options it doesn't recognize here. See above.
     * 
* * repeated .opensergo.proto.service_contract.v1.UninterpretedOption uninterpreted_option = 999; */ public io.opensergo.proto.service_contract.v1.UninterpretedOption.Builder addUninterpretedOptionBuilder() { return getUninterpretedOptionFieldBuilder().addBuilder( io.opensergo.proto.service_contract.v1.UninterpretedOption.getDefaultInstance()); } /** *
     * The parser stores options it doesn't recognize here. See above.
     * 
* * repeated .opensergo.proto.service_contract.v1.UninterpretedOption uninterpreted_option = 999; */ public io.opensergo.proto.service_contract.v1.UninterpretedOption.Builder addUninterpretedOptionBuilder( int index) { return getUninterpretedOptionFieldBuilder().addBuilder( index, io.opensergo.proto.service_contract.v1.UninterpretedOption.getDefaultInstance()); } /** *
     * The parser stores options it doesn't recognize here. See above.
     * 
* * repeated .opensergo.proto.service_contract.v1.UninterpretedOption uninterpreted_option = 999; */ public java.util.List getUninterpretedOptionBuilderList() { return getUninterpretedOptionFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< io.opensergo.proto.service_contract.v1.UninterpretedOption, io.opensergo.proto.service_contract.v1.UninterpretedOption.Builder, io.opensergo.proto.service_contract.v1.UninterpretedOptionOrBuilder> getUninterpretedOptionFieldBuilder() { if (uninterpretedOptionBuilder_ == null) { uninterpretedOptionBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< io.opensergo.proto.service_contract.v1.UninterpretedOption, io.opensergo.proto.service_contract.v1.UninterpretedOption.Builder, io.opensergo.proto.service_contract.v1.UninterpretedOptionOrBuilder>( uninterpretedOption_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); uninterpretedOption_ = null; } return uninterpretedOptionBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:opensergo.proto.service_contract.v1.ServiceOptions) } // @@protoc_insertion_point(class_scope:opensergo.proto.service_contract.v1.ServiceOptions) private static final io.opensergo.proto.service_contract.v1.ServiceOptions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.opensergo.proto.service_contract.v1.ServiceOptions(); } public static io.opensergo.proto.service_contract.v1.ServiceOptions getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ServiceOptions parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ServiceOptions(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.opensergo.proto.service_contract.v1.ServiceOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy