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

cz.proto.ingestion.v2.IngestionV2 Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: ingestion_v2.proto

package cz.proto.ingestion.v2;

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

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * Protobuf enum {@code cz.proto.ingestion.v2.Code}
   */
  public enum Code
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * SUCCESS = 0;
     */
    SUCCESS(0),
    /**
     * FAILED = 1;
     */
    FAILED(1),
    /**
     * THROTTLED = 2;
     */
    THROTTLED(2),
    /**
     * INTERNAL_ERROR = 3;
     */
    INTERNAL_ERROR(3),
    /**
     * PRECHECK_FAILED = 4;
     */
    PRECHECK_FAILED(4),
    /**
     * PARTIALLY_SUCCESS = 5;
     */
    PARTIALLY_SUCCESS(5),
    /**
     * STREAM_UNAVAILABLE = 6;
     */
    STREAM_UNAVAILABLE(6),
    /**
     * NEED_REDIRECT = 7;
     */
    NEED_REDIRECT(7),
    UNRECOGNIZED(-1),
    ;

    /**
     * SUCCESS = 0;
     */
    public static final int SUCCESS_VALUE = 0;
    /**
     * FAILED = 1;
     */
    public static final int FAILED_VALUE = 1;
    /**
     * THROTTLED = 2;
     */
    public static final int THROTTLED_VALUE = 2;
    /**
     * INTERNAL_ERROR = 3;
     */
    public static final int INTERNAL_ERROR_VALUE = 3;
    /**
     * PRECHECK_FAILED = 4;
     */
    public static final int PRECHECK_FAILED_VALUE = 4;
    /**
     * PARTIALLY_SUCCESS = 5;
     */
    public static final int PARTIALLY_SUCCESS_VALUE = 5;
    /**
     * STREAM_UNAVAILABLE = 6;
     */
    public static final int STREAM_UNAVAILABLE_VALUE = 6;
    /**
     * NEED_REDIRECT = 7;
     */
    public static final int NEED_REDIRECT_VALUE = 7;


    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalArgumentException(
            "Can't get the number of an unknown enum value.");
      }
      return value;
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static Code valueOf(int value) {
      return forNumber(value);
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
    public static Code forNumber(int value) {
      switch (value) {
        case 0: return SUCCESS;
        case 1: return FAILED;
        case 2: return THROTTLED;
        case 3: return INTERNAL_ERROR;
        case 4: return PRECHECK_FAILED;
        case 5: return PARTIALLY_SUCCESS;
        case 6: return STREAM_UNAVAILABLE;
        case 7: return NEED_REDIRECT;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        Code> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            public Code findValueByNumber(int number) {
              return Code.forNumber(number);
            }
          };

    public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalStateException(
            "Can't get the descriptor of an unrecognized enum value.");
      }
      return getDescriptor().getValues().get(ordinal());
    }
    public final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return cz.proto.ingestion.v2.IngestionV2.getDescriptor().getEnumTypes().get(0);
    }

    private static final Code[] VALUES = values();

    public static Code valueOf(
        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      if (desc.getIndex() == -1) {
        return UNRECOGNIZED;
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

    private Code(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:cz.proto.ingestion.v2.Code)
  }

  /**
   * Protobuf enum {@code cz.proto.ingestion.v2.BulkLoadStreamState}
   */
  public enum BulkLoadStreamState
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * BL_CREATED = 0;
     */
    BL_CREATED(0),
    /**
     * BL_SEALED = 1;
     */
    BL_SEALED(1),
    /**
     * BL_COMMIT_SUBMITTED = 2;
     */
    BL_COMMIT_SUBMITTED(2),
    /**
     * BL_COMMIT_SUCCESS = 3;
     */
    BL_COMMIT_SUCCESS(3),
    /**
     * BL_COMMIT_FAILED = 4;
     */
    BL_COMMIT_FAILED(4),
    /**
     * BL_CANCELLED = 5;
     */
    BL_CANCELLED(5),
    UNRECOGNIZED(-1),
    ;

    /**
     * BL_CREATED = 0;
     */
    public static final int BL_CREATED_VALUE = 0;
    /**
     * BL_SEALED = 1;
     */
    public static final int BL_SEALED_VALUE = 1;
    /**
     * BL_COMMIT_SUBMITTED = 2;
     */
    public static final int BL_COMMIT_SUBMITTED_VALUE = 2;
    /**
     * BL_COMMIT_SUCCESS = 3;
     */
    public static final int BL_COMMIT_SUCCESS_VALUE = 3;
    /**
     * BL_COMMIT_FAILED = 4;
     */
    public static final int BL_COMMIT_FAILED_VALUE = 4;
    /**
     * BL_CANCELLED = 5;
     */
    public static final int BL_CANCELLED_VALUE = 5;


    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalArgumentException(
            "Can't get the number of an unknown enum value.");
      }
      return value;
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static BulkLoadStreamState valueOf(int value) {
      return forNumber(value);
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
    public static BulkLoadStreamState forNumber(int value) {
      switch (value) {
        case 0: return BL_CREATED;
        case 1: return BL_SEALED;
        case 2: return BL_COMMIT_SUBMITTED;
        case 3: return BL_COMMIT_SUCCESS;
        case 4: return BL_COMMIT_FAILED;
        case 5: return BL_CANCELLED;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        BulkLoadStreamState> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            public BulkLoadStreamState findValueByNumber(int number) {
              return BulkLoadStreamState.forNumber(number);
            }
          };

    public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalStateException(
            "Can't get the descriptor of an unrecognized enum value.");
      }
      return getDescriptor().getValues().get(ordinal());
    }
    public final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return cz.proto.ingestion.v2.IngestionV2.getDescriptor().getEnumTypes().get(1);
    }

    private static final BulkLoadStreamState[] VALUES = values();

    public static BulkLoadStreamState valueOf(
        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      if (desc.getIndex() == -1) {
        return UNRECOGNIZED;
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

    private BulkLoadStreamState(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:cz.proto.ingestion.v2.BulkLoadStreamState)
  }

  /**
   * Protobuf enum {@code cz.proto.ingestion.v2.BulkLoadStreamOperation}
   */
  public enum BulkLoadStreamOperation
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * BL_APPEND = 0;
     */
    BL_APPEND(0),
    /**
     * BL_OVERWRITE = 1;
     */
    BL_OVERWRITE(1),
    /**
     * BL_UPSERT = 2;
     */
    BL_UPSERT(2),
    UNRECOGNIZED(-1),
    ;

    /**
     * BL_APPEND = 0;
     */
    public static final int BL_APPEND_VALUE = 0;
    /**
     * BL_OVERWRITE = 1;
     */
    public static final int BL_OVERWRITE_VALUE = 1;
    /**
     * BL_UPSERT = 2;
     */
    public static final int BL_UPSERT_VALUE = 2;


    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalArgumentException(
            "Can't get the number of an unknown enum value.");
      }
      return value;
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static BulkLoadStreamOperation valueOf(int value) {
      return forNumber(value);
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
    public static BulkLoadStreamOperation forNumber(int value) {
      switch (value) {
        case 0: return BL_APPEND;
        case 1: return BL_OVERWRITE;
        case 2: return BL_UPSERT;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        BulkLoadStreamOperation> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            public BulkLoadStreamOperation findValueByNumber(int number) {
              return BulkLoadStreamOperation.forNumber(number);
            }
          };

    public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalStateException(
            "Can't get the descriptor of an unrecognized enum value.");
      }
      return getDescriptor().getValues().get(ordinal());
    }
    public final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return cz.proto.ingestion.v2.IngestionV2.getDescriptor().getEnumTypes().get(2);
    }

    private static final BulkLoadStreamOperation[] VALUES = values();

    public static BulkLoadStreamOperation valueOf(
        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      if (desc.getIndex() == -1) {
        return UNRECOGNIZED;
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

    private BulkLoadStreamOperation(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:cz.proto.ingestion.v2.BulkLoadStreamOperation)
  }

  /**
   * Protobuf enum {@code cz.proto.ingestion.v2.ConnectMode}
   */
  public enum ConnectMode
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * DIRECT = 0;
     */
    DIRECT(0),
    /**
     * GATEWAY = 1;
     */
    GATEWAY(1),
    /**
     * GATEWAY_INTERNAL = 2;
     */
    GATEWAY_INTERNAL(2),
    /**
     * GATEWAY_DIRECT = 3;
     */
    GATEWAY_DIRECT(3),
    UNRECOGNIZED(-1),
    ;

    /**
     * DIRECT = 0;
     */
    public static final int DIRECT_VALUE = 0;
    /**
     * GATEWAY = 1;
     */
    public static final int GATEWAY_VALUE = 1;
    /**
     * GATEWAY_INTERNAL = 2;
     */
    public static final int GATEWAY_INTERNAL_VALUE = 2;
    /**
     * GATEWAY_DIRECT = 3;
     */
    public static final int GATEWAY_DIRECT_VALUE = 3;


    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalArgumentException(
            "Can't get the number of an unknown enum value.");
      }
      return value;
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static ConnectMode valueOf(int value) {
      return forNumber(value);
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
    public static ConnectMode forNumber(int value) {
      switch (value) {
        case 0: return DIRECT;
        case 1: return GATEWAY;
        case 2: return GATEWAY_INTERNAL;
        case 3: return GATEWAY_DIRECT;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        ConnectMode> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            public ConnectMode findValueByNumber(int number) {
              return ConnectMode.forNumber(number);
            }
          };

    public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalStateException(
            "Can't get the descriptor of an unrecognized enum value.");
      }
      return getDescriptor().getValues().get(ordinal());
    }
    public final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return cz.proto.ingestion.v2.IngestionV2.getDescriptor().getEnumTypes().get(3);
    }

    private static final ConnectMode[] VALUES = values();

    public static ConnectMode valueOf(
        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      if (desc.getIndex() == -1) {
        return UNRECOGNIZED;
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

    private ConnectMode(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:cz.proto.ingestion.v2.ConnectMode)
  }

  /**
   * Protobuf enum {@code cz.proto.ingestion.v2.OperationType}
   */
  public enum OperationType
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * UNKNOWN = 0;
     */
    UNKNOWN(0),
    /**
     * INSERT = 1;
     */
    INSERT(1),
    /**
     * UPDATE = 2;
     */
    UPDATE(2),
    /**
     * DELETE = 3;
     */
    DELETE(3),
    /**
     * UPSERT = 4;
     */
    UPSERT(4),
    /**
     * INSERT_IGNORE = 5;
     */
    INSERT_IGNORE(5),
    /**
     * UPDATE_IGNORE = 6;
     */
    UPDATE_IGNORE(6),
    /**
     * DELETE_IGNORE = 7;
     */
    DELETE_IGNORE(7),
    UNRECOGNIZED(-1),
    ;

    /**
     * UNKNOWN = 0;
     */
    public static final int UNKNOWN_VALUE = 0;
    /**
     * INSERT = 1;
     */
    public static final int INSERT_VALUE = 1;
    /**
     * UPDATE = 2;
     */
    public static final int UPDATE_VALUE = 2;
    /**
     * DELETE = 3;
     */
    public static final int DELETE_VALUE = 3;
    /**
     * UPSERT = 4;
     */
    public static final int UPSERT_VALUE = 4;
    /**
     * INSERT_IGNORE = 5;
     */
    public static final int INSERT_IGNORE_VALUE = 5;
    /**
     * UPDATE_IGNORE = 6;
     */
    public static final int UPDATE_IGNORE_VALUE = 6;
    /**
     * DELETE_IGNORE = 7;
     */
    public static final int DELETE_IGNORE_VALUE = 7;


    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalArgumentException(
            "Can't get the number of an unknown enum value.");
      }
      return value;
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static OperationType valueOf(int value) {
      return forNumber(value);
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
    public static OperationType forNumber(int value) {
      switch (value) {
        case 0: return UNKNOWN;
        case 1: return INSERT;
        case 2: return UPDATE;
        case 3: return DELETE;
        case 4: return UPSERT;
        case 5: return INSERT_IGNORE;
        case 6: return UPDATE_IGNORE;
        case 7: return DELETE_IGNORE;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        OperationType> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            public OperationType findValueByNumber(int number) {
              return OperationType.forNumber(number);
            }
          };

    public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalStateException(
            "Can't get the descriptor of an unrecognized enum value.");
      }
      return getDescriptor().getValues().get(ordinal());
    }
    public final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return cz.proto.ingestion.v2.IngestionV2.getDescriptor().getEnumTypes().get(4);
    }

    private static final OperationType[] VALUES = values();

    public static OperationType valueOf(
        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      if (desc.getIndex() == -1) {
        return UNRECOGNIZED;
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

    private OperationType(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:cz.proto.ingestion.v2.OperationType)
  }

  public interface UserIdentifierOrBuilder extends
      // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.UserIdentifier)
      com.google.protobuf.MessageOrBuilder {

    /**
     * int64 instance_id = 1;
     * @return The instanceId.
     */
    long getInstanceId();

    /**
     * string workspace = 2;
     * @return The workspace.
     */
    java.lang.String getWorkspace();
    /**
     * string workspace = 2;
     * @return The bytes for workspace.
     */
    com.google.protobuf.ByteString
        getWorkspaceBytes();

    /**
     * string user_name = 3;
     * @return The userName.
     */
    java.lang.String getUserName();
    /**
     * string user_name = 3;
     * @return The bytes for userName.
     */
    com.google.protobuf.ByteString
        getUserNameBytes();

    /**
     * int64 user_id = 4;
     * @return The userId.
     */
    long getUserId();
  }
  /**
   * Protobuf type {@code cz.proto.ingestion.v2.UserIdentifier}
   */
  public static final class UserIdentifier extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.UserIdentifier)
      UserIdentifierOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use UserIdentifier.newBuilder() to construct.
    private UserIdentifier(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private UserIdentifier() {
      workspace_ = "";
      userName_ = "";
    }

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

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

              instanceId_ = input.readInt64();
              break;
            }
            case 18: {
              java.lang.String s = input.readStringRequireUtf8();

              workspace_ = s;
              break;
            }
            case 26: {
              java.lang.String s = input.readStringRequireUtf8();

              userName_ = s;
              break;
            }
            case 32: {

              userId_ = input.readInt64();
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_UserIdentifier_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_UserIdentifier_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              cz.proto.ingestion.v2.IngestionV2.UserIdentifier.class, cz.proto.ingestion.v2.IngestionV2.UserIdentifier.Builder.class);
    }

    public static final int INSTANCE_ID_FIELD_NUMBER = 1;
    private long instanceId_;
    /**
     * int64 instance_id = 1;
     * @return The instanceId.
     */
    @java.lang.Override
    public long getInstanceId() {
      return instanceId_;
    }

    public static final int WORKSPACE_FIELD_NUMBER = 2;
    private volatile java.lang.Object workspace_;
    /**
     * string workspace = 2;
     * @return The workspace.
     */
    @java.lang.Override
    public java.lang.String getWorkspace() {
      java.lang.Object ref = workspace_;
      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();
        workspace_ = s;
        return s;
      }
    }
    /**
     * string workspace = 2;
     * @return The bytes for workspace.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getWorkspaceBytes() {
      java.lang.Object ref = workspace_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        workspace_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int USER_NAME_FIELD_NUMBER = 3;
    private volatile java.lang.Object userName_;
    /**
     * string user_name = 3;
     * @return The userName.
     */
    @java.lang.Override
    public java.lang.String getUserName() {
      java.lang.Object ref = userName_;
      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();
        userName_ = s;
        return s;
      }
    }
    /**
     * string user_name = 3;
     * @return The bytes for userName.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getUserNameBytes() {
      java.lang.Object ref = userName_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        userName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int USER_ID_FIELD_NUMBER = 4;
    private long userId_;
    /**
     * int64 user_id = 4;
     * @return The userId.
     */
    @java.lang.Override
    public long getUserId() {
      return userId_;
    }

    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 (instanceId_ != 0L) {
        output.writeInt64(1, instanceId_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, workspace_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userName_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, userName_);
      }
      if (userId_ != 0L) {
        output.writeInt64(4, userId_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (instanceId_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(1, instanceId_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, workspace_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userName_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, userName_);
      }
      if (userId_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(4, userId_);
      }
      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 cz.proto.ingestion.v2.IngestionV2.UserIdentifier)) {
        return super.equals(obj);
      }
      cz.proto.ingestion.v2.IngestionV2.UserIdentifier other = (cz.proto.ingestion.v2.IngestionV2.UserIdentifier) obj;

      if (getInstanceId()
          != other.getInstanceId()) return false;
      if (!getWorkspace()
          .equals(other.getWorkspace())) return false;
      if (!getUserName()
          .equals(other.getUserName())) return false;
      if (getUserId()
          != other.getUserId()) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + INSTANCE_ID_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getInstanceId());
      hash = (37 * hash) + WORKSPACE_FIELD_NUMBER;
      hash = (53 * hash) + getWorkspace().hashCode();
      hash = (37 * hash) + USER_NAME_FIELD_NUMBER;
      hash = (53 * hash) + getUserName().hashCode();
      hash = (37 * hash) + USER_ID_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getUserId());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static cz.proto.ingestion.v2.IngestionV2.UserIdentifier parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cz.proto.ingestion.v2.IngestionV2.UserIdentifier parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cz.proto.ingestion.v2.IngestionV2.UserIdentifier parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cz.proto.ingestion.v2.IngestionV2.UserIdentifier parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cz.proto.ingestion.v2.IngestionV2.UserIdentifier parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cz.proto.ingestion.v2.IngestionV2.UserIdentifier parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cz.proto.ingestion.v2.IngestionV2.UserIdentifier parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static cz.proto.ingestion.v2.IngestionV2.UserIdentifier 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 cz.proto.ingestion.v2.IngestionV2.UserIdentifier parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static cz.proto.ingestion.v2.IngestionV2.UserIdentifier 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 cz.proto.ingestion.v2.IngestionV2.UserIdentifier parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static cz.proto.ingestion.v2.IngestionV2.UserIdentifier 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(cz.proto.ingestion.v2.IngestionV2.UserIdentifier 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 cz.proto.ingestion.v2.UserIdentifier}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.UserIdentifier)
        cz.proto.ingestion.v2.IngestionV2.UserIdentifierOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_UserIdentifier_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_UserIdentifier_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                cz.proto.ingestion.v2.IngestionV2.UserIdentifier.class, cz.proto.ingestion.v2.IngestionV2.UserIdentifier.Builder.class);
      }

      // Construct using cz.proto.ingestion.v2.IngestionV2.UserIdentifier.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

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

        workspace_ = "";

        userName_ = "";

        userId_ = 0L;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_UserIdentifier_descriptor;
      }

      @java.lang.Override
      public cz.proto.ingestion.v2.IngestionV2.UserIdentifier getDefaultInstanceForType() {
        return cz.proto.ingestion.v2.IngestionV2.UserIdentifier.getDefaultInstance();
      }

      @java.lang.Override
      public cz.proto.ingestion.v2.IngestionV2.UserIdentifier build() {
        cz.proto.ingestion.v2.IngestionV2.UserIdentifier result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public cz.proto.ingestion.v2.IngestionV2.UserIdentifier buildPartial() {
        cz.proto.ingestion.v2.IngestionV2.UserIdentifier result = new cz.proto.ingestion.v2.IngestionV2.UserIdentifier(this);
        result.instanceId_ = instanceId_;
        result.workspace_ = workspace_;
        result.userName_ = userName_;
        result.userId_ = userId_;
        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 cz.proto.ingestion.v2.IngestionV2.UserIdentifier) {
          return mergeFrom((cz.proto.ingestion.v2.IngestionV2.UserIdentifier)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.UserIdentifier other) {
        if (other == cz.proto.ingestion.v2.IngestionV2.UserIdentifier.getDefaultInstance()) return this;
        if (other.getInstanceId() != 0L) {
          setInstanceId(other.getInstanceId());
        }
        if (!other.getWorkspace().isEmpty()) {
          workspace_ = other.workspace_;
          onChanged();
        }
        if (!other.getUserName().isEmpty()) {
          userName_ = other.userName_;
          onChanged();
        }
        if (other.getUserId() != 0L) {
          setUserId(other.getUserId());
        }
        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 {
        cz.proto.ingestion.v2.IngestionV2.UserIdentifier parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (cz.proto.ingestion.v2.IngestionV2.UserIdentifier) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private long instanceId_ ;
      /**
       * int64 instance_id = 1;
       * @return The instanceId.
       */
      @java.lang.Override
      public long getInstanceId() {
        return instanceId_;
      }
      /**
       * int64 instance_id = 1;
       * @param value The instanceId to set.
       * @return This builder for chaining.
       */
      public Builder setInstanceId(long value) {
        
        instanceId_ = value;
        onChanged();
        return this;
      }
      /**
       * int64 instance_id = 1;
       * @return This builder for chaining.
       */
      public Builder clearInstanceId() {
        
        instanceId_ = 0L;
        onChanged();
        return this;
      }

      private java.lang.Object workspace_ = "";
      /**
       * string workspace = 2;
       * @return The workspace.
       */
      public java.lang.String getWorkspace() {
        java.lang.Object ref = workspace_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          workspace_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string workspace = 2;
       * @return The bytes for workspace.
       */
      public com.google.protobuf.ByteString
          getWorkspaceBytes() {
        java.lang.Object ref = workspace_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          workspace_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string workspace = 2;
       * @param value The workspace to set.
       * @return This builder for chaining.
       */
      public Builder setWorkspace(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        workspace_ = value;
        onChanged();
        return this;
      }
      /**
       * string workspace = 2;
       * @return This builder for chaining.
       */
      public Builder clearWorkspace() {
        
        workspace_ = getDefaultInstance().getWorkspace();
        onChanged();
        return this;
      }
      /**
       * string workspace = 2;
       * @param value The bytes for workspace to set.
       * @return This builder for chaining.
       */
      public Builder setWorkspaceBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        workspace_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object userName_ = "";
      /**
       * string user_name = 3;
       * @return The userName.
       */
      public java.lang.String getUserName() {
        java.lang.Object ref = userName_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          userName_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string user_name = 3;
       * @return The bytes for userName.
       */
      public com.google.protobuf.ByteString
          getUserNameBytes() {
        java.lang.Object ref = userName_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          userName_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string user_name = 3;
       * @param value The userName to set.
       * @return This builder for chaining.
       */
      public Builder setUserName(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        userName_ = value;
        onChanged();
        return this;
      }
      /**
       * string user_name = 3;
       * @return This builder for chaining.
       */
      public Builder clearUserName() {
        
        userName_ = getDefaultInstance().getUserName();
        onChanged();
        return this;
      }
      /**
       * string user_name = 3;
       * @param value The bytes for userName to set.
       * @return This builder for chaining.
       */
      public Builder setUserNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        userName_ = value;
        onChanged();
        return this;
      }

      private long userId_ ;
      /**
       * int64 user_id = 4;
       * @return The userId.
       */
      @java.lang.Override
      public long getUserId() {
        return userId_;
      }
      /**
       * int64 user_id = 4;
       * @param value The userId to set.
       * @return This builder for chaining.
       */
      public Builder setUserId(long value) {
        
        userId_ = value;
        onChanged();
        return this;
      }
      /**
       * int64 user_id = 4;
       * @return This builder for chaining.
       */
      public Builder clearUserId() {
        
        userId_ = 0L;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.UserIdentifier)
    }

    // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.UserIdentifier)
    private static final cz.proto.ingestion.v2.IngestionV2.UserIdentifier DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.UserIdentifier();
    }

    public static cz.proto.ingestion.v2.IngestionV2.UserIdentifier getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public UserIdentifier parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new UserIdentifier(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 cz.proto.ingestion.v2.IngestionV2.UserIdentifier getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface AccountOrBuilder extends
      // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.Account)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .cz.proto.ingestion.v2.UserIdentifier user_ident = 1;
     * @return Whether the userIdent field is set.
     */
    boolean hasUserIdent();
    /**
     * .cz.proto.ingestion.v2.UserIdentifier user_ident = 1;
     * @return The userIdent.
     */
    cz.proto.ingestion.v2.IngestionV2.UserIdentifier getUserIdent();
    /**
     * .cz.proto.ingestion.v2.UserIdentifier user_ident = 1;
     */
    cz.proto.ingestion.v2.IngestionV2.UserIdentifierOrBuilder getUserIdentOrBuilder();

    /**
     * string token = 2;
     * @return The token.
     */
    java.lang.String getToken();
    /**
     * string token = 2;
     * @return The bytes for token.
     */
    com.google.protobuf.ByteString
        getTokenBytes();
  }
  /**
   * Protobuf type {@code cz.proto.ingestion.v2.Account}
   */
  public static final class Account extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.Account)
      AccountOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Account.newBuilder() to construct.
    private Account(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private Account() {
      token_ = "";
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private Account(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              cz.proto.ingestion.v2.IngestionV2.UserIdentifier.Builder subBuilder = null;
              if (userIdent_ != null) {
                subBuilder = userIdent_.toBuilder();
              }
              userIdent_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.UserIdentifier.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(userIdent_);
                userIdent_ = subBuilder.buildPartial();
              }

              break;
            }
            case 18: {
              java.lang.String s = input.readStringRequireUtf8();

              token_ = s;
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_Account_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_Account_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              cz.proto.ingestion.v2.IngestionV2.Account.class, cz.proto.ingestion.v2.IngestionV2.Account.Builder.class);
    }

    public static final int USER_IDENT_FIELD_NUMBER = 1;
    private cz.proto.ingestion.v2.IngestionV2.UserIdentifier userIdent_;
    /**
     * .cz.proto.ingestion.v2.UserIdentifier user_ident = 1;
     * @return Whether the userIdent field is set.
     */
    @java.lang.Override
    public boolean hasUserIdent() {
      return userIdent_ != null;
    }
    /**
     * .cz.proto.ingestion.v2.UserIdentifier user_ident = 1;
     * @return The userIdent.
     */
    @java.lang.Override
    public cz.proto.ingestion.v2.IngestionV2.UserIdentifier getUserIdent() {
      return userIdent_ == null ? cz.proto.ingestion.v2.IngestionV2.UserIdentifier.getDefaultInstance() : userIdent_;
    }
    /**
     * .cz.proto.ingestion.v2.UserIdentifier user_ident = 1;
     */
    @java.lang.Override
    public cz.proto.ingestion.v2.IngestionV2.UserIdentifierOrBuilder getUserIdentOrBuilder() {
      return getUserIdent();
    }

    public static final int TOKEN_FIELD_NUMBER = 2;
    private volatile java.lang.Object token_;
    /**
     * string token = 2;
     * @return The token.
     */
    @java.lang.Override
    public java.lang.String getToken() {
      java.lang.Object ref = token_;
      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();
        token_ = s;
        return s;
      }
    }
    /**
     * string token = 2;
     * @return The bytes for token.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getTokenBytes() {
      java.lang.Object ref = token_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        token_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (userIdent_ != null) {
        output.writeMessage(1, getUserIdent());
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(token_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, token_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (userIdent_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getUserIdent());
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(token_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, token_);
      }
      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 cz.proto.ingestion.v2.IngestionV2.Account)) {
        return super.equals(obj);
      }
      cz.proto.ingestion.v2.IngestionV2.Account other = (cz.proto.ingestion.v2.IngestionV2.Account) obj;

      if (hasUserIdent() != other.hasUserIdent()) return false;
      if (hasUserIdent()) {
        if (!getUserIdent()
            .equals(other.getUserIdent())) return false;
      }
      if (!getToken()
          .equals(other.getToken())) 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 (hasUserIdent()) {
        hash = (37 * hash) + USER_IDENT_FIELD_NUMBER;
        hash = (53 * hash) + getUserIdent().hashCode();
      }
      hash = (37 * hash) + TOKEN_FIELD_NUMBER;
      hash = (53 * hash) + getToken().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static cz.proto.ingestion.v2.IngestionV2.Account parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cz.proto.ingestion.v2.IngestionV2.Account parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cz.proto.ingestion.v2.IngestionV2.Account parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cz.proto.ingestion.v2.IngestionV2.Account parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cz.proto.ingestion.v2.IngestionV2.Account parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cz.proto.ingestion.v2.IngestionV2.Account parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cz.proto.ingestion.v2.IngestionV2.Account parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static cz.proto.ingestion.v2.IngestionV2.Account 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 cz.proto.ingestion.v2.IngestionV2.Account parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static cz.proto.ingestion.v2.IngestionV2.Account 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 cz.proto.ingestion.v2.IngestionV2.Account parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static cz.proto.ingestion.v2.IngestionV2.Account 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(cz.proto.ingestion.v2.IngestionV2.Account 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 cz.proto.ingestion.v2.Account}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.Account)
        cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_Account_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_Account_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                cz.proto.ingestion.v2.IngestionV2.Account.class, cz.proto.ingestion.v2.IngestionV2.Account.Builder.class);
      }

      // Construct using cz.proto.ingestion.v2.IngestionV2.Account.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

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

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_Account_descriptor;
      }

      @java.lang.Override
      public cz.proto.ingestion.v2.IngestionV2.Account getDefaultInstanceForType() {
        return cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance();
      }

      @java.lang.Override
      public cz.proto.ingestion.v2.IngestionV2.Account build() {
        cz.proto.ingestion.v2.IngestionV2.Account result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public cz.proto.ingestion.v2.IngestionV2.Account buildPartial() {
        cz.proto.ingestion.v2.IngestionV2.Account result = new cz.proto.ingestion.v2.IngestionV2.Account(this);
        if (userIdentBuilder_ == null) {
          result.userIdent_ = userIdent_;
        } else {
          result.userIdent_ = userIdentBuilder_.build();
        }
        result.token_ = token_;
        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 cz.proto.ingestion.v2.IngestionV2.Account) {
          return mergeFrom((cz.proto.ingestion.v2.IngestionV2.Account)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.Account other) {
        if (other == cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance()) return this;
        if (other.hasUserIdent()) {
          mergeUserIdent(other.getUserIdent());
        }
        if (!other.getToken().isEmpty()) {
          token_ = other.token_;
          onChanged();
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

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

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        cz.proto.ingestion.v2.IngestionV2.Account parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (cz.proto.ingestion.v2.IngestionV2.Account) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private cz.proto.ingestion.v2.IngestionV2.UserIdentifier userIdent_;
      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.ingestion.v2.IngestionV2.UserIdentifier, cz.proto.ingestion.v2.IngestionV2.UserIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.UserIdentifierOrBuilder> userIdentBuilder_;
      /**
       * .cz.proto.ingestion.v2.UserIdentifier user_ident = 1;
       * @return Whether the userIdent field is set.
       */
      public boolean hasUserIdent() {
        return userIdentBuilder_ != null || userIdent_ != null;
      }
      /**
       * .cz.proto.ingestion.v2.UserIdentifier user_ident = 1;
       * @return The userIdent.
       */
      public cz.proto.ingestion.v2.IngestionV2.UserIdentifier getUserIdent() {
        if (userIdentBuilder_ == null) {
          return userIdent_ == null ? cz.proto.ingestion.v2.IngestionV2.UserIdentifier.getDefaultInstance() : userIdent_;
        } else {
          return userIdentBuilder_.getMessage();
        }
      }
      /**
       * .cz.proto.ingestion.v2.UserIdentifier user_ident = 1;
       */
      public Builder setUserIdent(cz.proto.ingestion.v2.IngestionV2.UserIdentifier value) {
        if (userIdentBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          userIdent_ = value;
          onChanged();
        } else {
          userIdentBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .cz.proto.ingestion.v2.UserIdentifier user_ident = 1;
       */
      public Builder setUserIdent(
          cz.proto.ingestion.v2.IngestionV2.UserIdentifier.Builder builderForValue) {
        if (userIdentBuilder_ == null) {
          userIdent_ = builderForValue.build();
          onChanged();
        } else {
          userIdentBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .cz.proto.ingestion.v2.UserIdentifier user_ident = 1;
       */
      public Builder mergeUserIdent(cz.proto.ingestion.v2.IngestionV2.UserIdentifier value) {
        if (userIdentBuilder_ == null) {
          if (userIdent_ != null) {
            userIdent_ =
              cz.proto.ingestion.v2.IngestionV2.UserIdentifier.newBuilder(userIdent_).mergeFrom(value).buildPartial();
          } else {
            userIdent_ = value;
          }
          onChanged();
        } else {
          userIdentBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .cz.proto.ingestion.v2.UserIdentifier user_ident = 1;
       */
      public Builder clearUserIdent() {
        if (userIdentBuilder_ == null) {
          userIdent_ = null;
          onChanged();
        } else {
          userIdent_ = null;
          userIdentBuilder_ = null;
        }

        return this;
      }
      /**
       * .cz.proto.ingestion.v2.UserIdentifier user_ident = 1;
       */
      public cz.proto.ingestion.v2.IngestionV2.UserIdentifier.Builder getUserIdentBuilder() {
        
        onChanged();
        return getUserIdentFieldBuilder().getBuilder();
      }
      /**
       * .cz.proto.ingestion.v2.UserIdentifier user_ident = 1;
       */
      public cz.proto.ingestion.v2.IngestionV2.UserIdentifierOrBuilder getUserIdentOrBuilder() {
        if (userIdentBuilder_ != null) {
          return userIdentBuilder_.getMessageOrBuilder();
        } else {
          return userIdent_ == null ?
              cz.proto.ingestion.v2.IngestionV2.UserIdentifier.getDefaultInstance() : userIdent_;
        }
      }
      /**
       * .cz.proto.ingestion.v2.UserIdentifier user_ident = 1;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.ingestion.v2.IngestionV2.UserIdentifier, cz.proto.ingestion.v2.IngestionV2.UserIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.UserIdentifierOrBuilder> 
          getUserIdentFieldBuilder() {
        if (userIdentBuilder_ == null) {
          userIdentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              cz.proto.ingestion.v2.IngestionV2.UserIdentifier, cz.proto.ingestion.v2.IngestionV2.UserIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.UserIdentifierOrBuilder>(
                  getUserIdent(),
                  getParentForChildren(),
                  isClean());
          userIdent_ = null;
        }
        return userIdentBuilder_;
      }

      private java.lang.Object token_ = "";
      /**
       * string token = 2;
       * @return The token.
       */
      public java.lang.String getToken() {
        java.lang.Object ref = token_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          token_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string token = 2;
       * @return The bytes for token.
       */
      public com.google.protobuf.ByteString
          getTokenBytes() {
        java.lang.Object ref = token_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          token_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string token = 2;
       * @param value The token to set.
       * @return This builder for chaining.
       */
      public Builder setToken(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        token_ = value;
        onChanged();
        return this;
      }
      /**
       * string token = 2;
       * @return This builder for chaining.
       */
      public Builder clearToken() {
        
        token_ = getDefaultInstance().getToken();
        onChanged();
        return this;
      }
      /**
       * string token = 2;
       * @param value The bytes for token to set.
       * @return This builder for chaining.
       */
      public Builder setTokenBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        token_ = value;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.Account)
    }

    // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.Account)
    private static final cz.proto.ingestion.v2.IngestionV2.Account DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.Account();
    }

    public static cz.proto.ingestion.v2.IngestionV2.Account getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public Account parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new Account(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 cz.proto.ingestion.v2.IngestionV2.Account getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface TableIdentifierOrBuilder extends
      // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.TableIdentifier)
      com.google.protobuf.MessageOrBuilder {

    /**
     * int64 instance_id = 1;
     * @return The instanceId.
     */
    long getInstanceId();

    /**
     * string workspace = 2;
     * @return The workspace.
     */
    java.lang.String getWorkspace();
    /**
     * string workspace = 2;
     * @return The bytes for workspace.
     */
    com.google.protobuf.ByteString
        getWorkspaceBytes();

    /**
     * string schema_name = 3;
     * @return The schemaName.
     */
    java.lang.String getSchemaName();
    /**
     * string schema_name = 3;
     * @return The bytes for schemaName.
     */
    com.google.protobuf.ByteString
        getSchemaNameBytes();

    /**
     * string table_name = 4;
     * @return The tableName.
     */
    java.lang.String getTableName();
    /**
     * string table_name = 4;
     * @return The bytes for tableName.
     */
    com.google.protobuf.ByteString
        getTableNameBytes();
  }
  /**
   * Protobuf type {@code cz.proto.ingestion.v2.TableIdentifier}
   */
  public static final class TableIdentifier extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.TableIdentifier)
      TableIdentifierOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use TableIdentifier.newBuilder() to construct.
    private TableIdentifier(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private TableIdentifier() {
      workspace_ = "";
      schemaName_ = "";
      tableName_ = "";
    }

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

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

              instanceId_ = input.readInt64();
              break;
            }
            case 18: {
              java.lang.String s = input.readStringRequireUtf8();

              workspace_ = s;
              break;
            }
            case 26: {
              java.lang.String s = input.readStringRequireUtf8();

              schemaName_ = s;
              break;
            }
            case 34: {
              java.lang.String s = input.readStringRequireUtf8();

              tableName_ = s;
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_TableIdentifier_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_TableIdentifier_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              cz.proto.ingestion.v2.IngestionV2.TableIdentifier.class, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder.class);
    }

    public static final int INSTANCE_ID_FIELD_NUMBER = 1;
    private long instanceId_;
    /**
     * int64 instance_id = 1;
     * @return The instanceId.
     */
    @java.lang.Override
    public long getInstanceId() {
      return instanceId_;
    }

    public static final int WORKSPACE_FIELD_NUMBER = 2;
    private volatile java.lang.Object workspace_;
    /**
     * string workspace = 2;
     * @return The workspace.
     */
    @java.lang.Override
    public java.lang.String getWorkspace() {
      java.lang.Object ref = workspace_;
      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();
        workspace_ = s;
        return s;
      }
    }
    /**
     * string workspace = 2;
     * @return The bytes for workspace.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getWorkspaceBytes() {
      java.lang.Object ref = workspace_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        workspace_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int SCHEMA_NAME_FIELD_NUMBER = 3;
    private volatile java.lang.Object schemaName_;
    /**
     * string schema_name = 3;
     * @return The schemaName.
     */
    @java.lang.Override
    public java.lang.String getSchemaName() {
      java.lang.Object ref = schemaName_;
      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();
        schemaName_ = s;
        return s;
      }
    }
    /**
     * string schema_name = 3;
     * @return The bytes for schemaName.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getSchemaNameBytes() {
      java.lang.Object ref = schemaName_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        schemaName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int TABLE_NAME_FIELD_NUMBER = 4;
    private volatile java.lang.Object tableName_;
    /**
     * string table_name = 4;
     * @return The tableName.
     */
    @java.lang.Override
    public java.lang.String getTableName() {
      java.lang.Object ref = tableName_;
      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();
        tableName_ = s;
        return s;
      }
    }
    /**
     * string table_name = 4;
     * @return The bytes for tableName.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getTableNameBytes() {
      java.lang.Object ref = tableName_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        tableName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (instanceId_ != 0L) {
        output.writeInt64(1, instanceId_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, workspace_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, schemaName_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, tableName_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (instanceId_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(1, instanceId_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, workspace_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, schemaName_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, tableName_);
      }
      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 cz.proto.ingestion.v2.IngestionV2.TableIdentifier)) {
        return super.equals(obj);
      }
      cz.proto.ingestion.v2.IngestionV2.TableIdentifier other = (cz.proto.ingestion.v2.IngestionV2.TableIdentifier) obj;

      if (getInstanceId()
          != other.getInstanceId()) return false;
      if (!getWorkspace()
          .equals(other.getWorkspace())) return false;
      if (!getSchemaName()
          .equals(other.getSchemaName())) return false;
      if (!getTableName()
          .equals(other.getTableName())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + INSTANCE_ID_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getInstanceId());
      hash = (37 * hash) + WORKSPACE_FIELD_NUMBER;
      hash = (53 * hash) + getWorkspace().hashCode();
      hash = (37 * hash) + SCHEMA_NAME_FIELD_NUMBER;
      hash = (53 * hash) + getSchemaName().hashCode();
      hash = (37 * hash) + TABLE_NAME_FIELD_NUMBER;
      hash = (53 * hash) + getTableName().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static cz.proto.ingestion.v2.IngestionV2.TableIdentifier parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cz.proto.ingestion.v2.IngestionV2.TableIdentifier parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cz.proto.ingestion.v2.IngestionV2.TableIdentifier parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cz.proto.ingestion.v2.IngestionV2.TableIdentifier parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cz.proto.ingestion.v2.IngestionV2.TableIdentifier parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cz.proto.ingestion.v2.IngestionV2.TableIdentifier parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cz.proto.ingestion.v2.IngestionV2.TableIdentifier parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static cz.proto.ingestion.v2.IngestionV2.TableIdentifier 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 cz.proto.ingestion.v2.IngestionV2.TableIdentifier parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static cz.proto.ingestion.v2.IngestionV2.TableIdentifier 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 cz.proto.ingestion.v2.IngestionV2.TableIdentifier parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static cz.proto.ingestion.v2.IngestionV2.TableIdentifier 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(cz.proto.ingestion.v2.IngestionV2.TableIdentifier 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 cz.proto.ingestion.v2.TableIdentifier}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.TableIdentifier)
        cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_TableIdentifier_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_TableIdentifier_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                cz.proto.ingestion.v2.IngestionV2.TableIdentifier.class, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder.class);
      }

      // Construct using cz.proto.ingestion.v2.IngestionV2.TableIdentifier.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

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

        workspace_ = "";

        schemaName_ = "";

        tableName_ = "";

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_TableIdentifier_descriptor;
      }

      @java.lang.Override
      public cz.proto.ingestion.v2.IngestionV2.TableIdentifier getDefaultInstanceForType() {
        return cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance();
      }

      @java.lang.Override
      public cz.proto.ingestion.v2.IngestionV2.TableIdentifier build() {
        cz.proto.ingestion.v2.IngestionV2.TableIdentifier result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public cz.proto.ingestion.v2.IngestionV2.TableIdentifier buildPartial() {
        cz.proto.ingestion.v2.IngestionV2.TableIdentifier result = new cz.proto.ingestion.v2.IngestionV2.TableIdentifier(this);
        result.instanceId_ = instanceId_;
        result.workspace_ = workspace_;
        result.schemaName_ = schemaName_;
        result.tableName_ = tableName_;
        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 cz.proto.ingestion.v2.IngestionV2.TableIdentifier) {
          return mergeFrom((cz.proto.ingestion.v2.IngestionV2.TableIdentifier)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.TableIdentifier other) {
        if (other == cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance()) return this;
        if (other.getInstanceId() != 0L) {
          setInstanceId(other.getInstanceId());
        }
        if (!other.getWorkspace().isEmpty()) {
          workspace_ = other.workspace_;
          onChanged();
        }
        if (!other.getSchemaName().isEmpty()) {
          schemaName_ = other.schemaName_;
          onChanged();
        }
        if (!other.getTableName().isEmpty()) {
          tableName_ = other.tableName_;
          onChanged();
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

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

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        cz.proto.ingestion.v2.IngestionV2.TableIdentifier parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (cz.proto.ingestion.v2.IngestionV2.TableIdentifier) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private long instanceId_ ;
      /**
       * int64 instance_id = 1;
       * @return The instanceId.
       */
      @java.lang.Override
      public long getInstanceId() {
        return instanceId_;
      }
      /**
       * int64 instance_id = 1;
       * @param value The instanceId to set.
       * @return This builder for chaining.
       */
      public Builder setInstanceId(long value) {
        
        instanceId_ = value;
        onChanged();
        return this;
      }
      /**
       * int64 instance_id = 1;
       * @return This builder for chaining.
       */
      public Builder clearInstanceId() {
        
        instanceId_ = 0L;
        onChanged();
        return this;
      }

      private java.lang.Object workspace_ = "";
      /**
       * string workspace = 2;
       * @return The workspace.
       */
      public java.lang.String getWorkspace() {
        java.lang.Object ref = workspace_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          workspace_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string workspace = 2;
       * @return The bytes for workspace.
       */
      public com.google.protobuf.ByteString
          getWorkspaceBytes() {
        java.lang.Object ref = workspace_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          workspace_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string workspace = 2;
       * @param value The workspace to set.
       * @return This builder for chaining.
       */
      public Builder setWorkspace(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        workspace_ = value;
        onChanged();
        return this;
      }
      /**
       * string workspace = 2;
       * @return This builder for chaining.
       */
      public Builder clearWorkspace() {
        
        workspace_ = getDefaultInstance().getWorkspace();
        onChanged();
        return this;
      }
      /**
       * string workspace = 2;
       * @param value The bytes for workspace to set.
       * @return This builder for chaining.
       */
      public Builder setWorkspaceBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        workspace_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object schemaName_ = "";
      /**
       * string schema_name = 3;
       * @return The schemaName.
       */
      public java.lang.String getSchemaName() {
        java.lang.Object ref = schemaName_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          schemaName_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string schema_name = 3;
       * @return The bytes for schemaName.
       */
      public com.google.protobuf.ByteString
          getSchemaNameBytes() {
        java.lang.Object ref = schemaName_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          schemaName_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string schema_name = 3;
       * @param value The schemaName to set.
       * @return This builder for chaining.
       */
      public Builder setSchemaName(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        schemaName_ = value;
        onChanged();
        return this;
      }
      /**
       * string schema_name = 3;
       * @return This builder for chaining.
       */
      public Builder clearSchemaName() {
        
        schemaName_ = getDefaultInstance().getSchemaName();
        onChanged();
        return this;
      }
      /**
       * string schema_name = 3;
       * @param value The bytes for schemaName to set.
       * @return This builder for chaining.
       */
      public Builder setSchemaNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        schemaName_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object tableName_ = "";
      /**
       * string table_name = 4;
       * @return The tableName.
       */
      public java.lang.String getTableName() {
        java.lang.Object ref = tableName_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          tableName_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string table_name = 4;
       * @return The bytes for tableName.
       */
      public com.google.protobuf.ByteString
          getTableNameBytes() {
        java.lang.Object ref = tableName_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          tableName_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string table_name = 4;
       * @param value The tableName to set.
       * @return This builder for chaining.
       */
      public Builder setTableName(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        tableName_ = value;
        onChanged();
        return this;
      }
      /**
       * string table_name = 4;
       * @return This builder for chaining.
       */
      public Builder clearTableName() {
        
        tableName_ = getDefaultInstance().getTableName();
        onChanged();
        return this;
      }
      /**
       * string table_name = 4;
       * @param value The bytes for tableName to set.
       * @return This builder for chaining.
       */
      public Builder setTableNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        tableName_ = value;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.TableIdentifier)
    }

    // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.TableIdentifier)
    private static final cz.proto.ingestion.v2.IngestionV2.TableIdentifier DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.TableIdentifier();
    }

    public static cz.proto.ingestion.v2.IngestionV2.TableIdentifier getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public TableIdentifier parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new TableIdentifier(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 cz.proto.ingestion.v2.IngestionV2.TableIdentifier getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface ResponseStatusOrBuilder extends
      // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.ResponseStatus)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .cz.proto.ingestion.v2.Code code = 1;
     * @return The enum numeric value on the wire for code.
     */
    int getCodeValue();
    /**
     * .cz.proto.ingestion.v2.Code code = 1;
     * @return The code.
     */
    cz.proto.ingestion.v2.IngestionV2.Code getCode();

    /**
     * string error_message = 2;
     * @return The errorMessage.
     */
    java.lang.String getErrorMessage();
    /**
     * string error_message = 2;
     * @return The bytes for errorMessage.
     */
    com.google.protobuf.ByteString
        getErrorMessageBytes();

    /**
     * string request_id = 3;
     * @return The requestId.
     */
    java.lang.String getRequestId();
    /**
     * string request_id = 3;
     * @return The bytes for requestId.
     */
    com.google.protobuf.ByteString
        getRequestIdBytes();
  }
  /**
   * Protobuf type {@code cz.proto.ingestion.v2.ResponseStatus}
   */
  public static final class ResponseStatus extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.ResponseStatus)
      ResponseStatusOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ResponseStatus.newBuilder() to construct.
    private ResponseStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private ResponseStatus() {
      code_ = 0;
      errorMessage_ = "";
      requestId_ = "";
    }

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

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

              code_ = rawValue;
              break;
            }
            case 18: {
              java.lang.String s = input.readStringRequireUtf8();

              errorMessage_ = s;
              break;
            }
            case 26: {
              java.lang.String s = input.readStringRequireUtf8();

              requestId_ = s;
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_ResponseStatus_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_ResponseStatus_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              cz.proto.ingestion.v2.IngestionV2.ResponseStatus.class, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder.class);
    }

    public static final int CODE_FIELD_NUMBER = 1;
    private int code_;
    /**
     * .cz.proto.ingestion.v2.Code code = 1;
     * @return The enum numeric value on the wire for code.
     */
    @java.lang.Override public int getCodeValue() {
      return code_;
    }
    /**
     * .cz.proto.ingestion.v2.Code code = 1;
     * @return The code.
     */
    @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.Code getCode() {
      @SuppressWarnings("deprecation")
      cz.proto.ingestion.v2.IngestionV2.Code result = cz.proto.ingestion.v2.IngestionV2.Code.valueOf(code_);
      return result == null ? cz.proto.ingestion.v2.IngestionV2.Code.UNRECOGNIZED : result;
    }

    public static final int ERROR_MESSAGE_FIELD_NUMBER = 2;
    private volatile java.lang.Object errorMessage_;
    /**
     * string error_message = 2;
     * @return The errorMessage.
     */
    @java.lang.Override
    public java.lang.String getErrorMessage() {
      java.lang.Object ref = errorMessage_;
      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();
        errorMessage_ = s;
        return s;
      }
    }
    /**
     * string error_message = 2;
     * @return The bytes for errorMessage.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getErrorMessageBytes() {
      java.lang.Object ref = errorMessage_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        errorMessage_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int REQUEST_ID_FIELD_NUMBER = 3;
    private volatile java.lang.Object requestId_;
    /**
     * string request_id = 3;
     * @return The requestId.
     */
    @java.lang.Override
    public java.lang.String getRequestId() {
      java.lang.Object ref = requestId_;
      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();
        requestId_ = s;
        return s;
      }
    }
    /**
     * string request_id = 3;
     * @return The bytes for requestId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getRequestIdBytes() {
      java.lang.Object ref = requestId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        requestId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (code_ != cz.proto.ingestion.v2.IngestionV2.Code.SUCCESS.getNumber()) {
        output.writeEnum(1, code_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, errorMessage_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, requestId_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (code_ != cz.proto.ingestion.v2.IngestionV2.Code.SUCCESS.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(1, code_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, errorMessage_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, requestId_);
      }
      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 cz.proto.ingestion.v2.IngestionV2.ResponseStatus)) {
        return super.equals(obj);
      }
      cz.proto.ingestion.v2.IngestionV2.ResponseStatus other = (cz.proto.ingestion.v2.IngestionV2.ResponseStatus) obj;

      if (code_ != other.code_) return false;
      if (!getErrorMessage()
          .equals(other.getErrorMessage())) return false;
      if (!getRequestId()
          .equals(other.getRequestId())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + CODE_FIELD_NUMBER;
      hash = (53 * hash) + code_;
      hash = (37 * hash) + ERROR_MESSAGE_FIELD_NUMBER;
      hash = (53 * hash) + getErrorMessage().hashCode();
      hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER;
      hash = (53 * hash) + getRequestId().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static cz.proto.ingestion.v2.IngestionV2.ResponseStatus parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cz.proto.ingestion.v2.IngestionV2.ResponseStatus parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cz.proto.ingestion.v2.IngestionV2.ResponseStatus parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cz.proto.ingestion.v2.IngestionV2.ResponseStatus parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cz.proto.ingestion.v2.IngestionV2.ResponseStatus parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cz.proto.ingestion.v2.IngestionV2.ResponseStatus parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cz.proto.ingestion.v2.IngestionV2.ResponseStatus parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static cz.proto.ingestion.v2.IngestionV2.ResponseStatus 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 cz.proto.ingestion.v2.IngestionV2.ResponseStatus parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static cz.proto.ingestion.v2.IngestionV2.ResponseStatus 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 cz.proto.ingestion.v2.IngestionV2.ResponseStatus parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static cz.proto.ingestion.v2.IngestionV2.ResponseStatus 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(cz.proto.ingestion.v2.IngestionV2.ResponseStatus 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 cz.proto.ingestion.v2.ResponseStatus}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.ResponseStatus)
        cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_ResponseStatus_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_ResponseStatus_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                cz.proto.ingestion.v2.IngestionV2.ResponseStatus.class, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder.class);
      }

      // Construct using cz.proto.ingestion.v2.IngestionV2.ResponseStatus.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

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

        errorMessage_ = "";

        requestId_ = "";

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_ResponseStatus_descriptor;
      }

      @java.lang.Override
      public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getDefaultInstanceForType() {
        return cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance();
      }

      @java.lang.Override
      public cz.proto.ingestion.v2.IngestionV2.ResponseStatus build() {
        cz.proto.ingestion.v2.IngestionV2.ResponseStatus result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public cz.proto.ingestion.v2.IngestionV2.ResponseStatus buildPartial() {
        cz.proto.ingestion.v2.IngestionV2.ResponseStatus result = new cz.proto.ingestion.v2.IngestionV2.ResponseStatus(this);
        result.code_ = code_;
        result.errorMessage_ = errorMessage_;
        result.requestId_ = requestId_;
        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 cz.proto.ingestion.v2.IngestionV2.ResponseStatus) {
          return mergeFrom((cz.proto.ingestion.v2.IngestionV2.ResponseStatus)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.ResponseStatus other) {
        if (other == cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance()) return this;
        if (other.code_ != 0) {
          setCodeValue(other.getCodeValue());
        }
        if (!other.getErrorMessage().isEmpty()) {
          errorMessage_ = other.errorMessage_;
          onChanged();
        }
        if (!other.getRequestId().isEmpty()) {
          requestId_ = other.requestId_;
          onChanged();
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

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

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        cz.proto.ingestion.v2.IngestionV2.ResponseStatus parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (cz.proto.ingestion.v2.IngestionV2.ResponseStatus) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private int code_ = 0;
      /**
       * .cz.proto.ingestion.v2.Code code = 1;
       * @return The enum numeric value on the wire for code.
       */
      @java.lang.Override public int getCodeValue() {
        return code_;
      }
      /**
       * .cz.proto.ingestion.v2.Code code = 1;
       * @param value The enum numeric value on the wire for code to set.
       * @return This builder for chaining.
       */
      public Builder setCodeValue(int value) {
        
        code_ = value;
        onChanged();
        return this;
      }
      /**
       * .cz.proto.ingestion.v2.Code code = 1;
       * @return The code.
       */
      @java.lang.Override
      public cz.proto.ingestion.v2.IngestionV2.Code getCode() {
        @SuppressWarnings("deprecation")
        cz.proto.ingestion.v2.IngestionV2.Code result = cz.proto.ingestion.v2.IngestionV2.Code.valueOf(code_);
        return result == null ? cz.proto.ingestion.v2.IngestionV2.Code.UNRECOGNIZED : result;
      }
      /**
       * .cz.proto.ingestion.v2.Code code = 1;
       * @param value The code to set.
       * @return This builder for chaining.
       */
      public Builder setCode(cz.proto.ingestion.v2.IngestionV2.Code value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        code_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * .cz.proto.ingestion.v2.Code code = 1;
       * @return This builder for chaining.
       */
      public Builder clearCode() {
        
        code_ = 0;
        onChanged();
        return this;
      }

      private java.lang.Object errorMessage_ = "";
      /**
       * string error_message = 2;
       * @return The errorMessage.
       */
      public java.lang.String getErrorMessage() {
        java.lang.Object ref = errorMessage_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          errorMessage_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string error_message = 2;
       * @return The bytes for errorMessage.
       */
      public com.google.protobuf.ByteString
          getErrorMessageBytes() {
        java.lang.Object ref = errorMessage_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          errorMessage_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string error_message = 2;
       * @param value The errorMessage to set.
       * @return This builder for chaining.
       */
      public Builder setErrorMessage(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        errorMessage_ = value;
        onChanged();
        return this;
      }
      /**
       * string error_message = 2;
       * @return This builder for chaining.
       */
      public Builder clearErrorMessage() {
        
        errorMessage_ = getDefaultInstance().getErrorMessage();
        onChanged();
        return this;
      }
      /**
       * string error_message = 2;
       * @param value The bytes for errorMessage to set.
       * @return This builder for chaining.
       */
      public Builder setErrorMessageBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        errorMessage_ = value;
        onChanged();
        return this;
      }

      private java.lang.Object requestId_ = "";
      /**
       * string request_id = 3;
       * @return The requestId.
       */
      public java.lang.String getRequestId() {
        java.lang.Object ref = requestId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          requestId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * string request_id = 3;
       * @return The bytes for requestId.
       */
      public com.google.protobuf.ByteString
          getRequestIdBytes() {
        java.lang.Object ref = requestId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          requestId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * string request_id = 3;
       * @param value The requestId to set.
       * @return This builder for chaining.
       */
      public Builder setRequestId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        requestId_ = value;
        onChanged();
        return this;
      }
      /**
       * string request_id = 3;
       * @return This builder for chaining.
       */
      public Builder clearRequestId() {
        
        requestId_ = getDefaultInstance().getRequestId();
        onChanged();
        return this;
      }
      /**
       * string request_id = 3;
       * @param value The bytes for requestId to set.
       * @return This builder for chaining.
       */
      public Builder setRequestIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        requestId_ = value;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.ResponseStatus)
    }

    // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.ResponseStatus)
    private static final cz.proto.ingestion.v2.IngestionV2.ResponseStatus DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.ResponseStatus();
    }

    public static cz.proto.ingestion.v2.IngestionV2.ResponseStatus getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public ResponseStatus parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new ResponseStatus(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 cz.proto.ingestion.v2.IngestionV2.ResponseStatus getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface DataFieldOrBuilder extends
      // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.DataField)
      com.google.protobuf.MessageOrBuilder {

    /**
     * string name = 1;
     * @return The name.
     */
    java.lang.String getName();
    /**
     * string name = 1;
     * @return The bytes for name.
     */
    com.google.protobuf.ByteString
        getNameBytes();

    /**
     * .cz.proto.DataType type = 2;
     * @return Whether the type field is set.
     */
    boolean hasType();
    /**
     * .cz.proto.DataType type = 2;
     * @return The type.
     */
    cz.proto.DataType getType();
    /**
     * .cz.proto.DataType type = 2;
     */
    cz.proto.DataTypeOrBuilder getTypeOrBuilder();
  }
  /**
   * Protobuf type {@code cz.proto.ingestion.v2.DataField}
   */
  public static final class DataField extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.DataField)
      DataFieldOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use DataField.newBuilder() to construct.
    private DataField(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private DataField() {
      name_ = "";
    }

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

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

              name_ = s;
              break;
            }
            case 18: {
              cz.proto.DataType.Builder subBuilder = null;
              if (type_ != null) {
                subBuilder = type_.toBuilder();
              }
              type_ = input.readMessage(cz.proto.DataType.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(type_);
                type_ = subBuilder.buildPartial();
              }

              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_DataField_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_DataField_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              cz.proto.ingestion.v2.IngestionV2.DataField.class, cz.proto.ingestion.v2.IngestionV2.DataField.Builder.class);
    }

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

    public static final int TYPE_FIELD_NUMBER = 2;
    private cz.proto.DataType type_;
    /**
     * .cz.proto.DataType type = 2;
     * @return Whether the type field is set.
     */
    @java.lang.Override
    public boolean hasType() {
      return type_ != null;
    }
    /**
     * .cz.proto.DataType type = 2;
     * @return The type.
     */
    @java.lang.Override
    public cz.proto.DataType getType() {
      return type_ == null ? cz.proto.DataType.getDefaultInstance() : type_;
    }
    /**
     * .cz.proto.DataType type = 2;
     */
    @java.lang.Override
    public cz.proto.DataTypeOrBuilder getTypeOrBuilder() {
      return getType();
    }

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

      memoizedIsInitialized = 1;
      return true;
    }

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

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

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
      }
      if (type_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getType());
      }
      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 cz.proto.ingestion.v2.IngestionV2.DataField)) {
        return super.equals(obj);
      }
      cz.proto.ingestion.v2.IngestionV2.DataField other = (cz.proto.ingestion.v2.IngestionV2.DataField) obj;

      if (!getName()
          .equals(other.getName())) return false;
      if (hasType() != other.hasType()) return false;
      if (hasType()) {
        if (!getType()
            .equals(other.getType())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

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

    public static cz.proto.ingestion.v2.IngestionV2.DataField parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cz.proto.ingestion.v2.IngestionV2.DataField parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cz.proto.ingestion.v2.IngestionV2.DataField parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cz.proto.ingestion.v2.IngestionV2.DataField parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cz.proto.ingestion.v2.IngestionV2.DataField parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cz.proto.ingestion.v2.IngestionV2.DataField parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cz.proto.ingestion.v2.IngestionV2.DataField parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static cz.proto.ingestion.v2.IngestionV2.DataField 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 cz.proto.ingestion.v2.IngestionV2.DataField parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static cz.proto.ingestion.v2.IngestionV2.DataField 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 cz.proto.ingestion.v2.IngestionV2.DataField parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static cz.proto.ingestion.v2.IngestionV2.DataField 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(cz.proto.ingestion.v2.IngestionV2.DataField 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 cz.proto.ingestion.v2.DataField}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.DataField)
        cz.proto.ingestion.v2.IngestionV2.DataFieldOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_DataField_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_DataField_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                cz.proto.ingestion.v2.IngestionV2.DataField.class, cz.proto.ingestion.v2.IngestionV2.DataField.Builder.class);
      }

      // Construct using cz.proto.ingestion.v2.IngestionV2.DataField.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

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

        if (typeBuilder_ == null) {
          type_ = null;
        } else {
          type_ = null;
          typeBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_DataField_descriptor;
      }

      @java.lang.Override
      public cz.proto.ingestion.v2.IngestionV2.DataField getDefaultInstanceForType() {
        return cz.proto.ingestion.v2.IngestionV2.DataField.getDefaultInstance();
      }

      @java.lang.Override
      public cz.proto.ingestion.v2.IngestionV2.DataField build() {
        cz.proto.ingestion.v2.IngestionV2.DataField result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public cz.proto.ingestion.v2.IngestionV2.DataField buildPartial() {
        cz.proto.ingestion.v2.IngestionV2.DataField result = new cz.proto.ingestion.v2.IngestionV2.DataField(this);
        result.name_ = name_;
        if (typeBuilder_ == null) {
          result.type_ = type_;
        } else {
          result.type_ = typeBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof cz.proto.ingestion.v2.IngestionV2.DataField) {
          return mergeFrom((cz.proto.ingestion.v2.IngestionV2.DataField)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.DataField other) {
        if (other == cz.proto.ingestion.v2.IngestionV2.DataField.getDefaultInstance()) return this;
        if (!other.getName().isEmpty()) {
          name_ = other.name_;
          onChanged();
        }
        if (other.hasType()) {
          mergeType(other.getType());
        }
        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 {
        cz.proto.ingestion.v2.IngestionV2.DataField parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (cz.proto.ingestion.v2.IngestionV2.DataField) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

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

      private cz.proto.DataType type_;
      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.DataType, cz.proto.DataType.Builder, cz.proto.DataTypeOrBuilder> typeBuilder_;
      /**
       * .cz.proto.DataType type = 2;
       * @return Whether the type field is set.
       */
      public boolean hasType() {
        return typeBuilder_ != null || type_ != null;
      }
      /**
       * .cz.proto.DataType type = 2;
       * @return The type.
       */
      public cz.proto.DataType getType() {
        if (typeBuilder_ == null) {
          return type_ == null ? cz.proto.DataType.getDefaultInstance() : type_;
        } else {
          return typeBuilder_.getMessage();
        }
      }
      /**
       * .cz.proto.DataType type = 2;
       */
      public Builder setType(cz.proto.DataType value) {
        if (typeBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          type_ = value;
          onChanged();
        } else {
          typeBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * .cz.proto.DataType type = 2;
       */
      public Builder setType(
          cz.proto.DataType.Builder builderForValue) {
        if (typeBuilder_ == null) {
          type_ = builderForValue.build();
          onChanged();
        } else {
          typeBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * .cz.proto.DataType type = 2;
       */
      public Builder mergeType(cz.proto.DataType value) {
        if (typeBuilder_ == null) {
          if (type_ != null) {
            type_ =
              cz.proto.DataType.newBuilder(type_).mergeFrom(value).buildPartial();
          } else {
            type_ = value;
          }
          onChanged();
        } else {
          typeBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * .cz.proto.DataType type = 2;
       */
      public Builder clearType() {
        if (typeBuilder_ == null) {
          type_ = null;
          onChanged();
        } else {
          type_ = null;
          typeBuilder_ = null;
        }

        return this;
      }
      /**
       * .cz.proto.DataType type = 2;
       */
      public cz.proto.DataType.Builder getTypeBuilder() {
        
        onChanged();
        return getTypeFieldBuilder().getBuilder();
      }
      /**
       * .cz.proto.DataType type = 2;
       */
      public cz.proto.DataTypeOrBuilder getTypeOrBuilder() {
        if (typeBuilder_ != null) {
          return typeBuilder_.getMessageOrBuilder();
        } else {
          return type_ == null ?
              cz.proto.DataType.getDefaultInstance() : type_;
        }
      }
      /**
       * .cz.proto.DataType type = 2;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          cz.proto.DataType, cz.proto.DataType.Builder, cz.proto.DataTypeOrBuilder> 
          getTypeFieldBuilder() {
        if (typeBuilder_ == null) {
          typeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              cz.proto.DataType, cz.proto.DataType.Builder, cz.proto.DataTypeOrBuilder>(
                  getType(),
                  getParentForChildren(),
                  isClean());
          type_ = null;
        }
        return typeBuilder_;
      }
      @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:cz.proto.ingestion.v2.DataField)
    }

    // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.DataField)
    private static final cz.proto.ingestion.v2.IngestionV2.DataField DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.DataField();
    }

    public static cz.proto.ingestion.v2.IngestionV2.DataField getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public DataField parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new DataField(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 cz.proto.ingestion.v2.IngestionV2.DataField getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface DistributionSpecOrBuilder extends
      // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.DistributionSpec)
      com.google.protobuf.MessageOrBuilder {

    /**
     * repeated uint32 field_ids = 1;
     * @return A list containing the fieldIds.
     */
    java.util.List getFieldIdsList();
    /**
     * repeated uint32 field_ids = 1;
     * @return The count of fieldIds.
     */
    int getFieldIdsCount();
    /**
     * repeated uint32 field_ids = 1;
     * @param index The index of the element to return.
     * @return The fieldIds at the given index.
     */
    int getFieldIds(int index);

    /**
     * repeated string hash_functions = 2;
     * @return A list containing the hashFunctions.
     */
    java.util.List
        getHashFunctionsList();
    /**
     * repeated string hash_functions = 2;
     * @return The count of hashFunctions.
     */
    int getHashFunctionsCount();
    /**
     * repeated string hash_functions = 2;
     * @param index The index of the element to return.
     * @return The hashFunctions at the given index.
     */
    java.lang.String getHashFunctions(int index);
    /**
     * repeated string hash_functions = 2;
     * @param index The index of the value to return.
     * @return The bytes of the hashFunctions at the given index.
     */
    com.google.protobuf.ByteString
        getHashFunctionsBytes(int index);

    /**
     * uint32 num_buckets = 3;
     * @return The numBuckets.
     */
    int getNumBuckets();
  }
  /**
   * Protobuf type {@code cz.proto.ingestion.v2.DistributionSpec}
   */
  public static final class DistributionSpec extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.DistributionSpec)
      DistributionSpecOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use DistributionSpec.newBuilder() to construct.
    private DistributionSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private DistributionSpec() {
      fieldIds_ = emptyIntList();
      hashFunctions_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private DistributionSpec(
        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 8: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                fieldIds_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              fieldIds_.addInt(input.readUInt32());
              break;
            }
            case 10: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
                fieldIds_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              while (input.getBytesUntilLimit() > 0) {
                fieldIds_.addInt(input.readUInt32());
              }
              input.popLimit(limit);
              break;
            }
            case 18: {
              java.lang.String s = input.readStringRequireUtf8();
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                hashFunctions_ = new com.google.protobuf.LazyStringArrayList();
                mutable_bitField0_ |= 0x00000002;
              }
              hashFunctions_.add(s);
              break;
            }
            case 24: {

              numBuckets_ = input.readUInt32();
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          fieldIds_.makeImmutable(); // C
        }
        if (((mutable_bitField0_ & 0x00000002) != 0)) {
          hashFunctions_ = hashFunctions_.getUnmodifiableView();
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_DistributionSpec_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_DistributionSpec_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              cz.proto.ingestion.v2.IngestionV2.DistributionSpec.class, cz.proto.ingestion.v2.IngestionV2.DistributionSpec.Builder.class);
    }

    public static final int FIELD_IDS_FIELD_NUMBER = 1;
    private com.google.protobuf.Internal.IntList fieldIds_;
    /**
     * repeated uint32 field_ids = 1;
     * @return A list containing the fieldIds.
     */
    @java.lang.Override
    public java.util.List
        getFieldIdsList() {
      return fieldIds_;
    }
    /**
     * repeated uint32 field_ids = 1;
     * @return The count of fieldIds.
     */
    public int getFieldIdsCount() {
      return fieldIds_.size();
    }
    /**
     * repeated uint32 field_ids = 1;
     * @param index The index of the element to return.
     * @return The fieldIds at the given index.
     */
    public int getFieldIds(int index) {
      return fieldIds_.getInt(index);
    }
    private int fieldIdsMemoizedSerializedSize = -1;

    public static final int HASH_FUNCTIONS_FIELD_NUMBER = 2;
    private com.google.protobuf.LazyStringList hashFunctions_;
    /**
     * repeated string hash_functions = 2;
     * @return A list containing the hashFunctions.
     */
    public com.google.protobuf.ProtocolStringList
        getHashFunctionsList() {
      return hashFunctions_;
    }
    /**
     * repeated string hash_functions = 2;
     * @return The count of hashFunctions.
     */
    public int getHashFunctionsCount() {
      return hashFunctions_.size();
    }
    /**
     * repeated string hash_functions = 2;
     * @param index The index of the element to return.
     * @return The hashFunctions at the given index.
     */
    public java.lang.String getHashFunctions(int index) {
      return hashFunctions_.get(index);
    }
    /**
     * repeated string hash_functions = 2;
     * @param index The index of the value to return.
     * @return The bytes of the hashFunctions at the given index.
     */
    public com.google.protobuf.ByteString
        getHashFunctionsBytes(int index) {
      return hashFunctions_.getByteString(index);
    }

    public static final int NUM_BUCKETS_FIELD_NUMBER = 3;
    private int numBuckets_;
    /**
     * uint32 num_buckets = 3;
     * @return The numBuckets.
     */
    @java.lang.Override
    public int getNumBuckets() {
      return numBuckets_;
    }

    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 {
      getSerializedSize();
      if (getFieldIdsList().size() > 0) {
        output.writeUInt32NoTag(10);
        output.writeUInt32NoTag(fieldIdsMemoizedSerializedSize);
      }
      for (int i = 0; i < fieldIds_.size(); i++) {
        output.writeUInt32NoTag(fieldIds_.getInt(i));
      }
      for (int i = 0; i < hashFunctions_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, hashFunctions_.getRaw(i));
      }
      if (numBuckets_ != 0) {
        output.writeUInt32(3, numBuckets_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      {
        int dataSize = 0;
        for (int i = 0; i < fieldIds_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeUInt32SizeNoTag(fieldIds_.getInt(i));
        }
        size += dataSize;
        if (!getFieldIdsList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        fieldIdsMemoizedSerializedSize = dataSize;
      }
      {
        int dataSize = 0;
        for (int i = 0; i < hashFunctions_.size(); i++) {
          dataSize += computeStringSizeNoTag(hashFunctions_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getHashFunctionsList().size();
      }
      if (numBuckets_ != 0) {
        size += com.google.protobuf.CodedOutputStream
          .computeUInt32Size(3, numBuckets_);
      }
      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 cz.proto.ingestion.v2.IngestionV2.DistributionSpec)) {
        return super.equals(obj);
      }
      cz.proto.ingestion.v2.IngestionV2.DistributionSpec other = (cz.proto.ingestion.v2.IngestionV2.DistributionSpec) obj;

      if (!getFieldIdsList()
          .equals(other.getFieldIdsList())) return false;
      if (!getHashFunctionsList()
          .equals(other.getHashFunctionsList())) return false;
      if (getNumBuckets()
          != other.getNumBuckets()) 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 (getFieldIdsCount() > 0) {
        hash = (37 * hash) + FIELD_IDS_FIELD_NUMBER;
        hash = (53 * hash) + getFieldIdsList().hashCode();
      }
      if (getHashFunctionsCount() > 0) {
        hash = (37 * hash) + HASH_FUNCTIONS_FIELD_NUMBER;
        hash = (53 * hash) + getHashFunctionsList().hashCode();
      }
      hash = (37 * hash) + NUM_BUCKETS_FIELD_NUMBER;
      hash = (53 * hash) + getNumBuckets();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static cz.proto.ingestion.v2.IngestionV2.DistributionSpec parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cz.proto.ingestion.v2.IngestionV2.DistributionSpec parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cz.proto.ingestion.v2.IngestionV2.DistributionSpec parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cz.proto.ingestion.v2.IngestionV2.DistributionSpec parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cz.proto.ingestion.v2.IngestionV2.DistributionSpec parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cz.proto.ingestion.v2.IngestionV2.DistributionSpec parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cz.proto.ingestion.v2.IngestionV2.DistributionSpec parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static cz.proto.ingestion.v2.IngestionV2.DistributionSpec 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 cz.proto.ingestion.v2.IngestionV2.DistributionSpec parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static cz.proto.ingestion.v2.IngestionV2.DistributionSpec 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 cz.proto.ingestion.v2.IngestionV2.DistributionSpec parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static cz.proto.ingestion.v2.IngestionV2.DistributionSpec 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(cz.proto.ingestion.v2.IngestionV2.DistributionSpec 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 cz.proto.ingestion.v2.DistributionSpec}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.DistributionSpec)
        cz.proto.ingestion.v2.IngestionV2.DistributionSpecOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_DistributionSpec_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_DistributionSpec_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                cz.proto.ingestion.v2.IngestionV2.DistributionSpec.class, cz.proto.ingestion.v2.IngestionV2.DistributionSpec.Builder.class);
      }

      // Construct using cz.proto.ingestion.v2.IngestionV2.DistributionSpec.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        fieldIds_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        hashFunctions_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000002);
        numBuckets_ = 0;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_DistributionSpec_descriptor;
      }

      @java.lang.Override
      public cz.proto.ingestion.v2.IngestionV2.DistributionSpec getDefaultInstanceForType() {
        return cz.proto.ingestion.v2.IngestionV2.DistributionSpec.getDefaultInstance();
      }

      @java.lang.Override
      public cz.proto.ingestion.v2.IngestionV2.DistributionSpec build() {
        cz.proto.ingestion.v2.IngestionV2.DistributionSpec result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public cz.proto.ingestion.v2.IngestionV2.DistributionSpec buildPartial() {
        cz.proto.ingestion.v2.IngestionV2.DistributionSpec result = new cz.proto.ingestion.v2.IngestionV2.DistributionSpec(this);
        int from_bitField0_ = bitField0_;
        if (((bitField0_ & 0x00000001) != 0)) {
          fieldIds_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.fieldIds_ = fieldIds_;
        if (((bitField0_ & 0x00000002) != 0)) {
          hashFunctions_ = hashFunctions_.getUnmodifiableView();
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.hashFunctions_ = hashFunctions_;
        result.numBuckets_ = numBuckets_;
        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 cz.proto.ingestion.v2.IngestionV2.DistributionSpec) {
          return mergeFrom((cz.proto.ingestion.v2.IngestionV2.DistributionSpec)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.DistributionSpec other) {
        if (other == cz.proto.ingestion.v2.IngestionV2.DistributionSpec.getDefaultInstance()) return this;
        if (!other.fieldIds_.isEmpty()) {
          if (fieldIds_.isEmpty()) {
            fieldIds_ = other.fieldIds_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureFieldIdsIsMutable();
            fieldIds_.addAll(other.fieldIds_);
          }
          onChanged();
        }
        if (!other.hashFunctions_.isEmpty()) {
          if (hashFunctions_.isEmpty()) {
            hashFunctions_ = other.hashFunctions_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureHashFunctionsIsMutable();
            hashFunctions_.addAll(other.hashFunctions_);
          }
          onChanged();
        }
        if (other.getNumBuckets() != 0) {
          setNumBuckets(other.getNumBuckets());
        }
        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 {
        cz.proto.ingestion.v2.IngestionV2.DistributionSpec parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (cz.proto.ingestion.v2.IngestionV2.DistributionSpec) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private com.google.protobuf.Internal.IntList fieldIds_ = emptyIntList();
      private void ensureFieldIdsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          fieldIds_ = mutableCopy(fieldIds_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * repeated uint32 field_ids = 1;
       * @return A list containing the fieldIds.
       */
      public java.util.List
          getFieldIdsList() {
        return ((bitField0_ & 0x00000001) != 0) ?
                 java.util.Collections.unmodifiableList(fieldIds_) : fieldIds_;
      }
      /**
       * repeated uint32 field_ids = 1;
       * @return The count of fieldIds.
       */
      public int getFieldIdsCount() {
        return fieldIds_.size();
      }
      /**
       * repeated uint32 field_ids = 1;
       * @param index The index of the element to return.
       * @return The fieldIds at the given index.
       */
      public int getFieldIds(int index) {
        return fieldIds_.getInt(index);
      }
      /**
       * repeated uint32 field_ids = 1;
       * @param index The index to set the value at.
       * @param value The fieldIds to set.
       * @return This builder for chaining.
       */
      public Builder setFieldIds(
          int index, int value) {
        ensureFieldIdsIsMutable();
        fieldIds_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * repeated uint32 field_ids = 1;
       * @param value The fieldIds to add.
       * @return This builder for chaining.
       */
      public Builder addFieldIds(int value) {
        ensureFieldIdsIsMutable();
        fieldIds_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * repeated uint32 field_ids = 1;
       * @param values The fieldIds to add.
       * @return This builder for chaining.
       */
      public Builder addAllFieldIds(
          java.lang.Iterable values) {
        ensureFieldIdsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, fieldIds_);
        onChanged();
        return this;
      }
      /**
       * repeated uint32 field_ids = 1;
       * @return This builder for chaining.
       */
      public Builder clearFieldIds() {
        fieldIds_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }

      private com.google.protobuf.LazyStringList hashFunctions_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      private void ensureHashFunctionsIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          hashFunctions_ = new com.google.protobuf.LazyStringArrayList(hashFunctions_);
          bitField0_ |= 0x00000002;
         }
      }
      /**
       * repeated string hash_functions = 2;
       * @return A list containing the hashFunctions.
       */
      public com.google.protobuf.ProtocolStringList
          getHashFunctionsList() {
        return hashFunctions_.getUnmodifiableView();
      }
      /**
       * repeated string hash_functions = 2;
       * @return The count of hashFunctions.
       */
      public int getHashFunctionsCount() {
        return hashFunctions_.size();
      }
      /**
       * repeated string hash_functions = 2;
       * @param index The index of the element to return.
       * @return The hashFunctions at the given index.
       */
      public java.lang.String getHashFunctions(int index) {
        return hashFunctions_.get(index);
      }
      /**
       * repeated string hash_functions = 2;
       * @param index The index of the value to return.
       * @return The bytes of the hashFunctions at the given index.
       */
      public com.google.protobuf.ByteString
          getHashFunctionsBytes(int index) {
        return hashFunctions_.getByteString(index);
      }
      /**
       * repeated string hash_functions = 2;
       * @param index The index to set the value at.
       * @param value The hashFunctions to set.
       * @return This builder for chaining.
       */
      public Builder setHashFunctions(
          int index, java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureHashFunctionsIsMutable();
        hashFunctions_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * repeated string hash_functions = 2;
       * @param value The hashFunctions to add.
       * @return This builder for chaining.
       */
      public Builder addHashFunctions(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureHashFunctionsIsMutable();
        hashFunctions_.add(value);
        onChanged();
        return this;
      }
      /**
       * repeated string hash_functions = 2;
       * @param values The hashFunctions to add.
       * @return This builder for chaining.
       */
      public Builder addAllHashFunctions(
          java.lang.Iterable values) {
        ensureHashFunctionsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, hashFunctions_);
        onChanged();
        return this;
      }
      /**
       * repeated string hash_functions = 2;
       * @return This builder for chaining.
       */
      public Builder clearHashFunctions() {
        hashFunctions_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }
      /**
       * repeated string hash_functions = 2;
       * @param value The bytes of the hashFunctions to add.
       * @return This builder for chaining.
       */
      public Builder addHashFunctionsBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        ensureHashFunctionsIsMutable();
        hashFunctions_.add(value);
        onChanged();
        return this;
      }

      private int numBuckets_ ;
      /**
       * uint32 num_buckets = 3;
       * @return The numBuckets.
       */
      @java.lang.Override
      public int getNumBuckets() {
        return numBuckets_;
      }
      /**
       * uint32 num_buckets = 3;
       * @param value The numBuckets to set.
       * @return This builder for chaining.
       */
      public Builder setNumBuckets(int value) {
        
        numBuckets_ = value;
        onChanged();
        return this;
      }
      /**
       * uint32 num_buckets = 3;
       * @return This builder for chaining.
       */
      public Builder clearNumBuckets() {
        
        numBuckets_ = 0;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.DistributionSpec)
    }

    // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.DistributionSpec)
    private static final cz.proto.ingestion.v2.IngestionV2.DistributionSpec DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.DistributionSpec();
    }

    public static cz.proto.ingestion.v2.IngestionV2.DistributionSpec getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public DistributionSpec parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new DistributionSpec(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 cz.proto.ingestion.v2.IngestionV2.DistributionSpec getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface PrimaryKeySpecOrBuilder extends
      // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.PrimaryKeySpec)
      com.google.protobuf.MessageOrBuilder {

    /**
     * repeated uint32 field_ids = 1;
     * @return A list containing the fieldIds.
     */
    java.util.List getFieldIdsList();
    /**
     * repeated uint32 field_ids = 1;
     * @return The count of fieldIds.
     */
    int getFieldIdsCount();
    /**
     * repeated uint32 field_ids = 1;
     * @param index The index of the element to return.
     * @return The fieldIds at the given index.
     */
    int getFieldIds(int index);
  }
  /**
   * Protobuf type {@code cz.proto.ingestion.v2.PrimaryKeySpec}
   */
  public static final class PrimaryKeySpec extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.PrimaryKeySpec)
      PrimaryKeySpecOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use PrimaryKeySpec.newBuilder() to construct.
    private PrimaryKeySpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private PrimaryKeySpec() {
      fieldIds_ = emptyIntList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private PrimaryKeySpec(
        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 8: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                fieldIds_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              fieldIds_.addInt(input.readUInt32());
              break;
            }
            case 10: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
                fieldIds_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              while (input.getBytesUntilLimit() > 0) {
                fieldIds_.addInt(input.readUInt32());
              }
              input.popLimit(limit);
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          fieldIds_.makeImmutable(); // C
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_PrimaryKeySpec_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_PrimaryKeySpec_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec.class, cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec.Builder.class);
    }

    public static final int FIELD_IDS_FIELD_NUMBER = 1;
    private com.google.protobuf.Internal.IntList fieldIds_;
    /**
     * repeated uint32 field_ids = 1;
     * @return A list containing the fieldIds.
     */
    @java.lang.Override
    public java.util.List
        getFieldIdsList() {
      return fieldIds_;
    }
    /**
     * repeated uint32 field_ids = 1;
     * @return The count of fieldIds.
     */
    public int getFieldIdsCount() {
      return fieldIds_.size();
    }
    /**
     * repeated uint32 field_ids = 1;
     * @param index The index of the element to return.
     * @return The fieldIds at the given index.
     */
    public int getFieldIds(int index) {
      return fieldIds_.getInt(index);
    }
    private int fieldIdsMemoizedSerializedSize = -1;

    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 {
      getSerializedSize();
      if (getFieldIdsList().size() > 0) {
        output.writeUInt32NoTag(10);
        output.writeUInt32NoTag(fieldIdsMemoizedSerializedSize);
      }
      for (int i = 0; i < fieldIds_.size(); i++) {
        output.writeUInt32NoTag(fieldIds_.getInt(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      {
        int dataSize = 0;
        for (int i = 0; i < fieldIds_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeUInt32SizeNoTag(fieldIds_.getInt(i));
        }
        size += dataSize;
        if (!getFieldIdsList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        fieldIdsMemoizedSerializedSize = dataSize;
      }
      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 cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec)) {
        return super.equals(obj);
      }
      cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec other = (cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec) obj;

      if (!getFieldIdsList()
          .equals(other.getFieldIdsList())) 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 (getFieldIdsCount() > 0) {
        hash = (37 * hash) + FIELD_IDS_FIELD_NUMBER;
        hash = (53 * hash) + getFieldIdsList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec 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 cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec 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 cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec 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(cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec 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 cz.proto.ingestion.v2.PrimaryKeySpec}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.PrimaryKeySpec)
        cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpecOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_PrimaryKeySpec_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_PrimaryKeySpec_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec.class, cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec.Builder.class);
      }

      // Construct using cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        fieldIds_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_PrimaryKeySpec_descriptor;
      }

      @java.lang.Override
      public cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec getDefaultInstanceForType() {
        return cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec.getDefaultInstance();
      }

      @java.lang.Override
      public cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec build() {
        cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec buildPartial() {
        cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec result = new cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec(this);
        int from_bitField0_ = bitField0_;
        if (((bitField0_ & 0x00000001) != 0)) {
          fieldIds_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.fieldIds_ = fieldIds_;
        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 cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec) {
          return mergeFrom((cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec other) {
        if (other == cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec.getDefaultInstance()) return this;
        if (!other.fieldIds_.isEmpty()) {
          if (fieldIds_.isEmpty()) {
            fieldIds_ = other.fieldIds_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureFieldIdsIsMutable();
            fieldIds_.addAll(other.fieldIds_);
          }
          onChanged();
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

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

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private com.google.protobuf.Internal.IntList fieldIds_ = emptyIntList();
      private void ensureFieldIdsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          fieldIds_ = mutableCopy(fieldIds_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * repeated uint32 field_ids = 1;
       * @return A list containing the fieldIds.
       */
      public java.util.List
          getFieldIdsList() {
        return ((bitField0_ & 0x00000001) != 0) ?
                 java.util.Collections.unmodifiableList(fieldIds_) : fieldIds_;
      }
      /**
       * repeated uint32 field_ids = 1;
       * @return The count of fieldIds.
       */
      public int getFieldIdsCount() {
        return fieldIds_.size();
      }
      /**
       * repeated uint32 field_ids = 1;
       * @param index The index of the element to return.
       * @return The fieldIds at the given index.
       */
      public int getFieldIds(int index) {
        return fieldIds_.getInt(index);
      }
      /**
       * repeated uint32 field_ids = 1;
       * @param index The index to set the value at.
       * @param value The fieldIds to set.
       * @return This builder for chaining.
       */
      public Builder setFieldIds(
          int index, int value) {
        ensureFieldIdsIsMutable();
        fieldIds_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * repeated uint32 field_ids = 1;
       * @param value The fieldIds to add.
       * @return This builder for chaining.
       */
      public Builder addFieldIds(int value) {
        ensureFieldIdsIsMutable();
        fieldIds_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * repeated uint32 field_ids = 1;
       * @param values The fieldIds to add.
       * @return This builder for chaining.
       */
      public Builder addAllFieldIds(
          java.lang.Iterable values) {
        ensureFieldIdsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, fieldIds_);
        onChanged();
        return this;
      }
      /**
       * repeated uint32 field_ids = 1;
       * @return This builder for chaining.
       */
      public Builder clearFieldIds() {
        fieldIds_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.PrimaryKeySpec)
    }

    // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.PrimaryKeySpec)
    private static final cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec();
    }

    public static cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public PrimaryKeySpec parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new PrimaryKeySpec(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 cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface PartitionSpecOrBuilder extends
      // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.PartitionSpec)
      com.google.protobuf.MessageOrBuilder {

    /**
     * repeated uint32 src_field_ids = 1;
     * @return A list containing the srcFieldIds.
     */
    java.util.List getSrcFieldIdsList();
    /**
     * repeated uint32 src_field_ids = 1;
     * @return The count of srcFieldIds.
     */
    int getSrcFieldIdsCount();
    /**
     * repeated uint32 src_field_ids = 1;
     * @param index The index of the element to return.
     * @return The srcFieldIds at the given index.
     */
    int getSrcFieldIds(int index);
  }
  /**
   * Protobuf type {@code cz.proto.ingestion.v2.PartitionSpec}
   */
  public static final class PartitionSpec extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.PartitionSpec)
      PartitionSpecOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use PartitionSpec.newBuilder() to construct.
    private PartitionSpec(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private PartitionSpec() {
      srcFieldIds_ = emptyIntList();
    }

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

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private PartitionSpec(
        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 8: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                srcFieldIds_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              srcFieldIds_.addInt(input.readUInt32());
              break;
            }
            case 10: {
              int length = input.readRawVarint32();
              int limit = input.pushLimit(length);
              if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) {
                srcFieldIds_ = newIntList();
                mutable_bitField0_ |= 0x00000001;
              }
              while (input.getBytesUntilLimit() > 0) {
                srcFieldIds_.addInt(input.readUInt32());
              }
              input.popLimit(limit);
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          srcFieldIds_.makeImmutable(); // C
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_PartitionSpec_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_PartitionSpec_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              cz.proto.ingestion.v2.IngestionV2.PartitionSpec.class, cz.proto.ingestion.v2.IngestionV2.PartitionSpec.Builder.class);
    }

    public static final int SRC_FIELD_IDS_FIELD_NUMBER = 1;
    private com.google.protobuf.Internal.IntList srcFieldIds_;
    /**
     * repeated uint32 src_field_ids = 1;
     * @return A list containing the srcFieldIds.
     */
    @java.lang.Override
    public java.util.List
        getSrcFieldIdsList() {
      return srcFieldIds_;
    }
    /**
     * repeated uint32 src_field_ids = 1;
     * @return The count of srcFieldIds.
     */
    public int getSrcFieldIdsCount() {
      return srcFieldIds_.size();
    }
    /**
     * repeated uint32 src_field_ids = 1;
     * @param index The index of the element to return.
     * @return The srcFieldIds at the given index.
     */
    public int getSrcFieldIds(int index) {
      return srcFieldIds_.getInt(index);
    }
    private int srcFieldIdsMemoizedSerializedSize = -1;

    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 {
      getSerializedSize();
      if (getSrcFieldIdsList().size() > 0) {
        output.writeUInt32NoTag(10);
        output.writeUInt32NoTag(srcFieldIdsMemoizedSerializedSize);
      }
      for (int i = 0; i < srcFieldIds_.size(); i++) {
        output.writeUInt32NoTag(srcFieldIds_.getInt(i));
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      {
        int dataSize = 0;
        for (int i = 0; i < srcFieldIds_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeUInt32SizeNoTag(srcFieldIds_.getInt(i));
        }
        size += dataSize;
        if (!getSrcFieldIdsList().isEmpty()) {
          size += 1;
          size += com.google.protobuf.CodedOutputStream
              .computeInt32SizeNoTag(dataSize);
        }
        srcFieldIdsMemoizedSerializedSize = dataSize;
      }
      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 cz.proto.ingestion.v2.IngestionV2.PartitionSpec)) {
        return super.equals(obj);
      }
      cz.proto.ingestion.v2.IngestionV2.PartitionSpec other = (cz.proto.ingestion.v2.IngestionV2.PartitionSpec) obj;

      if (!getSrcFieldIdsList()
          .equals(other.getSrcFieldIdsList())) 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 (getSrcFieldIdsCount() > 0) {
        hash = (37 * hash) + SRC_FIELD_IDS_FIELD_NUMBER;
        hash = (53 * hash) + getSrcFieldIdsList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static cz.proto.ingestion.v2.IngestionV2.PartitionSpec parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cz.proto.ingestion.v2.IngestionV2.PartitionSpec parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cz.proto.ingestion.v2.IngestionV2.PartitionSpec parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cz.proto.ingestion.v2.IngestionV2.PartitionSpec parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cz.proto.ingestion.v2.IngestionV2.PartitionSpec parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static cz.proto.ingestion.v2.IngestionV2.PartitionSpec parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static cz.proto.ingestion.v2.IngestionV2.PartitionSpec parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static cz.proto.ingestion.v2.IngestionV2.PartitionSpec 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 cz.proto.ingestion.v2.IngestionV2.PartitionSpec parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static cz.proto.ingestion.v2.IngestionV2.PartitionSpec 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 cz.proto.ingestion.v2.IngestionV2.PartitionSpec parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static cz.proto.ingestion.v2.IngestionV2.PartitionSpec 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(cz.proto.ingestion.v2.IngestionV2.PartitionSpec 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 cz.proto.ingestion.v2.PartitionSpec}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.PartitionSpec)
        cz.proto.ingestion.v2.IngestionV2.PartitionSpecOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_PartitionSpec_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_PartitionSpec_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                cz.proto.ingestion.v2.IngestionV2.PartitionSpec.class, cz.proto.ingestion.v2.IngestionV2.PartitionSpec.Builder.class);
      }

      // Construct using cz.proto.ingestion.v2.IngestionV2.PartitionSpec.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        srcFieldIds_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_PartitionSpec_descriptor;
      }

      @java.lang.Override
      public cz.proto.ingestion.v2.IngestionV2.PartitionSpec getDefaultInstanceForType() {
        return cz.proto.ingestion.v2.IngestionV2.PartitionSpec.getDefaultInstance();
      }

      @java.lang.Override
      public cz.proto.ingestion.v2.IngestionV2.PartitionSpec build() {
        cz.proto.ingestion.v2.IngestionV2.PartitionSpec result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public cz.proto.ingestion.v2.IngestionV2.PartitionSpec buildPartial() {
        cz.proto.ingestion.v2.IngestionV2.PartitionSpec result = new cz.proto.ingestion.v2.IngestionV2.PartitionSpec(this);
        int from_bitField0_ = bitField0_;
        if (((bitField0_ & 0x00000001) != 0)) {
          srcFieldIds_.makeImmutable();
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.srcFieldIds_ = srcFieldIds_;
        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 cz.proto.ingestion.v2.IngestionV2.PartitionSpec) {
          return mergeFrom((cz.proto.ingestion.v2.IngestionV2.PartitionSpec)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.PartitionSpec other) {
        if (other == cz.proto.ingestion.v2.IngestionV2.PartitionSpec.getDefaultInstance()) return this;
        if (!other.srcFieldIds_.isEmpty()) {
          if (srcFieldIds_.isEmpty()) {
            srcFieldIds_ = other.srcFieldIds_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureSrcFieldIdsIsMutable();
            srcFieldIds_.addAll(other.srcFieldIds_);
          }
          onChanged();
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

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

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        cz.proto.ingestion.v2.IngestionV2.PartitionSpec parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (cz.proto.ingestion.v2.IngestionV2.PartitionSpec) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private com.google.protobuf.Internal.IntList srcFieldIds_ = emptyIntList();
      private void ensureSrcFieldIdsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          srcFieldIds_ = mutableCopy(srcFieldIds_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * repeated uint32 src_field_ids = 1;
       * @return A list containing the srcFieldIds.
       */
      public java.util.List
          getSrcFieldIdsList() {
        return ((bitField0_ & 0x00000001) != 0) ?
                 java.util.Collections.unmodifiableList(srcFieldIds_) : srcFieldIds_;
      }
      /**
       * repeated uint32 src_field_ids = 1;
       * @return The count of srcFieldIds.
       */
      public int getSrcFieldIdsCount() {
        return srcFieldIds_.size();
      }
      /**
       * repeated uint32 src_field_ids = 1;
       * @param index The index of the element to return.
       * @return The srcFieldIds at the given index.
       */
      public int getSrcFieldIds(int index) {
        return srcFieldIds_.getInt(index);
      }
      /**
       * repeated uint32 src_field_ids = 1;
       * @param index The index to set the value at.
       * @param value The srcFieldIds to set.
       * @return This builder for chaining.
       */
      public Builder setSrcFieldIds(
          int index, int value) {
        ensureSrcFieldIdsIsMutable();
        srcFieldIds_.setInt(index, value);
        onChanged();
        return this;
      }
      /**
       * repeated uint32 src_field_ids = 1;
       * @param value The srcFieldIds to add.
       * @return This builder for chaining.
       */
      public Builder addSrcFieldIds(int value) {
        ensureSrcFieldIdsIsMutable();
        srcFieldIds_.addInt(value);
        onChanged();
        return this;
      }
      /**
       * repeated uint32 src_field_ids = 1;
       * @param values The srcFieldIds to add.
       * @return This builder for chaining.
       */
      public Builder addAllSrcFieldIds(
          java.lang.Iterable values) {
        ensureSrcFieldIdsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, srcFieldIds_);
        onChanged();
        return this;
      }
      /**
       * repeated uint32 src_field_ids = 1;
       * @return This builder for chaining.
       */
      public Builder clearSrcFieldIds() {
        srcFieldIds_ = emptyIntList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

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


      // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.PartitionSpec)
    }

    // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.PartitionSpec)
    private static final cz.proto.ingestion.v2.IngestionV2.PartitionSpec DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.PartitionSpec();
    }

    public static cz.proto.ingestion.v2.IngestionV2.PartitionSpec getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public PartitionSpec parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new PartitionSpec(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 cz.proto.ingestion.v2.IngestionV2.PartitionSpec getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface StreamSchemaOrBuilder extends
      // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.StreamSchema)
      com.google.protobuf.MessageOrBuilder {

    /**
     * repeated .cz.proto.ingestion.v2.DataField data_fields = 1;
     */
    java.util.List 
        getDataFieldsList();
    /**
     * repeated .cz.proto.ingestion.v2.DataField data_fields = 1;
     */
    cz.proto.ingestion.v2.IngestionV2.DataField getDataFields(int index);
    /**
     * repeated .cz.proto.ingestion.v2.DataField data_fields = 1;
     */
    int getDataFieldsCount();
    /**
     * repeated .cz.proto.ingestion.v2.DataField data_fields = 1;
     */
    java.util.List 
        getDataFieldsOrBuilderList();
    /**
     * repeated .cz.proto.ingestion.v2.DataField data_fields = 1;
     */
    cz.proto.ingestion.v2.IngestionV2.DataFieldOrBuilder getDataFieldsOrBuilder(
        int index);

    /**
     * 
     * optional
     * 
* * .cz.proto.ingestion.v2.DistributionSpec dist_spec = 2; * @return Whether the distSpec field is set. */ boolean hasDistSpec(); /** *
     * optional
     * 
* * .cz.proto.ingestion.v2.DistributionSpec dist_spec = 2; * @return The distSpec. */ cz.proto.ingestion.v2.IngestionV2.DistributionSpec getDistSpec(); /** *
     * optional
     * 
* * .cz.proto.ingestion.v2.DistributionSpec dist_spec = 2; */ cz.proto.ingestion.v2.IngestionV2.DistributionSpecOrBuilder getDistSpecOrBuilder(); /** *
     * optional
     * 
* * .cz.proto.ingestion.v2.PrimaryKeySpec primary_key_spec = 3; * @return Whether the primaryKeySpec field is set. */ boolean hasPrimaryKeySpec(); /** *
     * optional
     * 
* * .cz.proto.ingestion.v2.PrimaryKeySpec primary_key_spec = 3; * @return The primaryKeySpec. */ cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec getPrimaryKeySpec(); /** *
     * optional
     * 
* * .cz.proto.ingestion.v2.PrimaryKeySpec primary_key_spec = 3; */ cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpecOrBuilder getPrimaryKeySpecOrBuilder(); /** *
     * optional
     * 
* * .cz.proto.ingestion.v2.PartitionSpec partition_spec = 4; * @return Whether the partitionSpec field is set. */ boolean hasPartitionSpec(); /** *
     * optional
     * 
* * .cz.proto.ingestion.v2.PartitionSpec partition_spec = 4; * @return The partitionSpec. */ cz.proto.ingestion.v2.IngestionV2.PartitionSpec getPartitionSpec(); /** *
     * optional
     * 
* * .cz.proto.ingestion.v2.PartitionSpec partition_spec = 4; */ cz.proto.ingestion.v2.IngestionV2.PartitionSpecOrBuilder getPartitionSpecOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.v2.StreamSchema} */ public static final class StreamSchema extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.StreamSchema) StreamSchemaOrBuilder { private static final long serialVersionUID = 0L; // Use StreamSchema.newBuilder() to construct. private StreamSchema(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StreamSchema() { dataFields_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new StreamSchema(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StreamSchema( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { dataFields_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } dataFields_.add( input.readMessage(cz.proto.ingestion.v2.IngestionV2.DataField.parser(), extensionRegistry)); break; } case 18: { cz.proto.ingestion.v2.IngestionV2.DistributionSpec.Builder subBuilder = null; if (distSpec_ != null) { subBuilder = distSpec_.toBuilder(); } distSpec_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.DistributionSpec.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(distSpec_); distSpec_ = subBuilder.buildPartial(); } break; } case 26: { cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec.Builder subBuilder = null; if (primaryKeySpec_ != null) { subBuilder = primaryKeySpec_.toBuilder(); } primaryKeySpec_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(primaryKeySpec_); primaryKeySpec_ = subBuilder.buildPartial(); } break; } case 34: { cz.proto.ingestion.v2.IngestionV2.PartitionSpec.Builder subBuilder = null; if (partitionSpec_ != null) { subBuilder = partitionSpec_.toBuilder(); } partitionSpec_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.PartitionSpec.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(partitionSpec_); partitionSpec_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { dataFields_ = java.util.Collections.unmodifiableList(dataFields_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_StreamSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_StreamSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.StreamSchema.class, cz.proto.ingestion.v2.IngestionV2.StreamSchema.Builder.class); } public static final int DATA_FIELDS_FIELD_NUMBER = 1; private java.util.List dataFields_; /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 1; */ @java.lang.Override public java.util.List getDataFieldsList() { return dataFields_; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 1; */ @java.lang.Override public java.util.List getDataFieldsOrBuilderList() { return dataFields_; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 1; */ @java.lang.Override public int getDataFieldsCount() { return dataFields_.size(); } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.DataField getDataFields(int index) { return dataFields_.get(index); } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.DataFieldOrBuilder getDataFieldsOrBuilder( int index) { return dataFields_.get(index); } public static final int DIST_SPEC_FIELD_NUMBER = 2; private cz.proto.ingestion.v2.IngestionV2.DistributionSpec distSpec_; /** *
     * optional
     * 
* * .cz.proto.ingestion.v2.DistributionSpec dist_spec = 2; * @return Whether the distSpec field is set. */ @java.lang.Override public boolean hasDistSpec() { return distSpec_ != null; } /** *
     * optional
     * 
* * .cz.proto.ingestion.v2.DistributionSpec dist_spec = 2; * @return The distSpec. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.DistributionSpec getDistSpec() { return distSpec_ == null ? cz.proto.ingestion.v2.IngestionV2.DistributionSpec.getDefaultInstance() : distSpec_; } /** *
     * optional
     * 
* * .cz.proto.ingestion.v2.DistributionSpec dist_spec = 2; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.DistributionSpecOrBuilder getDistSpecOrBuilder() { return getDistSpec(); } public static final int PRIMARY_KEY_SPEC_FIELD_NUMBER = 3; private cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec primaryKeySpec_; /** *
     * optional
     * 
* * .cz.proto.ingestion.v2.PrimaryKeySpec primary_key_spec = 3; * @return Whether the primaryKeySpec field is set. */ @java.lang.Override public boolean hasPrimaryKeySpec() { return primaryKeySpec_ != null; } /** *
     * optional
     * 
* * .cz.proto.ingestion.v2.PrimaryKeySpec primary_key_spec = 3; * @return The primaryKeySpec. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec getPrimaryKeySpec() { return primaryKeySpec_ == null ? cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec.getDefaultInstance() : primaryKeySpec_; } /** *
     * optional
     * 
* * .cz.proto.ingestion.v2.PrimaryKeySpec primary_key_spec = 3; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpecOrBuilder getPrimaryKeySpecOrBuilder() { return getPrimaryKeySpec(); } public static final int PARTITION_SPEC_FIELD_NUMBER = 4; private cz.proto.ingestion.v2.IngestionV2.PartitionSpec partitionSpec_; /** *
     * optional
     * 
* * .cz.proto.ingestion.v2.PartitionSpec partition_spec = 4; * @return Whether the partitionSpec field is set. */ @java.lang.Override public boolean hasPartitionSpec() { return partitionSpec_ != null; } /** *
     * optional
     * 
* * .cz.proto.ingestion.v2.PartitionSpec partition_spec = 4; * @return The partitionSpec. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.PartitionSpec getPartitionSpec() { return partitionSpec_ == null ? cz.proto.ingestion.v2.IngestionV2.PartitionSpec.getDefaultInstance() : partitionSpec_; } /** *
     * optional
     * 
* * .cz.proto.ingestion.v2.PartitionSpec partition_spec = 4; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.PartitionSpecOrBuilder getPartitionSpecOrBuilder() { return getPartitionSpec(); } 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 { for (int i = 0; i < dataFields_.size(); i++) { output.writeMessage(1, dataFields_.get(i)); } if (distSpec_ != null) { output.writeMessage(2, getDistSpec()); } if (primaryKeySpec_ != null) { output.writeMessage(3, getPrimaryKeySpec()); } if (partitionSpec_ != null) { output.writeMessage(4, getPartitionSpec()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < dataFields_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, dataFields_.get(i)); } if (distSpec_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getDistSpec()); } if (primaryKeySpec_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getPrimaryKeySpec()); } if (partitionSpec_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getPartitionSpec()); } 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 cz.proto.ingestion.v2.IngestionV2.StreamSchema)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.StreamSchema other = (cz.proto.ingestion.v2.IngestionV2.StreamSchema) obj; if (!getDataFieldsList() .equals(other.getDataFieldsList())) return false; if (hasDistSpec() != other.hasDistSpec()) return false; if (hasDistSpec()) { if (!getDistSpec() .equals(other.getDistSpec())) return false; } if (hasPrimaryKeySpec() != other.hasPrimaryKeySpec()) return false; if (hasPrimaryKeySpec()) { if (!getPrimaryKeySpec() .equals(other.getPrimaryKeySpec())) return false; } if (hasPartitionSpec() != other.hasPartitionSpec()) return false; if (hasPartitionSpec()) { if (!getPartitionSpec() .equals(other.getPartitionSpec())) 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 (getDataFieldsCount() > 0) { hash = (37 * hash) + DATA_FIELDS_FIELD_NUMBER; hash = (53 * hash) + getDataFieldsList().hashCode(); } if (hasDistSpec()) { hash = (37 * hash) + DIST_SPEC_FIELD_NUMBER; hash = (53 * hash) + getDistSpec().hashCode(); } if (hasPrimaryKeySpec()) { hash = (37 * hash) + PRIMARY_KEY_SPEC_FIELD_NUMBER; hash = (53 * hash) + getPrimaryKeySpec().hashCode(); } if (hasPartitionSpec()) { hash = (37 * hash) + PARTITION_SPEC_FIELD_NUMBER; hash = (53 * hash) + getPartitionSpec().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.StreamSchema parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.StreamSchema parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.StreamSchema parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.StreamSchema parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.StreamSchema parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.StreamSchema parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.StreamSchema parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.StreamSchema 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 cz.proto.ingestion.v2.IngestionV2.StreamSchema parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.StreamSchema 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 cz.proto.ingestion.v2.IngestionV2.StreamSchema parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.StreamSchema 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(cz.proto.ingestion.v2.IngestionV2.StreamSchema 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 cz.proto.ingestion.v2.StreamSchema} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.StreamSchema) cz.proto.ingestion.v2.IngestionV2.StreamSchemaOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_StreamSchema_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_StreamSchema_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.StreamSchema.class, cz.proto.ingestion.v2.IngestionV2.StreamSchema.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.StreamSchema.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDataFieldsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (dataFieldsBuilder_ == null) { dataFields_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { dataFieldsBuilder_.clear(); } if (distSpecBuilder_ == null) { distSpec_ = null; } else { distSpec_ = null; distSpecBuilder_ = null; } if (primaryKeySpecBuilder_ == null) { primaryKeySpec_ = null; } else { primaryKeySpec_ = null; primaryKeySpecBuilder_ = null; } if (partitionSpecBuilder_ == null) { partitionSpec_ = null; } else { partitionSpec_ = null; partitionSpecBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_StreamSchema_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.StreamSchema getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.StreamSchema.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.StreamSchema build() { cz.proto.ingestion.v2.IngestionV2.StreamSchema result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.StreamSchema buildPartial() { cz.proto.ingestion.v2.IngestionV2.StreamSchema result = new cz.proto.ingestion.v2.IngestionV2.StreamSchema(this); int from_bitField0_ = bitField0_; if (dataFieldsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { dataFields_ = java.util.Collections.unmodifiableList(dataFields_); bitField0_ = (bitField0_ & ~0x00000001); } result.dataFields_ = dataFields_; } else { result.dataFields_ = dataFieldsBuilder_.build(); } if (distSpecBuilder_ == null) { result.distSpec_ = distSpec_; } else { result.distSpec_ = distSpecBuilder_.build(); } if (primaryKeySpecBuilder_ == null) { result.primaryKeySpec_ = primaryKeySpec_; } else { result.primaryKeySpec_ = primaryKeySpecBuilder_.build(); } if (partitionSpecBuilder_ == null) { result.partitionSpec_ = partitionSpec_; } else { result.partitionSpec_ = partitionSpecBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.ingestion.v2.IngestionV2.StreamSchema) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.StreamSchema)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.StreamSchema other) { if (other == cz.proto.ingestion.v2.IngestionV2.StreamSchema.getDefaultInstance()) return this; if (dataFieldsBuilder_ == null) { if (!other.dataFields_.isEmpty()) { if (dataFields_.isEmpty()) { dataFields_ = other.dataFields_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDataFieldsIsMutable(); dataFields_.addAll(other.dataFields_); } onChanged(); } } else { if (!other.dataFields_.isEmpty()) { if (dataFieldsBuilder_.isEmpty()) { dataFieldsBuilder_.dispose(); dataFieldsBuilder_ = null; dataFields_ = other.dataFields_; bitField0_ = (bitField0_ & ~0x00000001); dataFieldsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDataFieldsFieldBuilder() : null; } else { dataFieldsBuilder_.addAllMessages(other.dataFields_); } } } if (other.hasDistSpec()) { mergeDistSpec(other.getDistSpec()); } if (other.hasPrimaryKeySpec()) { mergePrimaryKeySpec(other.getPrimaryKeySpec()); } if (other.hasPartitionSpec()) { mergePartitionSpec(other.getPartitionSpec()); } 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 { cz.proto.ingestion.v2.IngestionV2.StreamSchema parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.StreamSchema) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List dataFields_ = java.util.Collections.emptyList(); private void ensureDataFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { dataFields_ = new java.util.ArrayList(dataFields_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.DataField, cz.proto.ingestion.v2.IngestionV2.DataField.Builder, cz.proto.ingestion.v2.IngestionV2.DataFieldOrBuilder> dataFieldsBuilder_; /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 1; */ public java.util.List getDataFieldsList() { if (dataFieldsBuilder_ == null) { return java.util.Collections.unmodifiableList(dataFields_); } else { return dataFieldsBuilder_.getMessageList(); } } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 1; */ public int getDataFieldsCount() { if (dataFieldsBuilder_ == null) { return dataFields_.size(); } else { return dataFieldsBuilder_.getCount(); } } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 1; */ public cz.proto.ingestion.v2.IngestionV2.DataField getDataFields(int index) { if (dataFieldsBuilder_ == null) { return dataFields_.get(index); } else { return dataFieldsBuilder_.getMessage(index); } } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 1; */ public Builder setDataFields( int index, cz.proto.ingestion.v2.IngestionV2.DataField value) { if (dataFieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDataFieldsIsMutable(); dataFields_.set(index, value); onChanged(); } else { dataFieldsBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 1; */ public Builder setDataFields( int index, cz.proto.ingestion.v2.IngestionV2.DataField.Builder builderForValue) { if (dataFieldsBuilder_ == null) { ensureDataFieldsIsMutable(); dataFields_.set(index, builderForValue.build()); onChanged(); } else { dataFieldsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 1; */ public Builder addDataFields(cz.proto.ingestion.v2.IngestionV2.DataField value) { if (dataFieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDataFieldsIsMutable(); dataFields_.add(value); onChanged(); } else { dataFieldsBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 1; */ public Builder addDataFields( int index, cz.proto.ingestion.v2.IngestionV2.DataField value) { if (dataFieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDataFieldsIsMutable(); dataFields_.add(index, value); onChanged(); } else { dataFieldsBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 1; */ public Builder addDataFields( cz.proto.ingestion.v2.IngestionV2.DataField.Builder builderForValue) { if (dataFieldsBuilder_ == null) { ensureDataFieldsIsMutable(); dataFields_.add(builderForValue.build()); onChanged(); } else { dataFieldsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 1; */ public Builder addDataFields( int index, cz.proto.ingestion.v2.IngestionV2.DataField.Builder builderForValue) { if (dataFieldsBuilder_ == null) { ensureDataFieldsIsMutable(); dataFields_.add(index, builderForValue.build()); onChanged(); } else { dataFieldsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 1; */ public Builder addAllDataFields( java.lang.Iterable values) { if (dataFieldsBuilder_ == null) { ensureDataFieldsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, dataFields_); onChanged(); } else { dataFieldsBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 1; */ public Builder clearDataFields() { if (dataFieldsBuilder_ == null) { dataFields_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { dataFieldsBuilder_.clear(); } return this; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 1; */ public Builder removeDataFields(int index) { if (dataFieldsBuilder_ == null) { ensureDataFieldsIsMutable(); dataFields_.remove(index); onChanged(); } else { dataFieldsBuilder_.remove(index); } return this; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 1; */ public cz.proto.ingestion.v2.IngestionV2.DataField.Builder getDataFieldsBuilder( int index) { return getDataFieldsFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 1; */ public cz.proto.ingestion.v2.IngestionV2.DataFieldOrBuilder getDataFieldsOrBuilder( int index) { if (dataFieldsBuilder_ == null) { return dataFields_.get(index); } else { return dataFieldsBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 1; */ public java.util.List getDataFieldsOrBuilderList() { if (dataFieldsBuilder_ != null) { return dataFieldsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(dataFields_); } } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 1; */ public cz.proto.ingestion.v2.IngestionV2.DataField.Builder addDataFieldsBuilder() { return getDataFieldsFieldBuilder().addBuilder( cz.proto.ingestion.v2.IngestionV2.DataField.getDefaultInstance()); } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 1; */ public cz.proto.ingestion.v2.IngestionV2.DataField.Builder addDataFieldsBuilder( int index) { return getDataFieldsFieldBuilder().addBuilder( index, cz.proto.ingestion.v2.IngestionV2.DataField.getDefaultInstance()); } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 1; */ public java.util.List getDataFieldsBuilderList() { return getDataFieldsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.DataField, cz.proto.ingestion.v2.IngestionV2.DataField.Builder, cz.proto.ingestion.v2.IngestionV2.DataFieldOrBuilder> getDataFieldsFieldBuilder() { if (dataFieldsBuilder_ == null) { dataFieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.DataField, cz.proto.ingestion.v2.IngestionV2.DataField.Builder, cz.proto.ingestion.v2.IngestionV2.DataFieldOrBuilder>( dataFields_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); dataFields_ = null; } return dataFieldsBuilder_; } private cz.proto.ingestion.v2.IngestionV2.DistributionSpec distSpec_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.DistributionSpec, cz.proto.ingestion.v2.IngestionV2.DistributionSpec.Builder, cz.proto.ingestion.v2.IngestionV2.DistributionSpecOrBuilder> distSpecBuilder_; /** *
       * optional
       * 
* * .cz.proto.ingestion.v2.DistributionSpec dist_spec = 2; * @return Whether the distSpec field is set. */ public boolean hasDistSpec() { return distSpecBuilder_ != null || distSpec_ != null; } /** *
       * optional
       * 
* * .cz.proto.ingestion.v2.DistributionSpec dist_spec = 2; * @return The distSpec. */ public cz.proto.ingestion.v2.IngestionV2.DistributionSpec getDistSpec() { if (distSpecBuilder_ == null) { return distSpec_ == null ? cz.proto.ingestion.v2.IngestionV2.DistributionSpec.getDefaultInstance() : distSpec_; } else { return distSpecBuilder_.getMessage(); } } /** *
       * optional
       * 
* * .cz.proto.ingestion.v2.DistributionSpec dist_spec = 2; */ public Builder setDistSpec(cz.proto.ingestion.v2.IngestionV2.DistributionSpec value) { if (distSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); } distSpec_ = value; onChanged(); } else { distSpecBuilder_.setMessage(value); } return this; } /** *
       * optional
       * 
* * .cz.proto.ingestion.v2.DistributionSpec dist_spec = 2; */ public Builder setDistSpec( cz.proto.ingestion.v2.IngestionV2.DistributionSpec.Builder builderForValue) { if (distSpecBuilder_ == null) { distSpec_ = builderForValue.build(); onChanged(); } else { distSpecBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * optional
       * 
* * .cz.proto.ingestion.v2.DistributionSpec dist_spec = 2; */ public Builder mergeDistSpec(cz.proto.ingestion.v2.IngestionV2.DistributionSpec value) { if (distSpecBuilder_ == null) { if (distSpec_ != null) { distSpec_ = cz.proto.ingestion.v2.IngestionV2.DistributionSpec.newBuilder(distSpec_).mergeFrom(value).buildPartial(); } else { distSpec_ = value; } onChanged(); } else { distSpecBuilder_.mergeFrom(value); } return this; } /** *
       * optional
       * 
* * .cz.proto.ingestion.v2.DistributionSpec dist_spec = 2; */ public Builder clearDistSpec() { if (distSpecBuilder_ == null) { distSpec_ = null; onChanged(); } else { distSpec_ = null; distSpecBuilder_ = null; } return this; } /** *
       * optional
       * 
* * .cz.proto.ingestion.v2.DistributionSpec dist_spec = 2; */ public cz.proto.ingestion.v2.IngestionV2.DistributionSpec.Builder getDistSpecBuilder() { onChanged(); return getDistSpecFieldBuilder().getBuilder(); } /** *
       * optional
       * 
* * .cz.proto.ingestion.v2.DistributionSpec dist_spec = 2; */ public cz.proto.ingestion.v2.IngestionV2.DistributionSpecOrBuilder getDistSpecOrBuilder() { if (distSpecBuilder_ != null) { return distSpecBuilder_.getMessageOrBuilder(); } else { return distSpec_ == null ? cz.proto.ingestion.v2.IngestionV2.DistributionSpec.getDefaultInstance() : distSpec_; } } /** *
       * optional
       * 
* * .cz.proto.ingestion.v2.DistributionSpec dist_spec = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.DistributionSpec, cz.proto.ingestion.v2.IngestionV2.DistributionSpec.Builder, cz.proto.ingestion.v2.IngestionV2.DistributionSpecOrBuilder> getDistSpecFieldBuilder() { if (distSpecBuilder_ == null) { distSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.DistributionSpec, cz.proto.ingestion.v2.IngestionV2.DistributionSpec.Builder, cz.proto.ingestion.v2.IngestionV2.DistributionSpecOrBuilder>( getDistSpec(), getParentForChildren(), isClean()); distSpec_ = null; } return distSpecBuilder_; } private cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec primaryKeySpec_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec, cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec.Builder, cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpecOrBuilder> primaryKeySpecBuilder_; /** *
       * optional
       * 
* * .cz.proto.ingestion.v2.PrimaryKeySpec primary_key_spec = 3; * @return Whether the primaryKeySpec field is set. */ public boolean hasPrimaryKeySpec() { return primaryKeySpecBuilder_ != null || primaryKeySpec_ != null; } /** *
       * optional
       * 
* * .cz.proto.ingestion.v2.PrimaryKeySpec primary_key_spec = 3; * @return The primaryKeySpec. */ public cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec getPrimaryKeySpec() { if (primaryKeySpecBuilder_ == null) { return primaryKeySpec_ == null ? cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec.getDefaultInstance() : primaryKeySpec_; } else { return primaryKeySpecBuilder_.getMessage(); } } /** *
       * optional
       * 
* * .cz.proto.ingestion.v2.PrimaryKeySpec primary_key_spec = 3; */ public Builder setPrimaryKeySpec(cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec value) { if (primaryKeySpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); } primaryKeySpec_ = value; onChanged(); } else { primaryKeySpecBuilder_.setMessage(value); } return this; } /** *
       * optional
       * 
* * .cz.proto.ingestion.v2.PrimaryKeySpec primary_key_spec = 3; */ public Builder setPrimaryKeySpec( cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec.Builder builderForValue) { if (primaryKeySpecBuilder_ == null) { primaryKeySpec_ = builderForValue.build(); onChanged(); } else { primaryKeySpecBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * optional
       * 
* * .cz.proto.ingestion.v2.PrimaryKeySpec primary_key_spec = 3; */ public Builder mergePrimaryKeySpec(cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec value) { if (primaryKeySpecBuilder_ == null) { if (primaryKeySpec_ != null) { primaryKeySpec_ = cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec.newBuilder(primaryKeySpec_).mergeFrom(value).buildPartial(); } else { primaryKeySpec_ = value; } onChanged(); } else { primaryKeySpecBuilder_.mergeFrom(value); } return this; } /** *
       * optional
       * 
* * .cz.proto.ingestion.v2.PrimaryKeySpec primary_key_spec = 3; */ public Builder clearPrimaryKeySpec() { if (primaryKeySpecBuilder_ == null) { primaryKeySpec_ = null; onChanged(); } else { primaryKeySpec_ = null; primaryKeySpecBuilder_ = null; } return this; } /** *
       * optional
       * 
* * .cz.proto.ingestion.v2.PrimaryKeySpec primary_key_spec = 3; */ public cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec.Builder getPrimaryKeySpecBuilder() { onChanged(); return getPrimaryKeySpecFieldBuilder().getBuilder(); } /** *
       * optional
       * 
* * .cz.proto.ingestion.v2.PrimaryKeySpec primary_key_spec = 3; */ public cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpecOrBuilder getPrimaryKeySpecOrBuilder() { if (primaryKeySpecBuilder_ != null) { return primaryKeySpecBuilder_.getMessageOrBuilder(); } else { return primaryKeySpec_ == null ? cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec.getDefaultInstance() : primaryKeySpec_; } } /** *
       * optional
       * 
* * .cz.proto.ingestion.v2.PrimaryKeySpec primary_key_spec = 3; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec, cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec.Builder, cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpecOrBuilder> getPrimaryKeySpecFieldBuilder() { if (primaryKeySpecBuilder_ == null) { primaryKeySpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec, cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpec.Builder, cz.proto.ingestion.v2.IngestionV2.PrimaryKeySpecOrBuilder>( getPrimaryKeySpec(), getParentForChildren(), isClean()); primaryKeySpec_ = null; } return primaryKeySpecBuilder_; } private cz.proto.ingestion.v2.IngestionV2.PartitionSpec partitionSpec_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.PartitionSpec, cz.proto.ingestion.v2.IngestionV2.PartitionSpec.Builder, cz.proto.ingestion.v2.IngestionV2.PartitionSpecOrBuilder> partitionSpecBuilder_; /** *
       * optional
       * 
* * .cz.proto.ingestion.v2.PartitionSpec partition_spec = 4; * @return Whether the partitionSpec field is set. */ public boolean hasPartitionSpec() { return partitionSpecBuilder_ != null || partitionSpec_ != null; } /** *
       * optional
       * 
* * .cz.proto.ingestion.v2.PartitionSpec partition_spec = 4; * @return The partitionSpec. */ public cz.proto.ingestion.v2.IngestionV2.PartitionSpec getPartitionSpec() { if (partitionSpecBuilder_ == null) { return partitionSpec_ == null ? cz.proto.ingestion.v2.IngestionV2.PartitionSpec.getDefaultInstance() : partitionSpec_; } else { return partitionSpecBuilder_.getMessage(); } } /** *
       * optional
       * 
* * .cz.proto.ingestion.v2.PartitionSpec partition_spec = 4; */ public Builder setPartitionSpec(cz.proto.ingestion.v2.IngestionV2.PartitionSpec value) { if (partitionSpecBuilder_ == null) { if (value == null) { throw new NullPointerException(); } partitionSpec_ = value; onChanged(); } else { partitionSpecBuilder_.setMessage(value); } return this; } /** *
       * optional
       * 
* * .cz.proto.ingestion.v2.PartitionSpec partition_spec = 4; */ public Builder setPartitionSpec( cz.proto.ingestion.v2.IngestionV2.PartitionSpec.Builder builderForValue) { if (partitionSpecBuilder_ == null) { partitionSpec_ = builderForValue.build(); onChanged(); } else { partitionSpecBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * optional
       * 
* * .cz.proto.ingestion.v2.PartitionSpec partition_spec = 4; */ public Builder mergePartitionSpec(cz.proto.ingestion.v2.IngestionV2.PartitionSpec value) { if (partitionSpecBuilder_ == null) { if (partitionSpec_ != null) { partitionSpec_ = cz.proto.ingestion.v2.IngestionV2.PartitionSpec.newBuilder(partitionSpec_).mergeFrom(value).buildPartial(); } else { partitionSpec_ = value; } onChanged(); } else { partitionSpecBuilder_.mergeFrom(value); } return this; } /** *
       * optional
       * 
* * .cz.proto.ingestion.v2.PartitionSpec partition_spec = 4; */ public Builder clearPartitionSpec() { if (partitionSpecBuilder_ == null) { partitionSpec_ = null; onChanged(); } else { partitionSpec_ = null; partitionSpecBuilder_ = null; } return this; } /** *
       * optional
       * 
* * .cz.proto.ingestion.v2.PartitionSpec partition_spec = 4; */ public cz.proto.ingestion.v2.IngestionV2.PartitionSpec.Builder getPartitionSpecBuilder() { onChanged(); return getPartitionSpecFieldBuilder().getBuilder(); } /** *
       * optional
       * 
* * .cz.proto.ingestion.v2.PartitionSpec partition_spec = 4; */ public cz.proto.ingestion.v2.IngestionV2.PartitionSpecOrBuilder getPartitionSpecOrBuilder() { if (partitionSpecBuilder_ != null) { return partitionSpecBuilder_.getMessageOrBuilder(); } else { return partitionSpec_ == null ? cz.proto.ingestion.v2.IngestionV2.PartitionSpec.getDefaultInstance() : partitionSpec_; } } /** *
       * optional
       * 
* * .cz.proto.ingestion.v2.PartitionSpec partition_spec = 4; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.PartitionSpec, cz.proto.ingestion.v2.IngestionV2.PartitionSpec.Builder, cz.proto.ingestion.v2.IngestionV2.PartitionSpecOrBuilder> getPartitionSpecFieldBuilder() { if (partitionSpecBuilder_ == null) { partitionSpecBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.PartitionSpec, cz.proto.ingestion.v2.IngestionV2.PartitionSpec.Builder, cz.proto.ingestion.v2.IngestionV2.PartitionSpecOrBuilder>( getPartitionSpec(), getParentForChildren(), isClean()); partitionSpec_ = null; } return partitionSpecBuilder_; } @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:cz.proto.ingestion.v2.StreamSchema) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.StreamSchema) private static final cz.proto.ingestion.v2.IngestionV2.StreamSchema DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.StreamSchema(); } public static cz.proto.ingestion.v2.IngestionV2.StreamSchema getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public StreamSchema parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new StreamSchema(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 cz.proto.ingestion.v2.IngestionV2.StreamSchema getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CreateOrGetStreamRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.CreateOrGetStreamRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ cz.proto.ingestion.v2.IngestionV2.Account getAccount(); /** * .cz.proto.ingestion.v2.Account account = 1; */ cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder(); /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; * @return Whether the tableIdent field is set. */ boolean hasTableIdent(); /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; * @return The tableIdent. */ cz.proto.ingestion.v2.IngestionV2.TableIdentifier getTableIdent(); /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getTableIdentOrBuilder(); /** * uint32 num_tablets = 3; * @return The numTablets. */ int getNumTablets(); } /** * Protobuf type {@code cz.proto.ingestion.v2.CreateOrGetStreamRequest} */ public static final class CreateOrGetStreamRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.CreateOrGetStreamRequest) CreateOrGetStreamRequestOrBuilder { private static final long serialVersionUID = 0L; // Use CreateOrGetStreamRequest.newBuilder() to construct. private CreateOrGetStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CreateOrGetStreamRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CreateOrGetStreamRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CreateOrGetStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder subBuilder = null; if (tableIdent_ != null) { subBuilder = tableIdent_.toBuilder(); } tableIdent_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.TableIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(tableIdent_); tableIdent_ = subBuilder.buildPartial(); } break; } case 24: { numTablets_ = input.readUInt32(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CreateOrGetStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CreateOrGetStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest.class, cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.Account account_; /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.Account getAccount() { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } /** * .cz.proto.ingestion.v2.Account account = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int TABLE_IDENT_FIELD_NUMBER = 2; private cz.proto.ingestion.v2.IngestionV2.TableIdentifier tableIdent_; /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; * @return Whether the tableIdent field is set. */ @java.lang.Override public boolean hasTableIdent() { return tableIdent_ != null; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; * @return The tableIdent. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TableIdentifier getTableIdent() { return tableIdent_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : tableIdent_; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getTableIdentOrBuilder() { return getTableIdent(); } public static final int NUM_TABLETS_FIELD_NUMBER = 3; private int numTablets_; /** * uint32 num_tablets = 3; * @return The numTablets. */ @java.lang.Override public int getNumTablets() { return numTablets_; } 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 (account_ != null) { output.writeMessage(1, getAccount()); } if (tableIdent_ != null) { output.writeMessage(2, getTableIdent()); } if (numTablets_ != 0) { output.writeUInt32(3, numTablets_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAccount()); } if (tableIdent_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getTableIdent()); } if (numTablets_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(3, numTablets_); } 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 cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest other = (cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (hasTableIdent() != other.hasTableIdent()) return false; if (hasTableIdent()) { if (!getTableIdent() .equals(other.getTableIdent())) return false; } if (getNumTablets() != other.getNumTablets()) 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 (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } if (hasTableIdent()) { hash = (37 * hash) + TABLE_IDENT_FIELD_NUMBER; hash = (53 * hash) + getTableIdent().hashCode(); } hash = (37 * hash) + NUM_TABLETS_FIELD_NUMBER; hash = (53 * hash) + getNumTablets(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest 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 cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest 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 cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest 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(cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest 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 cz.proto.ingestion.v2.CreateOrGetStreamRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.CreateOrGetStreamRequest) cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CreateOrGetStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CreateOrGetStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest.class, cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } if (tableIdentBuilder_ == null) { tableIdent_ = null; } else { tableIdent_ = null; tableIdentBuilder_ = null; } numTablets_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CreateOrGetStreamRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest build() { cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest buildPartial() { cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest result = new cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest(this); if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } if (tableIdentBuilder_ == null) { result.tableIdent_ = tableIdent_; } else { result.tableIdent_ = tableIdentBuilder_.build(); } result.numTablets_ = numTablets_; 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 cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest other) { if (other == cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (other.hasTableIdent()) { mergeTableIdent(other.getTableIdent()); } if (other.getNumTablets() != 0) { setNumTablets(other.getNumTablets()); } 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 { cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.v2.IngestionV2.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder> accountBuilder_; /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ public cz.proto.ingestion.v2.IngestionV2.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder setAccount(cz.proto.ingestion.v2.IngestionV2.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder setAccount( cz.proto.ingestion.v2.IngestionV2.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder mergeAccount(cz.proto.ingestion.v2.IngestionV2.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.ingestion.v2.IngestionV2.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public cz.proto.ingestion.v2.IngestionV2.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.Account account = 1; */ public cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } } /** * .cz.proto.ingestion.v2.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private cz.proto.ingestion.v2.IngestionV2.TableIdentifier tableIdent_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder> tableIdentBuilder_; /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; * @return Whether the tableIdent field is set. */ public boolean hasTableIdent() { return tableIdentBuilder_ != null || tableIdent_ != null; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; * @return The tableIdent. */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier getTableIdent() { if (tableIdentBuilder_ == null) { return tableIdent_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : tableIdent_; } else { return tableIdentBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public Builder setTableIdent(cz.proto.ingestion.v2.IngestionV2.TableIdentifier value) { if (tableIdentBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tableIdent_ = value; onChanged(); } else { tableIdentBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public Builder setTableIdent( cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder builderForValue) { if (tableIdentBuilder_ == null) { tableIdent_ = builderForValue.build(); onChanged(); } else { tableIdentBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public Builder mergeTableIdent(cz.proto.ingestion.v2.IngestionV2.TableIdentifier value) { if (tableIdentBuilder_ == null) { if (tableIdent_ != null) { tableIdent_ = cz.proto.ingestion.v2.IngestionV2.TableIdentifier.newBuilder(tableIdent_).mergeFrom(value).buildPartial(); } else { tableIdent_ = value; } onChanged(); } else { tableIdentBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public Builder clearTableIdent() { if (tableIdentBuilder_ == null) { tableIdent_ = null; onChanged(); } else { tableIdent_ = null; tableIdentBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder getTableIdentBuilder() { onChanged(); return getTableIdentFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getTableIdentOrBuilder() { if (tableIdentBuilder_ != null) { return tableIdentBuilder_.getMessageOrBuilder(); } else { return tableIdent_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : tableIdent_; } } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder> getTableIdentFieldBuilder() { if (tableIdentBuilder_ == null) { tableIdentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder>( getTableIdent(), getParentForChildren(), isClean()); tableIdent_ = null; } return tableIdentBuilder_; } private int numTablets_ ; /** * uint32 num_tablets = 3; * @return The numTablets. */ @java.lang.Override public int getNumTablets() { return numTablets_; } /** * uint32 num_tablets = 3; * @param value The numTablets to set. * @return This builder for chaining. */ public Builder setNumTablets(int value) { numTablets_ = value; onChanged(); return this; } /** * uint32 num_tablets = 3; * @return This builder for chaining. */ public Builder clearNumTablets() { numTablets_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.CreateOrGetStreamRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.CreateOrGetStreamRequest) private static final cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest(); } public static cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CreateOrGetStreamRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CreateOrGetStreamRequest(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 cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CreateOrGetStreamResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.CreateOrGetStreamResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; * @return Whether the tableIdent field is set. */ boolean hasTableIdent(); /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; * @return The tableIdent. */ cz.proto.ingestion.v2.IngestionV2.TableIdentifier getTableIdent(); /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; */ cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getTableIdentOrBuilder(); /** * .cz.proto.ingestion.v2.StreamSchema data_schema = 2; * @return Whether the dataSchema field is set. */ boolean hasDataSchema(); /** * .cz.proto.ingestion.v2.StreamSchema data_schema = 2; * @return The dataSchema. */ cz.proto.ingestion.v2.IngestionV2.StreamSchema getDataSchema(); /** * .cz.proto.ingestion.v2.StreamSchema data_schema = 2; */ cz.proto.ingestion.v2.IngestionV2.StreamSchemaOrBuilder getDataSchemaOrBuilder(); /** * bool already_exists = 3; * @return The alreadyExists. */ boolean getAlreadyExists(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 4; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 4; * @return The status. */ cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 4; */ cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder(); /** * bool require_commit = 5; * @return The requireCommit. */ boolean getRequireCommit(); } /** * Protobuf type {@code cz.proto.ingestion.v2.CreateOrGetStreamResponse} */ public static final class CreateOrGetStreamResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.CreateOrGetStreamResponse) CreateOrGetStreamResponseOrBuilder { private static final long serialVersionUID = 0L; // Use CreateOrGetStreamResponse.newBuilder() to construct. private CreateOrGetStreamResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CreateOrGetStreamResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CreateOrGetStreamResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CreateOrGetStreamResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder subBuilder = null; if (tableIdent_ != null) { subBuilder = tableIdent_.toBuilder(); } tableIdent_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.TableIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(tableIdent_); tableIdent_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.ingestion.v2.IngestionV2.StreamSchema.Builder subBuilder = null; if (dataSchema_ != null) { subBuilder = dataSchema_.toBuilder(); } dataSchema_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.StreamSchema.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(dataSchema_); dataSchema_ = subBuilder.buildPartial(); } break; } case 24: { alreadyExists_ = input.readBool(); break; } case 34: { cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(status_); status_ = subBuilder.buildPartial(); } break; } case 40: { requireCommit_ = input.readBool(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CreateOrGetStreamResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CreateOrGetStreamResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse.class, cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse.Builder.class); } public static final int TABLE_IDENT_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.TableIdentifier tableIdent_; /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; * @return Whether the tableIdent field is set. */ @java.lang.Override public boolean hasTableIdent() { return tableIdent_ != null; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; * @return The tableIdent. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TableIdentifier getTableIdent() { return tableIdent_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : tableIdent_; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getTableIdentOrBuilder() { return getTableIdent(); } public static final int DATA_SCHEMA_FIELD_NUMBER = 2; private cz.proto.ingestion.v2.IngestionV2.StreamSchema dataSchema_; /** * .cz.proto.ingestion.v2.StreamSchema data_schema = 2; * @return Whether the dataSchema field is set. */ @java.lang.Override public boolean hasDataSchema() { return dataSchema_ != null; } /** * .cz.proto.ingestion.v2.StreamSchema data_schema = 2; * @return The dataSchema. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.StreamSchema getDataSchema() { return dataSchema_ == null ? cz.proto.ingestion.v2.IngestionV2.StreamSchema.getDefaultInstance() : dataSchema_; } /** * .cz.proto.ingestion.v2.StreamSchema data_schema = 2; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.StreamSchemaOrBuilder getDataSchemaOrBuilder() { return getDataSchema(); } public static final int ALREADY_EXISTS_FIELD_NUMBER = 3; private boolean alreadyExists_; /** * bool already_exists = 3; * @return The alreadyExists. */ @java.lang.Override public boolean getAlreadyExists() { return alreadyExists_; } public static final int STATUS_FIELD_NUMBER = 4; private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 4; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 4; * @return The status. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 4; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { return getStatus(); } public static final int REQUIRE_COMMIT_FIELD_NUMBER = 5; private boolean requireCommit_; /** * bool require_commit = 5; * @return The requireCommit. */ @java.lang.Override public boolean getRequireCommit() { return requireCommit_; } 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 (tableIdent_ != null) { output.writeMessage(1, getTableIdent()); } if (dataSchema_ != null) { output.writeMessage(2, getDataSchema()); } if (alreadyExists_ != false) { output.writeBool(3, alreadyExists_); } if (status_ != null) { output.writeMessage(4, getStatus()); } if (requireCommit_ != false) { output.writeBool(5, requireCommit_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (tableIdent_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getTableIdent()); } if (dataSchema_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getDataSchema()); } if (alreadyExists_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, alreadyExists_); } if (status_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getStatus()); } if (requireCommit_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, requireCommit_); } 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 cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse other = (cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse) obj; if (hasTableIdent() != other.hasTableIdent()) return false; if (hasTableIdent()) { if (!getTableIdent() .equals(other.getTableIdent())) return false; } if (hasDataSchema() != other.hasDataSchema()) return false; if (hasDataSchema()) { if (!getDataSchema() .equals(other.getDataSchema())) return false; } if (getAlreadyExists() != other.getAlreadyExists()) return false; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) return false; } if (getRequireCommit() != other.getRequireCommit()) 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 (hasTableIdent()) { hash = (37 * hash) + TABLE_IDENT_FIELD_NUMBER; hash = (53 * hash) + getTableIdent().hashCode(); } if (hasDataSchema()) { hash = (37 * hash) + DATA_SCHEMA_FIELD_NUMBER; hash = (53 * hash) + getDataSchema().hashCode(); } hash = (37 * hash) + ALREADY_EXISTS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getAlreadyExists()); if (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } hash = (37 * hash) + REQUIRE_COMMIT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getRequireCommit()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse 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 cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse 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 cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse 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(cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse 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 cz.proto.ingestion.v2.CreateOrGetStreamResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.CreateOrGetStreamResponse) cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CreateOrGetStreamResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CreateOrGetStreamResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse.class, cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (tableIdentBuilder_ == null) { tableIdent_ = null; } else { tableIdent_ = null; tableIdentBuilder_ = null; } if (dataSchemaBuilder_ == null) { dataSchema_ = null; } else { dataSchema_ = null; dataSchemaBuilder_ = null; } alreadyExists_ = false; if (statusBuilder_ == null) { status_ = null; } else { status_ = null; statusBuilder_ = null; } requireCommit_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CreateOrGetStreamResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse build() { cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse buildPartial() { cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse result = new cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse(this); if (tableIdentBuilder_ == null) { result.tableIdent_ = tableIdent_; } else { result.tableIdent_ = tableIdentBuilder_.build(); } if (dataSchemaBuilder_ == null) { result.dataSchema_ = dataSchema_; } else { result.dataSchema_ = dataSchemaBuilder_.build(); } result.alreadyExists_ = alreadyExists_; if (statusBuilder_ == null) { result.status_ = status_; } else { result.status_ = statusBuilder_.build(); } result.requireCommit_ = requireCommit_; 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 cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse other) { if (other == cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse.getDefaultInstance()) return this; if (other.hasTableIdent()) { mergeTableIdent(other.getTableIdent()); } if (other.hasDataSchema()) { mergeDataSchema(other.getDataSchema()); } if (other.getAlreadyExists() != false) { setAlreadyExists(other.getAlreadyExists()); } if (other.hasStatus()) { mergeStatus(other.getStatus()); } if (other.getRequireCommit() != false) { setRequireCommit(other.getRequireCommit()); } 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 { cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.v2.IngestionV2.TableIdentifier tableIdent_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder> tableIdentBuilder_; /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; * @return Whether the tableIdent field is set. */ public boolean hasTableIdent() { return tableIdentBuilder_ != null || tableIdent_ != null; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; * @return The tableIdent. */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier getTableIdent() { if (tableIdentBuilder_ == null) { return tableIdent_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : tableIdent_; } else { return tableIdentBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; */ public Builder setTableIdent(cz.proto.ingestion.v2.IngestionV2.TableIdentifier value) { if (tableIdentBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tableIdent_ = value; onChanged(); } else { tableIdentBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; */ public Builder setTableIdent( cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder builderForValue) { if (tableIdentBuilder_ == null) { tableIdent_ = builderForValue.build(); onChanged(); } else { tableIdentBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; */ public Builder mergeTableIdent(cz.proto.ingestion.v2.IngestionV2.TableIdentifier value) { if (tableIdentBuilder_ == null) { if (tableIdent_ != null) { tableIdent_ = cz.proto.ingestion.v2.IngestionV2.TableIdentifier.newBuilder(tableIdent_).mergeFrom(value).buildPartial(); } else { tableIdent_ = value; } onChanged(); } else { tableIdentBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; */ public Builder clearTableIdent() { if (tableIdentBuilder_ == null) { tableIdent_ = null; onChanged(); } else { tableIdent_ = null; tableIdentBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder getTableIdentBuilder() { onChanged(); return getTableIdentFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getTableIdentOrBuilder() { if (tableIdentBuilder_ != null) { return tableIdentBuilder_.getMessageOrBuilder(); } else { return tableIdent_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : tableIdent_; } } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder> getTableIdentFieldBuilder() { if (tableIdentBuilder_ == null) { tableIdentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder>( getTableIdent(), getParentForChildren(), isClean()); tableIdent_ = null; } return tableIdentBuilder_; } private cz.proto.ingestion.v2.IngestionV2.StreamSchema dataSchema_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.StreamSchema, cz.proto.ingestion.v2.IngestionV2.StreamSchema.Builder, cz.proto.ingestion.v2.IngestionV2.StreamSchemaOrBuilder> dataSchemaBuilder_; /** * .cz.proto.ingestion.v2.StreamSchema data_schema = 2; * @return Whether the dataSchema field is set. */ public boolean hasDataSchema() { return dataSchemaBuilder_ != null || dataSchema_ != null; } /** * .cz.proto.ingestion.v2.StreamSchema data_schema = 2; * @return The dataSchema. */ public cz.proto.ingestion.v2.IngestionV2.StreamSchema getDataSchema() { if (dataSchemaBuilder_ == null) { return dataSchema_ == null ? cz.proto.ingestion.v2.IngestionV2.StreamSchema.getDefaultInstance() : dataSchema_; } else { return dataSchemaBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.StreamSchema data_schema = 2; */ public Builder setDataSchema(cz.proto.ingestion.v2.IngestionV2.StreamSchema value) { if (dataSchemaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } dataSchema_ = value; onChanged(); } else { dataSchemaBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.StreamSchema data_schema = 2; */ public Builder setDataSchema( cz.proto.ingestion.v2.IngestionV2.StreamSchema.Builder builderForValue) { if (dataSchemaBuilder_ == null) { dataSchema_ = builderForValue.build(); onChanged(); } else { dataSchemaBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.StreamSchema data_schema = 2; */ public Builder mergeDataSchema(cz.proto.ingestion.v2.IngestionV2.StreamSchema value) { if (dataSchemaBuilder_ == null) { if (dataSchema_ != null) { dataSchema_ = cz.proto.ingestion.v2.IngestionV2.StreamSchema.newBuilder(dataSchema_).mergeFrom(value).buildPartial(); } else { dataSchema_ = value; } onChanged(); } else { dataSchemaBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.StreamSchema data_schema = 2; */ public Builder clearDataSchema() { if (dataSchemaBuilder_ == null) { dataSchema_ = null; onChanged(); } else { dataSchema_ = null; dataSchemaBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.StreamSchema data_schema = 2; */ public cz.proto.ingestion.v2.IngestionV2.StreamSchema.Builder getDataSchemaBuilder() { onChanged(); return getDataSchemaFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.StreamSchema data_schema = 2; */ public cz.proto.ingestion.v2.IngestionV2.StreamSchemaOrBuilder getDataSchemaOrBuilder() { if (dataSchemaBuilder_ != null) { return dataSchemaBuilder_.getMessageOrBuilder(); } else { return dataSchema_ == null ? cz.proto.ingestion.v2.IngestionV2.StreamSchema.getDefaultInstance() : dataSchema_; } } /** * .cz.proto.ingestion.v2.StreamSchema data_schema = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.StreamSchema, cz.proto.ingestion.v2.IngestionV2.StreamSchema.Builder, cz.proto.ingestion.v2.IngestionV2.StreamSchemaOrBuilder> getDataSchemaFieldBuilder() { if (dataSchemaBuilder_ == null) { dataSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.StreamSchema, cz.proto.ingestion.v2.IngestionV2.StreamSchema.Builder, cz.proto.ingestion.v2.IngestionV2.StreamSchemaOrBuilder>( getDataSchema(), getParentForChildren(), isClean()); dataSchema_ = null; } return dataSchemaBuilder_; } private boolean alreadyExists_ ; /** * bool already_exists = 3; * @return The alreadyExists. */ @java.lang.Override public boolean getAlreadyExists() { return alreadyExists_; } /** * bool already_exists = 3; * @param value The alreadyExists to set. * @return This builder for chaining. */ public Builder setAlreadyExists(boolean value) { alreadyExists_ = value; onChanged(); return this; } /** * bool already_exists = 3; * @return This builder for chaining. */ public Builder clearAlreadyExists() { alreadyExists_ = false; onChanged(); return this; } private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 4; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 4; * @return The status. */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 4; */ public Builder setStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 4; */ public Builder setStatus( cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 4; */ public Builder mergeStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.v2.IngestionV2.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 4; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 4; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.ResponseStatus status = 4; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 4; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder>( getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } private boolean requireCommit_ ; /** * bool require_commit = 5; * @return The requireCommit. */ @java.lang.Override public boolean getRequireCommit() { return requireCommit_; } /** * bool require_commit = 5; * @param value The requireCommit to set. * @return This builder for chaining. */ public Builder setRequireCommit(boolean value) { requireCommit_ = value; onChanged(); return this; } /** * bool require_commit = 5; * @return This builder for chaining. */ public Builder clearRequireCommit() { requireCommit_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.CreateOrGetStreamResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.CreateOrGetStreamResponse) private static final cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse(); } public static cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CreateOrGetStreamResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CreateOrGetStreamResponse(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 cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CloseStreamRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.CloseStreamRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ cz.proto.ingestion.v2.IngestionV2.Account getAccount(); /** * .cz.proto.ingestion.v2.Account account = 1; */ cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder(); /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; * @return Whether the tableIdent field is set. */ boolean hasTableIdent(); /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; * @return The tableIdent. */ cz.proto.ingestion.v2.IngestionV2.TableIdentifier getTableIdent(); /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getTableIdentOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.v2.CloseStreamRequest} */ public static final class CloseStreamRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.CloseStreamRequest) CloseStreamRequestOrBuilder { private static final long serialVersionUID = 0L; // Use CloseStreamRequest.newBuilder() to construct. private CloseStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CloseStreamRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CloseStreamRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CloseStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder subBuilder = null; if (tableIdent_ != null) { subBuilder = tableIdent_.toBuilder(); } tableIdent_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.TableIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(tableIdent_); tableIdent_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CloseStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CloseStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest.class, cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.Account account_; /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.Account getAccount() { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } /** * .cz.proto.ingestion.v2.Account account = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int TABLE_IDENT_FIELD_NUMBER = 2; private cz.proto.ingestion.v2.IngestionV2.TableIdentifier tableIdent_; /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; * @return Whether the tableIdent field is set. */ @java.lang.Override public boolean hasTableIdent() { return tableIdent_ != null; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; * @return The tableIdent. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TableIdentifier getTableIdent() { return tableIdent_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : tableIdent_; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getTableIdentOrBuilder() { return getTableIdent(); } 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 (account_ != null) { output.writeMessage(1, getAccount()); } if (tableIdent_ != null) { output.writeMessage(2, getTableIdent()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAccount()); } if (tableIdent_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getTableIdent()); } 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 cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest other = (cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (hasTableIdent() != other.hasTableIdent()) return false; if (hasTableIdent()) { if (!getTableIdent() .equals(other.getTableIdent())) 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 (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } if (hasTableIdent()) { hash = (37 * hash) + TABLE_IDENT_FIELD_NUMBER; hash = (53 * hash) + getTableIdent().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest 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 cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest 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 cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest 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(cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest 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 cz.proto.ingestion.v2.CloseStreamRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.CloseStreamRequest) cz.proto.ingestion.v2.IngestionV2.CloseStreamRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CloseStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CloseStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest.class, cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } if (tableIdentBuilder_ == null) { tableIdent_ = null; } else { tableIdent_ = null; tableIdentBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CloseStreamRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest build() { cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest buildPartial() { cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest result = new cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest(this); if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } if (tableIdentBuilder_ == null) { result.tableIdent_ = tableIdent_; } else { result.tableIdent_ = tableIdentBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest other) { if (other == cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (other.hasTableIdent()) { mergeTableIdent(other.getTableIdent()); } 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 { cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.v2.IngestionV2.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder> accountBuilder_; /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ public cz.proto.ingestion.v2.IngestionV2.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder setAccount(cz.proto.ingestion.v2.IngestionV2.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder setAccount( cz.proto.ingestion.v2.IngestionV2.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder mergeAccount(cz.proto.ingestion.v2.IngestionV2.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.ingestion.v2.IngestionV2.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public cz.proto.ingestion.v2.IngestionV2.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.Account account = 1; */ public cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } } /** * .cz.proto.ingestion.v2.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private cz.proto.ingestion.v2.IngestionV2.TableIdentifier tableIdent_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder> tableIdentBuilder_; /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; * @return Whether the tableIdent field is set. */ public boolean hasTableIdent() { return tableIdentBuilder_ != null || tableIdent_ != null; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; * @return The tableIdent. */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier getTableIdent() { if (tableIdentBuilder_ == null) { return tableIdent_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : tableIdent_; } else { return tableIdentBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public Builder setTableIdent(cz.proto.ingestion.v2.IngestionV2.TableIdentifier value) { if (tableIdentBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tableIdent_ = value; onChanged(); } else { tableIdentBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public Builder setTableIdent( cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder builderForValue) { if (tableIdentBuilder_ == null) { tableIdent_ = builderForValue.build(); onChanged(); } else { tableIdentBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public Builder mergeTableIdent(cz.proto.ingestion.v2.IngestionV2.TableIdentifier value) { if (tableIdentBuilder_ == null) { if (tableIdent_ != null) { tableIdent_ = cz.proto.ingestion.v2.IngestionV2.TableIdentifier.newBuilder(tableIdent_).mergeFrom(value).buildPartial(); } else { tableIdent_ = value; } onChanged(); } else { tableIdentBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public Builder clearTableIdent() { if (tableIdentBuilder_ == null) { tableIdent_ = null; onChanged(); } else { tableIdent_ = null; tableIdentBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder getTableIdentBuilder() { onChanged(); return getTableIdentFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getTableIdentOrBuilder() { if (tableIdentBuilder_ != null) { return tableIdentBuilder_.getMessageOrBuilder(); } else { return tableIdent_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : tableIdent_; } } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder> getTableIdentFieldBuilder() { if (tableIdentBuilder_ == null) { tableIdentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder>( getTableIdent(), getParentForChildren(), isClean()); tableIdent_ = null; } return tableIdentBuilder_; } @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:cz.proto.ingestion.v2.CloseStreamRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.CloseStreamRequest) private static final cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest(); } public static cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CloseStreamRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CloseStreamRequest(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 cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CloseStreamResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.CloseStreamResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.v2.CloseStreamResponse} */ public static final class CloseStreamResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.CloseStreamResponse) CloseStreamResponseOrBuilder { private static final long serialVersionUID = 0L; // Use CloseStreamResponse.newBuilder() to construct. private CloseStreamResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CloseStreamResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CloseStreamResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CloseStreamResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(status_); status_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CloseStreamResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CloseStreamResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse.class, cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { return getStatus(); } 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 (status_ != null) { output.writeMessage(1, getStatus()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getStatus()); } 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 cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse other = (cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse) obj; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) 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 (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse 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 cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse 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 cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse 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(cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse 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 cz.proto.ingestion.v2.CloseStreamResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.CloseStreamResponse) cz.proto.ingestion.v2.IngestionV2.CloseStreamResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CloseStreamResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CloseStreamResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse.class, cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (statusBuilder_ == null) { status_ = null; } else { status_ = null; statusBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CloseStreamResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse build() { cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse buildPartial() { cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse result = new cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse(this); if (statusBuilder_ == null) { result.status_ = status_; } else { result.status_ = statusBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse other) { if (other == cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse.getDefaultInstance()) return this; if (other.hasStatus()) { mergeStatus(other.getStatus()); } 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 { cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus( cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder mergeStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.v2.IngestionV2.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder>( getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } @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:cz.proto.ingestion.v2.CloseStreamResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.CloseStreamResponse) private static final cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse(); } public static cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CloseStreamResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CloseStreamResponse(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 cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface OssStagingPathInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.OssStagingPathInfo) com.google.protobuf.MessageOrBuilder { /** * string path = 1; * @return The path. */ java.lang.String getPath(); /** * string path = 1; * @return The bytes for path. */ com.google.protobuf.ByteString getPathBytes(); /** * string sts_ak_id = 3; * @return The stsAkId. */ java.lang.String getStsAkId(); /** * string sts_ak_id = 3; * @return The bytes for stsAkId. */ com.google.protobuf.ByteString getStsAkIdBytes(); /** * string sts_ak_secret = 4; * @return The stsAkSecret. */ java.lang.String getStsAkSecret(); /** * string sts_ak_secret = 4; * @return The bytes for stsAkSecret. */ com.google.protobuf.ByteString getStsAkSecretBytes(); /** * string sts_token = 5; * @return The stsToken. */ java.lang.String getStsToken(); /** * string sts_token = 5; * @return The bytes for stsToken. */ com.google.protobuf.ByteString getStsTokenBytes(); /** * string oss_endpoint = 6; * @return The ossEndpoint. */ java.lang.String getOssEndpoint(); /** * string oss_endpoint = 6; * @return The bytes for ossEndpoint. */ com.google.protobuf.ByteString getOssEndpointBytes(); /** * string oss_internal_endpoint = 7; * @return The ossInternalEndpoint. */ java.lang.String getOssInternalEndpoint(); /** * string oss_internal_endpoint = 7; * @return The bytes for ossInternalEndpoint. */ com.google.protobuf.ByteString getOssInternalEndpointBytes(); /** * uint64 oss_expire_time = 8; * @return The ossExpireTime. */ long getOssExpireTime(); } /** * Protobuf type {@code cz.proto.ingestion.v2.OssStagingPathInfo} */ public static final class OssStagingPathInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.OssStagingPathInfo) OssStagingPathInfoOrBuilder { private static final long serialVersionUID = 0L; // Use OssStagingPathInfo.newBuilder() to construct. private OssStagingPathInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private OssStagingPathInfo() { path_ = ""; stsAkId_ = ""; stsAkSecret_ = ""; stsToken_ = ""; ossEndpoint_ = ""; ossInternalEndpoint_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new OssStagingPathInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private OssStagingPathInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); path_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); stsAkId_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); stsAkSecret_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); stsToken_ = s; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); ossEndpoint_ = s; break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); ossInternalEndpoint_ = s; break; } case 64: { ossExpireTime_ = input.readUInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_OssStagingPathInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_OssStagingPathInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo.class, cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo.Builder.class); } public static final int PATH_FIELD_NUMBER = 1; private volatile java.lang.Object path_; /** * string path = 1; * @return The path. */ @java.lang.Override public java.lang.String getPath() { java.lang.Object ref = path_; 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(); path_ = s; return s; } } /** * string path = 1; * @return The bytes for path. */ @java.lang.Override public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STS_AK_ID_FIELD_NUMBER = 3; private volatile java.lang.Object stsAkId_; /** * string sts_ak_id = 3; * @return The stsAkId. */ @java.lang.Override public java.lang.String getStsAkId() { java.lang.Object ref = stsAkId_; 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(); stsAkId_ = s; return s; } } /** * string sts_ak_id = 3; * @return The bytes for stsAkId. */ @java.lang.Override public com.google.protobuf.ByteString getStsAkIdBytes() { java.lang.Object ref = stsAkId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stsAkId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STS_AK_SECRET_FIELD_NUMBER = 4; private volatile java.lang.Object stsAkSecret_; /** * string sts_ak_secret = 4; * @return The stsAkSecret. */ @java.lang.Override public java.lang.String getStsAkSecret() { java.lang.Object ref = stsAkSecret_; 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(); stsAkSecret_ = s; return s; } } /** * string sts_ak_secret = 4; * @return The bytes for stsAkSecret. */ @java.lang.Override public com.google.protobuf.ByteString getStsAkSecretBytes() { java.lang.Object ref = stsAkSecret_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stsAkSecret_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STS_TOKEN_FIELD_NUMBER = 5; private volatile java.lang.Object stsToken_; /** * string sts_token = 5; * @return The stsToken. */ @java.lang.Override public java.lang.String getStsToken() { java.lang.Object ref = stsToken_; 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(); stsToken_ = s; return s; } } /** * string sts_token = 5; * @return The bytes for stsToken. */ @java.lang.Override public com.google.protobuf.ByteString getStsTokenBytes() { java.lang.Object ref = stsToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stsToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OSS_ENDPOINT_FIELD_NUMBER = 6; private volatile java.lang.Object ossEndpoint_; /** * string oss_endpoint = 6; * @return The ossEndpoint. */ @java.lang.Override public java.lang.String getOssEndpoint() { java.lang.Object ref = ossEndpoint_; 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(); ossEndpoint_ = s; return s; } } /** * string oss_endpoint = 6; * @return The bytes for ossEndpoint. */ @java.lang.Override public com.google.protobuf.ByteString getOssEndpointBytes() { java.lang.Object ref = ossEndpoint_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ossEndpoint_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OSS_INTERNAL_ENDPOINT_FIELD_NUMBER = 7; private volatile java.lang.Object ossInternalEndpoint_; /** * string oss_internal_endpoint = 7; * @return The ossInternalEndpoint. */ @java.lang.Override public java.lang.String getOssInternalEndpoint() { java.lang.Object ref = ossInternalEndpoint_; 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(); ossInternalEndpoint_ = s; return s; } } /** * string oss_internal_endpoint = 7; * @return The bytes for ossInternalEndpoint. */ @java.lang.Override public com.google.protobuf.ByteString getOssInternalEndpointBytes() { java.lang.Object ref = ossInternalEndpoint_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ossInternalEndpoint_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OSS_EXPIRE_TIME_FIELD_NUMBER = 8; private long ossExpireTime_; /** * uint64 oss_expire_time = 8; * @return The ossExpireTime. */ @java.lang.Override public long getOssExpireTime() { return ossExpireTime_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stsAkId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, stsAkId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stsAkSecret_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, stsAkSecret_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stsToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, stsToken_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ossEndpoint_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, ossEndpoint_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ossInternalEndpoint_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, ossInternalEndpoint_); } if (ossExpireTime_ != 0L) { output.writeUInt64(8, ossExpireTime_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stsAkId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, stsAkId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stsAkSecret_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, stsAkSecret_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stsToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, stsToken_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ossEndpoint_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, ossEndpoint_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ossInternalEndpoint_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, ossInternalEndpoint_); } if (ossExpireTime_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(8, ossExpireTime_); } 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 cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo other = (cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo) obj; if (!getPath() .equals(other.getPath())) return false; if (!getStsAkId() .equals(other.getStsAkId())) return false; if (!getStsAkSecret() .equals(other.getStsAkSecret())) return false; if (!getStsToken() .equals(other.getStsToken())) return false; if (!getOssEndpoint() .equals(other.getOssEndpoint())) return false; if (!getOssInternalEndpoint() .equals(other.getOssInternalEndpoint())) return false; if (getOssExpireTime() != other.getOssExpireTime()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); hash = (37 * hash) + STS_AK_ID_FIELD_NUMBER; hash = (53 * hash) + getStsAkId().hashCode(); hash = (37 * hash) + STS_AK_SECRET_FIELD_NUMBER; hash = (53 * hash) + getStsAkSecret().hashCode(); hash = (37 * hash) + STS_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getStsToken().hashCode(); hash = (37 * hash) + OSS_ENDPOINT_FIELD_NUMBER; hash = (53 * hash) + getOssEndpoint().hashCode(); hash = (37 * hash) + OSS_INTERNAL_ENDPOINT_FIELD_NUMBER; hash = (53 * hash) + getOssInternalEndpoint().hashCode(); hash = (37 * hash) + OSS_EXPIRE_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getOssExpireTime()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo 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 cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo 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 cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo 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(cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo 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 cz.proto.ingestion.v2.OssStagingPathInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.OssStagingPathInfo) cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_OssStagingPathInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_OssStagingPathInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo.class, cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); path_ = ""; stsAkId_ = ""; stsAkSecret_ = ""; stsToken_ = ""; ossEndpoint_ = ""; ossInternalEndpoint_ = ""; ossExpireTime_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_OssStagingPathInfo_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo build() { cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo buildPartial() { cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo result = new cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo(this); result.path_ = path_; result.stsAkId_ = stsAkId_; result.stsAkSecret_ = stsAkSecret_; result.stsToken_ = stsToken_; result.ossEndpoint_ = ossEndpoint_; result.ossInternalEndpoint_ = ossInternalEndpoint_; result.ossExpireTime_ = ossExpireTime_; 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 cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo other) { if (other == cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo.getDefaultInstance()) return this; if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); } if (!other.getStsAkId().isEmpty()) { stsAkId_ = other.stsAkId_; onChanged(); } if (!other.getStsAkSecret().isEmpty()) { stsAkSecret_ = other.stsAkSecret_; onChanged(); } if (!other.getStsToken().isEmpty()) { stsToken_ = other.stsToken_; onChanged(); } if (!other.getOssEndpoint().isEmpty()) { ossEndpoint_ = other.ossEndpoint_; onChanged(); } if (!other.getOssInternalEndpoint().isEmpty()) { ossInternalEndpoint_ = other.ossInternalEndpoint_; onChanged(); } if (other.getOssExpireTime() != 0L) { setOssExpireTime(other.getOssExpireTime()); } 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 { cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object path_ = ""; /** * string path = 1; * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } else { return (java.lang.String) ref; } } /** * string path = 1; * @return The bytes for path. */ public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string path = 1; * @param value The path to set. * @return This builder for chaining. */ public Builder setPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } path_ = value; onChanged(); return this; } /** * string path = 1; * @return This builder for chaining. */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** * string path = 1; * @param value The bytes for path to set. * @return This builder for chaining. */ public Builder setPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); path_ = value; onChanged(); return this; } private java.lang.Object stsAkId_ = ""; /** * string sts_ak_id = 3; * @return The stsAkId. */ public java.lang.String getStsAkId() { java.lang.Object ref = stsAkId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stsAkId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string sts_ak_id = 3; * @return The bytes for stsAkId. */ public com.google.protobuf.ByteString getStsAkIdBytes() { java.lang.Object ref = stsAkId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stsAkId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string sts_ak_id = 3; * @param value The stsAkId to set. * @return This builder for chaining. */ public Builder setStsAkId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } stsAkId_ = value; onChanged(); return this; } /** * string sts_ak_id = 3; * @return This builder for chaining. */ public Builder clearStsAkId() { stsAkId_ = getDefaultInstance().getStsAkId(); onChanged(); return this; } /** * string sts_ak_id = 3; * @param value The bytes for stsAkId to set. * @return This builder for chaining. */ public Builder setStsAkIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); stsAkId_ = value; onChanged(); return this; } private java.lang.Object stsAkSecret_ = ""; /** * string sts_ak_secret = 4; * @return The stsAkSecret. */ public java.lang.String getStsAkSecret() { java.lang.Object ref = stsAkSecret_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stsAkSecret_ = s; return s; } else { return (java.lang.String) ref; } } /** * string sts_ak_secret = 4; * @return The bytes for stsAkSecret. */ public com.google.protobuf.ByteString getStsAkSecretBytes() { java.lang.Object ref = stsAkSecret_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stsAkSecret_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string sts_ak_secret = 4; * @param value The stsAkSecret to set. * @return This builder for chaining. */ public Builder setStsAkSecret( java.lang.String value) { if (value == null) { throw new NullPointerException(); } stsAkSecret_ = value; onChanged(); return this; } /** * string sts_ak_secret = 4; * @return This builder for chaining. */ public Builder clearStsAkSecret() { stsAkSecret_ = getDefaultInstance().getStsAkSecret(); onChanged(); return this; } /** * string sts_ak_secret = 4; * @param value The bytes for stsAkSecret to set. * @return This builder for chaining. */ public Builder setStsAkSecretBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); stsAkSecret_ = value; onChanged(); return this; } private java.lang.Object stsToken_ = ""; /** * string sts_token = 5; * @return The stsToken. */ public java.lang.String getStsToken() { java.lang.Object ref = stsToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stsToken_ = s; return s; } else { return (java.lang.String) ref; } } /** * string sts_token = 5; * @return The bytes for stsToken. */ public com.google.protobuf.ByteString getStsTokenBytes() { java.lang.Object ref = stsToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stsToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string sts_token = 5; * @param value The stsToken to set. * @return This builder for chaining. */ public Builder setStsToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } stsToken_ = value; onChanged(); return this; } /** * string sts_token = 5; * @return This builder for chaining. */ public Builder clearStsToken() { stsToken_ = getDefaultInstance().getStsToken(); onChanged(); return this; } /** * string sts_token = 5; * @param value The bytes for stsToken to set. * @return This builder for chaining. */ public Builder setStsTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); stsToken_ = value; onChanged(); return this; } private java.lang.Object ossEndpoint_ = ""; /** * string oss_endpoint = 6; * @return The ossEndpoint. */ public java.lang.String getOssEndpoint() { java.lang.Object ref = ossEndpoint_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ossEndpoint_ = s; return s; } else { return (java.lang.String) ref; } } /** * string oss_endpoint = 6; * @return The bytes for ossEndpoint. */ public com.google.protobuf.ByteString getOssEndpointBytes() { java.lang.Object ref = ossEndpoint_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ossEndpoint_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string oss_endpoint = 6; * @param value The ossEndpoint to set. * @return This builder for chaining. */ public Builder setOssEndpoint( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ossEndpoint_ = value; onChanged(); return this; } /** * string oss_endpoint = 6; * @return This builder for chaining. */ public Builder clearOssEndpoint() { ossEndpoint_ = getDefaultInstance().getOssEndpoint(); onChanged(); return this; } /** * string oss_endpoint = 6; * @param value The bytes for ossEndpoint to set. * @return This builder for chaining. */ public Builder setOssEndpointBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ossEndpoint_ = value; onChanged(); return this; } private java.lang.Object ossInternalEndpoint_ = ""; /** * string oss_internal_endpoint = 7; * @return The ossInternalEndpoint. */ public java.lang.String getOssInternalEndpoint() { java.lang.Object ref = ossInternalEndpoint_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ossInternalEndpoint_ = s; return s; } else { return (java.lang.String) ref; } } /** * string oss_internal_endpoint = 7; * @return The bytes for ossInternalEndpoint. */ public com.google.protobuf.ByteString getOssInternalEndpointBytes() { java.lang.Object ref = ossInternalEndpoint_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ossInternalEndpoint_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string oss_internal_endpoint = 7; * @param value The ossInternalEndpoint to set. * @return This builder for chaining. */ public Builder setOssInternalEndpoint( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ossInternalEndpoint_ = value; onChanged(); return this; } /** * string oss_internal_endpoint = 7; * @return This builder for chaining. */ public Builder clearOssInternalEndpoint() { ossInternalEndpoint_ = getDefaultInstance().getOssInternalEndpoint(); onChanged(); return this; } /** * string oss_internal_endpoint = 7; * @param value The bytes for ossInternalEndpoint to set. * @return This builder for chaining. */ public Builder setOssInternalEndpointBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ossInternalEndpoint_ = value; onChanged(); return this; } private long ossExpireTime_ ; /** * uint64 oss_expire_time = 8; * @return The ossExpireTime. */ @java.lang.Override public long getOssExpireTime() { return ossExpireTime_; } /** * uint64 oss_expire_time = 8; * @param value The ossExpireTime to set. * @return This builder for chaining. */ public Builder setOssExpireTime(long value) { ossExpireTime_ = value; onChanged(); return this; } /** * uint64 oss_expire_time = 8; * @return This builder for chaining. */ public Builder clearOssExpireTime() { ossExpireTime_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.OssStagingPathInfo) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.OssStagingPathInfo) private static final cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo(); } public static cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public OssStagingPathInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new OssStagingPathInfo(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 cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CosStagingPathInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.CosStagingPathInfo) com.google.protobuf.MessageOrBuilder { /** * string path = 1; * @return The path. */ java.lang.String getPath(); /** * string path = 1; * @return The bytes for path. */ com.google.protobuf.ByteString getPathBytes(); /** * string sts_ak_id = 2; * @return The stsAkId. */ java.lang.String getStsAkId(); /** * string sts_ak_id = 2; * @return The bytes for stsAkId. */ com.google.protobuf.ByteString getStsAkIdBytes(); /** * string sts_ak_secret = 3; * @return The stsAkSecret. */ java.lang.String getStsAkSecret(); /** * string sts_ak_secret = 3; * @return The bytes for stsAkSecret. */ com.google.protobuf.ByteString getStsAkSecretBytes(); /** * string sts_token = 4; * @return The stsToken. */ java.lang.String getStsToken(); /** * string sts_token = 4; * @return The bytes for stsToken. */ com.google.protobuf.ByteString getStsTokenBytes(); /** * string cos_region = 5; * @return The cosRegion. */ java.lang.String getCosRegion(); /** * string cos_region = 5; * @return The bytes for cosRegion. */ com.google.protobuf.ByteString getCosRegionBytes(); /** * uint64 cos_expire_time = 6; * @return The cosExpireTime. */ long getCosExpireTime(); } /** * Protobuf type {@code cz.proto.ingestion.v2.CosStagingPathInfo} */ public static final class CosStagingPathInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.CosStagingPathInfo) CosStagingPathInfoOrBuilder { private static final long serialVersionUID = 0L; // Use CosStagingPathInfo.newBuilder() to construct. private CosStagingPathInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CosStagingPathInfo() { path_ = ""; stsAkId_ = ""; stsAkSecret_ = ""; stsToken_ = ""; cosRegion_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CosStagingPathInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CosStagingPathInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); path_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); stsAkId_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); stsAkSecret_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); stsToken_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); cosRegion_ = s; break; } case 48: { cosExpireTime_ = input.readUInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CosStagingPathInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CosStagingPathInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo.class, cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo.Builder.class); } public static final int PATH_FIELD_NUMBER = 1; private volatile java.lang.Object path_; /** * string path = 1; * @return The path. */ @java.lang.Override public java.lang.String getPath() { java.lang.Object ref = path_; 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(); path_ = s; return s; } } /** * string path = 1; * @return The bytes for path. */ @java.lang.Override public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STS_AK_ID_FIELD_NUMBER = 2; private volatile java.lang.Object stsAkId_; /** * string sts_ak_id = 2; * @return The stsAkId. */ @java.lang.Override public java.lang.String getStsAkId() { java.lang.Object ref = stsAkId_; 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(); stsAkId_ = s; return s; } } /** * string sts_ak_id = 2; * @return The bytes for stsAkId. */ @java.lang.Override public com.google.protobuf.ByteString getStsAkIdBytes() { java.lang.Object ref = stsAkId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stsAkId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STS_AK_SECRET_FIELD_NUMBER = 3; private volatile java.lang.Object stsAkSecret_; /** * string sts_ak_secret = 3; * @return The stsAkSecret. */ @java.lang.Override public java.lang.String getStsAkSecret() { java.lang.Object ref = stsAkSecret_; 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(); stsAkSecret_ = s; return s; } } /** * string sts_ak_secret = 3; * @return The bytes for stsAkSecret. */ @java.lang.Override public com.google.protobuf.ByteString getStsAkSecretBytes() { java.lang.Object ref = stsAkSecret_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stsAkSecret_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STS_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object stsToken_; /** * string sts_token = 4; * @return The stsToken. */ @java.lang.Override public java.lang.String getStsToken() { java.lang.Object ref = stsToken_; 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(); stsToken_ = s; return s; } } /** * string sts_token = 4; * @return The bytes for stsToken. */ @java.lang.Override public com.google.protobuf.ByteString getStsTokenBytes() { java.lang.Object ref = stsToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stsToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COS_REGION_FIELD_NUMBER = 5; private volatile java.lang.Object cosRegion_; /** * string cos_region = 5; * @return The cosRegion. */ @java.lang.Override public java.lang.String getCosRegion() { java.lang.Object ref = cosRegion_; 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(); cosRegion_ = s; return s; } } /** * string cos_region = 5; * @return The bytes for cosRegion. */ @java.lang.Override public com.google.protobuf.ByteString getCosRegionBytes() { java.lang.Object ref = cosRegion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); cosRegion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COS_EXPIRE_TIME_FIELD_NUMBER = 6; private long cosExpireTime_; /** * uint64 cos_expire_time = 6; * @return The cosExpireTime. */ @java.lang.Override public long getCosExpireTime() { return cosExpireTime_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stsAkId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, stsAkId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stsAkSecret_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, stsAkSecret_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stsToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, stsToken_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cosRegion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, cosRegion_); } if (cosExpireTime_ != 0L) { output.writeUInt64(6, cosExpireTime_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stsAkId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stsAkId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stsAkSecret_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, stsAkSecret_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stsToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, stsToken_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(cosRegion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, cosRegion_); } if (cosExpireTime_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(6, cosExpireTime_); } 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 cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo other = (cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo) obj; if (!getPath() .equals(other.getPath())) return false; if (!getStsAkId() .equals(other.getStsAkId())) return false; if (!getStsAkSecret() .equals(other.getStsAkSecret())) return false; if (!getStsToken() .equals(other.getStsToken())) return false; if (!getCosRegion() .equals(other.getCosRegion())) return false; if (getCosExpireTime() != other.getCosExpireTime()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); hash = (37 * hash) + STS_AK_ID_FIELD_NUMBER; hash = (53 * hash) + getStsAkId().hashCode(); hash = (37 * hash) + STS_AK_SECRET_FIELD_NUMBER; hash = (53 * hash) + getStsAkSecret().hashCode(); hash = (37 * hash) + STS_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getStsToken().hashCode(); hash = (37 * hash) + COS_REGION_FIELD_NUMBER; hash = (53 * hash) + getCosRegion().hashCode(); hash = (37 * hash) + COS_EXPIRE_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCosExpireTime()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo 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 cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo 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 cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo 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(cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo 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 cz.proto.ingestion.v2.CosStagingPathInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.CosStagingPathInfo) cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CosStagingPathInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CosStagingPathInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo.class, cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); path_ = ""; stsAkId_ = ""; stsAkSecret_ = ""; stsToken_ = ""; cosRegion_ = ""; cosExpireTime_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CosStagingPathInfo_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo build() { cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo buildPartial() { cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo result = new cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo(this); result.path_ = path_; result.stsAkId_ = stsAkId_; result.stsAkSecret_ = stsAkSecret_; result.stsToken_ = stsToken_; result.cosRegion_ = cosRegion_; result.cosExpireTime_ = cosExpireTime_; 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 cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo other) { if (other == cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo.getDefaultInstance()) return this; if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); } if (!other.getStsAkId().isEmpty()) { stsAkId_ = other.stsAkId_; onChanged(); } if (!other.getStsAkSecret().isEmpty()) { stsAkSecret_ = other.stsAkSecret_; onChanged(); } if (!other.getStsToken().isEmpty()) { stsToken_ = other.stsToken_; onChanged(); } if (!other.getCosRegion().isEmpty()) { cosRegion_ = other.cosRegion_; onChanged(); } if (other.getCosExpireTime() != 0L) { setCosExpireTime(other.getCosExpireTime()); } 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 { cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object path_ = ""; /** * string path = 1; * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } else { return (java.lang.String) ref; } } /** * string path = 1; * @return The bytes for path. */ public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string path = 1; * @param value The path to set. * @return This builder for chaining. */ public Builder setPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } path_ = value; onChanged(); return this; } /** * string path = 1; * @return This builder for chaining. */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** * string path = 1; * @param value The bytes for path to set. * @return This builder for chaining. */ public Builder setPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); path_ = value; onChanged(); return this; } private java.lang.Object stsAkId_ = ""; /** * string sts_ak_id = 2; * @return The stsAkId. */ public java.lang.String getStsAkId() { java.lang.Object ref = stsAkId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stsAkId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string sts_ak_id = 2; * @return The bytes for stsAkId. */ public com.google.protobuf.ByteString getStsAkIdBytes() { java.lang.Object ref = stsAkId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stsAkId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string sts_ak_id = 2; * @param value The stsAkId to set. * @return This builder for chaining. */ public Builder setStsAkId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } stsAkId_ = value; onChanged(); return this; } /** * string sts_ak_id = 2; * @return This builder for chaining. */ public Builder clearStsAkId() { stsAkId_ = getDefaultInstance().getStsAkId(); onChanged(); return this; } /** * string sts_ak_id = 2; * @param value The bytes for stsAkId to set. * @return This builder for chaining. */ public Builder setStsAkIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); stsAkId_ = value; onChanged(); return this; } private java.lang.Object stsAkSecret_ = ""; /** * string sts_ak_secret = 3; * @return The stsAkSecret. */ public java.lang.String getStsAkSecret() { java.lang.Object ref = stsAkSecret_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stsAkSecret_ = s; return s; } else { return (java.lang.String) ref; } } /** * string sts_ak_secret = 3; * @return The bytes for stsAkSecret. */ public com.google.protobuf.ByteString getStsAkSecretBytes() { java.lang.Object ref = stsAkSecret_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stsAkSecret_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string sts_ak_secret = 3; * @param value The stsAkSecret to set. * @return This builder for chaining. */ public Builder setStsAkSecret( java.lang.String value) { if (value == null) { throw new NullPointerException(); } stsAkSecret_ = value; onChanged(); return this; } /** * string sts_ak_secret = 3; * @return This builder for chaining. */ public Builder clearStsAkSecret() { stsAkSecret_ = getDefaultInstance().getStsAkSecret(); onChanged(); return this; } /** * string sts_ak_secret = 3; * @param value The bytes for stsAkSecret to set. * @return This builder for chaining. */ public Builder setStsAkSecretBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); stsAkSecret_ = value; onChanged(); return this; } private java.lang.Object stsToken_ = ""; /** * string sts_token = 4; * @return The stsToken. */ public java.lang.String getStsToken() { java.lang.Object ref = stsToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stsToken_ = s; return s; } else { return (java.lang.String) ref; } } /** * string sts_token = 4; * @return The bytes for stsToken. */ public com.google.protobuf.ByteString getStsTokenBytes() { java.lang.Object ref = stsToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stsToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string sts_token = 4; * @param value The stsToken to set. * @return This builder for chaining. */ public Builder setStsToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } stsToken_ = value; onChanged(); return this; } /** * string sts_token = 4; * @return This builder for chaining. */ public Builder clearStsToken() { stsToken_ = getDefaultInstance().getStsToken(); onChanged(); return this; } /** * string sts_token = 4; * @param value The bytes for stsToken to set. * @return This builder for chaining. */ public Builder setStsTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); stsToken_ = value; onChanged(); return this; } private java.lang.Object cosRegion_ = ""; /** * string cos_region = 5; * @return The cosRegion. */ public java.lang.String getCosRegion() { java.lang.Object ref = cosRegion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cosRegion_ = s; return s; } else { return (java.lang.String) ref; } } /** * string cos_region = 5; * @return The bytes for cosRegion. */ public com.google.protobuf.ByteString getCosRegionBytes() { java.lang.Object ref = cosRegion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); cosRegion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string cos_region = 5; * @param value The cosRegion to set. * @return This builder for chaining. */ public Builder setCosRegion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } cosRegion_ = value; onChanged(); return this; } /** * string cos_region = 5; * @return This builder for chaining. */ public Builder clearCosRegion() { cosRegion_ = getDefaultInstance().getCosRegion(); onChanged(); return this; } /** * string cos_region = 5; * @param value The bytes for cosRegion to set. * @return This builder for chaining. */ public Builder setCosRegionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); cosRegion_ = value; onChanged(); return this; } private long cosExpireTime_ ; /** * uint64 cos_expire_time = 6; * @return The cosExpireTime. */ @java.lang.Override public long getCosExpireTime() { return cosExpireTime_; } /** * uint64 cos_expire_time = 6; * @param value The cosExpireTime to set. * @return This builder for chaining. */ public Builder setCosExpireTime(long value) { cosExpireTime_ = value; onChanged(); return this; } /** * uint64 cos_expire_time = 6; * @return This builder for chaining. */ public Builder clearCosExpireTime() { cosExpireTime_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.CosStagingPathInfo) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.CosStagingPathInfo) private static final cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo(); } public static cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CosStagingPathInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CosStagingPathInfo(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 cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface S3StagingPathInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.S3StagingPathInfo) com.google.protobuf.MessageOrBuilder { /** * string path = 1; * @return The path. */ java.lang.String getPath(); /** * string path = 1; * @return The bytes for path. */ com.google.protobuf.ByteString getPathBytes(); /** * string sts_ak_id = 2; * @return The stsAkId. */ java.lang.String getStsAkId(); /** * string sts_ak_id = 2; * @return The bytes for stsAkId. */ com.google.protobuf.ByteString getStsAkIdBytes(); /** * string sts_ak_secret = 3; * @return The stsAkSecret. */ java.lang.String getStsAkSecret(); /** * string sts_ak_secret = 3; * @return The bytes for stsAkSecret. */ com.google.protobuf.ByteString getStsAkSecretBytes(); /** * string sts_token = 4; * @return The stsToken. */ java.lang.String getStsToken(); /** * string sts_token = 4; * @return The bytes for stsToken. */ com.google.protobuf.ByteString getStsTokenBytes(); /** * string s3_region = 5; * @return The s3Region. */ java.lang.String getS3Region(); /** * string s3_region = 5; * @return The bytes for s3Region. */ com.google.protobuf.ByteString getS3RegionBytes(); /** * uint64 s3_expire_time = 6; * @return The s3ExpireTime. */ long getS3ExpireTime(); } /** * Protobuf type {@code cz.proto.ingestion.v2.S3StagingPathInfo} */ public static final class S3StagingPathInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.S3StagingPathInfo) S3StagingPathInfoOrBuilder { private static final long serialVersionUID = 0L; // Use S3StagingPathInfo.newBuilder() to construct. private S3StagingPathInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private S3StagingPathInfo() { path_ = ""; stsAkId_ = ""; stsAkSecret_ = ""; stsToken_ = ""; s3Region_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new S3StagingPathInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private S3StagingPathInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); path_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); stsAkId_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); stsAkSecret_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); stsToken_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); s3Region_ = s; break; } case 48: { s3ExpireTime_ = input.readUInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_S3StagingPathInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_S3StagingPathInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo.class, cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo.Builder.class); } public static final int PATH_FIELD_NUMBER = 1; private volatile java.lang.Object path_; /** * string path = 1; * @return The path. */ @java.lang.Override public java.lang.String getPath() { java.lang.Object ref = path_; 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(); path_ = s; return s; } } /** * string path = 1; * @return The bytes for path. */ @java.lang.Override public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STS_AK_ID_FIELD_NUMBER = 2; private volatile java.lang.Object stsAkId_; /** * string sts_ak_id = 2; * @return The stsAkId. */ @java.lang.Override public java.lang.String getStsAkId() { java.lang.Object ref = stsAkId_; 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(); stsAkId_ = s; return s; } } /** * string sts_ak_id = 2; * @return The bytes for stsAkId. */ @java.lang.Override public com.google.protobuf.ByteString getStsAkIdBytes() { java.lang.Object ref = stsAkId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stsAkId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STS_AK_SECRET_FIELD_NUMBER = 3; private volatile java.lang.Object stsAkSecret_; /** * string sts_ak_secret = 3; * @return The stsAkSecret. */ @java.lang.Override public java.lang.String getStsAkSecret() { java.lang.Object ref = stsAkSecret_; 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(); stsAkSecret_ = s; return s; } } /** * string sts_ak_secret = 3; * @return The bytes for stsAkSecret. */ @java.lang.Override public com.google.protobuf.ByteString getStsAkSecretBytes() { java.lang.Object ref = stsAkSecret_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stsAkSecret_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STS_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object stsToken_; /** * string sts_token = 4; * @return The stsToken. */ @java.lang.Override public java.lang.String getStsToken() { java.lang.Object ref = stsToken_; 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(); stsToken_ = s; return s; } } /** * string sts_token = 4; * @return The bytes for stsToken. */ @java.lang.Override public com.google.protobuf.ByteString getStsTokenBytes() { java.lang.Object ref = stsToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stsToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int S3_REGION_FIELD_NUMBER = 5; private volatile java.lang.Object s3Region_; /** * string s3_region = 5; * @return The s3Region. */ @java.lang.Override public java.lang.String getS3Region() { java.lang.Object ref = s3Region_; 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(); s3Region_ = s; return s; } } /** * string s3_region = 5; * @return The bytes for s3Region. */ @java.lang.Override public com.google.protobuf.ByteString getS3RegionBytes() { java.lang.Object ref = s3Region_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); s3Region_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int S3_EXPIRE_TIME_FIELD_NUMBER = 6; private long s3ExpireTime_; /** * uint64 s3_expire_time = 6; * @return The s3ExpireTime. */ @java.lang.Override public long getS3ExpireTime() { return s3ExpireTime_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stsAkId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, stsAkId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stsAkSecret_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, stsAkSecret_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stsToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, stsToken_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(s3Region_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, s3Region_); } if (s3ExpireTime_ != 0L) { output.writeUInt64(6, s3ExpireTime_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stsAkId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stsAkId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stsAkSecret_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, stsAkSecret_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stsToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, stsToken_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(s3Region_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, s3Region_); } if (s3ExpireTime_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(6, s3ExpireTime_); } 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 cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo other = (cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo) obj; if (!getPath() .equals(other.getPath())) return false; if (!getStsAkId() .equals(other.getStsAkId())) return false; if (!getStsAkSecret() .equals(other.getStsAkSecret())) return false; if (!getStsToken() .equals(other.getStsToken())) return false; if (!getS3Region() .equals(other.getS3Region())) return false; if (getS3ExpireTime() != other.getS3ExpireTime()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); hash = (37 * hash) + STS_AK_ID_FIELD_NUMBER; hash = (53 * hash) + getStsAkId().hashCode(); hash = (37 * hash) + STS_AK_SECRET_FIELD_NUMBER; hash = (53 * hash) + getStsAkSecret().hashCode(); hash = (37 * hash) + STS_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getStsToken().hashCode(); hash = (37 * hash) + S3_REGION_FIELD_NUMBER; hash = (53 * hash) + getS3Region().hashCode(); hash = (37 * hash) + S3_EXPIRE_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getS3ExpireTime()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo 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 cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo 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 cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo 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(cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo 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 cz.proto.ingestion.v2.S3StagingPathInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.S3StagingPathInfo) cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_S3StagingPathInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_S3StagingPathInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo.class, cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); path_ = ""; stsAkId_ = ""; stsAkSecret_ = ""; stsToken_ = ""; s3Region_ = ""; s3ExpireTime_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_S3StagingPathInfo_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo build() { cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo buildPartial() { cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo result = new cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo(this); result.path_ = path_; result.stsAkId_ = stsAkId_; result.stsAkSecret_ = stsAkSecret_; result.stsToken_ = stsToken_; result.s3Region_ = s3Region_; result.s3ExpireTime_ = s3ExpireTime_; 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 cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo other) { if (other == cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo.getDefaultInstance()) return this; if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); } if (!other.getStsAkId().isEmpty()) { stsAkId_ = other.stsAkId_; onChanged(); } if (!other.getStsAkSecret().isEmpty()) { stsAkSecret_ = other.stsAkSecret_; onChanged(); } if (!other.getStsToken().isEmpty()) { stsToken_ = other.stsToken_; onChanged(); } if (!other.getS3Region().isEmpty()) { s3Region_ = other.s3Region_; onChanged(); } if (other.getS3ExpireTime() != 0L) { setS3ExpireTime(other.getS3ExpireTime()); } 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 { cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object path_ = ""; /** * string path = 1; * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } else { return (java.lang.String) ref; } } /** * string path = 1; * @return The bytes for path. */ public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string path = 1; * @param value The path to set. * @return This builder for chaining. */ public Builder setPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } path_ = value; onChanged(); return this; } /** * string path = 1; * @return This builder for chaining. */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** * string path = 1; * @param value The bytes for path to set. * @return This builder for chaining. */ public Builder setPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); path_ = value; onChanged(); return this; } private java.lang.Object stsAkId_ = ""; /** * string sts_ak_id = 2; * @return The stsAkId. */ public java.lang.String getStsAkId() { java.lang.Object ref = stsAkId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stsAkId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string sts_ak_id = 2; * @return The bytes for stsAkId. */ public com.google.protobuf.ByteString getStsAkIdBytes() { java.lang.Object ref = stsAkId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stsAkId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string sts_ak_id = 2; * @param value The stsAkId to set. * @return This builder for chaining. */ public Builder setStsAkId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } stsAkId_ = value; onChanged(); return this; } /** * string sts_ak_id = 2; * @return This builder for chaining. */ public Builder clearStsAkId() { stsAkId_ = getDefaultInstance().getStsAkId(); onChanged(); return this; } /** * string sts_ak_id = 2; * @param value The bytes for stsAkId to set. * @return This builder for chaining. */ public Builder setStsAkIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); stsAkId_ = value; onChanged(); return this; } private java.lang.Object stsAkSecret_ = ""; /** * string sts_ak_secret = 3; * @return The stsAkSecret. */ public java.lang.String getStsAkSecret() { java.lang.Object ref = stsAkSecret_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stsAkSecret_ = s; return s; } else { return (java.lang.String) ref; } } /** * string sts_ak_secret = 3; * @return The bytes for stsAkSecret. */ public com.google.protobuf.ByteString getStsAkSecretBytes() { java.lang.Object ref = stsAkSecret_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stsAkSecret_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string sts_ak_secret = 3; * @param value The stsAkSecret to set. * @return This builder for chaining. */ public Builder setStsAkSecret( java.lang.String value) { if (value == null) { throw new NullPointerException(); } stsAkSecret_ = value; onChanged(); return this; } /** * string sts_ak_secret = 3; * @return This builder for chaining. */ public Builder clearStsAkSecret() { stsAkSecret_ = getDefaultInstance().getStsAkSecret(); onChanged(); return this; } /** * string sts_ak_secret = 3; * @param value The bytes for stsAkSecret to set. * @return This builder for chaining. */ public Builder setStsAkSecretBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); stsAkSecret_ = value; onChanged(); return this; } private java.lang.Object stsToken_ = ""; /** * string sts_token = 4; * @return The stsToken. */ public java.lang.String getStsToken() { java.lang.Object ref = stsToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stsToken_ = s; return s; } else { return (java.lang.String) ref; } } /** * string sts_token = 4; * @return The bytes for stsToken. */ public com.google.protobuf.ByteString getStsTokenBytes() { java.lang.Object ref = stsToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stsToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string sts_token = 4; * @param value The stsToken to set. * @return This builder for chaining. */ public Builder setStsToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } stsToken_ = value; onChanged(); return this; } /** * string sts_token = 4; * @return This builder for chaining. */ public Builder clearStsToken() { stsToken_ = getDefaultInstance().getStsToken(); onChanged(); return this; } /** * string sts_token = 4; * @param value The bytes for stsToken to set. * @return This builder for chaining. */ public Builder setStsTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); stsToken_ = value; onChanged(); return this; } private java.lang.Object s3Region_ = ""; /** * string s3_region = 5; * @return The s3Region. */ public java.lang.String getS3Region() { java.lang.Object ref = s3Region_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); s3Region_ = s; return s; } else { return (java.lang.String) ref; } } /** * string s3_region = 5; * @return The bytes for s3Region. */ public com.google.protobuf.ByteString getS3RegionBytes() { java.lang.Object ref = s3Region_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); s3Region_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string s3_region = 5; * @param value The s3Region to set. * @return This builder for chaining. */ public Builder setS3Region( java.lang.String value) { if (value == null) { throw new NullPointerException(); } s3Region_ = value; onChanged(); return this; } /** * string s3_region = 5; * @return This builder for chaining. */ public Builder clearS3Region() { s3Region_ = getDefaultInstance().getS3Region(); onChanged(); return this; } /** * string s3_region = 5; * @param value The bytes for s3Region to set. * @return This builder for chaining. */ public Builder setS3RegionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); s3Region_ = value; onChanged(); return this; } private long s3ExpireTime_ ; /** * uint64 s3_expire_time = 6; * @return The s3ExpireTime. */ @java.lang.Override public long getS3ExpireTime() { return s3ExpireTime_; } /** * uint64 s3_expire_time = 6; * @param value The s3ExpireTime to set. * @return This builder for chaining. */ public Builder setS3ExpireTime(long value) { s3ExpireTime_ = value; onChanged(); return this; } /** * uint64 s3_expire_time = 6; * @return This builder for chaining. */ public Builder clearS3ExpireTime() { s3ExpireTime_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.S3StagingPathInfo) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.S3StagingPathInfo) private static final cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo(); } public static cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public S3StagingPathInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new S3StagingPathInfo(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 cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GcsStagingPathInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.GcsStagingPathInfo) com.google.protobuf.MessageOrBuilder { /** * string path = 1; * @return The path. */ java.lang.String getPath(); /** * string path = 1; * @return The bytes for path. */ com.google.protobuf.ByteString getPathBytes(); /** * string sts_ak_id = 2; * @return The stsAkId. */ java.lang.String getStsAkId(); /** * string sts_ak_id = 2; * @return The bytes for stsAkId. */ com.google.protobuf.ByteString getStsAkIdBytes(); /** * string sts_ak_secret = 3; * @return The stsAkSecret. */ java.lang.String getStsAkSecret(); /** * string sts_ak_secret = 3; * @return The bytes for stsAkSecret. */ com.google.protobuf.ByteString getStsAkSecretBytes(); /** * string sts_token = 4; * @return The stsToken. */ java.lang.String getStsToken(); /** * string sts_token = 4; * @return The bytes for stsToken. */ com.google.protobuf.ByteString getStsTokenBytes(); /** * string gcs_region = 5; * @return The gcsRegion. */ java.lang.String getGcsRegion(); /** * string gcs_region = 5; * @return The bytes for gcsRegion. */ com.google.protobuf.ByteString getGcsRegionBytes(); /** * uint64 gcs_expire_time = 6; * @return The gcsExpireTime. */ long getGcsExpireTime(); } /** * Protobuf type {@code cz.proto.ingestion.v2.GcsStagingPathInfo} */ public static final class GcsStagingPathInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.GcsStagingPathInfo) GcsStagingPathInfoOrBuilder { private static final long serialVersionUID = 0L; // Use GcsStagingPathInfo.newBuilder() to construct. private GcsStagingPathInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GcsStagingPathInfo() { path_ = ""; stsAkId_ = ""; stsAkSecret_ = ""; stsToken_ = ""; gcsRegion_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GcsStagingPathInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GcsStagingPathInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); path_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); stsAkId_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); stsAkSecret_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); stsToken_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); gcsRegion_ = s; break; } case 48: { gcsExpireTime_ = input.readUInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GcsStagingPathInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GcsStagingPathInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo.class, cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo.Builder.class); } public static final int PATH_FIELD_NUMBER = 1; private volatile java.lang.Object path_; /** * string path = 1; * @return The path. */ @java.lang.Override public java.lang.String getPath() { java.lang.Object ref = path_; 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(); path_ = s; return s; } } /** * string path = 1; * @return The bytes for path. */ @java.lang.Override public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STS_AK_ID_FIELD_NUMBER = 2; private volatile java.lang.Object stsAkId_; /** * string sts_ak_id = 2; * @return The stsAkId. */ @java.lang.Override public java.lang.String getStsAkId() { java.lang.Object ref = stsAkId_; 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(); stsAkId_ = s; return s; } } /** * string sts_ak_id = 2; * @return The bytes for stsAkId. */ @java.lang.Override public com.google.protobuf.ByteString getStsAkIdBytes() { java.lang.Object ref = stsAkId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stsAkId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STS_AK_SECRET_FIELD_NUMBER = 3; private volatile java.lang.Object stsAkSecret_; /** * string sts_ak_secret = 3; * @return The stsAkSecret. */ @java.lang.Override public java.lang.String getStsAkSecret() { java.lang.Object ref = stsAkSecret_; 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(); stsAkSecret_ = s; return s; } } /** * string sts_ak_secret = 3; * @return The bytes for stsAkSecret. */ @java.lang.Override public com.google.protobuf.ByteString getStsAkSecretBytes() { java.lang.Object ref = stsAkSecret_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stsAkSecret_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STS_TOKEN_FIELD_NUMBER = 4; private volatile java.lang.Object stsToken_; /** * string sts_token = 4; * @return The stsToken. */ @java.lang.Override public java.lang.String getStsToken() { java.lang.Object ref = stsToken_; 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(); stsToken_ = s; return s; } } /** * string sts_token = 4; * @return The bytes for stsToken. */ @java.lang.Override public com.google.protobuf.ByteString getStsTokenBytes() { java.lang.Object ref = stsToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stsToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int GCS_REGION_FIELD_NUMBER = 5; private volatile java.lang.Object gcsRegion_; /** * string gcs_region = 5; * @return The gcsRegion. */ @java.lang.Override public java.lang.String getGcsRegion() { java.lang.Object ref = gcsRegion_; 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(); gcsRegion_ = s; return s; } } /** * string gcs_region = 5; * @return The bytes for gcsRegion. */ @java.lang.Override public com.google.protobuf.ByteString getGcsRegionBytes() { java.lang.Object ref = gcsRegion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); gcsRegion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int GCS_EXPIRE_TIME_FIELD_NUMBER = 6; private long gcsExpireTime_; /** * uint64 gcs_expire_time = 6; * @return The gcsExpireTime. */ @java.lang.Override public long getGcsExpireTime() { return gcsExpireTime_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stsAkId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, stsAkId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stsAkSecret_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, stsAkSecret_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stsToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, stsToken_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gcsRegion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, gcsRegion_); } if (gcsExpireTime_ != 0L) { output.writeUInt64(6, gcsExpireTime_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stsAkId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, stsAkId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stsAkSecret_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, stsAkSecret_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stsToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, stsToken_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(gcsRegion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, gcsRegion_); } if (gcsExpireTime_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(6, gcsExpireTime_); } 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 cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo other = (cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo) obj; if (!getPath() .equals(other.getPath())) return false; if (!getStsAkId() .equals(other.getStsAkId())) return false; if (!getStsAkSecret() .equals(other.getStsAkSecret())) return false; if (!getStsToken() .equals(other.getStsToken())) return false; if (!getGcsRegion() .equals(other.getGcsRegion())) return false; if (getGcsExpireTime() != other.getGcsExpireTime()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); hash = (37 * hash) + STS_AK_ID_FIELD_NUMBER; hash = (53 * hash) + getStsAkId().hashCode(); hash = (37 * hash) + STS_AK_SECRET_FIELD_NUMBER; hash = (53 * hash) + getStsAkSecret().hashCode(); hash = (37 * hash) + STS_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getStsToken().hashCode(); hash = (37 * hash) + GCS_REGION_FIELD_NUMBER; hash = (53 * hash) + getGcsRegion().hashCode(); hash = (37 * hash) + GCS_EXPIRE_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getGcsExpireTime()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo 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 cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo 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 cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo 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(cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo 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 cz.proto.ingestion.v2.GcsStagingPathInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.GcsStagingPathInfo) cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GcsStagingPathInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GcsStagingPathInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo.class, cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); path_ = ""; stsAkId_ = ""; stsAkSecret_ = ""; stsToken_ = ""; gcsRegion_ = ""; gcsExpireTime_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GcsStagingPathInfo_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo build() { cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo buildPartial() { cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo result = new cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo(this); result.path_ = path_; result.stsAkId_ = stsAkId_; result.stsAkSecret_ = stsAkSecret_; result.stsToken_ = stsToken_; result.gcsRegion_ = gcsRegion_; result.gcsExpireTime_ = gcsExpireTime_; 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 cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo other) { if (other == cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo.getDefaultInstance()) return this; if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); } if (!other.getStsAkId().isEmpty()) { stsAkId_ = other.stsAkId_; onChanged(); } if (!other.getStsAkSecret().isEmpty()) { stsAkSecret_ = other.stsAkSecret_; onChanged(); } if (!other.getStsToken().isEmpty()) { stsToken_ = other.stsToken_; onChanged(); } if (!other.getGcsRegion().isEmpty()) { gcsRegion_ = other.gcsRegion_; onChanged(); } if (other.getGcsExpireTime() != 0L) { setGcsExpireTime(other.getGcsExpireTime()); } 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 { cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object path_ = ""; /** * string path = 1; * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } else { return (java.lang.String) ref; } } /** * string path = 1; * @return The bytes for path. */ public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string path = 1; * @param value The path to set. * @return This builder for chaining. */ public Builder setPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } path_ = value; onChanged(); return this; } /** * string path = 1; * @return This builder for chaining. */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** * string path = 1; * @param value The bytes for path to set. * @return This builder for chaining. */ public Builder setPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); path_ = value; onChanged(); return this; } private java.lang.Object stsAkId_ = ""; /** * string sts_ak_id = 2; * @return The stsAkId. */ public java.lang.String getStsAkId() { java.lang.Object ref = stsAkId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stsAkId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string sts_ak_id = 2; * @return The bytes for stsAkId. */ public com.google.protobuf.ByteString getStsAkIdBytes() { java.lang.Object ref = stsAkId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stsAkId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string sts_ak_id = 2; * @param value The stsAkId to set. * @return This builder for chaining. */ public Builder setStsAkId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } stsAkId_ = value; onChanged(); return this; } /** * string sts_ak_id = 2; * @return This builder for chaining. */ public Builder clearStsAkId() { stsAkId_ = getDefaultInstance().getStsAkId(); onChanged(); return this; } /** * string sts_ak_id = 2; * @param value The bytes for stsAkId to set. * @return This builder for chaining. */ public Builder setStsAkIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); stsAkId_ = value; onChanged(); return this; } private java.lang.Object stsAkSecret_ = ""; /** * string sts_ak_secret = 3; * @return The stsAkSecret. */ public java.lang.String getStsAkSecret() { java.lang.Object ref = stsAkSecret_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stsAkSecret_ = s; return s; } else { return (java.lang.String) ref; } } /** * string sts_ak_secret = 3; * @return The bytes for stsAkSecret. */ public com.google.protobuf.ByteString getStsAkSecretBytes() { java.lang.Object ref = stsAkSecret_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stsAkSecret_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string sts_ak_secret = 3; * @param value The stsAkSecret to set. * @return This builder for chaining. */ public Builder setStsAkSecret( java.lang.String value) { if (value == null) { throw new NullPointerException(); } stsAkSecret_ = value; onChanged(); return this; } /** * string sts_ak_secret = 3; * @return This builder for chaining. */ public Builder clearStsAkSecret() { stsAkSecret_ = getDefaultInstance().getStsAkSecret(); onChanged(); return this; } /** * string sts_ak_secret = 3; * @param value The bytes for stsAkSecret to set. * @return This builder for chaining. */ public Builder setStsAkSecretBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); stsAkSecret_ = value; onChanged(); return this; } private java.lang.Object stsToken_ = ""; /** * string sts_token = 4; * @return The stsToken. */ public java.lang.String getStsToken() { java.lang.Object ref = stsToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stsToken_ = s; return s; } else { return (java.lang.String) ref; } } /** * string sts_token = 4; * @return The bytes for stsToken. */ public com.google.protobuf.ByteString getStsTokenBytes() { java.lang.Object ref = stsToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stsToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string sts_token = 4; * @param value The stsToken to set. * @return This builder for chaining. */ public Builder setStsToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } stsToken_ = value; onChanged(); return this; } /** * string sts_token = 4; * @return This builder for chaining. */ public Builder clearStsToken() { stsToken_ = getDefaultInstance().getStsToken(); onChanged(); return this; } /** * string sts_token = 4; * @param value The bytes for stsToken to set. * @return This builder for chaining. */ public Builder setStsTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); stsToken_ = value; onChanged(); return this; } private java.lang.Object gcsRegion_ = ""; /** * string gcs_region = 5; * @return The gcsRegion. */ public java.lang.String getGcsRegion() { java.lang.Object ref = gcsRegion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); gcsRegion_ = s; return s; } else { return (java.lang.String) ref; } } /** * string gcs_region = 5; * @return The bytes for gcsRegion. */ public com.google.protobuf.ByteString getGcsRegionBytes() { java.lang.Object ref = gcsRegion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); gcsRegion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string gcs_region = 5; * @param value The gcsRegion to set. * @return This builder for chaining. */ public Builder setGcsRegion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } gcsRegion_ = value; onChanged(); return this; } /** * string gcs_region = 5; * @return This builder for chaining. */ public Builder clearGcsRegion() { gcsRegion_ = getDefaultInstance().getGcsRegion(); onChanged(); return this; } /** * string gcs_region = 5; * @param value The bytes for gcsRegion to set. * @return This builder for chaining. */ public Builder setGcsRegionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); gcsRegion_ = value; onChanged(); return this; } private long gcsExpireTime_ ; /** * uint64 gcs_expire_time = 6; * @return The gcsExpireTime. */ @java.lang.Override public long getGcsExpireTime() { return gcsExpireTime_; } /** * uint64 gcs_expire_time = 6; * @param value The gcsExpireTime to set. * @return This builder for chaining. */ public Builder setGcsExpireTime(long value) { gcsExpireTime_ = value; onChanged(); return this; } /** * uint64 gcs_expire_time = 6; * @return This builder for chaining. */ public Builder clearGcsExpireTime() { gcsExpireTime_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.GcsStagingPathInfo) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.GcsStagingPathInfo) private static final cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo(); } public static cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GcsStagingPathInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GcsStagingPathInfo(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 cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LocalStagingPathInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.LocalStagingPathInfo) com.google.protobuf.MessageOrBuilder { /** * string path = 1; * @return The path. */ java.lang.String getPath(); /** * string path = 1; * @return The bytes for path. */ com.google.protobuf.ByteString getPathBytes(); } /** * Protobuf type {@code cz.proto.ingestion.v2.LocalStagingPathInfo} */ public static final class LocalStagingPathInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.LocalStagingPathInfo) LocalStagingPathInfoOrBuilder { private static final long serialVersionUID = 0L; // Use LocalStagingPathInfo.newBuilder() to construct. private LocalStagingPathInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LocalStagingPathInfo() { path_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new LocalStagingPathInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LocalStagingPathInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); path_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_LocalStagingPathInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_LocalStagingPathInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo.class, cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo.Builder.class); } public static final int PATH_FIELD_NUMBER = 1; private volatile java.lang.Object path_; /** * string path = 1; * @return The path. */ @java.lang.Override public java.lang.String getPath() { java.lang.Object ref = path_; 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(); path_ = s; return s; } } /** * string path = 1; * @return The bytes for path. */ @java.lang.Override public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_); } 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 cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo other = (cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo) obj; if (!getPath() .equals(other.getPath())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + PATH_FIELD_NUMBER; hash = (53 * hash) + getPath().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo 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 cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo 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 cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo 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(cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo 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 cz.proto.ingestion.v2.LocalStagingPathInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.LocalStagingPathInfo) cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_LocalStagingPathInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_LocalStagingPathInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo.class, cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); path_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_LocalStagingPathInfo_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo build() { cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo buildPartial() { cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo result = new cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo(this); result.path_ = path_; 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 cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo other) { if (other == cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo.getDefaultInstance()) return this; if (!other.getPath().isEmpty()) { path_ = other.path_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object path_ = ""; /** * string path = 1; * @return The path. */ public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); path_ = s; return s; } else { return (java.lang.String) ref; } } /** * string path = 1; * @return The bytes for path. */ public com.google.protobuf.ByteString getPathBytes() { java.lang.Object ref = path_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); path_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string path = 1; * @param value The path to set. * @return This builder for chaining. */ public Builder setPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } path_ = value; onChanged(); return this; } /** * string path = 1; * @return This builder for chaining. */ public Builder clearPath() { path_ = getDefaultInstance().getPath(); onChanged(); return this; } /** * string path = 1; * @param value The bytes for path to set. * @return This builder for chaining. */ public Builder setPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); path_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.LocalStagingPathInfo) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.LocalStagingPathInfo) private static final cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo(); } public static cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public LocalStagingPathInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new LocalStagingPathInfo(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 cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StagingPathInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.StagingPathInfo) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.OssStagingPathInfo oss_path = 1; * @return Whether the ossPath field is set. */ boolean hasOssPath(); /** * .cz.proto.ingestion.v2.OssStagingPathInfo oss_path = 1; * @return The ossPath. */ cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo getOssPath(); /** * .cz.proto.ingestion.v2.OssStagingPathInfo oss_path = 1; */ cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfoOrBuilder getOssPathOrBuilder(); /** * .cz.proto.ingestion.v2.CosStagingPathInfo cos_path = 2; * @return Whether the cosPath field is set. */ boolean hasCosPath(); /** * .cz.proto.ingestion.v2.CosStagingPathInfo cos_path = 2; * @return The cosPath. */ cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo getCosPath(); /** * .cz.proto.ingestion.v2.CosStagingPathInfo cos_path = 2; */ cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfoOrBuilder getCosPathOrBuilder(); /** * .cz.proto.ingestion.v2.LocalStagingPathInfo local_path = 3; * @return Whether the localPath field is set. */ boolean hasLocalPath(); /** * .cz.proto.ingestion.v2.LocalStagingPathInfo local_path = 3; * @return The localPath. */ cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo getLocalPath(); /** * .cz.proto.ingestion.v2.LocalStagingPathInfo local_path = 3; */ cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfoOrBuilder getLocalPathOrBuilder(); /** * .cz.proto.ingestion.v2.S3StagingPathInfo s3_path = 4; * @return Whether the s3Path field is set. */ boolean hasS3Path(); /** * .cz.proto.ingestion.v2.S3StagingPathInfo s3_path = 4; * @return The s3Path. */ cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo getS3Path(); /** * .cz.proto.ingestion.v2.S3StagingPathInfo s3_path = 4; */ cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfoOrBuilder getS3PathOrBuilder(); /** * .cz.proto.ingestion.v2.GcsStagingPathInfo gcs_path = 5; * @return Whether the gcsPath field is set. */ boolean hasGcsPath(); /** * .cz.proto.ingestion.v2.GcsStagingPathInfo gcs_path = 5; * @return The gcsPath. */ cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo getGcsPath(); /** * .cz.proto.ingestion.v2.GcsStagingPathInfo gcs_path = 5; */ cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfoOrBuilder getGcsPathOrBuilder(); public cz.proto.ingestion.v2.IngestionV2.StagingPathInfo.PathInfoCase getPathInfoCase(); } /** * Protobuf type {@code cz.proto.ingestion.v2.StagingPathInfo} */ public static final class StagingPathInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.StagingPathInfo) StagingPathInfoOrBuilder { private static final long serialVersionUID = 0L; // Use StagingPathInfo.newBuilder() to construct. private StagingPathInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StagingPathInfo() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new StagingPathInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StagingPathInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo.Builder subBuilder = null; if (pathInfoCase_ == 1) { subBuilder = ((cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo) pathInfo_).toBuilder(); } pathInfo_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo) pathInfo_); pathInfo_ = subBuilder.buildPartial(); } pathInfoCase_ = 1; break; } case 18: { cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo.Builder subBuilder = null; if (pathInfoCase_ == 2) { subBuilder = ((cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo) pathInfo_).toBuilder(); } pathInfo_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo) pathInfo_); pathInfo_ = subBuilder.buildPartial(); } pathInfoCase_ = 2; break; } case 26: { cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo.Builder subBuilder = null; if (pathInfoCase_ == 3) { subBuilder = ((cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo) pathInfo_).toBuilder(); } pathInfo_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo) pathInfo_); pathInfo_ = subBuilder.buildPartial(); } pathInfoCase_ = 3; break; } case 34: { cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo.Builder subBuilder = null; if (pathInfoCase_ == 4) { subBuilder = ((cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo) pathInfo_).toBuilder(); } pathInfo_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo) pathInfo_); pathInfo_ = subBuilder.buildPartial(); } pathInfoCase_ = 4; break; } case 42: { cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo.Builder subBuilder = null; if (pathInfoCase_ == 5) { subBuilder = ((cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo) pathInfo_).toBuilder(); } pathInfo_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo) pathInfo_); pathInfo_ = subBuilder.buildPartial(); } pathInfoCase_ = 5; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_StagingPathInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_StagingPathInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.StagingPathInfo.class, cz.proto.ingestion.v2.IngestionV2.StagingPathInfo.Builder.class); } private int pathInfoCase_ = 0; private java.lang.Object pathInfo_; public enum PathInfoCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { OSS_PATH(1), COS_PATH(2), LOCAL_PATH(3), S3_PATH(4), GCS_PATH(5), PATHINFO_NOT_SET(0); private final int value; private PathInfoCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static PathInfoCase valueOf(int value) { return forNumber(value); } public static PathInfoCase forNumber(int value) { switch (value) { case 1: return OSS_PATH; case 2: return COS_PATH; case 3: return LOCAL_PATH; case 4: return S3_PATH; case 5: return GCS_PATH; case 0: return PATHINFO_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public PathInfoCase getPathInfoCase() { return PathInfoCase.forNumber( pathInfoCase_); } public static final int OSS_PATH_FIELD_NUMBER = 1; /** * .cz.proto.ingestion.v2.OssStagingPathInfo oss_path = 1; * @return Whether the ossPath field is set. */ @java.lang.Override public boolean hasOssPath() { return pathInfoCase_ == 1; } /** * .cz.proto.ingestion.v2.OssStagingPathInfo oss_path = 1; * @return The ossPath. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo getOssPath() { if (pathInfoCase_ == 1) { return (cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo) pathInfo_; } return cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo.getDefaultInstance(); } /** * .cz.proto.ingestion.v2.OssStagingPathInfo oss_path = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfoOrBuilder getOssPathOrBuilder() { if (pathInfoCase_ == 1) { return (cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo) pathInfo_; } return cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo.getDefaultInstance(); } public static final int COS_PATH_FIELD_NUMBER = 2; /** * .cz.proto.ingestion.v2.CosStagingPathInfo cos_path = 2; * @return Whether the cosPath field is set. */ @java.lang.Override public boolean hasCosPath() { return pathInfoCase_ == 2; } /** * .cz.proto.ingestion.v2.CosStagingPathInfo cos_path = 2; * @return The cosPath. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo getCosPath() { if (pathInfoCase_ == 2) { return (cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo) pathInfo_; } return cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo.getDefaultInstance(); } /** * .cz.proto.ingestion.v2.CosStagingPathInfo cos_path = 2; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfoOrBuilder getCosPathOrBuilder() { if (pathInfoCase_ == 2) { return (cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo) pathInfo_; } return cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo.getDefaultInstance(); } public static final int LOCAL_PATH_FIELD_NUMBER = 3; /** * .cz.proto.ingestion.v2.LocalStagingPathInfo local_path = 3; * @return Whether the localPath field is set. */ @java.lang.Override public boolean hasLocalPath() { return pathInfoCase_ == 3; } /** * .cz.proto.ingestion.v2.LocalStagingPathInfo local_path = 3; * @return The localPath. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo getLocalPath() { if (pathInfoCase_ == 3) { return (cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo) pathInfo_; } return cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo.getDefaultInstance(); } /** * .cz.proto.ingestion.v2.LocalStagingPathInfo local_path = 3; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfoOrBuilder getLocalPathOrBuilder() { if (pathInfoCase_ == 3) { return (cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo) pathInfo_; } return cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo.getDefaultInstance(); } public static final int S3_PATH_FIELD_NUMBER = 4; /** * .cz.proto.ingestion.v2.S3StagingPathInfo s3_path = 4; * @return Whether the s3Path field is set. */ @java.lang.Override public boolean hasS3Path() { return pathInfoCase_ == 4; } /** * .cz.proto.ingestion.v2.S3StagingPathInfo s3_path = 4; * @return The s3Path. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo getS3Path() { if (pathInfoCase_ == 4) { return (cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo) pathInfo_; } return cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo.getDefaultInstance(); } /** * .cz.proto.ingestion.v2.S3StagingPathInfo s3_path = 4; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfoOrBuilder getS3PathOrBuilder() { if (pathInfoCase_ == 4) { return (cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo) pathInfo_; } return cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo.getDefaultInstance(); } public static final int GCS_PATH_FIELD_NUMBER = 5; /** * .cz.proto.ingestion.v2.GcsStagingPathInfo gcs_path = 5; * @return Whether the gcsPath field is set. */ @java.lang.Override public boolean hasGcsPath() { return pathInfoCase_ == 5; } /** * .cz.proto.ingestion.v2.GcsStagingPathInfo gcs_path = 5; * @return The gcsPath. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo getGcsPath() { if (pathInfoCase_ == 5) { return (cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo) pathInfo_; } return cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo.getDefaultInstance(); } /** * .cz.proto.ingestion.v2.GcsStagingPathInfo gcs_path = 5; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfoOrBuilder getGcsPathOrBuilder() { if (pathInfoCase_ == 5) { return (cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo) pathInfo_; } return cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo.getDefaultInstance(); } 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 (pathInfoCase_ == 1) { output.writeMessage(1, (cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo) pathInfo_); } if (pathInfoCase_ == 2) { output.writeMessage(2, (cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo) pathInfo_); } if (pathInfoCase_ == 3) { output.writeMessage(3, (cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo) pathInfo_); } if (pathInfoCase_ == 4) { output.writeMessage(4, (cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo) pathInfo_); } if (pathInfoCase_ == 5) { output.writeMessage(5, (cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo) pathInfo_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (pathInfoCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo) pathInfo_); } if (pathInfoCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo) pathInfo_); } if (pathInfoCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo) pathInfo_); } if (pathInfoCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, (cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo) pathInfo_); } if (pathInfoCase_ == 5) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, (cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo) pathInfo_); } 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 cz.proto.ingestion.v2.IngestionV2.StagingPathInfo)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.StagingPathInfo other = (cz.proto.ingestion.v2.IngestionV2.StagingPathInfo) obj; if (!getPathInfoCase().equals(other.getPathInfoCase())) return false; switch (pathInfoCase_) { case 1: if (!getOssPath() .equals(other.getOssPath())) return false; break; case 2: if (!getCosPath() .equals(other.getCosPath())) return false; break; case 3: if (!getLocalPath() .equals(other.getLocalPath())) return false; break; case 4: if (!getS3Path() .equals(other.getS3Path())) return false; break; case 5: if (!getGcsPath() .equals(other.getGcsPath())) return false; break; case 0: default: } 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(); switch (pathInfoCase_) { case 1: hash = (37 * hash) + OSS_PATH_FIELD_NUMBER; hash = (53 * hash) + getOssPath().hashCode(); break; case 2: hash = (37 * hash) + COS_PATH_FIELD_NUMBER; hash = (53 * hash) + getCosPath().hashCode(); break; case 3: hash = (37 * hash) + LOCAL_PATH_FIELD_NUMBER; hash = (53 * hash) + getLocalPath().hashCode(); break; case 4: hash = (37 * hash) + S3_PATH_FIELD_NUMBER; hash = (53 * hash) + getS3Path().hashCode(); break; case 5: hash = (37 * hash) + GCS_PATH_FIELD_NUMBER; hash = (53 * hash) + getGcsPath().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.StagingPathInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.StagingPathInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.StagingPathInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.StagingPathInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.StagingPathInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.StagingPathInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.StagingPathInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.StagingPathInfo 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 cz.proto.ingestion.v2.IngestionV2.StagingPathInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.StagingPathInfo 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 cz.proto.ingestion.v2.IngestionV2.StagingPathInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.StagingPathInfo 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(cz.proto.ingestion.v2.IngestionV2.StagingPathInfo 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 cz.proto.ingestion.v2.StagingPathInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.StagingPathInfo) cz.proto.ingestion.v2.IngestionV2.StagingPathInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_StagingPathInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_StagingPathInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.StagingPathInfo.class, cz.proto.ingestion.v2.IngestionV2.StagingPathInfo.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.StagingPathInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); pathInfoCase_ = 0; pathInfo_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_StagingPathInfo_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.StagingPathInfo getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.StagingPathInfo.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.StagingPathInfo build() { cz.proto.ingestion.v2.IngestionV2.StagingPathInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.StagingPathInfo buildPartial() { cz.proto.ingestion.v2.IngestionV2.StagingPathInfo result = new cz.proto.ingestion.v2.IngestionV2.StagingPathInfo(this); if (pathInfoCase_ == 1) { if (ossPathBuilder_ == null) { result.pathInfo_ = pathInfo_; } else { result.pathInfo_ = ossPathBuilder_.build(); } } if (pathInfoCase_ == 2) { if (cosPathBuilder_ == null) { result.pathInfo_ = pathInfo_; } else { result.pathInfo_ = cosPathBuilder_.build(); } } if (pathInfoCase_ == 3) { if (localPathBuilder_ == null) { result.pathInfo_ = pathInfo_; } else { result.pathInfo_ = localPathBuilder_.build(); } } if (pathInfoCase_ == 4) { if (s3PathBuilder_ == null) { result.pathInfo_ = pathInfo_; } else { result.pathInfo_ = s3PathBuilder_.build(); } } if (pathInfoCase_ == 5) { if (gcsPathBuilder_ == null) { result.pathInfo_ = pathInfo_; } else { result.pathInfo_ = gcsPathBuilder_.build(); } } result.pathInfoCase_ = pathInfoCase_; 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 cz.proto.ingestion.v2.IngestionV2.StagingPathInfo) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.StagingPathInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.StagingPathInfo other) { if (other == cz.proto.ingestion.v2.IngestionV2.StagingPathInfo.getDefaultInstance()) return this; switch (other.getPathInfoCase()) { case OSS_PATH: { mergeOssPath(other.getOssPath()); break; } case COS_PATH: { mergeCosPath(other.getCosPath()); break; } case LOCAL_PATH: { mergeLocalPath(other.getLocalPath()); break; } case S3_PATH: { mergeS3Path(other.getS3Path()); break; } case GCS_PATH: { mergeGcsPath(other.getGcsPath()); break; } case PATHINFO_NOT_SET: { break; } } 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 { cz.proto.ingestion.v2.IngestionV2.StagingPathInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.StagingPathInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int pathInfoCase_ = 0; private java.lang.Object pathInfo_; public PathInfoCase getPathInfoCase() { return PathInfoCase.forNumber( pathInfoCase_); } public Builder clearPathInfo() { pathInfoCase_ = 0; pathInfo_ = null; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo, cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo.Builder, cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfoOrBuilder> ossPathBuilder_; /** * .cz.proto.ingestion.v2.OssStagingPathInfo oss_path = 1; * @return Whether the ossPath field is set. */ @java.lang.Override public boolean hasOssPath() { return pathInfoCase_ == 1; } /** * .cz.proto.ingestion.v2.OssStagingPathInfo oss_path = 1; * @return The ossPath. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo getOssPath() { if (ossPathBuilder_ == null) { if (pathInfoCase_ == 1) { return (cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo) pathInfo_; } return cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo.getDefaultInstance(); } else { if (pathInfoCase_ == 1) { return ossPathBuilder_.getMessage(); } return cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo.getDefaultInstance(); } } /** * .cz.proto.ingestion.v2.OssStagingPathInfo oss_path = 1; */ public Builder setOssPath(cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo value) { if (ossPathBuilder_ == null) { if (value == null) { throw new NullPointerException(); } pathInfo_ = value; onChanged(); } else { ossPathBuilder_.setMessage(value); } pathInfoCase_ = 1; return this; } /** * .cz.proto.ingestion.v2.OssStagingPathInfo oss_path = 1; */ public Builder setOssPath( cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo.Builder builderForValue) { if (ossPathBuilder_ == null) { pathInfo_ = builderForValue.build(); onChanged(); } else { ossPathBuilder_.setMessage(builderForValue.build()); } pathInfoCase_ = 1; return this; } /** * .cz.proto.ingestion.v2.OssStagingPathInfo oss_path = 1; */ public Builder mergeOssPath(cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo value) { if (ossPathBuilder_ == null) { if (pathInfoCase_ == 1 && pathInfo_ != cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo.getDefaultInstance()) { pathInfo_ = cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo.newBuilder((cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo) pathInfo_) .mergeFrom(value).buildPartial(); } else { pathInfo_ = value; } onChanged(); } else { if (pathInfoCase_ == 1) { ossPathBuilder_.mergeFrom(value); } ossPathBuilder_.setMessage(value); } pathInfoCase_ = 1; return this; } /** * .cz.proto.ingestion.v2.OssStagingPathInfo oss_path = 1; */ public Builder clearOssPath() { if (ossPathBuilder_ == null) { if (pathInfoCase_ == 1) { pathInfoCase_ = 0; pathInfo_ = null; onChanged(); } } else { if (pathInfoCase_ == 1) { pathInfoCase_ = 0; pathInfo_ = null; } ossPathBuilder_.clear(); } return this; } /** * .cz.proto.ingestion.v2.OssStagingPathInfo oss_path = 1; */ public cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo.Builder getOssPathBuilder() { return getOssPathFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.OssStagingPathInfo oss_path = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfoOrBuilder getOssPathOrBuilder() { if ((pathInfoCase_ == 1) && (ossPathBuilder_ != null)) { return ossPathBuilder_.getMessageOrBuilder(); } else { if (pathInfoCase_ == 1) { return (cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo) pathInfo_; } return cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo.getDefaultInstance(); } } /** * .cz.proto.ingestion.v2.OssStagingPathInfo oss_path = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo, cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo.Builder, cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfoOrBuilder> getOssPathFieldBuilder() { if (ossPathBuilder_ == null) { if (!(pathInfoCase_ == 1)) { pathInfo_ = cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo.getDefaultInstance(); } ossPathBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo, cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo.Builder, cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfoOrBuilder>( (cz.proto.ingestion.v2.IngestionV2.OssStagingPathInfo) pathInfo_, getParentForChildren(), isClean()); pathInfo_ = null; } pathInfoCase_ = 1; onChanged();; return ossPathBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo, cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo.Builder, cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfoOrBuilder> cosPathBuilder_; /** * .cz.proto.ingestion.v2.CosStagingPathInfo cos_path = 2; * @return Whether the cosPath field is set. */ @java.lang.Override public boolean hasCosPath() { return pathInfoCase_ == 2; } /** * .cz.proto.ingestion.v2.CosStagingPathInfo cos_path = 2; * @return The cosPath. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo getCosPath() { if (cosPathBuilder_ == null) { if (pathInfoCase_ == 2) { return (cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo) pathInfo_; } return cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo.getDefaultInstance(); } else { if (pathInfoCase_ == 2) { return cosPathBuilder_.getMessage(); } return cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo.getDefaultInstance(); } } /** * .cz.proto.ingestion.v2.CosStagingPathInfo cos_path = 2; */ public Builder setCosPath(cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo value) { if (cosPathBuilder_ == null) { if (value == null) { throw new NullPointerException(); } pathInfo_ = value; onChanged(); } else { cosPathBuilder_.setMessage(value); } pathInfoCase_ = 2; return this; } /** * .cz.proto.ingestion.v2.CosStagingPathInfo cos_path = 2; */ public Builder setCosPath( cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo.Builder builderForValue) { if (cosPathBuilder_ == null) { pathInfo_ = builderForValue.build(); onChanged(); } else { cosPathBuilder_.setMessage(builderForValue.build()); } pathInfoCase_ = 2; return this; } /** * .cz.proto.ingestion.v2.CosStagingPathInfo cos_path = 2; */ public Builder mergeCosPath(cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo value) { if (cosPathBuilder_ == null) { if (pathInfoCase_ == 2 && pathInfo_ != cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo.getDefaultInstance()) { pathInfo_ = cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo.newBuilder((cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo) pathInfo_) .mergeFrom(value).buildPartial(); } else { pathInfo_ = value; } onChanged(); } else { if (pathInfoCase_ == 2) { cosPathBuilder_.mergeFrom(value); } cosPathBuilder_.setMessage(value); } pathInfoCase_ = 2; return this; } /** * .cz.proto.ingestion.v2.CosStagingPathInfo cos_path = 2; */ public Builder clearCosPath() { if (cosPathBuilder_ == null) { if (pathInfoCase_ == 2) { pathInfoCase_ = 0; pathInfo_ = null; onChanged(); } } else { if (pathInfoCase_ == 2) { pathInfoCase_ = 0; pathInfo_ = null; } cosPathBuilder_.clear(); } return this; } /** * .cz.proto.ingestion.v2.CosStagingPathInfo cos_path = 2; */ public cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo.Builder getCosPathBuilder() { return getCosPathFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.CosStagingPathInfo cos_path = 2; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfoOrBuilder getCosPathOrBuilder() { if ((pathInfoCase_ == 2) && (cosPathBuilder_ != null)) { return cosPathBuilder_.getMessageOrBuilder(); } else { if (pathInfoCase_ == 2) { return (cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo) pathInfo_; } return cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo.getDefaultInstance(); } } /** * .cz.proto.ingestion.v2.CosStagingPathInfo cos_path = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo, cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo.Builder, cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfoOrBuilder> getCosPathFieldBuilder() { if (cosPathBuilder_ == null) { if (!(pathInfoCase_ == 2)) { pathInfo_ = cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo.getDefaultInstance(); } cosPathBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo, cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo.Builder, cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfoOrBuilder>( (cz.proto.ingestion.v2.IngestionV2.CosStagingPathInfo) pathInfo_, getParentForChildren(), isClean()); pathInfo_ = null; } pathInfoCase_ = 2; onChanged();; return cosPathBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo, cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo.Builder, cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfoOrBuilder> localPathBuilder_; /** * .cz.proto.ingestion.v2.LocalStagingPathInfo local_path = 3; * @return Whether the localPath field is set. */ @java.lang.Override public boolean hasLocalPath() { return pathInfoCase_ == 3; } /** * .cz.proto.ingestion.v2.LocalStagingPathInfo local_path = 3; * @return The localPath. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo getLocalPath() { if (localPathBuilder_ == null) { if (pathInfoCase_ == 3) { return (cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo) pathInfo_; } return cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo.getDefaultInstance(); } else { if (pathInfoCase_ == 3) { return localPathBuilder_.getMessage(); } return cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo.getDefaultInstance(); } } /** * .cz.proto.ingestion.v2.LocalStagingPathInfo local_path = 3; */ public Builder setLocalPath(cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo value) { if (localPathBuilder_ == null) { if (value == null) { throw new NullPointerException(); } pathInfo_ = value; onChanged(); } else { localPathBuilder_.setMessage(value); } pathInfoCase_ = 3; return this; } /** * .cz.proto.ingestion.v2.LocalStagingPathInfo local_path = 3; */ public Builder setLocalPath( cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo.Builder builderForValue) { if (localPathBuilder_ == null) { pathInfo_ = builderForValue.build(); onChanged(); } else { localPathBuilder_.setMessage(builderForValue.build()); } pathInfoCase_ = 3; return this; } /** * .cz.proto.ingestion.v2.LocalStagingPathInfo local_path = 3; */ public Builder mergeLocalPath(cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo value) { if (localPathBuilder_ == null) { if (pathInfoCase_ == 3 && pathInfo_ != cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo.getDefaultInstance()) { pathInfo_ = cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo.newBuilder((cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo) pathInfo_) .mergeFrom(value).buildPartial(); } else { pathInfo_ = value; } onChanged(); } else { if (pathInfoCase_ == 3) { localPathBuilder_.mergeFrom(value); } localPathBuilder_.setMessage(value); } pathInfoCase_ = 3; return this; } /** * .cz.proto.ingestion.v2.LocalStagingPathInfo local_path = 3; */ public Builder clearLocalPath() { if (localPathBuilder_ == null) { if (pathInfoCase_ == 3) { pathInfoCase_ = 0; pathInfo_ = null; onChanged(); } } else { if (pathInfoCase_ == 3) { pathInfoCase_ = 0; pathInfo_ = null; } localPathBuilder_.clear(); } return this; } /** * .cz.proto.ingestion.v2.LocalStagingPathInfo local_path = 3; */ public cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo.Builder getLocalPathBuilder() { return getLocalPathFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.LocalStagingPathInfo local_path = 3; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfoOrBuilder getLocalPathOrBuilder() { if ((pathInfoCase_ == 3) && (localPathBuilder_ != null)) { return localPathBuilder_.getMessageOrBuilder(); } else { if (pathInfoCase_ == 3) { return (cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo) pathInfo_; } return cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo.getDefaultInstance(); } } /** * .cz.proto.ingestion.v2.LocalStagingPathInfo local_path = 3; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo, cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo.Builder, cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfoOrBuilder> getLocalPathFieldBuilder() { if (localPathBuilder_ == null) { if (!(pathInfoCase_ == 3)) { pathInfo_ = cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo.getDefaultInstance(); } localPathBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo, cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo.Builder, cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfoOrBuilder>( (cz.proto.ingestion.v2.IngestionV2.LocalStagingPathInfo) pathInfo_, getParentForChildren(), isClean()); pathInfo_ = null; } pathInfoCase_ = 3; onChanged();; return localPathBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo, cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo.Builder, cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfoOrBuilder> s3PathBuilder_; /** * .cz.proto.ingestion.v2.S3StagingPathInfo s3_path = 4; * @return Whether the s3Path field is set. */ @java.lang.Override public boolean hasS3Path() { return pathInfoCase_ == 4; } /** * .cz.proto.ingestion.v2.S3StagingPathInfo s3_path = 4; * @return The s3Path. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo getS3Path() { if (s3PathBuilder_ == null) { if (pathInfoCase_ == 4) { return (cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo) pathInfo_; } return cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo.getDefaultInstance(); } else { if (pathInfoCase_ == 4) { return s3PathBuilder_.getMessage(); } return cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo.getDefaultInstance(); } } /** * .cz.proto.ingestion.v2.S3StagingPathInfo s3_path = 4; */ public Builder setS3Path(cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo value) { if (s3PathBuilder_ == null) { if (value == null) { throw new NullPointerException(); } pathInfo_ = value; onChanged(); } else { s3PathBuilder_.setMessage(value); } pathInfoCase_ = 4; return this; } /** * .cz.proto.ingestion.v2.S3StagingPathInfo s3_path = 4; */ public Builder setS3Path( cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo.Builder builderForValue) { if (s3PathBuilder_ == null) { pathInfo_ = builderForValue.build(); onChanged(); } else { s3PathBuilder_.setMessage(builderForValue.build()); } pathInfoCase_ = 4; return this; } /** * .cz.proto.ingestion.v2.S3StagingPathInfo s3_path = 4; */ public Builder mergeS3Path(cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo value) { if (s3PathBuilder_ == null) { if (pathInfoCase_ == 4 && pathInfo_ != cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo.getDefaultInstance()) { pathInfo_ = cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo.newBuilder((cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo) pathInfo_) .mergeFrom(value).buildPartial(); } else { pathInfo_ = value; } onChanged(); } else { if (pathInfoCase_ == 4) { s3PathBuilder_.mergeFrom(value); } s3PathBuilder_.setMessage(value); } pathInfoCase_ = 4; return this; } /** * .cz.proto.ingestion.v2.S3StagingPathInfo s3_path = 4; */ public Builder clearS3Path() { if (s3PathBuilder_ == null) { if (pathInfoCase_ == 4) { pathInfoCase_ = 0; pathInfo_ = null; onChanged(); } } else { if (pathInfoCase_ == 4) { pathInfoCase_ = 0; pathInfo_ = null; } s3PathBuilder_.clear(); } return this; } /** * .cz.proto.ingestion.v2.S3StagingPathInfo s3_path = 4; */ public cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo.Builder getS3PathBuilder() { return getS3PathFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.S3StagingPathInfo s3_path = 4; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfoOrBuilder getS3PathOrBuilder() { if ((pathInfoCase_ == 4) && (s3PathBuilder_ != null)) { return s3PathBuilder_.getMessageOrBuilder(); } else { if (pathInfoCase_ == 4) { return (cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo) pathInfo_; } return cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo.getDefaultInstance(); } } /** * .cz.proto.ingestion.v2.S3StagingPathInfo s3_path = 4; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo, cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo.Builder, cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfoOrBuilder> getS3PathFieldBuilder() { if (s3PathBuilder_ == null) { if (!(pathInfoCase_ == 4)) { pathInfo_ = cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo.getDefaultInstance(); } s3PathBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo, cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo.Builder, cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfoOrBuilder>( (cz.proto.ingestion.v2.IngestionV2.S3StagingPathInfo) pathInfo_, getParentForChildren(), isClean()); pathInfo_ = null; } pathInfoCase_ = 4; onChanged();; return s3PathBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo, cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo.Builder, cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfoOrBuilder> gcsPathBuilder_; /** * .cz.proto.ingestion.v2.GcsStagingPathInfo gcs_path = 5; * @return Whether the gcsPath field is set. */ @java.lang.Override public boolean hasGcsPath() { return pathInfoCase_ == 5; } /** * .cz.proto.ingestion.v2.GcsStagingPathInfo gcs_path = 5; * @return The gcsPath. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo getGcsPath() { if (gcsPathBuilder_ == null) { if (pathInfoCase_ == 5) { return (cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo) pathInfo_; } return cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo.getDefaultInstance(); } else { if (pathInfoCase_ == 5) { return gcsPathBuilder_.getMessage(); } return cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo.getDefaultInstance(); } } /** * .cz.proto.ingestion.v2.GcsStagingPathInfo gcs_path = 5; */ public Builder setGcsPath(cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo value) { if (gcsPathBuilder_ == null) { if (value == null) { throw new NullPointerException(); } pathInfo_ = value; onChanged(); } else { gcsPathBuilder_.setMessage(value); } pathInfoCase_ = 5; return this; } /** * .cz.proto.ingestion.v2.GcsStagingPathInfo gcs_path = 5; */ public Builder setGcsPath( cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo.Builder builderForValue) { if (gcsPathBuilder_ == null) { pathInfo_ = builderForValue.build(); onChanged(); } else { gcsPathBuilder_.setMessage(builderForValue.build()); } pathInfoCase_ = 5; return this; } /** * .cz.proto.ingestion.v2.GcsStagingPathInfo gcs_path = 5; */ public Builder mergeGcsPath(cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo value) { if (gcsPathBuilder_ == null) { if (pathInfoCase_ == 5 && pathInfo_ != cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo.getDefaultInstance()) { pathInfo_ = cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo.newBuilder((cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo) pathInfo_) .mergeFrom(value).buildPartial(); } else { pathInfo_ = value; } onChanged(); } else { if (pathInfoCase_ == 5) { gcsPathBuilder_.mergeFrom(value); } gcsPathBuilder_.setMessage(value); } pathInfoCase_ = 5; return this; } /** * .cz.proto.ingestion.v2.GcsStagingPathInfo gcs_path = 5; */ public Builder clearGcsPath() { if (gcsPathBuilder_ == null) { if (pathInfoCase_ == 5) { pathInfoCase_ = 0; pathInfo_ = null; onChanged(); } } else { if (pathInfoCase_ == 5) { pathInfoCase_ = 0; pathInfo_ = null; } gcsPathBuilder_.clear(); } return this; } /** * .cz.proto.ingestion.v2.GcsStagingPathInfo gcs_path = 5; */ public cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo.Builder getGcsPathBuilder() { return getGcsPathFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.GcsStagingPathInfo gcs_path = 5; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfoOrBuilder getGcsPathOrBuilder() { if ((pathInfoCase_ == 5) && (gcsPathBuilder_ != null)) { return gcsPathBuilder_.getMessageOrBuilder(); } else { if (pathInfoCase_ == 5) { return (cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo) pathInfo_; } return cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo.getDefaultInstance(); } } /** * .cz.proto.ingestion.v2.GcsStagingPathInfo gcs_path = 5; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo, cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo.Builder, cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfoOrBuilder> getGcsPathFieldBuilder() { if (gcsPathBuilder_ == null) { if (!(pathInfoCase_ == 5)) { pathInfo_ = cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo.getDefaultInstance(); } gcsPathBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo, cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo.Builder, cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfoOrBuilder>( (cz.proto.ingestion.v2.IngestionV2.GcsStagingPathInfo) pathInfo_, getParentForChildren(), isClean()); pathInfo_ = null; } pathInfoCase_ = 5; onChanged();; return gcsPathBuilder_; } @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:cz.proto.ingestion.v2.StagingPathInfo) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.StagingPathInfo) private static final cz.proto.ingestion.v2.IngestionV2.StagingPathInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.StagingPathInfo(); } public static cz.proto.ingestion.v2.IngestionV2.StagingPathInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public StagingPathInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new StagingPathInfo(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 cz.proto.ingestion.v2.IngestionV2.StagingPathInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BulkLoadStreamInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.BulkLoadStreamInfo) com.google.protobuf.MessageOrBuilder { /** * string stream_id = 1; * @return The streamId. */ java.lang.String getStreamId(); /** * string stream_id = 1; * @return The bytes for streamId. */ com.google.protobuf.ByteString getStreamIdBytes(); /** * .cz.proto.ingestion.v2.BulkLoadStreamState stream_state = 2; * @return The enum numeric value on the wire for streamState. */ int getStreamStateValue(); /** * .cz.proto.ingestion.v2.BulkLoadStreamState stream_state = 2; * @return The streamState. */ cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamState getStreamState(); /** * string sql_job_id = 3; * @return The sqlJobId. */ java.lang.String getSqlJobId(); /** * string sql_job_id = 3; * @return The bytes for sqlJobId. */ com.google.protobuf.ByteString getSqlJobIdBytes(); /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 4; * @return Whether the identifier field is set. */ boolean hasIdentifier(); /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 4; * @return The identifier. */ cz.proto.ingestion.v2.IngestionV2.TableIdentifier getIdentifier(); /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 4; */ cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getIdentifierOrBuilder(); /** * .cz.proto.ingestion.v2.BulkLoadStreamOperation operation = 5; * @return The enum numeric value on the wire for operation. */ int getOperationValue(); /** * .cz.proto.ingestion.v2.BulkLoadStreamOperation operation = 5; * @return The operation. */ cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamOperation getOperation(); /** * string partition_spec = 6; * @return The partitionSpec. */ java.lang.String getPartitionSpec(); /** * string partition_spec = 6; * @return The bytes for partitionSpec. */ com.google.protobuf.ByteString getPartitionSpecBytes(); /** * repeated string record_keys = 7; * @return A list containing the recordKeys. */ java.util.List getRecordKeysList(); /** * repeated string record_keys = 7; * @return The count of recordKeys. */ int getRecordKeysCount(); /** * repeated string record_keys = 7; * @param index The index of the element to return. * @return The recordKeys at the given index. */ java.lang.String getRecordKeys(int index); /** * repeated string record_keys = 7; * @param index The index of the value to return. * @return The bytes of the recordKeys at the given index. */ com.google.protobuf.ByteString getRecordKeysBytes(int index); /** * .cz.proto.ingestion.v2.StreamSchema stream_schema = 8; * @return Whether the streamSchema field is set. */ boolean hasStreamSchema(); /** * .cz.proto.ingestion.v2.StreamSchema stream_schema = 8; * @return The streamSchema. */ cz.proto.ingestion.v2.IngestionV2.StreamSchema getStreamSchema(); /** * .cz.proto.ingestion.v2.StreamSchema stream_schema = 8; */ cz.proto.ingestion.v2.IngestionV2.StreamSchemaOrBuilder getStreamSchemaOrBuilder(); /** * string sql_error_msg = 9; * @return The sqlErrorMsg. */ java.lang.String getSqlErrorMsg(); /** * string sql_error_msg = 9; * @return The bytes for sqlErrorMsg. */ com.google.protobuf.ByteString getSqlErrorMsgBytes(); /** * bool prefer_internal_endpoint = 10; * @return The preferInternalEndpoint. */ boolean getPreferInternalEndpoint(); /** *
     * Encryption config of cloud object stores.
     * Use a map here as these options vary from cloud to cloud.
     * 
* * map<string, string> encryption_options = 11; */ int getEncryptionOptionsCount(); /** *
     * Encryption config of cloud object stores.
     * Use a map here as these options vary from cloud to cloud.
     * 
* * map<string, string> encryption_options = 11; */ boolean containsEncryptionOptions( java.lang.String key); /** * Use {@link #getEncryptionOptionsMap()} instead. */ @java.lang.Deprecated java.util.Map getEncryptionOptions(); /** *
     * Encryption config of cloud object stores.
     * Use a map here as these options vary from cloud to cloud.
     * 
* * map<string, string> encryption_options = 11; */ java.util.Map getEncryptionOptionsMap(); /** *
     * Encryption config of cloud object stores.
     * Use a map here as these options vary from cloud to cloud.
     * 
* * map<string, string> encryption_options = 11; */ java.lang.String getEncryptionOptionsOrDefault( java.lang.String key, java.lang.String defaultValue); /** *
     * Encryption config of cloud object stores.
     * Use a map here as these options vary from cloud to cloud.
     * 
* * map<string, string> encryption_options = 11; */ java.lang.String getEncryptionOptionsOrThrow( java.lang.String key); } /** * Protobuf type {@code cz.proto.ingestion.v2.BulkLoadStreamInfo} */ public static final class BulkLoadStreamInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.BulkLoadStreamInfo) BulkLoadStreamInfoOrBuilder { private static final long serialVersionUID = 0L; // Use BulkLoadStreamInfo.newBuilder() to construct. private BulkLoadStreamInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BulkLoadStreamInfo() { streamId_ = ""; streamState_ = 0; sqlJobId_ = ""; operation_ = 0; partitionSpec_ = ""; recordKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; sqlErrorMsg_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BulkLoadStreamInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BulkLoadStreamInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); streamId_ = s; break; } case 16: { int rawValue = input.readEnum(); streamState_ = rawValue; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); sqlJobId_ = s; break; } case 34: { cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder subBuilder = null; if (identifier_ != null) { subBuilder = identifier_.toBuilder(); } identifier_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.TableIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(identifier_); identifier_ = subBuilder.buildPartial(); } break; } case 40: { int rawValue = input.readEnum(); operation_ = rawValue; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); partitionSpec_ = s; break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { recordKeys_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } recordKeys_.add(s); break; } case 66: { cz.proto.ingestion.v2.IngestionV2.StreamSchema.Builder subBuilder = null; if (streamSchema_ != null) { subBuilder = streamSchema_.toBuilder(); } streamSchema_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.StreamSchema.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(streamSchema_); streamSchema_ = subBuilder.buildPartial(); } break; } case 74: { java.lang.String s = input.readStringRequireUtf8(); sqlErrorMsg_ = s; break; } case 80: { preferInternalEndpoint_ = input.readBool(); break; } case 90: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { encryptionOptions_ = com.google.protobuf.MapField.newMapField( EncryptionOptionsDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000002; } com.google.protobuf.MapEntry encryptionOptions__ = input.readMessage( EncryptionOptionsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); encryptionOptions_.getMutableMap().put( encryptionOptions__.getKey(), encryptionOptions__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { recordKeys_ = recordKeys_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_BulkLoadStreamInfo_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 11: return internalGetEncryptionOptions(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_BulkLoadStreamInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.class, cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.Builder.class); } public static final int STREAM_ID_FIELD_NUMBER = 1; private volatile java.lang.Object streamId_; /** * string stream_id = 1; * @return The streamId. */ @java.lang.Override public java.lang.String getStreamId() { java.lang.Object ref = streamId_; 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(); streamId_ = s; return s; } } /** * string stream_id = 1; * @return The bytes for streamId. */ @java.lang.Override public com.google.protobuf.ByteString getStreamIdBytes() { java.lang.Object ref = streamId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); streamId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STREAM_STATE_FIELD_NUMBER = 2; private int streamState_; /** * .cz.proto.ingestion.v2.BulkLoadStreamState stream_state = 2; * @return The enum numeric value on the wire for streamState. */ @java.lang.Override public int getStreamStateValue() { return streamState_; } /** * .cz.proto.ingestion.v2.BulkLoadStreamState stream_state = 2; * @return The streamState. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamState getStreamState() { @SuppressWarnings("deprecation") cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamState result = cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamState.valueOf(streamState_); return result == null ? cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamState.UNRECOGNIZED : result; } public static final int SQL_JOB_ID_FIELD_NUMBER = 3; private volatile java.lang.Object sqlJobId_; /** * string sql_job_id = 3; * @return The sqlJobId. */ @java.lang.Override public java.lang.String getSqlJobId() { java.lang.Object ref = sqlJobId_; 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(); sqlJobId_ = s; return s; } } /** * string sql_job_id = 3; * @return The bytes for sqlJobId. */ @java.lang.Override public com.google.protobuf.ByteString getSqlJobIdBytes() { java.lang.Object ref = sqlJobId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sqlJobId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int IDENTIFIER_FIELD_NUMBER = 4; private cz.proto.ingestion.v2.IngestionV2.TableIdentifier identifier_; /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 4; * @return Whether the identifier field is set. */ @java.lang.Override public boolean hasIdentifier() { return identifier_ != null; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 4; * @return The identifier. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TableIdentifier getIdentifier() { return identifier_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : identifier_; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 4; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getIdentifierOrBuilder() { return getIdentifier(); } public static final int OPERATION_FIELD_NUMBER = 5; private int operation_; /** * .cz.proto.ingestion.v2.BulkLoadStreamOperation operation = 5; * @return The enum numeric value on the wire for operation. */ @java.lang.Override public int getOperationValue() { return operation_; } /** * .cz.proto.ingestion.v2.BulkLoadStreamOperation operation = 5; * @return The operation. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamOperation getOperation() { @SuppressWarnings("deprecation") cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamOperation result = cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamOperation.valueOf(operation_); return result == null ? cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamOperation.UNRECOGNIZED : result; } public static final int PARTITION_SPEC_FIELD_NUMBER = 6; private volatile java.lang.Object partitionSpec_; /** * string partition_spec = 6; * @return The partitionSpec. */ @java.lang.Override public java.lang.String getPartitionSpec() { java.lang.Object ref = partitionSpec_; 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(); partitionSpec_ = s; return s; } } /** * string partition_spec = 6; * @return The bytes for partitionSpec. */ @java.lang.Override public com.google.protobuf.ByteString getPartitionSpecBytes() { java.lang.Object ref = partitionSpec_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); partitionSpec_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RECORD_KEYS_FIELD_NUMBER = 7; private com.google.protobuf.LazyStringList recordKeys_; /** * repeated string record_keys = 7; * @return A list containing the recordKeys. */ public com.google.protobuf.ProtocolStringList getRecordKeysList() { return recordKeys_; } /** * repeated string record_keys = 7; * @return The count of recordKeys. */ public int getRecordKeysCount() { return recordKeys_.size(); } /** * repeated string record_keys = 7; * @param index The index of the element to return. * @return The recordKeys at the given index. */ public java.lang.String getRecordKeys(int index) { return recordKeys_.get(index); } /** * repeated string record_keys = 7; * @param index The index of the value to return. * @return The bytes of the recordKeys at the given index. */ public com.google.protobuf.ByteString getRecordKeysBytes(int index) { return recordKeys_.getByteString(index); } public static final int STREAM_SCHEMA_FIELD_NUMBER = 8; private cz.proto.ingestion.v2.IngestionV2.StreamSchema streamSchema_; /** * .cz.proto.ingestion.v2.StreamSchema stream_schema = 8; * @return Whether the streamSchema field is set. */ @java.lang.Override public boolean hasStreamSchema() { return streamSchema_ != null; } /** * .cz.proto.ingestion.v2.StreamSchema stream_schema = 8; * @return The streamSchema. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.StreamSchema getStreamSchema() { return streamSchema_ == null ? cz.proto.ingestion.v2.IngestionV2.StreamSchema.getDefaultInstance() : streamSchema_; } /** * .cz.proto.ingestion.v2.StreamSchema stream_schema = 8; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.StreamSchemaOrBuilder getStreamSchemaOrBuilder() { return getStreamSchema(); } public static final int SQL_ERROR_MSG_FIELD_NUMBER = 9; private volatile java.lang.Object sqlErrorMsg_; /** * string sql_error_msg = 9; * @return The sqlErrorMsg. */ @java.lang.Override public java.lang.String getSqlErrorMsg() { java.lang.Object ref = sqlErrorMsg_; 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(); sqlErrorMsg_ = s; return s; } } /** * string sql_error_msg = 9; * @return The bytes for sqlErrorMsg. */ @java.lang.Override public com.google.protobuf.ByteString getSqlErrorMsgBytes() { java.lang.Object ref = sqlErrorMsg_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sqlErrorMsg_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PREFER_INTERNAL_ENDPOINT_FIELD_NUMBER = 10; private boolean preferInternalEndpoint_; /** * bool prefer_internal_endpoint = 10; * @return The preferInternalEndpoint. */ @java.lang.Override public boolean getPreferInternalEndpoint() { return preferInternalEndpoint_; } public static final int ENCRYPTION_OPTIONS_FIELD_NUMBER = 11; private static final class EncryptionOptionsDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_BulkLoadStreamInfo_EncryptionOptionsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> encryptionOptions_; private com.google.protobuf.MapField internalGetEncryptionOptions() { if (encryptionOptions_ == null) { return com.google.protobuf.MapField.emptyMapField( EncryptionOptionsDefaultEntryHolder.defaultEntry); } return encryptionOptions_; } public int getEncryptionOptionsCount() { return internalGetEncryptionOptions().getMap().size(); } /** *
     * Encryption config of cloud object stores.
     * Use a map here as these options vary from cloud to cloud.
     * 
* * map<string, string> encryption_options = 11; */ @java.lang.Override public boolean containsEncryptionOptions( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetEncryptionOptions().getMap().containsKey(key); } /** * Use {@link #getEncryptionOptionsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getEncryptionOptions() { return getEncryptionOptionsMap(); } /** *
     * Encryption config of cloud object stores.
     * Use a map here as these options vary from cloud to cloud.
     * 
* * map<string, string> encryption_options = 11; */ @java.lang.Override public java.util.Map getEncryptionOptionsMap() { return internalGetEncryptionOptions().getMap(); } /** *
     * Encryption config of cloud object stores.
     * Use a map here as these options vary from cloud to cloud.
     * 
* * map<string, string> encryption_options = 11; */ @java.lang.Override public java.lang.String getEncryptionOptionsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetEncryptionOptions().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
     * Encryption config of cloud object stores.
     * Use a map here as these options vary from cloud to cloud.
     * 
* * map<string, string> encryption_options = 11; */ @java.lang.Override public java.lang.String getEncryptionOptionsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetEncryptionOptions().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, streamId_); } if (streamState_ != cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamState.BL_CREATED.getNumber()) { output.writeEnum(2, streamState_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sqlJobId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, sqlJobId_); } if (identifier_ != null) { output.writeMessage(4, getIdentifier()); } if (operation_ != cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamOperation.BL_APPEND.getNumber()) { output.writeEnum(5, operation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partitionSpec_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, partitionSpec_); } for (int i = 0; i < recordKeys_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, recordKeys_.getRaw(i)); } if (streamSchema_ != null) { output.writeMessage(8, getStreamSchema()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sqlErrorMsg_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, sqlErrorMsg_); } if (preferInternalEndpoint_ != false) { output.writeBool(10, preferInternalEndpoint_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetEncryptionOptions(), EncryptionOptionsDefaultEntryHolder.defaultEntry, 11); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, streamId_); } if (streamState_ != cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamState.BL_CREATED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, streamState_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sqlJobId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sqlJobId_); } if (identifier_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getIdentifier()); } if (operation_ != cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamOperation.BL_APPEND.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, operation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partitionSpec_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, partitionSpec_); } { int dataSize = 0; for (int i = 0; i < recordKeys_.size(); i++) { dataSize += computeStringSizeNoTag(recordKeys_.getRaw(i)); } size += dataSize; size += 1 * getRecordKeysList().size(); } if (streamSchema_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getStreamSchema()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sqlErrorMsg_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, sqlErrorMsg_); } if (preferInternalEndpoint_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(10, preferInternalEndpoint_); } for (java.util.Map.Entry entry : internalGetEncryptionOptions().getMap().entrySet()) { com.google.protobuf.MapEntry encryptionOptions__ = EncryptionOptionsDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, encryptionOptions__); } 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 cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo other = (cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo) obj; if (!getStreamId() .equals(other.getStreamId())) return false; if (streamState_ != other.streamState_) return false; if (!getSqlJobId() .equals(other.getSqlJobId())) return false; if (hasIdentifier() != other.hasIdentifier()) return false; if (hasIdentifier()) { if (!getIdentifier() .equals(other.getIdentifier())) return false; } if (operation_ != other.operation_) return false; if (!getPartitionSpec() .equals(other.getPartitionSpec())) return false; if (!getRecordKeysList() .equals(other.getRecordKeysList())) return false; if (hasStreamSchema() != other.hasStreamSchema()) return false; if (hasStreamSchema()) { if (!getStreamSchema() .equals(other.getStreamSchema())) return false; } if (!getSqlErrorMsg() .equals(other.getSqlErrorMsg())) return false; if (getPreferInternalEndpoint() != other.getPreferInternalEndpoint()) return false; if (!internalGetEncryptionOptions().equals( other.internalGetEncryptionOptions())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + STREAM_ID_FIELD_NUMBER; hash = (53 * hash) + getStreamId().hashCode(); hash = (37 * hash) + STREAM_STATE_FIELD_NUMBER; hash = (53 * hash) + streamState_; hash = (37 * hash) + SQL_JOB_ID_FIELD_NUMBER; hash = (53 * hash) + getSqlJobId().hashCode(); if (hasIdentifier()) { hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getIdentifier().hashCode(); } hash = (37 * hash) + OPERATION_FIELD_NUMBER; hash = (53 * hash) + operation_; hash = (37 * hash) + PARTITION_SPEC_FIELD_NUMBER; hash = (53 * hash) + getPartitionSpec().hashCode(); if (getRecordKeysCount() > 0) { hash = (37 * hash) + RECORD_KEYS_FIELD_NUMBER; hash = (53 * hash) + getRecordKeysList().hashCode(); } if (hasStreamSchema()) { hash = (37 * hash) + STREAM_SCHEMA_FIELD_NUMBER; hash = (53 * hash) + getStreamSchema().hashCode(); } hash = (37 * hash) + SQL_ERROR_MSG_FIELD_NUMBER; hash = (53 * hash) + getSqlErrorMsg().hashCode(); hash = (37 * hash) + PREFER_INTERNAL_ENDPOINT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getPreferInternalEndpoint()); if (!internalGetEncryptionOptions().getMap().isEmpty()) { hash = (37 * hash) + ENCRYPTION_OPTIONS_FIELD_NUMBER; hash = (53 * hash) + internalGetEncryptionOptions().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo 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 cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo 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 cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo 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(cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo 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 cz.proto.ingestion.v2.BulkLoadStreamInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.BulkLoadStreamInfo) cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_BulkLoadStreamInfo_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 11: return internalGetEncryptionOptions(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 11: return internalGetMutableEncryptionOptions(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_BulkLoadStreamInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.class, cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); streamId_ = ""; streamState_ = 0; sqlJobId_ = ""; if (identifierBuilder_ == null) { identifier_ = null; } else { identifier_ = null; identifierBuilder_ = null; } operation_ = 0; partitionSpec_ = ""; recordKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); if (streamSchemaBuilder_ == null) { streamSchema_ = null; } else { streamSchema_ = null; streamSchemaBuilder_ = null; } sqlErrorMsg_ = ""; preferInternalEndpoint_ = false; internalGetMutableEncryptionOptions().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_BulkLoadStreamInfo_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo build() { cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo buildPartial() { cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo result = new cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo(this); int from_bitField0_ = bitField0_; result.streamId_ = streamId_; result.streamState_ = streamState_; result.sqlJobId_ = sqlJobId_; if (identifierBuilder_ == null) { result.identifier_ = identifier_; } else { result.identifier_ = identifierBuilder_.build(); } result.operation_ = operation_; result.partitionSpec_ = partitionSpec_; if (((bitField0_ & 0x00000001) != 0)) { recordKeys_ = recordKeys_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.recordKeys_ = recordKeys_; if (streamSchemaBuilder_ == null) { result.streamSchema_ = streamSchema_; } else { result.streamSchema_ = streamSchemaBuilder_.build(); } result.sqlErrorMsg_ = sqlErrorMsg_; result.preferInternalEndpoint_ = preferInternalEndpoint_; result.encryptionOptions_ = internalGetEncryptionOptions(); result.encryptionOptions_.makeImmutable(); 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 cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo other) { if (other == cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.getDefaultInstance()) return this; if (!other.getStreamId().isEmpty()) { streamId_ = other.streamId_; onChanged(); } if (other.streamState_ != 0) { setStreamStateValue(other.getStreamStateValue()); } if (!other.getSqlJobId().isEmpty()) { sqlJobId_ = other.sqlJobId_; onChanged(); } if (other.hasIdentifier()) { mergeIdentifier(other.getIdentifier()); } if (other.operation_ != 0) { setOperationValue(other.getOperationValue()); } if (!other.getPartitionSpec().isEmpty()) { partitionSpec_ = other.partitionSpec_; onChanged(); } if (!other.recordKeys_.isEmpty()) { if (recordKeys_.isEmpty()) { recordKeys_ = other.recordKeys_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureRecordKeysIsMutable(); recordKeys_.addAll(other.recordKeys_); } onChanged(); } if (other.hasStreamSchema()) { mergeStreamSchema(other.getStreamSchema()); } if (!other.getSqlErrorMsg().isEmpty()) { sqlErrorMsg_ = other.sqlErrorMsg_; onChanged(); } if (other.getPreferInternalEndpoint() != false) { setPreferInternalEndpoint(other.getPreferInternalEndpoint()); } internalGetMutableEncryptionOptions().mergeFrom( other.internalGetEncryptionOptions()); 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 { cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object streamId_ = ""; /** * string stream_id = 1; * @return The streamId. */ public java.lang.String getStreamId() { java.lang.Object ref = streamId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); streamId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string stream_id = 1; * @return The bytes for streamId. */ public com.google.protobuf.ByteString getStreamIdBytes() { java.lang.Object ref = streamId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); streamId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string stream_id = 1; * @param value The streamId to set. * @return This builder for chaining. */ public Builder setStreamId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } streamId_ = value; onChanged(); return this; } /** * string stream_id = 1; * @return This builder for chaining. */ public Builder clearStreamId() { streamId_ = getDefaultInstance().getStreamId(); onChanged(); return this; } /** * string stream_id = 1; * @param value The bytes for streamId to set. * @return This builder for chaining. */ public Builder setStreamIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); streamId_ = value; onChanged(); return this; } private int streamState_ = 0; /** * .cz.proto.ingestion.v2.BulkLoadStreamState stream_state = 2; * @return The enum numeric value on the wire for streamState. */ @java.lang.Override public int getStreamStateValue() { return streamState_; } /** * .cz.proto.ingestion.v2.BulkLoadStreamState stream_state = 2; * @param value The enum numeric value on the wire for streamState to set. * @return This builder for chaining. */ public Builder setStreamStateValue(int value) { streamState_ = value; onChanged(); return this; } /** * .cz.proto.ingestion.v2.BulkLoadStreamState stream_state = 2; * @return The streamState. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamState getStreamState() { @SuppressWarnings("deprecation") cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamState result = cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamState.valueOf(streamState_); return result == null ? cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamState.UNRECOGNIZED : result; } /** * .cz.proto.ingestion.v2.BulkLoadStreamState stream_state = 2; * @param value The streamState to set. * @return This builder for chaining. */ public Builder setStreamState(cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamState value) { if (value == null) { throw new NullPointerException(); } streamState_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.ingestion.v2.BulkLoadStreamState stream_state = 2; * @return This builder for chaining. */ public Builder clearStreamState() { streamState_ = 0; onChanged(); return this; } private java.lang.Object sqlJobId_ = ""; /** * string sql_job_id = 3; * @return The sqlJobId. */ public java.lang.String getSqlJobId() { java.lang.Object ref = sqlJobId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sqlJobId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string sql_job_id = 3; * @return The bytes for sqlJobId. */ public com.google.protobuf.ByteString getSqlJobIdBytes() { java.lang.Object ref = sqlJobId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sqlJobId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string sql_job_id = 3; * @param value The sqlJobId to set. * @return This builder for chaining. */ public Builder setSqlJobId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sqlJobId_ = value; onChanged(); return this; } /** * string sql_job_id = 3; * @return This builder for chaining. */ public Builder clearSqlJobId() { sqlJobId_ = getDefaultInstance().getSqlJobId(); onChanged(); return this; } /** * string sql_job_id = 3; * @param value The bytes for sqlJobId to set. * @return This builder for chaining. */ public Builder setSqlJobIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sqlJobId_ = value; onChanged(); return this; } private cz.proto.ingestion.v2.IngestionV2.TableIdentifier identifier_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder> identifierBuilder_; /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 4; * @return Whether the identifier field is set. */ public boolean hasIdentifier() { return identifierBuilder_ != null || identifier_ != null; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 4; * @return The identifier. */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier getIdentifier() { if (identifierBuilder_ == null) { return identifier_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : identifier_; } else { return identifierBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 4; */ public Builder setIdentifier(cz.proto.ingestion.v2.IngestionV2.TableIdentifier value) { if (identifierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifier_ = value; onChanged(); } else { identifierBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 4; */ public Builder setIdentifier( cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder builderForValue) { if (identifierBuilder_ == null) { identifier_ = builderForValue.build(); onChanged(); } else { identifierBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 4; */ public Builder mergeIdentifier(cz.proto.ingestion.v2.IngestionV2.TableIdentifier value) { if (identifierBuilder_ == null) { if (identifier_ != null) { identifier_ = cz.proto.ingestion.v2.IngestionV2.TableIdentifier.newBuilder(identifier_).mergeFrom(value).buildPartial(); } else { identifier_ = value; } onChanged(); } else { identifierBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 4; */ public Builder clearIdentifier() { if (identifierBuilder_ == null) { identifier_ = null; onChanged(); } else { identifier_ = null; identifierBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 4; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder getIdentifierBuilder() { onChanged(); return getIdentifierFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 4; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getIdentifierOrBuilder() { if (identifierBuilder_ != null) { return identifierBuilder_.getMessageOrBuilder(); } else { return identifier_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : identifier_; } } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 4; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder> getIdentifierFieldBuilder() { if (identifierBuilder_ == null) { identifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder>( getIdentifier(), getParentForChildren(), isClean()); identifier_ = null; } return identifierBuilder_; } private int operation_ = 0; /** * .cz.proto.ingestion.v2.BulkLoadStreamOperation operation = 5; * @return The enum numeric value on the wire for operation. */ @java.lang.Override public int getOperationValue() { return operation_; } /** * .cz.proto.ingestion.v2.BulkLoadStreamOperation operation = 5; * @param value The enum numeric value on the wire for operation to set. * @return This builder for chaining. */ public Builder setOperationValue(int value) { operation_ = value; onChanged(); return this; } /** * .cz.proto.ingestion.v2.BulkLoadStreamOperation operation = 5; * @return The operation. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamOperation getOperation() { @SuppressWarnings("deprecation") cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamOperation result = cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamOperation.valueOf(operation_); return result == null ? cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamOperation.UNRECOGNIZED : result; } /** * .cz.proto.ingestion.v2.BulkLoadStreamOperation operation = 5; * @param value The operation to set. * @return This builder for chaining. */ public Builder setOperation(cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamOperation value) { if (value == null) { throw new NullPointerException(); } operation_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.ingestion.v2.BulkLoadStreamOperation operation = 5; * @return This builder for chaining. */ public Builder clearOperation() { operation_ = 0; onChanged(); return this; } private java.lang.Object partitionSpec_ = ""; /** * string partition_spec = 6; * @return The partitionSpec. */ public java.lang.String getPartitionSpec() { java.lang.Object ref = partitionSpec_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); partitionSpec_ = s; return s; } else { return (java.lang.String) ref; } } /** * string partition_spec = 6; * @return The bytes for partitionSpec. */ public com.google.protobuf.ByteString getPartitionSpecBytes() { java.lang.Object ref = partitionSpec_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); partitionSpec_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string partition_spec = 6; * @param value The partitionSpec to set. * @return This builder for chaining. */ public Builder setPartitionSpec( java.lang.String value) { if (value == null) { throw new NullPointerException(); } partitionSpec_ = value; onChanged(); return this; } /** * string partition_spec = 6; * @return This builder for chaining. */ public Builder clearPartitionSpec() { partitionSpec_ = getDefaultInstance().getPartitionSpec(); onChanged(); return this; } /** * string partition_spec = 6; * @param value The bytes for partitionSpec to set. * @return This builder for chaining. */ public Builder setPartitionSpecBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); partitionSpec_ = value; onChanged(); return this; } private com.google.protobuf.LazyStringList recordKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureRecordKeysIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { recordKeys_ = new com.google.protobuf.LazyStringArrayList(recordKeys_); bitField0_ |= 0x00000001; } } /** * repeated string record_keys = 7; * @return A list containing the recordKeys. */ public com.google.protobuf.ProtocolStringList getRecordKeysList() { return recordKeys_.getUnmodifiableView(); } /** * repeated string record_keys = 7; * @return The count of recordKeys. */ public int getRecordKeysCount() { return recordKeys_.size(); } /** * repeated string record_keys = 7; * @param index The index of the element to return. * @return The recordKeys at the given index. */ public java.lang.String getRecordKeys(int index) { return recordKeys_.get(index); } /** * repeated string record_keys = 7; * @param index The index of the value to return. * @return The bytes of the recordKeys at the given index. */ public com.google.protobuf.ByteString getRecordKeysBytes(int index) { return recordKeys_.getByteString(index); } /** * repeated string record_keys = 7; * @param index The index to set the value at. * @param value The recordKeys to set. * @return This builder for chaining. */ public Builder setRecordKeys( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureRecordKeysIsMutable(); recordKeys_.set(index, value); onChanged(); return this; } /** * repeated string record_keys = 7; * @param value The recordKeys to add. * @return This builder for chaining. */ public Builder addRecordKeys( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureRecordKeysIsMutable(); recordKeys_.add(value); onChanged(); return this; } /** * repeated string record_keys = 7; * @param values The recordKeys to add. * @return This builder for chaining. */ public Builder addAllRecordKeys( java.lang.Iterable values) { ensureRecordKeysIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, recordKeys_); onChanged(); return this; } /** * repeated string record_keys = 7; * @return This builder for chaining. */ public Builder clearRecordKeys() { recordKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string record_keys = 7; * @param value The bytes of the recordKeys to add. * @return This builder for chaining. */ public Builder addRecordKeysBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureRecordKeysIsMutable(); recordKeys_.add(value); onChanged(); return this; } private cz.proto.ingestion.v2.IngestionV2.StreamSchema streamSchema_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.StreamSchema, cz.proto.ingestion.v2.IngestionV2.StreamSchema.Builder, cz.proto.ingestion.v2.IngestionV2.StreamSchemaOrBuilder> streamSchemaBuilder_; /** * .cz.proto.ingestion.v2.StreamSchema stream_schema = 8; * @return Whether the streamSchema field is set. */ public boolean hasStreamSchema() { return streamSchemaBuilder_ != null || streamSchema_ != null; } /** * .cz.proto.ingestion.v2.StreamSchema stream_schema = 8; * @return The streamSchema. */ public cz.proto.ingestion.v2.IngestionV2.StreamSchema getStreamSchema() { if (streamSchemaBuilder_ == null) { return streamSchema_ == null ? cz.proto.ingestion.v2.IngestionV2.StreamSchema.getDefaultInstance() : streamSchema_; } else { return streamSchemaBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.StreamSchema stream_schema = 8; */ public Builder setStreamSchema(cz.proto.ingestion.v2.IngestionV2.StreamSchema value) { if (streamSchemaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } streamSchema_ = value; onChanged(); } else { streamSchemaBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.StreamSchema stream_schema = 8; */ public Builder setStreamSchema( cz.proto.ingestion.v2.IngestionV2.StreamSchema.Builder builderForValue) { if (streamSchemaBuilder_ == null) { streamSchema_ = builderForValue.build(); onChanged(); } else { streamSchemaBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.StreamSchema stream_schema = 8; */ public Builder mergeStreamSchema(cz.proto.ingestion.v2.IngestionV2.StreamSchema value) { if (streamSchemaBuilder_ == null) { if (streamSchema_ != null) { streamSchema_ = cz.proto.ingestion.v2.IngestionV2.StreamSchema.newBuilder(streamSchema_).mergeFrom(value).buildPartial(); } else { streamSchema_ = value; } onChanged(); } else { streamSchemaBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.StreamSchema stream_schema = 8; */ public Builder clearStreamSchema() { if (streamSchemaBuilder_ == null) { streamSchema_ = null; onChanged(); } else { streamSchema_ = null; streamSchemaBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.StreamSchema stream_schema = 8; */ public cz.proto.ingestion.v2.IngestionV2.StreamSchema.Builder getStreamSchemaBuilder() { onChanged(); return getStreamSchemaFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.StreamSchema stream_schema = 8; */ public cz.proto.ingestion.v2.IngestionV2.StreamSchemaOrBuilder getStreamSchemaOrBuilder() { if (streamSchemaBuilder_ != null) { return streamSchemaBuilder_.getMessageOrBuilder(); } else { return streamSchema_ == null ? cz.proto.ingestion.v2.IngestionV2.StreamSchema.getDefaultInstance() : streamSchema_; } } /** * .cz.proto.ingestion.v2.StreamSchema stream_schema = 8; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.StreamSchema, cz.proto.ingestion.v2.IngestionV2.StreamSchema.Builder, cz.proto.ingestion.v2.IngestionV2.StreamSchemaOrBuilder> getStreamSchemaFieldBuilder() { if (streamSchemaBuilder_ == null) { streamSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.StreamSchema, cz.proto.ingestion.v2.IngestionV2.StreamSchema.Builder, cz.proto.ingestion.v2.IngestionV2.StreamSchemaOrBuilder>( getStreamSchema(), getParentForChildren(), isClean()); streamSchema_ = null; } return streamSchemaBuilder_; } private java.lang.Object sqlErrorMsg_ = ""; /** * string sql_error_msg = 9; * @return The sqlErrorMsg. */ public java.lang.String getSqlErrorMsg() { java.lang.Object ref = sqlErrorMsg_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sqlErrorMsg_ = s; return s; } else { return (java.lang.String) ref; } } /** * string sql_error_msg = 9; * @return The bytes for sqlErrorMsg. */ public com.google.protobuf.ByteString getSqlErrorMsgBytes() { java.lang.Object ref = sqlErrorMsg_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sqlErrorMsg_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string sql_error_msg = 9; * @param value The sqlErrorMsg to set. * @return This builder for chaining. */ public Builder setSqlErrorMsg( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sqlErrorMsg_ = value; onChanged(); return this; } /** * string sql_error_msg = 9; * @return This builder for chaining. */ public Builder clearSqlErrorMsg() { sqlErrorMsg_ = getDefaultInstance().getSqlErrorMsg(); onChanged(); return this; } /** * string sql_error_msg = 9; * @param value The bytes for sqlErrorMsg to set. * @return This builder for chaining. */ public Builder setSqlErrorMsgBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sqlErrorMsg_ = value; onChanged(); return this; } private boolean preferInternalEndpoint_ ; /** * bool prefer_internal_endpoint = 10; * @return The preferInternalEndpoint. */ @java.lang.Override public boolean getPreferInternalEndpoint() { return preferInternalEndpoint_; } /** * bool prefer_internal_endpoint = 10; * @param value The preferInternalEndpoint to set. * @return This builder for chaining. */ public Builder setPreferInternalEndpoint(boolean value) { preferInternalEndpoint_ = value; onChanged(); return this; } /** * bool prefer_internal_endpoint = 10; * @return This builder for chaining. */ public Builder clearPreferInternalEndpoint() { preferInternalEndpoint_ = false; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> encryptionOptions_; private com.google.protobuf.MapField internalGetEncryptionOptions() { if (encryptionOptions_ == null) { return com.google.protobuf.MapField.emptyMapField( EncryptionOptionsDefaultEntryHolder.defaultEntry); } return encryptionOptions_; } private com.google.protobuf.MapField internalGetMutableEncryptionOptions() { onChanged();; if (encryptionOptions_ == null) { encryptionOptions_ = com.google.protobuf.MapField.newMapField( EncryptionOptionsDefaultEntryHolder.defaultEntry); } if (!encryptionOptions_.isMutable()) { encryptionOptions_ = encryptionOptions_.copy(); } return encryptionOptions_; } public int getEncryptionOptionsCount() { return internalGetEncryptionOptions().getMap().size(); } /** *
       * Encryption config of cloud object stores.
       * Use a map here as these options vary from cloud to cloud.
       * 
* * map<string, string> encryption_options = 11; */ @java.lang.Override public boolean containsEncryptionOptions( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetEncryptionOptions().getMap().containsKey(key); } /** * Use {@link #getEncryptionOptionsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getEncryptionOptions() { return getEncryptionOptionsMap(); } /** *
       * Encryption config of cloud object stores.
       * Use a map here as these options vary from cloud to cloud.
       * 
* * map<string, string> encryption_options = 11; */ @java.lang.Override public java.util.Map getEncryptionOptionsMap() { return internalGetEncryptionOptions().getMap(); } /** *
       * Encryption config of cloud object stores.
       * Use a map here as these options vary from cloud to cloud.
       * 
* * map<string, string> encryption_options = 11; */ @java.lang.Override public java.lang.String getEncryptionOptionsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetEncryptionOptions().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** *
       * Encryption config of cloud object stores.
       * Use a map here as these options vary from cloud to cloud.
       * 
* * map<string, string> encryption_options = 11; */ @java.lang.Override public java.lang.String getEncryptionOptionsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetEncryptionOptions().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearEncryptionOptions() { internalGetMutableEncryptionOptions().getMutableMap() .clear(); return this; } /** *
       * Encryption config of cloud object stores.
       * Use a map here as these options vary from cloud to cloud.
       * 
* * map<string, string> encryption_options = 11; */ public Builder removeEncryptionOptions( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableEncryptionOptions().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableEncryptionOptions() { return internalGetMutableEncryptionOptions().getMutableMap(); } /** *
       * Encryption config of cloud object stores.
       * Use a map here as these options vary from cloud to cloud.
       * 
* * map<string, string> encryption_options = 11; */ public Builder putEncryptionOptions( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableEncryptionOptions().getMutableMap() .put(key, value); return this; } /** *
       * Encryption config of cloud object stores.
       * Use a map here as these options vary from cloud to cloud.
       * 
* * map<string, string> encryption_options = 11; */ public Builder putAllEncryptionOptions( java.util.Map values) { internalGetMutableEncryptionOptions().getMutableMap() .putAll(values); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.BulkLoadStreamInfo) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.BulkLoadStreamInfo) private static final cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo(); } public static cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BulkLoadStreamInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BulkLoadStreamInfo(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 cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BulkLoadStreamWriterConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.BulkLoadStreamWriterConfig) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.StagingPathInfo staging_path = 1; * @return Whether the stagingPath field is set. */ boolean hasStagingPath(); /** * .cz.proto.ingestion.v2.StagingPathInfo staging_path = 1; * @return The stagingPath. */ cz.proto.ingestion.v2.IngestionV2.StagingPathInfo getStagingPath(); /** * .cz.proto.ingestion.v2.StagingPathInfo staging_path = 1; */ cz.proto.ingestion.v2.IngestionV2.StagingPathInfoOrBuilder getStagingPathOrBuilder(); /** * .cz.proto.FileFormatType file_format = 2; * @return The enum numeric value on the wire for fileFormat. */ int getFileFormatValue(); /** * .cz.proto.FileFormatType file_format = 2; * @return The fileFormat. */ cz.proto.FileFormatTypeOuterClass.FileFormatType getFileFormat(); /** * int64 max_num_rows_per_file = 3; * @return The maxNumRowsPerFile. */ long getMaxNumRowsPerFile(); /** * int64 max_size_in_bytes_per_file = 4; * @return The maxSizeInBytesPerFile. */ long getMaxSizeInBytesPerFile(); } /** * Protobuf type {@code cz.proto.ingestion.v2.BulkLoadStreamWriterConfig} */ public static final class BulkLoadStreamWriterConfig extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.BulkLoadStreamWriterConfig) BulkLoadStreamWriterConfigOrBuilder { private static final long serialVersionUID = 0L; // Use BulkLoadStreamWriterConfig.newBuilder() to construct. private BulkLoadStreamWriterConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BulkLoadStreamWriterConfig() { fileFormat_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BulkLoadStreamWriterConfig(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BulkLoadStreamWriterConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.StagingPathInfo.Builder subBuilder = null; if (stagingPath_ != null) { subBuilder = stagingPath_.toBuilder(); } stagingPath_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.StagingPathInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(stagingPath_); stagingPath_ = subBuilder.buildPartial(); } break; } case 16: { int rawValue = input.readEnum(); fileFormat_ = rawValue; break; } case 24: { maxNumRowsPerFile_ = input.readInt64(); break; } case 32: { maxSizeInBytesPerFile_ = input.readInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_BulkLoadStreamWriterConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_BulkLoadStreamWriterConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig.class, cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig.Builder.class); } public static final int STAGING_PATH_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.StagingPathInfo stagingPath_; /** * .cz.proto.ingestion.v2.StagingPathInfo staging_path = 1; * @return Whether the stagingPath field is set. */ @java.lang.Override public boolean hasStagingPath() { return stagingPath_ != null; } /** * .cz.proto.ingestion.v2.StagingPathInfo staging_path = 1; * @return The stagingPath. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.StagingPathInfo getStagingPath() { return stagingPath_ == null ? cz.proto.ingestion.v2.IngestionV2.StagingPathInfo.getDefaultInstance() : stagingPath_; } /** * .cz.proto.ingestion.v2.StagingPathInfo staging_path = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.StagingPathInfoOrBuilder getStagingPathOrBuilder() { return getStagingPath(); } public static final int FILE_FORMAT_FIELD_NUMBER = 2; private int fileFormat_; /** * .cz.proto.FileFormatType file_format = 2; * @return The enum numeric value on the wire for fileFormat. */ @java.lang.Override public int getFileFormatValue() { return fileFormat_; } /** * .cz.proto.FileFormatType file_format = 2; * @return The fileFormat. */ @java.lang.Override public cz.proto.FileFormatTypeOuterClass.FileFormatType getFileFormat() { @SuppressWarnings("deprecation") cz.proto.FileFormatTypeOuterClass.FileFormatType result = cz.proto.FileFormatTypeOuterClass.FileFormatType.valueOf(fileFormat_); return result == null ? cz.proto.FileFormatTypeOuterClass.FileFormatType.UNRECOGNIZED : result; } public static final int MAX_NUM_ROWS_PER_FILE_FIELD_NUMBER = 3; private long maxNumRowsPerFile_; /** * int64 max_num_rows_per_file = 3; * @return The maxNumRowsPerFile. */ @java.lang.Override public long getMaxNumRowsPerFile() { return maxNumRowsPerFile_; } public static final int MAX_SIZE_IN_BYTES_PER_FILE_FIELD_NUMBER = 4; private long maxSizeInBytesPerFile_; /** * int64 max_size_in_bytes_per_file = 4; * @return The maxSizeInBytesPerFile. */ @java.lang.Override public long getMaxSizeInBytesPerFile() { return maxSizeInBytesPerFile_; } 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 (stagingPath_ != null) { output.writeMessage(1, getStagingPath()); } if (fileFormat_ != cz.proto.FileFormatTypeOuterClass.FileFormatType.TEXT.getNumber()) { output.writeEnum(2, fileFormat_); } if (maxNumRowsPerFile_ != 0L) { output.writeInt64(3, maxNumRowsPerFile_); } if (maxSizeInBytesPerFile_ != 0L) { output.writeInt64(4, maxSizeInBytesPerFile_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (stagingPath_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getStagingPath()); } if (fileFormat_ != cz.proto.FileFormatTypeOuterClass.FileFormatType.TEXT.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, fileFormat_); } if (maxNumRowsPerFile_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, maxNumRowsPerFile_); } if (maxSizeInBytesPerFile_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, maxSizeInBytesPerFile_); } 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 cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig other = (cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig) obj; if (hasStagingPath() != other.hasStagingPath()) return false; if (hasStagingPath()) { if (!getStagingPath() .equals(other.getStagingPath())) return false; } if (fileFormat_ != other.fileFormat_) return false; if (getMaxNumRowsPerFile() != other.getMaxNumRowsPerFile()) return false; if (getMaxSizeInBytesPerFile() != other.getMaxSizeInBytesPerFile()) 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 (hasStagingPath()) { hash = (37 * hash) + STAGING_PATH_FIELD_NUMBER; hash = (53 * hash) + getStagingPath().hashCode(); } hash = (37 * hash) + FILE_FORMAT_FIELD_NUMBER; hash = (53 * hash) + fileFormat_; hash = (37 * hash) + MAX_NUM_ROWS_PER_FILE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMaxNumRowsPerFile()); hash = (37 * hash) + MAX_SIZE_IN_BYTES_PER_FILE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMaxSizeInBytesPerFile()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig 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 cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig 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 cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig 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(cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig 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 cz.proto.ingestion.v2.BulkLoadStreamWriterConfig} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.BulkLoadStreamWriterConfig) cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_BulkLoadStreamWriterConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_BulkLoadStreamWriterConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig.class, cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (stagingPathBuilder_ == null) { stagingPath_ = null; } else { stagingPath_ = null; stagingPathBuilder_ = null; } fileFormat_ = 0; maxNumRowsPerFile_ = 0L; maxSizeInBytesPerFile_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_BulkLoadStreamWriterConfig_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig build() { cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig buildPartial() { cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig result = new cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig(this); if (stagingPathBuilder_ == null) { result.stagingPath_ = stagingPath_; } else { result.stagingPath_ = stagingPathBuilder_.build(); } result.fileFormat_ = fileFormat_; result.maxNumRowsPerFile_ = maxNumRowsPerFile_; result.maxSizeInBytesPerFile_ = maxSizeInBytesPerFile_; 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 cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig other) { if (other == cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig.getDefaultInstance()) return this; if (other.hasStagingPath()) { mergeStagingPath(other.getStagingPath()); } if (other.fileFormat_ != 0) { setFileFormatValue(other.getFileFormatValue()); } if (other.getMaxNumRowsPerFile() != 0L) { setMaxNumRowsPerFile(other.getMaxNumRowsPerFile()); } if (other.getMaxSizeInBytesPerFile() != 0L) { setMaxSizeInBytesPerFile(other.getMaxSizeInBytesPerFile()); } 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 { cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.v2.IngestionV2.StagingPathInfo stagingPath_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.StagingPathInfo, cz.proto.ingestion.v2.IngestionV2.StagingPathInfo.Builder, cz.proto.ingestion.v2.IngestionV2.StagingPathInfoOrBuilder> stagingPathBuilder_; /** * .cz.proto.ingestion.v2.StagingPathInfo staging_path = 1; * @return Whether the stagingPath field is set. */ public boolean hasStagingPath() { return stagingPathBuilder_ != null || stagingPath_ != null; } /** * .cz.proto.ingestion.v2.StagingPathInfo staging_path = 1; * @return The stagingPath. */ public cz.proto.ingestion.v2.IngestionV2.StagingPathInfo getStagingPath() { if (stagingPathBuilder_ == null) { return stagingPath_ == null ? cz.proto.ingestion.v2.IngestionV2.StagingPathInfo.getDefaultInstance() : stagingPath_; } else { return stagingPathBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.StagingPathInfo staging_path = 1; */ public Builder setStagingPath(cz.proto.ingestion.v2.IngestionV2.StagingPathInfo value) { if (stagingPathBuilder_ == null) { if (value == null) { throw new NullPointerException(); } stagingPath_ = value; onChanged(); } else { stagingPathBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.StagingPathInfo staging_path = 1; */ public Builder setStagingPath( cz.proto.ingestion.v2.IngestionV2.StagingPathInfo.Builder builderForValue) { if (stagingPathBuilder_ == null) { stagingPath_ = builderForValue.build(); onChanged(); } else { stagingPathBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.StagingPathInfo staging_path = 1; */ public Builder mergeStagingPath(cz.proto.ingestion.v2.IngestionV2.StagingPathInfo value) { if (stagingPathBuilder_ == null) { if (stagingPath_ != null) { stagingPath_ = cz.proto.ingestion.v2.IngestionV2.StagingPathInfo.newBuilder(stagingPath_).mergeFrom(value).buildPartial(); } else { stagingPath_ = value; } onChanged(); } else { stagingPathBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.StagingPathInfo staging_path = 1; */ public Builder clearStagingPath() { if (stagingPathBuilder_ == null) { stagingPath_ = null; onChanged(); } else { stagingPath_ = null; stagingPathBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.StagingPathInfo staging_path = 1; */ public cz.proto.ingestion.v2.IngestionV2.StagingPathInfo.Builder getStagingPathBuilder() { onChanged(); return getStagingPathFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.StagingPathInfo staging_path = 1; */ public cz.proto.ingestion.v2.IngestionV2.StagingPathInfoOrBuilder getStagingPathOrBuilder() { if (stagingPathBuilder_ != null) { return stagingPathBuilder_.getMessageOrBuilder(); } else { return stagingPath_ == null ? cz.proto.ingestion.v2.IngestionV2.StagingPathInfo.getDefaultInstance() : stagingPath_; } } /** * .cz.proto.ingestion.v2.StagingPathInfo staging_path = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.StagingPathInfo, cz.proto.ingestion.v2.IngestionV2.StagingPathInfo.Builder, cz.proto.ingestion.v2.IngestionV2.StagingPathInfoOrBuilder> getStagingPathFieldBuilder() { if (stagingPathBuilder_ == null) { stagingPathBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.StagingPathInfo, cz.proto.ingestion.v2.IngestionV2.StagingPathInfo.Builder, cz.proto.ingestion.v2.IngestionV2.StagingPathInfoOrBuilder>( getStagingPath(), getParentForChildren(), isClean()); stagingPath_ = null; } return stagingPathBuilder_; } private int fileFormat_ = 0; /** * .cz.proto.FileFormatType file_format = 2; * @return The enum numeric value on the wire for fileFormat. */ @java.lang.Override public int getFileFormatValue() { return fileFormat_; } /** * .cz.proto.FileFormatType file_format = 2; * @param value The enum numeric value on the wire for fileFormat to set. * @return This builder for chaining. */ public Builder setFileFormatValue(int value) { fileFormat_ = value; onChanged(); return this; } /** * .cz.proto.FileFormatType file_format = 2; * @return The fileFormat. */ @java.lang.Override public cz.proto.FileFormatTypeOuterClass.FileFormatType getFileFormat() { @SuppressWarnings("deprecation") cz.proto.FileFormatTypeOuterClass.FileFormatType result = cz.proto.FileFormatTypeOuterClass.FileFormatType.valueOf(fileFormat_); return result == null ? cz.proto.FileFormatTypeOuterClass.FileFormatType.UNRECOGNIZED : result; } /** * .cz.proto.FileFormatType file_format = 2; * @param value The fileFormat to set. * @return This builder for chaining. */ public Builder setFileFormat(cz.proto.FileFormatTypeOuterClass.FileFormatType value) { if (value == null) { throw new NullPointerException(); } fileFormat_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.FileFormatType file_format = 2; * @return This builder for chaining. */ public Builder clearFileFormat() { fileFormat_ = 0; onChanged(); return this; } private long maxNumRowsPerFile_ ; /** * int64 max_num_rows_per_file = 3; * @return The maxNumRowsPerFile. */ @java.lang.Override public long getMaxNumRowsPerFile() { return maxNumRowsPerFile_; } /** * int64 max_num_rows_per_file = 3; * @param value The maxNumRowsPerFile to set. * @return This builder for chaining. */ public Builder setMaxNumRowsPerFile(long value) { maxNumRowsPerFile_ = value; onChanged(); return this; } /** * int64 max_num_rows_per_file = 3; * @return This builder for chaining. */ public Builder clearMaxNumRowsPerFile() { maxNumRowsPerFile_ = 0L; onChanged(); return this; } private long maxSizeInBytesPerFile_ ; /** * int64 max_size_in_bytes_per_file = 4; * @return The maxSizeInBytesPerFile. */ @java.lang.Override public long getMaxSizeInBytesPerFile() { return maxSizeInBytesPerFile_; } /** * int64 max_size_in_bytes_per_file = 4; * @param value The maxSizeInBytesPerFile to set. * @return This builder for chaining. */ public Builder setMaxSizeInBytesPerFile(long value) { maxSizeInBytesPerFile_ = value; onChanged(); return this; } /** * int64 max_size_in_bytes_per_file = 4; * @return This builder for chaining. */ public Builder clearMaxSizeInBytesPerFile() { maxSizeInBytesPerFile_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.BulkLoadStreamWriterConfig) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.BulkLoadStreamWriterConfig) private static final cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig(); } public static cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BulkLoadStreamWriterConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BulkLoadStreamWriterConfig(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 cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CreateBulkLoadStreamRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.CreateBulkLoadStreamRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ cz.proto.ingestion.v2.IngestionV2.Account getAccount(); /** * .cz.proto.ingestion.v2.Account account = 1; */ cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder(); /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return Whether the identifier field is set. */ boolean hasIdentifier(); /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return The identifier. */ cz.proto.ingestion.v2.IngestionV2.TableIdentifier getIdentifier(); /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getIdentifierOrBuilder(); /** * .cz.proto.ingestion.v2.BulkLoadStreamOperation operation = 3; * @return The enum numeric value on the wire for operation. */ int getOperationValue(); /** * .cz.proto.ingestion.v2.BulkLoadStreamOperation operation = 3; * @return The operation. */ cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamOperation getOperation(); /** * string partition_spec = 4; * @return The partitionSpec. */ java.lang.String getPartitionSpec(); /** * string partition_spec = 4; * @return The bytes for partitionSpec. */ com.google.protobuf.ByteString getPartitionSpecBytes(); /** * repeated string record_keys = 5; * @return A list containing the recordKeys. */ java.util.List getRecordKeysList(); /** * repeated string record_keys = 5; * @return The count of recordKeys. */ int getRecordKeysCount(); /** * repeated string record_keys = 5; * @param index The index of the element to return. * @return The recordKeys at the given index. */ java.lang.String getRecordKeys(int index); /** * repeated string record_keys = 5; * @param index The index of the value to return. * @return The bytes of the recordKeys at the given index. */ com.google.protobuf.ByteString getRecordKeysBytes(int index); /** * bool prefer_internal_endpoint = 6; * @return The preferInternalEndpoint. */ boolean getPreferInternalEndpoint(); } /** * Protobuf type {@code cz.proto.ingestion.v2.CreateBulkLoadStreamRequest} */ public static final class CreateBulkLoadStreamRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.CreateBulkLoadStreamRequest) CreateBulkLoadStreamRequestOrBuilder { private static final long serialVersionUID = 0L; // Use CreateBulkLoadStreamRequest.newBuilder() to construct. private CreateBulkLoadStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CreateBulkLoadStreamRequest() { operation_ = 0; partitionSpec_ = ""; recordKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CreateBulkLoadStreamRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CreateBulkLoadStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder subBuilder = null; if (identifier_ != null) { subBuilder = identifier_.toBuilder(); } identifier_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.TableIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(identifier_); identifier_ = subBuilder.buildPartial(); } break; } case 24: { int rawValue = input.readEnum(); operation_ = rawValue; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); partitionSpec_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { recordKeys_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } recordKeys_.add(s); break; } case 48: { preferInternalEndpoint_ = input.readBool(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { recordKeys_ = recordKeys_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CreateBulkLoadStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CreateBulkLoadStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest.class, cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.Account account_; /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.Account getAccount() { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } /** * .cz.proto.ingestion.v2.Account account = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int IDENTIFIER_FIELD_NUMBER = 2; private cz.proto.ingestion.v2.IngestionV2.TableIdentifier identifier_; /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return Whether the identifier field is set. */ @java.lang.Override public boolean hasIdentifier() { return identifier_ != null; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return The identifier. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TableIdentifier getIdentifier() { return identifier_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : identifier_; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getIdentifierOrBuilder() { return getIdentifier(); } public static final int OPERATION_FIELD_NUMBER = 3; private int operation_; /** * .cz.proto.ingestion.v2.BulkLoadStreamOperation operation = 3; * @return The enum numeric value on the wire for operation. */ @java.lang.Override public int getOperationValue() { return operation_; } /** * .cz.proto.ingestion.v2.BulkLoadStreamOperation operation = 3; * @return The operation. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamOperation getOperation() { @SuppressWarnings("deprecation") cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamOperation result = cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamOperation.valueOf(operation_); return result == null ? cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamOperation.UNRECOGNIZED : result; } public static final int PARTITION_SPEC_FIELD_NUMBER = 4; private volatile java.lang.Object partitionSpec_; /** * string partition_spec = 4; * @return The partitionSpec. */ @java.lang.Override public java.lang.String getPartitionSpec() { java.lang.Object ref = partitionSpec_; 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(); partitionSpec_ = s; return s; } } /** * string partition_spec = 4; * @return The bytes for partitionSpec. */ @java.lang.Override public com.google.protobuf.ByteString getPartitionSpecBytes() { java.lang.Object ref = partitionSpec_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); partitionSpec_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RECORD_KEYS_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList recordKeys_; /** * repeated string record_keys = 5; * @return A list containing the recordKeys. */ public com.google.protobuf.ProtocolStringList getRecordKeysList() { return recordKeys_; } /** * repeated string record_keys = 5; * @return The count of recordKeys. */ public int getRecordKeysCount() { return recordKeys_.size(); } /** * repeated string record_keys = 5; * @param index The index of the element to return. * @return The recordKeys at the given index. */ public java.lang.String getRecordKeys(int index) { return recordKeys_.get(index); } /** * repeated string record_keys = 5; * @param index The index of the value to return. * @return The bytes of the recordKeys at the given index. */ public com.google.protobuf.ByteString getRecordKeysBytes(int index) { return recordKeys_.getByteString(index); } public static final int PREFER_INTERNAL_ENDPOINT_FIELD_NUMBER = 6; private boolean preferInternalEndpoint_; /** * bool prefer_internal_endpoint = 6; * @return The preferInternalEndpoint. */ @java.lang.Override public boolean getPreferInternalEndpoint() { return preferInternalEndpoint_; } 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 (account_ != null) { output.writeMessage(1, getAccount()); } if (identifier_ != null) { output.writeMessage(2, getIdentifier()); } if (operation_ != cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamOperation.BL_APPEND.getNumber()) { output.writeEnum(3, operation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partitionSpec_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, partitionSpec_); } for (int i = 0; i < recordKeys_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, recordKeys_.getRaw(i)); } if (preferInternalEndpoint_ != false) { output.writeBool(6, preferInternalEndpoint_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAccount()); } if (identifier_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getIdentifier()); } if (operation_ != cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamOperation.BL_APPEND.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, operation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(partitionSpec_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, partitionSpec_); } { int dataSize = 0; for (int i = 0; i < recordKeys_.size(); i++) { dataSize += computeStringSizeNoTag(recordKeys_.getRaw(i)); } size += dataSize; size += 1 * getRecordKeysList().size(); } if (preferInternalEndpoint_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(6, preferInternalEndpoint_); } 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 cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest other = (cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (hasIdentifier() != other.hasIdentifier()) return false; if (hasIdentifier()) { if (!getIdentifier() .equals(other.getIdentifier())) return false; } if (operation_ != other.operation_) return false; if (!getPartitionSpec() .equals(other.getPartitionSpec())) return false; if (!getRecordKeysList() .equals(other.getRecordKeysList())) return false; if (getPreferInternalEndpoint() != other.getPreferInternalEndpoint()) 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 (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } if (hasIdentifier()) { hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getIdentifier().hashCode(); } hash = (37 * hash) + OPERATION_FIELD_NUMBER; hash = (53 * hash) + operation_; hash = (37 * hash) + PARTITION_SPEC_FIELD_NUMBER; hash = (53 * hash) + getPartitionSpec().hashCode(); if (getRecordKeysCount() > 0) { hash = (37 * hash) + RECORD_KEYS_FIELD_NUMBER; hash = (53 * hash) + getRecordKeysList().hashCode(); } hash = (37 * hash) + PREFER_INTERNAL_ENDPOINT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getPreferInternalEndpoint()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest 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 cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest 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 cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest 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(cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest 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 cz.proto.ingestion.v2.CreateBulkLoadStreamRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.CreateBulkLoadStreamRequest) cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CreateBulkLoadStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CreateBulkLoadStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest.class, cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } if (identifierBuilder_ == null) { identifier_ = null; } else { identifier_ = null; identifierBuilder_ = null; } operation_ = 0; partitionSpec_ = ""; recordKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); preferInternalEndpoint_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CreateBulkLoadStreamRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest build() { cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest buildPartial() { cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest result = new cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest(this); int from_bitField0_ = bitField0_; if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } if (identifierBuilder_ == null) { result.identifier_ = identifier_; } else { result.identifier_ = identifierBuilder_.build(); } result.operation_ = operation_; result.partitionSpec_ = partitionSpec_; if (((bitField0_ & 0x00000001) != 0)) { recordKeys_ = recordKeys_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.recordKeys_ = recordKeys_; result.preferInternalEndpoint_ = preferInternalEndpoint_; 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 cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest other) { if (other == cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (other.hasIdentifier()) { mergeIdentifier(other.getIdentifier()); } if (other.operation_ != 0) { setOperationValue(other.getOperationValue()); } if (!other.getPartitionSpec().isEmpty()) { partitionSpec_ = other.partitionSpec_; onChanged(); } if (!other.recordKeys_.isEmpty()) { if (recordKeys_.isEmpty()) { recordKeys_ = other.recordKeys_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureRecordKeysIsMutable(); recordKeys_.addAll(other.recordKeys_); } onChanged(); } if (other.getPreferInternalEndpoint() != false) { setPreferInternalEndpoint(other.getPreferInternalEndpoint()); } 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 { cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.ingestion.v2.IngestionV2.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder> accountBuilder_; /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ public cz.proto.ingestion.v2.IngestionV2.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder setAccount(cz.proto.ingestion.v2.IngestionV2.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder setAccount( cz.proto.ingestion.v2.IngestionV2.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder mergeAccount(cz.proto.ingestion.v2.IngestionV2.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.ingestion.v2.IngestionV2.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public cz.proto.ingestion.v2.IngestionV2.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.Account account = 1; */ public cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } } /** * .cz.proto.ingestion.v2.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private cz.proto.ingestion.v2.IngestionV2.TableIdentifier identifier_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder> identifierBuilder_; /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return Whether the identifier field is set. */ public boolean hasIdentifier() { return identifierBuilder_ != null || identifier_ != null; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return The identifier. */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier getIdentifier() { if (identifierBuilder_ == null) { return identifier_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : identifier_; } else { return identifierBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public Builder setIdentifier(cz.proto.ingestion.v2.IngestionV2.TableIdentifier value) { if (identifierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifier_ = value; onChanged(); } else { identifierBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public Builder setIdentifier( cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder builderForValue) { if (identifierBuilder_ == null) { identifier_ = builderForValue.build(); onChanged(); } else { identifierBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public Builder mergeIdentifier(cz.proto.ingestion.v2.IngestionV2.TableIdentifier value) { if (identifierBuilder_ == null) { if (identifier_ != null) { identifier_ = cz.proto.ingestion.v2.IngestionV2.TableIdentifier.newBuilder(identifier_).mergeFrom(value).buildPartial(); } else { identifier_ = value; } onChanged(); } else { identifierBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public Builder clearIdentifier() { if (identifierBuilder_ == null) { identifier_ = null; onChanged(); } else { identifier_ = null; identifierBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder getIdentifierBuilder() { onChanged(); return getIdentifierFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getIdentifierOrBuilder() { if (identifierBuilder_ != null) { return identifierBuilder_.getMessageOrBuilder(); } else { return identifier_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : identifier_; } } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder> getIdentifierFieldBuilder() { if (identifierBuilder_ == null) { identifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder>( getIdentifier(), getParentForChildren(), isClean()); identifier_ = null; } return identifierBuilder_; } private int operation_ = 0; /** * .cz.proto.ingestion.v2.BulkLoadStreamOperation operation = 3; * @return The enum numeric value on the wire for operation. */ @java.lang.Override public int getOperationValue() { return operation_; } /** * .cz.proto.ingestion.v2.BulkLoadStreamOperation operation = 3; * @param value The enum numeric value on the wire for operation to set. * @return This builder for chaining. */ public Builder setOperationValue(int value) { operation_ = value; onChanged(); return this; } /** * .cz.proto.ingestion.v2.BulkLoadStreamOperation operation = 3; * @return The operation. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamOperation getOperation() { @SuppressWarnings("deprecation") cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamOperation result = cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamOperation.valueOf(operation_); return result == null ? cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamOperation.UNRECOGNIZED : result; } /** * .cz.proto.ingestion.v2.BulkLoadStreamOperation operation = 3; * @param value The operation to set. * @return This builder for chaining. */ public Builder setOperation(cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamOperation value) { if (value == null) { throw new NullPointerException(); } operation_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.ingestion.v2.BulkLoadStreamOperation operation = 3; * @return This builder for chaining. */ public Builder clearOperation() { operation_ = 0; onChanged(); return this; } private java.lang.Object partitionSpec_ = ""; /** * string partition_spec = 4; * @return The partitionSpec. */ public java.lang.String getPartitionSpec() { java.lang.Object ref = partitionSpec_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); partitionSpec_ = s; return s; } else { return (java.lang.String) ref; } } /** * string partition_spec = 4; * @return The bytes for partitionSpec. */ public com.google.protobuf.ByteString getPartitionSpecBytes() { java.lang.Object ref = partitionSpec_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); partitionSpec_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string partition_spec = 4; * @param value The partitionSpec to set. * @return This builder for chaining. */ public Builder setPartitionSpec( java.lang.String value) { if (value == null) { throw new NullPointerException(); } partitionSpec_ = value; onChanged(); return this; } /** * string partition_spec = 4; * @return This builder for chaining. */ public Builder clearPartitionSpec() { partitionSpec_ = getDefaultInstance().getPartitionSpec(); onChanged(); return this; } /** * string partition_spec = 4; * @param value The bytes for partitionSpec to set. * @return This builder for chaining. */ public Builder setPartitionSpecBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); partitionSpec_ = value; onChanged(); return this; } private com.google.protobuf.LazyStringList recordKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureRecordKeysIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { recordKeys_ = new com.google.protobuf.LazyStringArrayList(recordKeys_); bitField0_ |= 0x00000001; } } /** * repeated string record_keys = 5; * @return A list containing the recordKeys. */ public com.google.protobuf.ProtocolStringList getRecordKeysList() { return recordKeys_.getUnmodifiableView(); } /** * repeated string record_keys = 5; * @return The count of recordKeys. */ public int getRecordKeysCount() { return recordKeys_.size(); } /** * repeated string record_keys = 5; * @param index The index of the element to return. * @return The recordKeys at the given index. */ public java.lang.String getRecordKeys(int index) { return recordKeys_.get(index); } /** * repeated string record_keys = 5; * @param index The index of the value to return. * @return The bytes of the recordKeys at the given index. */ public com.google.protobuf.ByteString getRecordKeysBytes(int index) { return recordKeys_.getByteString(index); } /** * repeated string record_keys = 5; * @param index The index to set the value at. * @param value The recordKeys to set. * @return This builder for chaining. */ public Builder setRecordKeys( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureRecordKeysIsMutable(); recordKeys_.set(index, value); onChanged(); return this; } /** * repeated string record_keys = 5; * @param value The recordKeys to add. * @return This builder for chaining. */ public Builder addRecordKeys( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureRecordKeysIsMutable(); recordKeys_.add(value); onChanged(); return this; } /** * repeated string record_keys = 5; * @param values The recordKeys to add. * @return This builder for chaining. */ public Builder addAllRecordKeys( java.lang.Iterable values) { ensureRecordKeysIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, recordKeys_); onChanged(); return this; } /** * repeated string record_keys = 5; * @return This builder for chaining. */ public Builder clearRecordKeys() { recordKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string record_keys = 5; * @param value The bytes of the recordKeys to add. * @return This builder for chaining. */ public Builder addRecordKeysBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureRecordKeysIsMutable(); recordKeys_.add(value); onChanged(); return this; } private boolean preferInternalEndpoint_ ; /** * bool prefer_internal_endpoint = 6; * @return The preferInternalEndpoint. */ @java.lang.Override public boolean getPreferInternalEndpoint() { return preferInternalEndpoint_; } /** * bool prefer_internal_endpoint = 6; * @param value The preferInternalEndpoint to set. * @return This builder for chaining. */ public Builder setPreferInternalEndpoint(boolean value) { preferInternalEndpoint_ = value; onChanged(); return this; } /** * bool prefer_internal_endpoint = 6; * @return This builder for chaining. */ public Builder clearPreferInternalEndpoint() { preferInternalEndpoint_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.CreateBulkLoadStreamRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.CreateBulkLoadStreamRequest) private static final cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest(); } public static cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CreateBulkLoadStreamRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CreateBulkLoadStreamRequest(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 cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CreateBulkLoadStreamResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.CreateBulkLoadStreamResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder(); /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; * @return Whether the info field is set. */ boolean hasInfo(); /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; * @return The info. */ cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo getInfo(); /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; */ cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfoOrBuilder getInfoOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.v2.CreateBulkLoadStreamResponse} */ public static final class CreateBulkLoadStreamResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.CreateBulkLoadStreamResponse) CreateBulkLoadStreamResponseOrBuilder { private static final long serialVersionUID = 0L; // Use CreateBulkLoadStreamResponse.newBuilder() to construct. private CreateBulkLoadStreamResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CreateBulkLoadStreamResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CreateBulkLoadStreamResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CreateBulkLoadStreamResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(status_); status_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.Builder subBuilder = null; if (info_ != null) { subBuilder = info_.toBuilder(); } info_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(info_); info_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CreateBulkLoadStreamResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CreateBulkLoadStreamResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse.class, cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { return getStatus(); } public static final int INFO_FIELD_NUMBER = 2; private cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo info_; /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; * @return Whether the info field is set. */ @java.lang.Override public boolean hasInfo() { return info_ != null; } /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; * @return The info. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo getInfo() { return info_ == null ? cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.getDefaultInstance() : info_; } /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfoOrBuilder getInfoOrBuilder() { return getInfo(); } 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 (status_ != null) { output.writeMessage(1, getStatus()); } if (info_ != null) { output.writeMessage(2, getInfo()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getStatus()); } if (info_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getInfo()); } 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 cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse other = (cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse) obj; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) return false; } if (hasInfo() != other.hasInfo()) return false; if (hasInfo()) { if (!getInfo() .equals(other.getInfo())) 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 (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } if (hasInfo()) { hash = (37 * hash) + INFO_FIELD_NUMBER; hash = (53 * hash) + getInfo().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse 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 cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse 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 cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse 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(cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse 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 cz.proto.ingestion.v2.CreateBulkLoadStreamResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.CreateBulkLoadStreamResponse) cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CreateBulkLoadStreamResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CreateBulkLoadStreamResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse.class, cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (statusBuilder_ == null) { status_ = null; } else { status_ = null; statusBuilder_ = null; } if (infoBuilder_ == null) { info_ = null; } else { info_ = null; infoBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CreateBulkLoadStreamResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse build() { cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse buildPartial() { cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse result = new cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse(this); if (statusBuilder_ == null) { result.status_ = status_; } else { result.status_ = statusBuilder_.build(); } if (infoBuilder_ == null) { result.info_ = info_; } else { result.info_ = infoBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse other) { if (other == cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse.getDefaultInstance()) return this; if (other.hasStatus()) { mergeStatus(other.getStatus()); } if (other.hasInfo()) { mergeInfo(other.getInfo()); } 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 { cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus( cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder mergeStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.v2.IngestionV2.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder>( getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } private cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo info_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo, cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.Builder, cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfoOrBuilder> infoBuilder_; /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; * @return Whether the info field is set. */ public boolean hasInfo() { return infoBuilder_ != null || info_ != null; } /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; * @return The info. */ public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo getInfo() { if (infoBuilder_ == null) { return info_ == null ? cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.getDefaultInstance() : info_; } else { return infoBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; */ public Builder setInfo(cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo value) { if (infoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } info_ = value; onChanged(); } else { infoBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; */ public Builder setInfo( cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.Builder builderForValue) { if (infoBuilder_ == null) { info_ = builderForValue.build(); onChanged(); } else { infoBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; */ public Builder mergeInfo(cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo value) { if (infoBuilder_ == null) { if (info_ != null) { info_ = cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.newBuilder(info_).mergeFrom(value).buildPartial(); } else { info_ = value; } onChanged(); } else { infoBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; */ public Builder clearInfo() { if (infoBuilder_ == null) { info_ = null; onChanged(); } else { info_ = null; infoBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; */ public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.Builder getInfoBuilder() { onChanged(); return getInfoFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; */ public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfoOrBuilder getInfoOrBuilder() { if (infoBuilder_ != null) { return infoBuilder_.getMessageOrBuilder(); } else { return info_ == null ? cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.getDefaultInstance() : info_; } } /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo, cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.Builder, cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfoOrBuilder> getInfoFieldBuilder() { if (infoBuilder_ == null) { infoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo, cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.Builder, cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfoOrBuilder>( getInfo(), getParentForChildren(), isClean()); info_ = null; } return infoBuilder_; } @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:cz.proto.ingestion.v2.CreateBulkLoadStreamResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.CreateBulkLoadStreamResponse) private static final cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse(); } public static cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CreateBulkLoadStreamResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CreateBulkLoadStreamResponse(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 cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetBulkLoadStreamRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.GetBulkLoadStreamRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ cz.proto.ingestion.v2.IngestionV2.Account getAccount(); /** * .cz.proto.ingestion.v2.Account account = 1; */ cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder(); /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return Whether the identifier field is set. */ boolean hasIdentifier(); /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return The identifier. */ cz.proto.ingestion.v2.IngestionV2.TableIdentifier getIdentifier(); /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getIdentifierOrBuilder(); /** * string stream_id = 3; * @return The streamId. */ java.lang.String getStreamId(); /** * string stream_id = 3; * @return The bytes for streamId. */ com.google.protobuf.ByteString getStreamIdBytes(); /** * bool need_table_meta = 4; * @return The needTableMeta. */ boolean getNeedTableMeta(); } /** * Protobuf type {@code cz.proto.ingestion.v2.GetBulkLoadStreamRequest} */ public static final class GetBulkLoadStreamRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.GetBulkLoadStreamRequest) GetBulkLoadStreamRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetBulkLoadStreamRequest.newBuilder() to construct. private GetBulkLoadStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetBulkLoadStreamRequest() { streamId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetBulkLoadStreamRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetBulkLoadStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder subBuilder = null; if (identifier_ != null) { subBuilder = identifier_.toBuilder(); } identifier_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.TableIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(identifier_); identifier_ = subBuilder.buildPartial(); } break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); streamId_ = s; break; } case 32: { needTableMeta_ = input.readBool(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest.class, cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.Account account_; /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.Account getAccount() { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } /** * .cz.proto.ingestion.v2.Account account = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int IDENTIFIER_FIELD_NUMBER = 2; private cz.proto.ingestion.v2.IngestionV2.TableIdentifier identifier_; /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return Whether the identifier field is set. */ @java.lang.Override public boolean hasIdentifier() { return identifier_ != null; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return The identifier. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TableIdentifier getIdentifier() { return identifier_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : identifier_; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getIdentifierOrBuilder() { return getIdentifier(); } public static final int STREAM_ID_FIELD_NUMBER = 3; private volatile java.lang.Object streamId_; /** * string stream_id = 3; * @return The streamId. */ @java.lang.Override public java.lang.String getStreamId() { java.lang.Object ref = streamId_; 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(); streamId_ = s; return s; } } /** * string stream_id = 3; * @return The bytes for streamId. */ @java.lang.Override public com.google.protobuf.ByteString getStreamIdBytes() { java.lang.Object ref = streamId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); streamId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NEED_TABLE_META_FIELD_NUMBER = 4; private boolean needTableMeta_; /** * bool need_table_meta = 4; * @return The needTableMeta. */ @java.lang.Override public boolean getNeedTableMeta() { return needTableMeta_; } 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 (account_ != null) { output.writeMessage(1, getAccount()); } if (identifier_ != null) { output.writeMessage(2, getIdentifier()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, streamId_); } if (needTableMeta_ != false) { output.writeBool(4, needTableMeta_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAccount()); } if (identifier_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getIdentifier()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, streamId_); } if (needTableMeta_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, needTableMeta_); } 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 cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest other = (cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (hasIdentifier() != other.hasIdentifier()) return false; if (hasIdentifier()) { if (!getIdentifier() .equals(other.getIdentifier())) return false; } if (!getStreamId() .equals(other.getStreamId())) return false; if (getNeedTableMeta() != other.getNeedTableMeta()) 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 (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } if (hasIdentifier()) { hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getIdentifier().hashCode(); } hash = (37 * hash) + STREAM_ID_FIELD_NUMBER; hash = (53 * hash) + getStreamId().hashCode(); hash = (37 * hash) + NEED_TABLE_META_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getNeedTableMeta()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest 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 cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest 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 cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest 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(cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest 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 cz.proto.ingestion.v2.GetBulkLoadStreamRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.GetBulkLoadStreamRequest) cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest.class, cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } if (identifierBuilder_ == null) { identifier_ = null; } else { identifier_ = null; identifierBuilder_ = null; } streamId_ = ""; needTableMeta_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest build() { cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest buildPartial() { cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest result = new cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest(this); if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } if (identifierBuilder_ == null) { result.identifier_ = identifier_; } else { result.identifier_ = identifierBuilder_.build(); } result.streamId_ = streamId_; result.needTableMeta_ = needTableMeta_; 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 cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest other) { if (other == cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (other.hasIdentifier()) { mergeIdentifier(other.getIdentifier()); } if (!other.getStreamId().isEmpty()) { streamId_ = other.streamId_; onChanged(); } if (other.getNeedTableMeta() != false) { setNeedTableMeta(other.getNeedTableMeta()); } 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 { cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.v2.IngestionV2.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder> accountBuilder_; /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ public cz.proto.ingestion.v2.IngestionV2.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder setAccount(cz.proto.ingestion.v2.IngestionV2.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder setAccount( cz.proto.ingestion.v2.IngestionV2.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder mergeAccount(cz.proto.ingestion.v2.IngestionV2.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.ingestion.v2.IngestionV2.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public cz.proto.ingestion.v2.IngestionV2.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.Account account = 1; */ public cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } } /** * .cz.proto.ingestion.v2.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private cz.proto.ingestion.v2.IngestionV2.TableIdentifier identifier_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder> identifierBuilder_; /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return Whether the identifier field is set. */ public boolean hasIdentifier() { return identifierBuilder_ != null || identifier_ != null; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return The identifier. */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier getIdentifier() { if (identifierBuilder_ == null) { return identifier_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : identifier_; } else { return identifierBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public Builder setIdentifier(cz.proto.ingestion.v2.IngestionV2.TableIdentifier value) { if (identifierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifier_ = value; onChanged(); } else { identifierBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public Builder setIdentifier( cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder builderForValue) { if (identifierBuilder_ == null) { identifier_ = builderForValue.build(); onChanged(); } else { identifierBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public Builder mergeIdentifier(cz.proto.ingestion.v2.IngestionV2.TableIdentifier value) { if (identifierBuilder_ == null) { if (identifier_ != null) { identifier_ = cz.proto.ingestion.v2.IngestionV2.TableIdentifier.newBuilder(identifier_).mergeFrom(value).buildPartial(); } else { identifier_ = value; } onChanged(); } else { identifierBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public Builder clearIdentifier() { if (identifierBuilder_ == null) { identifier_ = null; onChanged(); } else { identifier_ = null; identifierBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder getIdentifierBuilder() { onChanged(); return getIdentifierFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getIdentifierOrBuilder() { if (identifierBuilder_ != null) { return identifierBuilder_.getMessageOrBuilder(); } else { return identifier_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : identifier_; } } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder> getIdentifierFieldBuilder() { if (identifierBuilder_ == null) { identifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder>( getIdentifier(), getParentForChildren(), isClean()); identifier_ = null; } return identifierBuilder_; } private java.lang.Object streamId_ = ""; /** * string stream_id = 3; * @return The streamId. */ public java.lang.String getStreamId() { java.lang.Object ref = streamId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); streamId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string stream_id = 3; * @return The bytes for streamId. */ public com.google.protobuf.ByteString getStreamIdBytes() { java.lang.Object ref = streamId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); streamId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string stream_id = 3; * @param value The streamId to set. * @return This builder for chaining. */ public Builder setStreamId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } streamId_ = value; onChanged(); return this; } /** * string stream_id = 3; * @return This builder for chaining. */ public Builder clearStreamId() { streamId_ = getDefaultInstance().getStreamId(); onChanged(); return this; } /** * string stream_id = 3; * @param value The bytes for streamId to set. * @return This builder for chaining. */ public Builder setStreamIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); streamId_ = value; onChanged(); return this; } private boolean needTableMeta_ ; /** * bool need_table_meta = 4; * @return The needTableMeta. */ @java.lang.Override public boolean getNeedTableMeta() { return needTableMeta_; } /** * bool need_table_meta = 4; * @param value The needTableMeta to set. * @return This builder for chaining. */ public Builder setNeedTableMeta(boolean value) { needTableMeta_ = value; onChanged(); return this; } /** * bool need_table_meta = 4; * @return This builder for chaining. */ public Builder clearNeedTableMeta() { needTableMeta_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.GetBulkLoadStreamRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.GetBulkLoadStreamRequest) private static final cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest(); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetBulkLoadStreamRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetBulkLoadStreamRequest(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 cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetBulkLoadStreamResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.GetBulkLoadStreamResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder(); /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; * @return Whether the info field is set. */ boolean hasInfo(); /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; * @return The info. */ cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo getInfo(); /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; */ cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfoOrBuilder getInfoOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.v2.GetBulkLoadStreamResponse} */ public static final class GetBulkLoadStreamResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.GetBulkLoadStreamResponse) GetBulkLoadStreamResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetBulkLoadStreamResponse.newBuilder() to construct. private GetBulkLoadStreamResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetBulkLoadStreamResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetBulkLoadStreamResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetBulkLoadStreamResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(status_); status_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.Builder subBuilder = null; if (info_ != null) { subBuilder = info_.toBuilder(); } info_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(info_); info_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse.class, cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { return getStatus(); } public static final int INFO_FIELD_NUMBER = 2; private cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo info_; /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; * @return Whether the info field is set. */ @java.lang.Override public boolean hasInfo() { return info_ != null; } /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; * @return The info. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo getInfo() { return info_ == null ? cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.getDefaultInstance() : info_; } /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfoOrBuilder getInfoOrBuilder() { return getInfo(); } 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 (status_ != null) { output.writeMessage(1, getStatus()); } if (info_ != null) { output.writeMessage(2, getInfo()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getStatus()); } if (info_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getInfo()); } 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 cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse other = (cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse) obj; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) return false; } if (hasInfo() != other.hasInfo()) return false; if (hasInfo()) { if (!getInfo() .equals(other.getInfo())) 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 (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } if (hasInfo()) { hash = (37 * hash) + INFO_FIELD_NUMBER; hash = (53 * hash) + getInfo().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse 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 cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse 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 cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse 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(cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse 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 cz.proto.ingestion.v2.GetBulkLoadStreamResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.GetBulkLoadStreamResponse) cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse.class, cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (statusBuilder_ == null) { status_ = null; } else { status_ = null; statusBuilder_ = null; } if (infoBuilder_ == null) { info_ = null; } else { info_ = null; infoBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse build() { cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse buildPartial() { cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse result = new cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse(this); if (statusBuilder_ == null) { result.status_ = status_; } else { result.status_ = statusBuilder_.build(); } if (infoBuilder_ == null) { result.info_ = info_; } else { result.info_ = infoBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse other) { if (other == cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse.getDefaultInstance()) return this; if (other.hasStatus()) { mergeStatus(other.getStatus()); } if (other.hasInfo()) { mergeInfo(other.getInfo()); } 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 { cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus( cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder mergeStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.v2.IngestionV2.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder>( getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } private cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo info_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo, cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.Builder, cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfoOrBuilder> infoBuilder_; /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; * @return Whether the info field is set. */ public boolean hasInfo() { return infoBuilder_ != null || info_ != null; } /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; * @return The info. */ public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo getInfo() { if (infoBuilder_ == null) { return info_ == null ? cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.getDefaultInstance() : info_; } else { return infoBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; */ public Builder setInfo(cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo value) { if (infoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } info_ = value; onChanged(); } else { infoBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; */ public Builder setInfo( cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.Builder builderForValue) { if (infoBuilder_ == null) { info_ = builderForValue.build(); onChanged(); } else { infoBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; */ public Builder mergeInfo(cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo value) { if (infoBuilder_ == null) { if (info_ != null) { info_ = cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.newBuilder(info_).mergeFrom(value).buildPartial(); } else { info_ = value; } onChanged(); } else { infoBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; */ public Builder clearInfo() { if (infoBuilder_ == null) { info_ = null; onChanged(); } else { info_ = null; infoBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; */ public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.Builder getInfoBuilder() { onChanged(); return getInfoFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; */ public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfoOrBuilder getInfoOrBuilder() { if (infoBuilder_ != null) { return infoBuilder_.getMessageOrBuilder(); } else { return info_ == null ? cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.getDefaultInstance() : info_; } } /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo, cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.Builder, cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfoOrBuilder> getInfoFieldBuilder() { if (infoBuilder_ == null) { infoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo, cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.Builder, cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfoOrBuilder>( getInfo(), getParentForChildren(), isClean()); info_ = null; } return infoBuilder_; } @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:cz.proto.ingestion.v2.GetBulkLoadStreamResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.GetBulkLoadStreamResponse) private static final cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse(); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetBulkLoadStreamResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetBulkLoadStreamResponse(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 cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CommitBulkLoadStreamRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.CommitBulkLoadStreamRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ cz.proto.ingestion.v2.IngestionV2.Account getAccount(); /** * .cz.proto.ingestion.v2.Account account = 1; */ cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder(); /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return Whether the identifier field is set. */ boolean hasIdentifier(); /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return The identifier. */ cz.proto.ingestion.v2.IngestionV2.TableIdentifier getIdentifier(); /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getIdentifierOrBuilder(); /** * string stream_id = 3; * @return The streamId. */ java.lang.String getStreamId(); /** * string stream_id = 3; * @return The bytes for streamId. */ com.google.protobuf.ByteString getStreamIdBytes(); /** * string execute_workspace = 4; * @return The executeWorkspace. */ java.lang.String getExecuteWorkspace(); /** * string execute_workspace = 4; * @return The bytes for executeWorkspace. */ com.google.protobuf.ByteString getExecuteWorkspaceBytes(); /** * string execute_vc_name = 5; * @return The executeVcName. */ java.lang.String getExecuteVcName(); /** * string execute_vc_name = 5; * @return The bytes for executeVcName. */ com.google.protobuf.ByteString getExecuteVcNameBytes(); /** * .cz.proto.ingestion.v2.CommitBulkLoadStreamRequest.CommitMode commit_mode = 6; * @return The enum numeric value on the wire for commitMode. */ int getCommitModeValue(); /** * .cz.proto.ingestion.v2.CommitBulkLoadStreamRequest.CommitMode commit_mode = 6; * @return The commitMode. */ cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest.CommitMode getCommitMode(); /** *
     * Is spec_partition_ids required?
     * 
* * repeated uint32 spec_partition_ids = 7; * @return A list containing the specPartitionIds. */ java.util.List getSpecPartitionIdsList(); /** *
     * Is spec_partition_ids required?
     * 
* * repeated uint32 spec_partition_ids = 7; * @return The count of specPartitionIds. */ int getSpecPartitionIdsCount(); /** *
     * Is spec_partition_ids required?
     * 
* * repeated uint32 spec_partition_ids = 7; * @param index The index of the element to return. * @return The specPartitionIds at the given index. */ int getSpecPartitionIds(int index); } /** * Protobuf type {@code cz.proto.ingestion.v2.CommitBulkLoadStreamRequest} */ public static final class CommitBulkLoadStreamRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.CommitBulkLoadStreamRequest) CommitBulkLoadStreamRequestOrBuilder { private static final long serialVersionUID = 0L; // Use CommitBulkLoadStreamRequest.newBuilder() to construct. private CommitBulkLoadStreamRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CommitBulkLoadStreamRequest() { streamId_ = ""; executeWorkspace_ = ""; executeVcName_ = ""; commitMode_ = 0; specPartitionIds_ = emptyIntList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CommitBulkLoadStreamRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CommitBulkLoadStreamRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder subBuilder = null; if (identifier_ != null) { subBuilder = identifier_.toBuilder(); } identifier_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.TableIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(identifier_); identifier_ = subBuilder.buildPartial(); } break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); streamId_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); executeWorkspace_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); executeVcName_ = s; break; } case 48: { int rawValue = input.readEnum(); commitMode_ = rawValue; break; } case 56: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { specPartitionIds_ = newIntList(); mutable_bitField0_ |= 0x00000001; } specPartitionIds_.addInt(input.readUInt32()); break; } case 58: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { specPartitionIds_ = newIntList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { specPartitionIds_.addInt(input.readUInt32()); } input.popLimit(limit); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { specPartitionIds_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CommitBulkLoadStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CommitBulkLoadStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest.class, cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest.Builder.class); } /** * Protobuf enum {@code cz.proto.ingestion.v2.CommitBulkLoadStreamRequest.CommitMode} */ public enum CommitMode implements com.google.protobuf.ProtocolMessageEnum { /** * COMMIT_STREAM = 0; */ COMMIT_STREAM(0), /** * ABORT_STREAM = 1; */ ABORT_STREAM(1), UNRECOGNIZED(-1), ; /** * COMMIT_STREAM = 0; */ public static final int COMMIT_STREAM_VALUE = 0; /** * ABORT_STREAM = 1; */ public static final int ABORT_STREAM_VALUE = 1; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static CommitMode valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static CommitMode forNumber(int value) { switch (value) { case 0: return COMMIT_STREAM; case 1: return ABORT_STREAM; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< CommitMode> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public CommitMode findValueByNumber(int number) { return CommitMode.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest.getDescriptor().getEnumTypes().get(0); } private static final CommitMode[] VALUES = values(); public static CommitMode valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private CommitMode(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:cz.proto.ingestion.v2.CommitBulkLoadStreamRequest.CommitMode) } public static final int ACCOUNT_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.Account account_; /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.Account getAccount() { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } /** * .cz.proto.ingestion.v2.Account account = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int IDENTIFIER_FIELD_NUMBER = 2; private cz.proto.ingestion.v2.IngestionV2.TableIdentifier identifier_; /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return Whether the identifier field is set. */ @java.lang.Override public boolean hasIdentifier() { return identifier_ != null; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return The identifier. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TableIdentifier getIdentifier() { return identifier_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : identifier_; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getIdentifierOrBuilder() { return getIdentifier(); } public static final int STREAM_ID_FIELD_NUMBER = 3; private volatile java.lang.Object streamId_; /** * string stream_id = 3; * @return The streamId. */ @java.lang.Override public java.lang.String getStreamId() { java.lang.Object ref = streamId_; 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(); streamId_ = s; return s; } } /** * string stream_id = 3; * @return The bytes for streamId. */ @java.lang.Override public com.google.protobuf.ByteString getStreamIdBytes() { java.lang.Object ref = streamId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); streamId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EXECUTE_WORKSPACE_FIELD_NUMBER = 4; private volatile java.lang.Object executeWorkspace_; /** * string execute_workspace = 4; * @return The executeWorkspace. */ @java.lang.Override public java.lang.String getExecuteWorkspace() { java.lang.Object ref = executeWorkspace_; 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(); executeWorkspace_ = s; return s; } } /** * string execute_workspace = 4; * @return The bytes for executeWorkspace. */ @java.lang.Override public com.google.protobuf.ByteString getExecuteWorkspaceBytes() { java.lang.Object ref = executeWorkspace_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); executeWorkspace_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EXECUTE_VC_NAME_FIELD_NUMBER = 5; private volatile java.lang.Object executeVcName_; /** * string execute_vc_name = 5; * @return The executeVcName. */ @java.lang.Override public java.lang.String getExecuteVcName() { java.lang.Object ref = executeVcName_; 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(); executeVcName_ = s; return s; } } /** * string execute_vc_name = 5; * @return The bytes for executeVcName. */ @java.lang.Override public com.google.protobuf.ByteString getExecuteVcNameBytes() { java.lang.Object ref = executeVcName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); executeVcName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COMMIT_MODE_FIELD_NUMBER = 6; private int commitMode_; /** * .cz.proto.ingestion.v2.CommitBulkLoadStreamRequest.CommitMode commit_mode = 6; * @return The enum numeric value on the wire for commitMode. */ @java.lang.Override public int getCommitModeValue() { return commitMode_; } /** * .cz.proto.ingestion.v2.CommitBulkLoadStreamRequest.CommitMode commit_mode = 6; * @return The commitMode. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest.CommitMode getCommitMode() { @SuppressWarnings("deprecation") cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest.CommitMode result = cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest.CommitMode.valueOf(commitMode_); return result == null ? cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest.CommitMode.UNRECOGNIZED : result; } public static final int SPEC_PARTITION_IDS_FIELD_NUMBER = 7; private com.google.protobuf.Internal.IntList specPartitionIds_; /** *
     * Is spec_partition_ids required?
     * 
* * repeated uint32 spec_partition_ids = 7; * @return A list containing the specPartitionIds. */ @java.lang.Override public java.util.List getSpecPartitionIdsList() { return specPartitionIds_; } /** *
     * Is spec_partition_ids required?
     * 
* * repeated uint32 spec_partition_ids = 7; * @return The count of specPartitionIds. */ public int getSpecPartitionIdsCount() { return specPartitionIds_.size(); } /** *
     * Is spec_partition_ids required?
     * 
* * repeated uint32 spec_partition_ids = 7; * @param index The index of the element to return. * @return The specPartitionIds at the given index. */ public int getSpecPartitionIds(int index) { return specPartitionIds_.getInt(index); } private int specPartitionIdsMemoizedSerializedSize = -1; 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 { getSerializedSize(); if (account_ != null) { output.writeMessage(1, getAccount()); } if (identifier_ != null) { output.writeMessage(2, getIdentifier()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, streamId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(executeWorkspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, executeWorkspace_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(executeVcName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, executeVcName_); } if (commitMode_ != cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest.CommitMode.COMMIT_STREAM.getNumber()) { output.writeEnum(6, commitMode_); } if (getSpecPartitionIdsList().size() > 0) { output.writeUInt32NoTag(58); output.writeUInt32NoTag(specPartitionIdsMemoizedSerializedSize); } for (int i = 0; i < specPartitionIds_.size(); i++) { output.writeUInt32NoTag(specPartitionIds_.getInt(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAccount()); } if (identifier_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getIdentifier()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, streamId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(executeWorkspace_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, executeWorkspace_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(executeVcName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, executeVcName_); } if (commitMode_ != cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest.CommitMode.COMMIT_STREAM.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, commitMode_); } { int dataSize = 0; for (int i = 0; i < specPartitionIds_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(specPartitionIds_.getInt(i)); } size += dataSize; if (!getSpecPartitionIdsList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } specPartitionIdsMemoizedSerializedSize = dataSize; } 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 cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest other = (cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (hasIdentifier() != other.hasIdentifier()) return false; if (hasIdentifier()) { if (!getIdentifier() .equals(other.getIdentifier())) return false; } if (!getStreamId() .equals(other.getStreamId())) return false; if (!getExecuteWorkspace() .equals(other.getExecuteWorkspace())) return false; if (!getExecuteVcName() .equals(other.getExecuteVcName())) return false; if (commitMode_ != other.commitMode_) return false; if (!getSpecPartitionIdsList() .equals(other.getSpecPartitionIdsList())) 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 (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } if (hasIdentifier()) { hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getIdentifier().hashCode(); } hash = (37 * hash) + STREAM_ID_FIELD_NUMBER; hash = (53 * hash) + getStreamId().hashCode(); hash = (37 * hash) + EXECUTE_WORKSPACE_FIELD_NUMBER; hash = (53 * hash) + getExecuteWorkspace().hashCode(); hash = (37 * hash) + EXECUTE_VC_NAME_FIELD_NUMBER; hash = (53 * hash) + getExecuteVcName().hashCode(); hash = (37 * hash) + COMMIT_MODE_FIELD_NUMBER; hash = (53 * hash) + commitMode_; if (getSpecPartitionIdsCount() > 0) { hash = (37 * hash) + SPEC_PARTITION_IDS_FIELD_NUMBER; hash = (53 * hash) + getSpecPartitionIdsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest 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 cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest 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 cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest 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(cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest 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 cz.proto.ingestion.v2.CommitBulkLoadStreamRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.CommitBulkLoadStreamRequest) cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CommitBulkLoadStreamRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CommitBulkLoadStreamRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest.class, cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } if (identifierBuilder_ == null) { identifier_ = null; } else { identifier_ = null; identifierBuilder_ = null; } streamId_ = ""; executeWorkspace_ = ""; executeVcName_ = ""; commitMode_ = 0; specPartitionIds_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CommitBulkLoadStreamRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest build() { cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest buildPartial() { cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest result = new cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest(this); int from_bitField0_ = bitField0_; if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } if (identifierBuilder_ == null) { result.identifier_ = identifier_; } else { result.identifier_ = identifierBuilder_.build(); } result.streamId_ = streamId_; result.executeWorkspace_ = executeWorkspace_; result.executeVcName_ = executeVcName_; result.commitMode_ = commitMode_; if (((bitField0_ & 0x00000001) != 0)) { specPartitionIds_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000001); } result.specPartitionIds_ = specPartitionIds_; 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 cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest other) { if (other == cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (other.hasIdentifier()) { mergeIdentifier(other.getIdentifier()); } if (!other.getStreamId().isEmpty()) { streamId_ = other.streamId_; onChanged(); } if (!other.getExecuteWorkspace().isEmpty()) { executeWorkspace_ = other.executeWorkspace_; onChanged(); } if (!other.getExecuteVcName().isEmpty()) { executeVcName_ = other.executeVcName_; onChanged(); } if (other.commitMode_ != 0) { setCommitModeValue(other.getCommitModeValue()); } if (!other.specPartitionIds_.isEmpty()) { if (specPartitionIds_.isEmpty()) { specPartitionIds_ = other.specPartitionIds_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureSpecPartitionIdsIsMutable(); specPartitionIds_.addAll(other.specPartitionIds_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.ingestion.v2.IngestionV2.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder> accountBuilder_; /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ public cz.proto.ingestion.v2.IngestionV2.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder setAccount(cz.proto.ingestion.v2.IngestionV2.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder setAccount( cz.proto.ingestion.v2.IngestionV2.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder mergeAccount(cz.proto.ingestion.v2.IngestionV2.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.ingestion.v2.IngestionV2.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public cz.proto.ingestion.v2.IngestionV2.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.Account account = 1; */ public cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } } /** * .cz.proto.ingestion.v2.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private cz.proto.ingestion.v2.IngestionV2.TableIdentifier identifier_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder> identifierBuilder_; /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return Whether the identifier field is set. */ public boolean hasIdentifier() { return identifierBuilder_ != null || identifier_ != null; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return The identifier. */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier getIdentifier() { if (identifierBuilder_ == null) { return identifier_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : identifier_; } else { return identifierBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public Builder setIdentifier(cz.proto.ingestion.v2.IngestionV2.TableIdentifier value) { if (identifierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifier_ = value; onChanged(); } else { identifierBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public Builder setIdentifier( cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder builderForValue) { if (identifierBuilder_ == null) { identifier_ = builderForValue.build(); onChanged(); } else { identifierBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public Builder mergeIdentifier(cz.proto.ingestion.v2.IngestionV2.TableIdentifier value) { if (identifierBuilder_ == null) { if (identifier_ != null) { identifier_ = cz.proto.ingestion.v2.IngestionV2.TableIdentifier.newBuilder(identifier_).mergeFrom(value).buildPartial(); } else { identifier_ = value; } onChanged(); } else { identifierBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public Builder clearIdentifier() { if (identifierBuilder_ == null) { identifier_ = null; onChanged(); } else { identifier_ = null; identifierBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder getIdentifierBuilder() { onChanged(); return getIdentifierFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getIdentifierOrBuilder() { if (identifierBuilder_ != null) { return identifierBuilder_.getMessageOrBuilder(); } else { return identifier_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : identifier_; } } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder> getIdentifierFieldBuilder() { if (identifierBuilder_ == null) { identifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder>( getIdentifier(), getParentForChildren(), isClean()); identifier_ = null; } return identifierBuilder_; } private java.lang.Object streamId_ = ""; /** * string stream_id = 3; * @return The streamId. */ public java.lang.String getStreamId() { java.lang.Object ref = streamId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); streamId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string stream_id = 3; * @return The bytes for streamId. */ public com.google.protobuf.ByteString getStreamIdBytes() { java.lang.Object ref = streamId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); streamId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string stream_id = 3; * @param value The streamId to set. * @return This builder for chaining. */ public Builder setStreamId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } streamId_ = value; onChanged(); return this; } /** * string stream_id = 3; * @return This builder for chaining. */ public Builder clearStreamId() { streamId_ = getDefaultInstance().getStreamId(); onChanged(); return this; } /** * string stream_id = 3; * @param value The bytes for streamId to set. * @return This builder for chaining. */ public Builder setStreamIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); streamId_ = value; onChanged(); return this; } private java.lang.Object executeWorkspace_ = ""; /** * string execute_workspace = 4; * @return The executeWorkspace. */ public java.lang.String getExecuteWorkspace() { java.lang.Object ref = executeWorkspace_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); executeWorkspace_ = s; return s; } else { return (java.lang.String) ref; } } /** * string execute_workspace = 4; * @return The bytes for executeWorkspace. */ public com.google.protobuf.ByteString getExecuteWorkspaceBytes() { java.lang.Object ref = executeWorkspace_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); executeWorkspace_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string execute_workspace = 4; * @param value The executeWorkspace to set. * @return This builder for chaining. */ public Builder setExecuteWorkspace( java.lang.String value) { if (value == null) { throw new NullPointerException(); } executeWorkspace_ = value; onChanged(); return this; } /** * string execute_workspace = 4; * @return This builder for chaining. */ public Builder clearExecuteWorkspace() { executeWorkspace_ = getDefaultInstance().getExecuteWorkspace(); onChanged(); return this; } /** * string execute_workspace = 4; * @param value The bytes for executeWorkspace to set. * @return This builder for chaining. */ public Builder setExecuteWorkspaceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); executeWorkspace_ = value; onChanged(); return this; } private java.lang.Object executeVcName_ = ""; /** * string execute_vc_name = 5; * @return The executeVcName. */ public java.lang.String getExecuteVcName() { java.lang.Object ref = executeVcName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); executeVcName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string execute_vc_name = 5; * @return The bytes for executeVcName. */ public com.google.protobuf.ByteString getExecuteVcNameBytes() { java.lang.Object ref = executeVcName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); executeVcName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string execute_vc_name = 5; * @param value The executeVcName to set. * @return This builder for chaining. */ public Builder setExecuteVcName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } executeVcName_ = value; onChanged(); return this; } /** * string execute_vc_name = 5; * @return This builder for chaining. */ public Builder clearExecuteVcName() { executeVcName_ = getDefaultInstance().getExecuteVcName(); onChanged(); return this; } /** * string execute_vc_name = 5; * @param value The bytes for executeVcName to set. * @return This builder for chaining. */ public Builder setExecuteVcNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); executeVcName_ = value; onChanged(); return this; } private int commitMode_ = 0; /** * .cz.proto.ingestion.v2.CommitBulkLoadStreamRequest.CommitMode commit_mode = 6; * @return The enum numeric value on the wire for commitMode. */ @java.lang.Override public int getCommitModeValue() { return commitMode_; } /** * .cz.proto.ingestion.v2.CommitBulkLoadStreamRequest.CommitMode commit_mode = 6; * @param value The enum numeric value on the wire for commitMode to set. * @return This builder for chaining. */ public Builder setCommitModeValue(int value) { commitMode_ = value; onChanged(); return this; } /** * .cz.proto.ingestion.v2.CommitBulkLoadStreamRequest.CommitMode commit_mode = 6; * @return The commitMode. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest.CommitMode getCommitMode() { @SuppressWarnings("deprecation") cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest.CommitMode result = cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest.CommitMode.valueOf(commitMode_); return result == null ? cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest.CommitMode.UNRECOGNIZED : result; } /** * .cz.proto.ingestion.v2.CommitBulkLoadStreamRequest.CommitMode commit_mode = 6; * @param value The commitMode to set. * @return This builder for chaining. */ public Builder setCommitMode(cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest.CommitMode value) { if (value == null) { throw new NullPointerException(); } commitMode_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.ingestion.v2.CommitBulkLoadStreamRequest.CommitMode commit_mode = 6; * @return This builder for chaining. */ public Builder clearCommitMode() { commitMode_ = 0; onChanged(); return this; } private com.google.protobuf.Internal.IntList specPartitionIds_ = emptyIntList(); private void ensureSpecPartitionIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { specPartitionIds_ = mutableCopy(specPartitionIds_); bitField0_ |= 0x00000001; } } /** *
       * Is spec_partition_ids required?
       * 
* * repeated uint32 spec_partition_ids = 7; * @return A list containing the specPartitionIds. */ public java.util.List getSpecPartitionIdsList() { return ((bitField0_ & 0x00000001) != 0) ? java.util.Collections.unmodifiableList(specPartitionIds_) : specPartitionIds_; } /** *
       * Is spec_partition_ids required?
       * 
* * repeated uint32 spec_partition_ids = 7; * @return The count of specPartitionIds. */ public int getSpecPartitionIdsCount() { return specPartitionIds_.size(); } /** *
       * Is spec_partition_ids required?
       * 
* * repeated uint32 spec_partition_ids = 7; * @param index The index of the element to return. * @return The specPartitionIds at the given index. */ public int getSpecPartitionIds(int index) { return specPartitionIds_.getInt(index); } /** *
       * Is spec_partition_ids required?
       * 
* * repeated uint32 spec_partition_ids = 7; * @param index The index to set the value at. * @param value The specPartitionIds to set. * @return This builder for chaining. */ public Builder setSpecPartitionIds( int index, int value) { ensureSpecPartitionIdsIsMutable(); specPartitionIds_.setInt(index, value); onChanged(); return this; } /** *
       * Is spec_partition_ids required?
       * 
* * repeated uint32 spec_partition_ids = 7; * @param value The specPartitionIds to add. * @return This builder for chaining. */ public Builder addSpecPartitionIds(int value) { ensureSpecPartitionIdsIsMutable(); specPartitionIds_.addInt(value); onChanged(); return this; } /** *
       * Is spec_partition_ids required?
       * 
* * repeated uint32 spec_partition_ids = 7; * @param values The specPartitionIds to add. * @return This builder for chaining. */ public Builder addAllSpecPartitionIds( java.lang.Iterable values) { ensureSpecPartitionIdsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, specPartitionIds_); onChanged(); return this; } /** *
       * Is spec_partition_ids required?
       * 
* * repeated uint32 spec_partition_ids = 7; * @return This builder for chaining. */ public Builder clearSpecPartitionIds() { specPartitionIds_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.CommitBulkLoadStreamRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.CommitBulkLoadStreamRequest) private static final cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest(); } public static cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CommitBulkLoadStreamRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CommitBulkLoadStreamRequest(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 cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CommitBulkLoadStreamResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.CommitBulkLoadStreamResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder(); /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; * @return Whether the info field is set. */ boolean hasInfo(); /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; * @return The info. */ cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo getInfo(); /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; */ cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfoOrBuilder getInfoOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.v2.CommitBulkLoadStreamResponse} */ public static final class CommitBulkLoadStreamResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.CommitBulkLoadStreamResponse) CommitBulkLoadStreamResponseOrBuilder { private static final long serialVersionUID = 0L; // Use CommitBulkLoadStreamResponse.newBuilder() to construct. private CommitBulkLoadStreamResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CommitBulkLoadStreamResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CommitBulkLoadStreamResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CommitBulkLoadStreamResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(status_); status_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.Builder subBuilder = null; if (info_ != null) { subBuilder = info_.toBuilder(); } info_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(info_); info_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CommitBulkLoadStreamResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CommitBulkLoadStreamResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse.class, cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { return getStatus(); } public static final int INFO_FIELD_NUMBER = 2; private cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo info_; /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; * @return Whether the info field is set. */ @java.lang.Override public boolean hasInfo() { return info_ != null; } /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; * @return The info. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo getInfo() { return info_ == null ? cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.getDefaultInstance() : info_; } /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfoOrBuilder getInfoOrBuilder() { return getInfo(); } 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 (status_ != null) { output.writeMessage(1, getStatus()); } if (info_ != null) { output.writeMessage(2, getInfo()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getStatus()); } if (info_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getInfo()); } 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 cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse other = (cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse) obj; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) return false; } if (hasInfo() != other.hasInfo()) return false; if (hasInfo()) { if (!getInfo() .equals(other.getInfo())) 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 (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } if (hasInfo()) { hash = (37 * hash) + INFO_FIELD_NUMBER; hash = (53 * hash) + getInfo().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse 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 cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse 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 cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse 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(cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse 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 cz.proto.ingestion.v2.CommitBulkLoadStreamResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.CommitBulkLoadStreamResponse) cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CommitBulkLoadStreamResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CommitBulkLoadStreamResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse.class, cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (statusBuilder_ == null) { status_ = null; } else { status_ = null; statusBuilder_ = null; } if (infoBuilder_ == null) { info_ = null; } else { info_ = null; infoBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CommitBulkLoadStreamResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse build() { cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse buildPartial() { cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse result = new cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse(this); if (statusBuilder_ == null) { result.status_ = status_; } else { result.status_ = statusBuilder_.build(); } if (infoBuilder_ == null) { result.info_ = info_; } else { result.info_ = infoBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse other) { if (other == cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse.getDefaultInstance()) return this; if (other.hasStatus()) { mergeStatus(other.getStatus()); } if (other.hasInfo()) { mergeInfo(other.getInfo()); } 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 { cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus( cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder mergeStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.v2.IngestionV2.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder>( getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } private cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo info_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo, cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.Builder, cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfoOrBuilder> infoBuilder_; /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; * @return Whether the info field is set. */ public boolean hasInfo() { return infoBuilder_ != null || info_ != null; } /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; * @return The info. */ public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo getInfo() { if (infoBuilder_ == null) { return info_ == null ? cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.getDefaultInstance() : info_; } else { return infoBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; */ public Builder setInfo(cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo value) { if (infoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } info_ = value; onChanged(); } else { infoBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; */ public Builder setInfo( cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.Builder builderForValue) { if (infoBuilder_ == null) { info_ = builderForValue.build(); onChanged(); } else { infoBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; */ public Builder mergeInfo(cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo value) { if (infoBuilder_ == null) { if (info_ != null) { info_ = cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.newBuilder(info_).mergeFrom(value).buildPartial(); } else { info_ = value; } onChanged(); } else { infoBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; */ public Builder clearInfo() { if (infoBuilder_ == null) { info_ = null; onChanged(); } else { info_ = null; infoBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; */ public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.Builder getInfoBuilder() { onChanged(); return getInfoFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; */ public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfoOrBuilder getInfoOrBuilder() { if (infoBuilder_ != null) { return infoBuilder_.getMessageOrBuilder(); } else { return info_ == null ? cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.getDefaultInstance() : info_; } } /** * .cz.proto.ingestion.v2.BulkLoadStreamInfo info = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo, cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.Builder, cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfoOrBuilder> getInfoFieldBuilder() { if (infoBuilder_ == null) { infoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo, cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfo.Builder, cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamInfoOrBuilder>( getInfo(), getParentForChildren(), isClean()); info_ = null; } return infoBuilder_; } @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:cz.proto.ingestion.v2.CommitBulkLoadStreamResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.CommitBulkLoadStreamResponse) private static final cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse(); } public static cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CommitBulkLoadStreamResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CommitBulkLoadStreamResponse(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 cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetBulkLoadStreamStsTokenRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.GetBulkLoadStreamStsTokenRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ cz.proto.ingestion.v2.IngestionV2.Account getAccount(); /** * .cz.proto.ingestion.v2.Account account = 1; */ cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder(); /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return Whether the identifier field is set. */ boolean hasIdentifier(); /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return The identifier. */ cz.proto.ingestion.v2.IngestionV2.TableIdentifier getIdentifier(); /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getIdentifierOrBuilder(); /** * string stream_id = 3; * @return The streamId. */ java.lang.String getStreamId(); /** * string stream_id = 3; * @return The bytes for streamId. */ com.google.protobuf.ByteString getStreamIdBytes(); } /** * Protobuf type {@code cz.proto.ingestion.v2.GetBulkLoadStreamStsTokenRequest} */ public static final class GetBulkLoadStreamStsTokenRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.GetBulkLoadStreamStsTokenRequest) GetBulkLoadStreamStsTokenRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetBulkLoadStreamStsTokenRequest.newBuilder() to construct. private GetBulkLoadStreamStsTokenRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetBulkLoadStreamStsTokenRequest() { streamId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetBulkLoadStreamStsTokenRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetBulkLoadStreamStsTokenRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder subBuilder = null; if (identifier_ != null) { subBuilder = identifier_.toBuilder(); } identifier_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.TableIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(identifier_); identifier_ = subBuilder.buildPartial(); } break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); streamId_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamStsTokenRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamStsTokenRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest.class, cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.Account account_; /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.Account getAccount() { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } /** * .cz.proto.ingestion.v2.Account account = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int IDENTIFIER_FIELD_NUMBER = 2; private cz.proto.ingestion.v2.IngestionV2.TableIdentifier identifier_; /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return Whether the identifier field is set. */ @java.lang.Override public boolean hasIdentifier() { return identifier_ != null; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return The identifier. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TableIdentifier getIdentifier() { return identifier_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : identifier_; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getIdentifierOrBuilder() { return getIdentifier(); } public static final int STREAM_ID_FIELD_NUMBER = 3; private volatile java.lang.Object streamId_; /** * string stream_id = 3; * @return The streamId. */ @java.lang.Override public java.lang.String getStreamId() { java.lang.Object ref = streamId_; 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(); streamId_ = s; return s; } } /** * string stream_id = 3; * @return The bytes for streamId. */ @java.lang.Override public com.google.protobuf.ByteString getStreamIdBytes() { java.lang.Object ref = streamId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); streamId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (account_ != null) { output.writeMessage(1, getAccount()); } if (identifier_ != null) { output.writeMessage(2, getIdentifier()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, streamId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAccount()); } if (identifier_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getIdentifier()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, streamId_); } 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 cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest other = (cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (hasIdentifier() != other.hasIdentifier()) return false; if (hasIdentifier()) { if (!getIdentifier() .equals(other.getIdentifier())) return false; } if (!getStreamId() .equals(other.getStreamId())) 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 (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } if (hasIdentifier()) { hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getIdentifier().hashCode(); } hash = (37 * hash) + STREAM_ID_FIELD_NUMBER; hash = (53 * hash) + getStreamId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest 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 cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest 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 cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest 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(cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest 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 cz.proto.ingestion.v2.GetBulkLoadStreamStsTokenRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.GetBulkLoadStreamStsTokenRequest) cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamStsTokenRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamStsTokenRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest.class, cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } if (identifierBuilder_ == null) { identifier_ = null; } else { identifier_ = null; identifierBuilder_ = null; } streamId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamStsTokenRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest build() { cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest buildPartial() { cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest result = new cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest(this); if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } if (identifierBuilder_ == null) { result.identifier_ = identifier_; } else { result.identifier_ = identifierBuilder_.build(); } result.streamId_ = streamId_; 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 cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest other) { if (other == cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (other.hasIdentifier()) { mergeIdentifier(other.getIdentifier()); } if (!other.getStreamId().isEmpty()) { streamId_ = other.streamId_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.v2.IngestionV2.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder> accountBuilder_; /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ public cz.proto.ingestion.v2.IngestionV2.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder setAccount(cz.proto.ingestion.v2.IngestionV2.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder setAccount( cz.proto.ingestion.v2.IngestionV2.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder mergeAccount(cz.proto.ingestion.v2.IngestionV2.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.ingestion.v2.IngestionV2.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public cz.proto.ingestion.v2.IngestionV2.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.Account account = 1; */ public cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } } /** * .cz.proto.ingestion.v2.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private cz.proto.ingestion.v2.IngestionV2.TableIdentifier identifier_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder> identifierBuilder_; /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return Whether the identifier field is set. */ public boolean hasIdentifier() { return identifierBuilder_ != null || identifier_ != null; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return The identifier. */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier getIdentifier() { if (identifierBuilder_ == null) { return identifier_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : identifier_; } else { return identifierBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public Builder setIdentifier(cz.proto.ingestion.v2.IngestionV2.TableIdentifier value) { if (identifierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifier_ = value; onChanged(); } else { identifierBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public Builder setIdentifier( cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder builderForValue) { if (identifierBuilder_ == null) { identifier_ = builderForValue.build(); onChanged(); } else { identifierBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public Builder mergeIdentifier(cz.proto.ingestion.v2.IngestionV2.TableIdentifier value) { if (identifierBuilder_ == null) { if (identifier_ != null) { identifier_ = cz.proto.ingestion.v2.IngestionV2.TableIdentifier.newBuilder(identifier_).mergeFrom(value).buildPartial(); } else { identifier_ = value; } onChanged(); } else { identifierBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public Builder clearIdentifier() { if (identifierBuilder_ == null) { identifier_ = null; onChanged(); } else { identifier_ = null; identifierBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder getIdentifierBuilder() { onChanged(); return getIdentifierFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getIdentifierOrBuilder() { if (identifierBuilder_ != null) { return identifierBuilder_.getMessageOrBuilder(); } else { return identifier_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : identifier_; } } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder> getIdentifierFieldBuilder() { if (identifierBuilder_ == null) { identifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder>( getIdentifier(), getParentForChildren(), isClean()); identifier_ = null; } return identifierBuilder_; } private java.lang.Object streamId_ = ""; /** * string stream_id = 3; * @return The streamId. */ public java.lang.String getStreamId() { java.lang.Object ref = streamId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); streamId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string stream_id = 3; * @return The bytes for streamId. */ public com.google.protobuf.ByteString getStreamIdBytes() { java.lang.Object ref = streamId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); streamId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string stream_id = 3; * @param value The streamId to set. * @return This builder for chaining. */ public Builder setStreamId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } streamId_ = value; onChanged(); return this; } /** * string stream_id = 3; * @return This builder for chaining. */ public Builder clearStreamId() { streamId_ = getDefaultInstance().getStreamId(); onChanged(); return this; } /** * string stream_id = 3; * @param value The bytes for streamId to set. * @return This builder for chaining. */ public Builder setStreamIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); streamId_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.GetBulkLoadStreamStsTokenRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.GetBulkLoadStreamStsTokenRequest) private static final cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest(); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetBulkLoadStreamStsTokenRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetBulkLoadStreamStsTokenRequest(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 cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetBulkLoadStreamStsTokenResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.GetBulkLoadStreamStsTokenResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder(); /** * .cz.proto.ingestion.v2.StagingPathInfo staging_path = 2; * @return Whether the stagingPath field is set. */ boolean hasStagingPath(); /** * .cz.proto.ingestion.v2.StagingPathInfo staging_path = 2; * @return The stagingPath. */ cz.proto.ingestion.v2.IngestionV2.StagingPathInfo getStagingPath(); /** * .cz.proto.ingestion.v2.StagingPathInfo staging_path = 2; */ cz.proto.ingestion.v2.IngestionV2.StagingPathInfoOrBuilder getStagingPathOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.v2.GetBulkLoadStreamStsTokenResponse} */ public static final class GetBulkLoadStreamStsTokenResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.GetBulkLoadStreamStsTokenResponse) GetBulkLoadStreamStsTokenResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetBulkLoadStreamStsTokenResponse.newBuilder() to construct. private GetBulkLoadStreamStsTokenResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetBulkLoadStreamStsTokenResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetBulkLoadStreamStsTokenResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetBulkLoadStreamStsTokenResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(status_); status_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.ingestion.v2.IngestionV2.StagingPathInfo.Builder subBuilder = null; if (stagingPath_ != null) { subBuilder = stagingPath_.toBuilder(); } stagingPath_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.StagingPathInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(stagingPath_); stagingPath_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamStsTokenResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamStsTokenResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse.class, cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { return getStatus(); } public static final int STAGING_PATH_FIELD_NUMBER = 2; private cz.proto.ingestion.v2.IngestionV2.StagingPathInfo stagingPath_; /** * .cz.proto.ingestion.v2.StagingPathInfo staging_path = 2; * @return Whether the stagingPath field is set. */ @java.lang.Override public boolean hasStagingPath() { return stagingPath_ != null; } /** * .cz.proto.ingestion.v2.StagingPathInfo staging_path = 2; * @return The stagingPath. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.StagingPathInfo getStagingPath() { return stagingPath_ == null ? cz.proto.ingestion.v2.IngestionV2.StagingPathInfo.getDefaultInstance() : stagingPath_; } /** * .cz.proto.ingestion.v2.StagingPathInfo staging_path = 2; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.StagingPathInfoOrBuilder getStagingPathOrBuilder() { return getStagingPath(); } 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 (status_ != null) { output.writeMessage(1, getStatus()); } if (stagingPath_ != null) { output.writeMessage(2, getStagingPath()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getStatus()); } if (stagingPath_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getStagingPath()); } 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 cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse other = (cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse) obj; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) return false; } if (hasStagingPath() != other.hasStagingPath()) return false; if (hasStagingPath()) { if (!getStagingPath() .equals(other.getStagingPath())) 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 (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } if (hasStagingPath()) { hash = (37 * hash) + STAGING_PATH_FIELD_NUMBER; hash = (53 * hash) + getStagingPath().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse 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 cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse 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 cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse 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(cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse 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 cz.proto.ingestion.v2.GetBulkLoadStreamStsTokenResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.GetBulkLoadStreamStsTokenResponse) cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamStsTokenResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamStsTokenResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse.class, cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (statusBuilder_ == null) { status_ = null; } else { status_ = null; statusBuilder_ = null; } if (stagingPathBuilder_ == null) { stagingPath_ = null; } else { stagingPath_ = null; stagingPathBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamStsTokenResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse build() { cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse buildPartial() { cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse result = new cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse(this); if (statusBuilder_ == null) { result.status_ = status_; } else { result.status_ = statusBuilder_.build(); } if (stagingPathBuilder_ == null) { result.stagingPath_ = stagingPath_; } else { result.stagingPath_ = stagingPathBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse other) { if (other == cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse.getDefaultInstance()) return this; if (other.hasStatus()) { mergeStatus(other.getStatus()); } if (other.hasStagingPath()) { mergeStagingPath(other.getStagingPath()); } 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 { cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus( cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder mergeStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.v2.IngestionV2.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder>( getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } private cz.proto.ingestion.v2.IngestionV2.StagingPathInfo stagingPath_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.StagingPathInfo, cz.proto.ingestion.v2.IngestionV2.StagingPathInfo.Builder, cz.proto.ingestion.v2.IngestionV2.StagingPathInfoOrBuilder> stagingPathBuilder_; /** * .cz.proto.ingestion.v2.StagingPathInfo staging_path = 2; * @return Whether the stagingPath field is set. */ public boolean hasStagingPath() { return stagingPathBuilder_ != null || stagingPath_ != null; } /** * .cz.proto.ingestion.v2.StagingPathInfo staging_path = 2; * @return The stagingPath. */ public cz.proto.ingestion.v2.IngestionV2.StagingPathInfo getStagingPath() { if (stagingPathBuilder_ == null) { return stagingPath_ == null ? cz.proto.ingestion.v2.IngestionV2.StagingPathInfo.getDefaultInstance() : stagingPath_; } else { return stagingPathBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.StagingPathInfo staging_path = 2; */ public Builder setStagingPath(cz.proto.ingestion.v2.IngestionV2.StagingPathInfo value) { if (stagingPathBuilder_ == null) { if (value == null) { throw new NullPointerException(); } stagingPath_ = value; onChanged(); } else { stagingPathBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.StagingPathInfo staging_path = 2; */ public Builder setStagingPath( cz.proto.ingestion.v2.IngestionV2.StagingPathInfo.Builder builderForValue) { if (stagingPathBuilder_ == null) { stagingPath_ = builderForValue.build(); onChanged(); } else { stagingPathBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.StagingPathInfo staging_path = 2; */ public Builder mergeStagingPath(cz.proto.ingestion.v2.IngestionV2.StagingPathInfo value) { if (stagingPathBuilder_ == null) { if (stagingPath_ != null) { stagingPath_ = cz.proto.ingestion.v2.IngestionV2.StagingPathInfo.newBuilder(stagingPath_).mergeFrom(value).buildPartial(); } else { stagingPath_ = value; } onChanged(); } else { stagingPathBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.StagingPathInfo staging_path = 2; */ public Builder clearStagingPath() { if (stagingPathBuilder_ == null) { stagingPath_ = null; onChanged(); } else { stagingPath_ = null; stagingPathBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.StagingPathInfo staging_path = 2; */ public cz.proto.ingestion.v2.IngestionV2.StagingPathInfo.Builder getStagingPathBuilder() { onChanged(); return getStagingPathFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.StagingPathInfo staging_path = 2; */ public cz.proto.ingestion.v2.IngestionV2.StagingPathInfoOrBuilder getStagingPathOrBuilder() { if (stagingPathBuilder_ != null) { return stagingPathBuilder_.getMessageOrBuilder(); } else { return stagingPath_ == null ? cz.proto.ingestion.v2.IngestionV2.StagingPathInfo.getDefaultInstance() : stagingPath_; } } /** * .cz.proto.ingestion.v2.StagingPathInfo staging_path = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.StagingPathInfo, cz.proto.ingestion.v2.IngestionV2.StagingPathInfo.Builder, cz.proto.ingestion.v2.IngestionV2.StagingPathInfoOrBuilder> getStagingPathFieldBuilder() { if (stagingPathBuilder_ == null) { stagingPathBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.StagingPathInfo, cz.proto.ingestion.v2.IngestionV2.StagingPathInfo.Builder, cz.proto.ingestion.v2.IngestionV2.StagingPathInfoOrBuilder>( getStagingPath(), getParentForChildren(), isClean()); stagingPath_ = null; } return stagingPathBuilder_; } @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:cz.proto.ingestion.v2.GetBulkLoadStreamStsTokenResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.GetBulkLoadStreamStsTokenResponse) private static final cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse(); } public static cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetBulkLoadStreamStsTokenResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetBulkLoadStreamStsTokenResponse(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 cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface OpenBulkLoadStreamWriterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.OpenBulkLoadStreamWriterRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ cz.proto.ingestion.v2.IngestionV2.Account getAccount(); /** * .cz.proto.ingestion.v2.Account account = 1; */ cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder(); /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return Whether the identifier field is set. */ boolean hasIdentifier(); /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return The identifier. */ cz.proto.ingestion.v2.IngestionV2.TableIdentifier getIdentifier(); /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getIdentifierOrBuilder(); /** * string stream_id = 3; * @return The streamId. */ java.lang.String getStreamId(); /** * string stream_id = 3; * @return The bytes for streamId. */ com.google.protobuf.ByteString getStreamIdBytes(); /** * uint32 partition_id = 4; * @return The partitionId. */ int getPartitionId(); } /** * Protobuf type {@code cz.proto.ingestion.v2.OpenBulkLoadStreamWriterRequest} */ public static final class OpenBulkLoadStreamWriterRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.OpenBulkLoadStreamWriterRequest) OpenBulkLoadStreamWriterRequestOrBuilder { private static final long serialVersionUID = 0L; // Use OpenBulkLoadStreamWriterRequest.newBuilder() to construct. private OpenBulkLoadStreamWriterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private OpenBulkLoadStreamWriterRequest() { streamId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new OpenBulkLoadStreamWriterRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private OpenBulkLoadStreamWriterRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder subBuilder = null; if (identifier_ != null) { subBuilder = identifier_.toBuilder(); } identifier_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.TableIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(identifier_); identifier_ = subBuilder.buildPartial(); } break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); streamId_ = s; break; } case 32: { partitionId_ = input.readUInt32(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_OpenBulkLoadStreamWriterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_OpenBulkLoadStreamWriterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest.class, cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.Account account_; /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.Account getAccount() { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } /** * .cz.proto.ingestion.v2.Account account = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int IDENTIFIER_FIELD_NUMBER = 2; private cz.proto.ingestion.v2.IngestionV2.TableIdentifier identifier_; /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return Whether the identifier field is set. */ @java.lang.Override public boolean hasIdentifier() { return identifier_ != null; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return The identifier. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TableIdentifier getIdentifier() { return identifier_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : identifier_; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getIdentifierOrBuilder() { return getIdentifier(); } public static final int STREAM_ID_FIELD_NUMBER = 3; private volatile java.lang.Object streamId_; /** * string stream_id = 3; * @return The streamId. */ @java.lang.Override public java.lang.String getStreamId() { java.lang.Object ref = streamId_; 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(); streamId_ = s; return s; } } /** * string stream_id = 3; * @return The bytes for streamId. */ @java.lang.Override public com.google.protobuf.ByteString getStreamIdBytes() { java.lang.Object ref = streamId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); streamId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PARTITION_ID_FIELD_NUMBER = 4; private int partitionId_; /** * uint32 partition_id = 4; * @return The partitionId. */ @java.lang.Override public int getPartitionId() { return partitionId_; } 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 (account_ != null) { output.writeMessage(1, getAccount()); } if (identifier_ != null) { output.writeMessage(2, getIdentifier()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, streamId_); } if (partitionId_ != 0) { output.writeUInt32(4, partitionId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAccount()); } if (identifier_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getIdentifier()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, streamId_); } if (partitionId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, partitionId_); } 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 cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest other = (cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (hasIdentifier() != other.hasIdentifier()) return false; if (hasIdentifier()) { if (!getIdentifier() .equals(other.getIdentifier())) return false; } if (!getStreamId() .equals(other.getStreamId())) return false; if (getPartitionId() != other.getPartitionId()) 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 (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } if (hasIdentifier()) { hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getIdentifier().hashCode(); } hash = (37 * hash) + STREAM_ID_FIELD_NUMBER; hash = (53 * hash) + getStreamId().hashCode(); hash = (37 * hash) + PARTITION_ID_FIELD_NUMBER; hash = (53 * hash) + getPartitionId(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest 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 cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest 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 cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest 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(cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest 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 cz.proto.ingestion.v2.OpenBulkLoadStreamWriterRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.OpenBulkLoadStreamWriterRequest) cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_OpenBulkLoadStreamWriterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_OpenBulkLoadStreamWriterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest.class, cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } if (identifierBuilder_ == null) { identifier_ = null; } else { identifier_ = null; identifierBuilder_ = null; } streamId_ = ""; partitionId_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_OpenBulkLoadStreamWriterRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest build() { cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest buildPartial() { cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest result = new cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest(this); if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } if (identifierBuilder_ == null) { result.identifier_ = identifier_; } else { result.identifier_ = identifierBuilder_.build(); } result.streamId_ = streamId_; result.partitionId_ = partitionId_; 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 cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest other) { if (other == cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (other.hasIdentifier()) { mergeIdentifier(other.getIdentifier()); } if (!other.getStreamId().isEmpty()) { streamId_ = other.streamId_; onChanged(); } if (other.getPartitionId() != 0) { setPartitionId(other.getPartitionId()); } 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 { cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.v2.IngestionV2.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder> accountBuilder_; /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ public cz.proto.ingestion.v2.IngestionV2.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder setAccount(cz.proto.ingestion.v2.IngestionV2.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder setAccount( cz.proto.ingestion.v2.IngestionV2.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder mergeAccount(cz.proto.ingestion.v2.IngestionV2.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.ingestion.v2.IngestionV2.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public cz.proto.ingestion.v2.IngestionV2.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.Account account = 1; */ public cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } } /** * .cz.proto.ingestion.v2.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private cz.proto.ingestion.v2.IngestionV2.TableIdentifier identifier_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder> identifierBuilder_; /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return Whether the identifier field is set. */ public boolean hasIdentifier() { return identifierBuilder_ != null || identifier_ != null; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return The identifier. */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier getIdentifier() { if (identifierBuilder_ == null) { return identifier_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : identifier_; } else { return identifierBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public Builder setIdentifier(cz.proto.ingestion.v2.IngestionV2.TableIdentifier value) { if (identifierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifier_ = value; onChanged(); } else { identifierBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public Builder setIdentifier( cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder builderForValue) { if (identifierBuilder_ == null) { identifier_ = builderForValue.build(); onChanged(); } else { identifierBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public Builder mergeIdentifier(cz.proto.ingestion.v2.IngestionV2.TableIdentifier value) { if (identifierBuilder_ == null) { if (identifier_ != null) { identifier_ = cz.proto.ingestion.v2.IngestionV2.TableIdentifier.newBuilder(identifier_).mergeFrom(value).buildPartial(); } else { identifier_ = value; } onChanged(); } else { identifierBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public Builder clearIdentifier() { if (identifierBuilder_ == null) { identifier_ = null; onChanged(); } else { identifier_ = null; identifierBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder getIdentifierBuilder() { onChanged(); return getIdentifierFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getIdentifierOrBuilder() { if (identifierBuilder_ != null) { return identifierBuilder_.getMessageOrBuilder(); } else { return identifier_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : identifier_; } } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder> getIdentifierFieldBuilder() { if (identifierBuilder_ == null) { identifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder>( getIdentifier(), getParentForChildren(), isClean()); identifier_ = null; } return identifierBuilder_; } private java.lang.Object streamId_ = ""; /** * string stream_id = 3; * @return The streamId. */ public java.lang.String getStreamId() { java.lang.Object ref = streamId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); streamId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string stream_id = 3; * @return The bytes for streamId. */ public com.google.protobuf.ByteString getStreamIdBytes() { java.lang.Object ref = streamId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); streamId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string stream_id = 3; * @param value The streamId to set. * @return This builder for chaining. */ public Builder setStreamId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } streamId_ = value; onChanged(); return this; } /** * string stream_id = 3; * @return This builder for chaining. */ public Builder clearStreamId() { streamId_ = getDefaultInstance().getStreamId(); onChanged(); return this; } /** * string stream_id = 3; * @param value The bytes for streamId to set. * @return This builder for chaining. */ public Builder setStreamIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); streamId_ = value; onChanged(); return this; } private int partitionId_ ; /** * uint32 partition_id = 4; * @return The partitionId. */ @java.lang.Override public int getPartitionId() { return partitionId_; } /** * uint32 partition_id = 4; * @param value The partitionId to set. * @return This builder for chaining. */ public Builder setPartitionId(int value) { partitionId_ = value; onChanged(); return this; } /** * uint32 partition_id = 4; * @return This builder for chaining. */ public Builder clearPartitionId() { partitionId_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.OpenBulkLoadStreamWriterRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.OpenBulkLoadStreamWriterRequest) private static final cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest(); } public static cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public OpenBulkLoadStreamWriterRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new OpenBulkLoadStreamWriterRequest(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 cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface OpenBulkLoadStreamWriterResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.OpenBulkLoadStreamWriterResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder(); /** * .cz.proto.ingestion.v2.BulkLoadStreamWriterConfig config = 2; * @return Whether the config field is set. */ boolean hasConfig(); /** * .cz.proto.ingestion.v2.BulkLoadStreamWriterConfig config = 2; * @return The config. */ cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig getConfig(); /** * .cz.proto.ingestion.v2.BulkLoadStreamWriterConfig config = 2; */ cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfigOrBuilder getConfigOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.v2.OpenBulkLoadStreamWriterResponse} */ public static final class OpenBulkLoadStreamWriterResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.OpenBulkLoadStreamWriterResponse) OpenBulkLoadStreamWriterResponseOrBuilder { private static final long serialVersionUID = 0L; // Use OpenBulkLoadStreamWriterResponse.newBuilder() to construct. private OpenBulkLoadStreamWriterResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private OpenBulkLoadStreamWriterResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new OpenBulkLoadStreamWriterResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private OpenBulkLoadStreamWriterResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(status_); status_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig.Builder subBuilder = null; if (config_ != null) { subBuilder = config_.toBuilder(); } config_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(config_); config_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_OpenBulkLoadStreamWriterResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_OpenBulkLoadStreamWriterResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse.class, cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { return getStatus(); } public static final int CONFIG_FIELD_NUMBER = 2; private cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig config_; /** * .cz.proto.ingestion.v2.BulkLoadStreamWriterConfig config = 2; * @return Whether the config field is set. */ @java.lang.Override public boolean hasConfig() { return config_ != null; } /** * .cz.proto.ingestion.v2.BulkLoadStreamWriterConfig config = 2; * @return The config. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig getConfig() { return config_ == null ? cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig.getDefaultInstance() : config_; } /** * .cz.proto.ingestion.v2.BulkLoadStreamWriterConfig config = 2; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfigOrBuilder getConfigOrBuilder() { return getConfig(); } 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 (status_ != null) { output.writeMessage(1, getStatus()); } if (config_ != null) { output.writeMessage(2, getConfig()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getStatus()); } if (config_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getConfig()); } 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 cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse other = (cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse) obj; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) return false; } if (hasConfig() != other.hasConfig()) return false; if (hasConfig()) { if (!getConfig() .equals(other.getConfig())) 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 (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } if (hasConfig()) { hash = (37 * hash) + CONFIG_FIELD_NUMBER; hash = (53 * hash) + getConfig().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse 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 cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse 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 cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse 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(cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse 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 cz.proto.ingestion.v2.OpenBulkLoadStreamWriterResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.OpenBulkLoadStreamWriterResponse) cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_OpenBulkLoadStreamWriterResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_OpenBulkLoadStreamWriterResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse.class, cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (statusBuilder_ == null) { status_ = null; } else { status_ = null; statusBuilder_ = null; } if (configBuilder_ == null) { config_ = null; } else { config_ = null; configBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_OpenBulkLoadStreamWriterResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse build() { cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse buildPartial() { cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse result = new cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse(this); if (statusBuilder_ == null) { result.status_ = status_; } else { result.status_ = statusBuilder_.build(); } if (configBuilder_ == null) { result.config_ = config_; } else { result.config_ = configBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse other) { if (other == cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse.getDefaultInstance()) return this; if (other.hasStatus()) { mergeStatus(other.getStatus()); } if (other.hasConfig()) { mergeConfig(other.getConfig()); } 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 { cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus( cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder mergeStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.v2.IngestionV2.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder>( getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } private cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig config_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig, cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig.Builder, cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfigOrBuilder> configBuilder_; /** * .cz.proto.ingestion.v2.BulkLoadStreamWriterConfig config = 2; * @return Whether the config field is set. */ public boolean hasConfig() { return configBuilder_ != null || config_ != null; } /** * .cz.proto.ingestion.v2.BulkLoadStreamWriterConfig config = 2; * @return The config. */ public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig getConfig() { if (configBuilder_ == null) { return config_ == null ? cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig.getDefaultInstance() : config_; } else { return configBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.BulkLoadStreamWriterConfig config = 2; */ public Builder setConfig(cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig value) { if (configBuilder_ == null) { if (value == null) { throw new NullPointerException(); } config_ = value; onChanged(); } else { configBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.BulkLoadStreamWriterConfig config = 2; */ public Builder setConfig( cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig.Builder builderForValue) { if (configBuilder_ == null) { config_ = builderForValue.build(); onChanged(); } else { configBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.BulkLoadStreamWriterConfig config = 2; */ public Builder mergeConfig(cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig value) { if (configBuilder_ == null) { if (config_ != null) { config_ = cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig.newBuilder(config_).mergeFrom(value).buildPartial(); } else { config_ = value; } onChanged(); } else { configBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.BulkLoadStreamWriterConfig config = 2; */ public Builder clearConfig() { if (configBuilder_ == null) { config_ = null; onChanged(); } else { config_ = null; configBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.BulkLoadStreamWriterConfig config = 2; */ public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig.Builder getConfigBuilder() { onChanged(); return getConfigFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.BulkLoadStreamWriterConfig config = 2; */ public cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfigOrBuilder getConfigOrBuilder() { if (configBuilder_ != null) { return configBuilder_.getMessageOrBuilder(); } else { return config_ == null ? cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig.getDefaultInstance() : config_; } } /** * .cz.proto.ingestion.v2.BulkLoadStreamWriterConfig config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig, cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig.Builder, cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfigOrBuilder> getConfigFieldBuilder() { if (configBuilder_ == null) { configBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig, cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfig.Builder, cz.proto.ingestion.v2.IngestionV2.BulkLoadStreamWriterConfigOrBuilder>( getConfig(), getParentForChildren(), isClean()); config_ = null; } return configBuilder_; } @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:cz.proto.ingestion.v2.OpenBulkLoadStreamWriterResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.OpenBulkLoadStreamWriterResponse) private static final cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse(); } public static cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public OpenBulkLoadStreamWriterResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new OpenBulkLoadStreamWriterResponse(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 cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FinishBulkLoadStreamWriterRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.FinishBulkLoadStreamWriterRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ cz.proto.ingestion.v2.IngestionV2.Account getAccount(); /** * .cz.proto.ingestion.v2.Account account = 1; */ cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder(); /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return Whether the identifier field is set. */ boolean hasIdentifier(); /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return The identifier. */ cz.proto.ingestion.v2.IngestionV2.TableIdentifier getIdentifier(); /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getIdentifierOrBuilder(); /** * string stream_id = 3; * @return The streamId. */ java.lang.String getStreamId(); /** * string stream_id = 3; * @return The bytes for streamId. */ com.google.protobuf.ByteString getStreamIdBytes(); /** * uint32 partition_id = 4; * @return The partitionId. */ int getPartitionId(); /** * repeated string written_files = 5; * @return A list containing the writtenFiles. */ java.util.List getWrittenFilesList(); /** * repeated string written_files = 5; * @return The count of writtenFiles. */ int getWrittenFilesCount(); /** * repeated string written_files = 5; * @param index The index of the element to return. * @return The writtenFiles at the given index. */ java.lang.String getWrittenFiles(int index); /** * repeated string written_files = 5; * @param index The index of the value to return. * @return The bytes of the writtenFiles at the given index. */ com.google.protobuf.ByteString getWrittenFilesBytes(int index); /** * repeated uint64 written_lengths = 6; * @return A list containing the writtenLengths. */ java.util.List getWrittenLengthsList(); /** * repeated uint64 written_lengths = 6; * @return The count of writtenLengths. */ int getWrittenLengthsCount(); /** * repeated uint64 written_lengths = 6; * @param index The index of the element to return. * @return The writtenLengths at the given index. */ long getWrittenLengths(int index); } /** * Protobuf type {@code cz.proto.ingestion.v2.FinishBulkLoadStreamWriterRequest} */ public static final class FinishBulkLoadStreamWriterRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.FinishBulkLoadStreamWriterRequest) FinishBulkLoadStreamWriterRequestOrBuilder { private static final long serialVersionUID = 0L; // Use FinishBulkLoadStreamWriterRequest.newBuilder() to construct. private FinishBulkLoadStreamWriterRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FinishBulkLoadStreamWriterRequest() { streamId_ = ""; writtenFiles_ = com.google.protobuf.LazyStringArrayList.EMPTY; writtenLengths_ = emptyLongList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new FinishBulkLoadStreamWriterRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private FinishBulkLoadStreamWriterRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder subBuilder = null; if (identifier_ != null) { subBuilder = identifier_.toBuilder(); } identifier_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.TableIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(identifier_); identifier_ = subBuilder.buildPartial(); } break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); streamId_ = s; break; } case 32: { partitionId_ = input.readUInt32(); break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { writtenFiles_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } writtenFiles_.add(s); break; } case 48: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { writtenLengths_ = newLongList(); mutable_bitField0_ |= 0x00000002; } writtenLengths_.addLong(input.readUInt64()); break; } case 50: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { writtenLengths_ = newLongList(); mutable_bitField0_ |= 0x00000002; } while (input.getBytesUntilLimit() > 0) { writtenLengths_.addLong(input.readUInt64()); } input.popLimit(limit); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { writtenFiles_ = writtenFiles_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000002) != 0)) { writtenLengths_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_FinishBulkLoadStreamWriterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_FinishBulkLoadStreamWriterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest.class, cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.Account account_; /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.Account getAccount() { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } /** * .cz.proto.ingestion.v2.Account account = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int IDENTIFIER_FIELD_NUMBER = 2; private cz.proto.ingestion.v2.IngestionV2.TableIdentifier identifier_; /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return Whether the identifier field is set. */ @java.lang.Override public boolean hasIdentifier() { return identifier_ != null; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return The identifier. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TableIdentifier getIdentifier() { return identifier_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : identifier_; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getIdentifierOrBuilder() { return getIdentifier(); } public static final int STREAM_ID_FIELD_NUMBER = 3; private volatile java.lang.Object streamId_; /** * string stream_id = 3; * @return The streamId. */ @java.lang.Override public java.lang.String getStreamId() { java.lang.Object ref = streamId_; 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(); streamId_ = s; return s; } } /** * string stream_id = 3; * @return The bytes for streamId. */ @java.lang.Override public com.google.protobuf.ByteString getStreamIdBytes() { java.lang.Object ref = streamId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); streamId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PARTITION_ID_FIELD_NUMBER = 4; private int partitionId_; /** * uint32 partition_id = 4; * @return The partitionId. */ @java.lang.Override public int getPartitionId() { return partitionId_; } public static final int WRITTEN_FILES_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList writtenFiles_; /** * repeated string written_files = 5; * @return A list containing the writtenFiles. */ public com.google.protobuf.ProtocolStringList getWrittenFilesList() { return writtenFiles_; } /** * repeated string written_files = 5; * @return The count of writtenFiles. */ public int getWrittenFilesCount() { return writtenFiles_.size(); } /** * repeated string written_files = 5; * @param index The index of the element to return. * @return The writtenFiles at the given index. */ public java.lang.String getWrittenFiles(int index) { return writtenFiles_.get(index); } /** * repeated string written_files = 5; * @param index The index of the value to return. * @return The bytes of the writtenFiles at the given index. */ public com.google.protobuf.ByteString getWrittenFilesBytes(int index) { return writtenFiles_.getByteString(index); } public static final int WRITTEN_LENGTHS_FIELD_NUMBER = 6; private com.google.protobuf.Internal.LongList writtenLengths_; /** * repeated uint64 written_lengths = 6; * @return A list containing the writtenLengths. */ @java.lang.Override public java.util.List getWrittenLengthsList() { return writtenLengths_; } /** * repeated uint64 written_lengths = 6; * @return The count of writtenLengths. */ public int getWrittenLengthsCount() { return writtenLengths_.size(); } /** * repeated uint64 written_lengths = 6; * @param index The index of the element to return. * @return The writtenLengths at the given index. */ public long getWrittenLengths(int index) { return writtenLengths_.getLong(index); } private int writtenLengthsMemoizedSerializedSize = -1; 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 { getSerializedSize(); if (account_ != null) { output.writeMessage(1, getAccount()); } if (identifier_ != null) { output.writeMessage(2, getIdentifier()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, streamId_); } if (partitionId_ != 0) { output.writeUInt32(4, partitionId_); } for (int i = 0; i < writtenFiles_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, writtenFiles_.getRaw(i)); } if (getWrittenLengthsList().size() > 0) { output.writeUInt32NoTag(50); output.writeUInt32NoTag(writtenLengthsMemoizedSerializedSize); } for (int i = 0; i < writtenLengths_.size(); i++) { output.writeUInt64NoTag(writtenLengths_.getLong(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAccount()); } if (identifier_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getIdentifier()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(streamId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, streamId_); } if (partitionId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, partitionId_); } { int dataSize = 0; for (int i = 0; i < writtenFiles_.size(); i++) { dataSize += computeStringSizeNoTag(writtenFiles_.getRaw(i)); } size += dataSize; size += 1 * getWrittenFilesList().size(); } { int dataSize = 0; for (int i = 0; i < writtenLengths_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt64SizeNoTag(writtenLengths_.getLong(i)); } size += dataSize; if (!getWrittenLengthsList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } writtenLengthsMemoizedSerializedSize = dataSize; } 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 cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest other = (cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (hasIdentifier() != other.hasIdentifier()) return false; if (hasIdentifier()) { if (!getIdentifier() .equals(other.getIdentifier())) return false; } if (!getStreamId() .equals(other.getStreamId())) return false; if (getPartitionId() != other.getPartitionId()) return false; if (!getWrittenFilesList() .equals(other.getWrittenFilesList())) return false; if (!getWrittenLengthsList() .equals(other.getWrittenLengthsList())) 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 (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } if (hasIdentifier()) { hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getIdentifier().hashCode(); } hash = (37 * hash) + STREAM_ID_FIELD_NUMBER; hash = (53 * hash) + getStreamId().hashCode(); hash = (37 * hash) + PARTITION_ID_FIELD_NUMBER; hash = (53 * hash) + getPartitionId(); if (getWrittenFilesCount() > 0) { hash = (37 * hash) + WRITTEN_FILES_FIELD_NUMBER; hash = (53 * hash) + getWrittenFilesList().hashCode(); } if (getWrittenLengthsCount() > 0) { hash = (37 * hash) + WRITTEN_LENGTHS_FIELD_NUMBER; hash = (53 * hash) + getWrittenLengthsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest 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 cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest 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 cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest 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(cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest 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 cz.proto.ingestion.v2.FinishBulkLoadStreamWriterRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.FinishBulkLoadStreamWriterRequest) cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_FinishBulkLoadStreamWriterRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_FinishBulkLoadStreamWriterRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest.class, cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } if (identifierBuilder_ == null) { identifier_ = null; } else { identifier_ = null; identifierBuilder_ = null; } streamId_ = ""; partitionId_ = 0; writtenFiles_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); writtenLengths_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_FinishBulkLoadStreamWriterRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest build() { cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest buildPartial() { cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest result = new cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest(this); int from_bitField0_ = bitField0_; if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } if (identifierBuilder_ == null) { result.identifier_ = identifier_; } else { result.identifier_ = identifierBuilder_.build(); } result.streamId_ = streamId_; result.partitionId_ = partitionId_; if (((bitField0_ & 0x00000001) != 0)) { writtenFiles_ = writtenFiles_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.writtenFiles_ = writtenFiles_; if (((bitField0_ & 0x00000002) != 0)) { writtenLengths_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000002); } result.writtenLengths_ = writtenLengths_; 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 cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest other) { if (other == cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (other.hasIdentifier()) { mergeIdentifier(other.getIdentifier()); } if (!other.getStreamId().isEmpty()) { streamId_ = other.streamId_; onChanged(); } if (other.getPartitionId() != 0) { setPartitionId(other.getPartitionId()); } if (!other.writtenFiles_.isEmpty()) { if (writtenFiles_.isEmpty()) { writtenFiles_ = other.writtenFiles_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureWrittenFilesIsMutable(); writtenFiles_.addAll(other.writtenFiles_); } onChanged(); } if (!other.writtenLengths_.isEmpty()) { if (writtenLengths_.isEmpty()) { writtenLengths_ = other.writtenLengths_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureWrittenLengthsIsMutable(); writtenLengths_.addAll(other.writtenLengths_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.ingestion.v2.IngestionV2.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder> accountBuilder_; /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ public cz.proto.ingestion.v2.IngestionV2.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder setAccount(cz.proto.ingestion.v2.IngestionV2.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder setAccount( cz.proto.ingestion.v2.IngestionV2.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder mergeAccount(cz.proto.ingestion.v2.IngestionV2.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.ingestion.v2.IngestionV2.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public cz.proto.ingestion.v2.IngestionV2.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.Account account = 1; */ public cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } } /** * .cz.proto.ingestion.v2.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private cz.proto.ingestion.v2.IngestionV2.TableIdentifier identifier_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder> identifierBuilder_; /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return Whether the identifier field is set. */ public boolean hasIdentifier() { return identifierBuilder_ != null || identifier_ != null; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; * @return The identifier. */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier getIdentifier() { if (identifierBuilder_ == null) { return identifier_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : identifier_; } else { return identifierBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public Builder setIdentifier(cz.proto.ingestion.v2.IngestionV2.TableIdentifier value) { if (identifierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifier_ = value; onChanged(); } else { identifierBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public Builder setIdentifier( cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder builderForValue) { if (identifierBuilder_ == null) { identifier_ = builderForValue.build(); onChanged(); } else { identifierBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public Builder mergeIdentifier(cz.proto.ingestion.v2.IngestionV2.TableIdentifier value) { if (identifierBuilder_ == null) { if (identifier_ != null) { identifier_ = cz.proto.ingestion.v2.IngestionV2.TableIdentifier.newBuilder(identifier_).mergeFrom(value).buildPartial(); } else { identifier_ = value; } onChanged(); } else { identifierBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public Builder clearIdentifier() { if (identifierBuilder_ == null) { identifier_ = null; onChanged(); } else { identifier_ = null; identifierBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder getIdentifierBuilder() { onChanged(); return getIdentifierFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getIdentifierOrBuilder() { if (identifierBuilder_ != null) { return identifierBuilder_.getMessageOrBuilder(); } else { return identifier_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : identifier_; } } /** * .cz.proto.ingestion.v2.TableIdentifier identifier = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder> getIdentifierFieldBuilder() { if (identifierBuilder_ == null) { identifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder>( getIdentifier(), getParentForChildren(), isClean()); identifier_ = null; } return identifierBuilder_; } private java.lang.Object streamId_ = ""; /** * string stream_id = 3; * @return The streamId. */ public java.lang.String getStreamId() { java.lang.Object ref = streamId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); streamId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string stream_id = 3; * @return The bytes for streamId. */ public com.google.protobuf.ByteString getStreamIdBytes() { java.lang.Object ref = streamId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); streamId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string stream_id = 3; * @param value The streamId to set. * @return This builder for chaining. */ public Builder setStreamId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } streamId_ = value; onChanged(); return this; } /** * string stream_id = 3; * @return This builder for chaining. */ public Builder clearStreamId() { streamId_ = getDefaultInstance().getStreamId(); onChanged(); return this; } /** * string stream_id = 3; * @param value The bytes for streamId to set. * @return This builder for chaining. */ public Builder setStreamIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); streamId_ = value; onChanged(); return this; } private int partitionId_ ; /** * uint32 partition_id = 4; * @return The partitionId. */ @java.lang.Override public int getPartitionId() { return partitionId_; } /** * uint32 partition_id = 4; * @param value The partitionId to set. * @return This builder for chaining. */ public Builder setPartitionId(int value) { partitionId_ = value; onChanged(); return this; } /** * uint32 partition_id = 4; * @return This builder for chaining. */ public Builder clearPartitionId() { partitionId_ = 0; onChanged(); return this; } private com.google.protobuf.LazyStringList writtenFiles_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureWrittenFilesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { writtenFiles_ = new com.google.protobuf.LazyStringArrayList(writtenFiles_); bitField0_ |= 0x00000001; } } /** * repeated string written_files = 5; * @return A list containing the writtenFiles. */ public com.google.protobuf.ProtocolStringList getWrittenFilesList() { return writtenFiles_.getUnmodifiableView(); } /** * repeated string written_files = 5; * @return The count of writtenFiles. */ public int getWrittenFilesCount() { return writtenFiles_.size(); } /** * repeated string written_files = 5; * @param index The index of the element to return. * @return The writtenFiles at the given index. */ public java.lang.String getWrittenFiles(int index) { return writtenFiles_.get(index); } /** * repeated string written_files = 5; * @param index The index of the value to return. * @return The bytes of the writtenFiles at the given index. */ public com.google.protobuf.ByteString getWrittenFilesBytes(int index) { return writtenFiles_.getByteString(index); } /** * repeated string written_files = 5; * @param index The index to set the value at. * @param value The writtenFiles to set. * @return This builder for chaining. */ public Builder setWrittenFiles( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureWrittenFilesIsMutable(); writtenFiles_.set(index, value); onChanged(); return this; } /** * repeated string written_files = 5; * @param value The writtenFiles to add. * @return This builder for chaining. */ public Builder addWrittenFiles( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureWrittenFilesIsMutable(); writtenFiles_.add(value); onChanged(); return this; } /** * repeated string written_files = 5; * @param values The writtenFiles to add. * @return This builder for chaining. */ public Builder addAllWrittenFiles( java.lang.Iterable values) { ensureWrittenFilesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, writtenFiles_); onChanged(); return this; } /** * repeated string written_files = 5; * @return This builder for chaining. */ public Builder clearWrittenFiles() { writtenFiles_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string written_files = 5; * @param value The bytes of the writtenFiles to add. * @return This builder for chaining. */ public Builder addWrittenFilesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureWrittenFilesIsMutable(); writtenFiles_.add(value); onChanged(); return this; } private com.google.protobuf.Internal.LongList writtenLengths_ = emptyLongList(); private void ensureWrittenLengthsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { writtenLengths_ = mutableCopy(writtenLengths_); bitField0_ |= 0x00000002; } } /** * repeated uint64 written_lengths = 6; * @return A list containing the writtenLengths. */ public java.util.List getWrittenLengthsList() { return ((bitField0_ & 0x00000002) != 0) ? java.util.Collections.unmodifiableList(writtenLengths_) : writtenLengths_; } /** * repeated uint64 written_lengths = 6; * @return The count of writtenLengths. */ public int getWrittenLengthsCount() { return writtenLengths_.size(); } /** * repeated uint64 written_lengths = 6; * @param index The index of the element to return. * @return The writtenLengths at the given index. */ public long getWrittenLengths(int index) { return writtenLengths_.getLong(index); } /** * repeated uint64 written_lengths = 6; * @param index The index to set the value at. * @param value The writtenLengths to set. * @return This builder for chaining. */ public Builder setWrittenLengths( int index, long value) { ensureWrittenLengthsIsMutable(); writtenLengths_.setLong(index, value); onChanged(); return this; } /** * repeated uint64 written_lengths = 6; * @param value The writtenLengths to add. * @return This builder for chaining. */ public Builder addWrittenLengths(long value) { ensureWrittenLengthsIsMutable(); writtenLengths_.addLong(value); onChanged(); return this; } /** * repeated uint64 written_lengths = 6; * @param values The writtenLengths to add. * @return This builder for chaining. */ public Builder addAllWrittenLengths( java.lang.Iterable values) { ensureWrittenLengthsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, writtenLengths_); onChanged(); return this; } /** * repeated uint64 written_lengths = 6; * @return This builder for chaining. */ public Builder clearWrittenLengths() { writtenLengths_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.FinishBulkLoadStreamWriterRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.FinishBulkLoadStreamWriterRequest) private static final cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest(); } public static cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public FinishBulkLoadStreamWriterRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new FinishBulkLoadStreamWriterRequest(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 cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FinishBulkLoadStreamWriterResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.FinishBulkLoadStreamWriterResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.v2.FinishBulkLoadStreamWriterResponse} */ public static final class FinishBulkLoadStreamWriterResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.FinishBulkLoadStreamWriterResponse) FinishBulkLoadStreamWriterResponseOrBuilder { private static final long serialVersionUID = 0L; // Use FinishBulkLoadStreamWriterResponse.newBuilder() to construct. private FinishBulkLoadStreamWriterResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FinishBulkLoadStreamWriterResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new FinishBulkLoadStreamWriterResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private FinishBulkLoadStreamWriterResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(status_); status_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_FinishBulkLoadStreamWriterResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_FinishBulkLoadStreamWriterResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse.class, cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { return getStatus(); } 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 (status_ != null) { output.writeMessage(1, getStatus()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getStatus()); } 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 cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse other = (cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse) obj; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) 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 (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse 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 cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse 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 cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse 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(cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse 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 cz.proto.ingestion.v2.FinishBulkLoadStreamWriterResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.FinishBulkLoadStreamWriterResponse) cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_FinishBulkLoadStreamWriterResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_FinishBulkLoadStreamWriterResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse.class, cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (statusBuilder_ == null) { status_ = null; } else { status_ = null; statusBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_FinishBulkLoadStreamWriterResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse build() { cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse buildPartial() { cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse result = new cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse(this); if (statusBuilder_ == null) { result.status_ = status_; } else { result.status_ = statusBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse other) { if (other == cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse.getDefaultInstance()) return this; if (other.hasStatus()) { mergeStatus(other.getStatus()); } 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 { cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus( cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder mergeStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.v2.IngestionV2.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder>( getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } @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:cz.proto.ingestion.v2.FinishBulkLoadStreamWriterResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.FinishBulkLoadStreamWriterResponse) private static final cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse(); } public static cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public FinishBulkLoadStreamWriterResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new FinishBulkLoadStreamWriterResponse(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 cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetRouteWorkersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.GetRouteWorkersRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; * @return Whether the tableIdent field is set. */ boolean hasTableIdent(); /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; * @return The tableIdent. */ cz.proto.ingestion.v2.IngestionV2.TableIdentifier getTableIdent(); /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; */ cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getTableIdentOrBuilder(); /** * .cz.proto.ingestion.v2.ConnectMode connect_mode = 2; * @return The enum numeric value on the wire for connectMode. */ int getConnectModeValue(); /** * .cz.proto.ingestion.v2.ConnectMode connect_mode = 2; * @return The connectMode. */ cz.proto.ingestion.v2.IngestionV2.ConnectMode getConnectMode(); /** * repeated int64 tablet_id = 3; * @return A list containing the tabletId. */ java.util.List getTabletIdList(); /** * repeated int64 tablet_id = 3; * @return The count of tabletId. */ int getTabletIdCount(); /** * repeated int64 tablet_id = 3; * @param index The index of the element to return. * @return The tabletId at the given index. */ long getTabletId(int index); } /** * Protobuf type {@code cz.proto.ingestion.v2.GetRouteWorkersRequest} */ public static final class GetRouteWorkersRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.GetRouteWorkersRequest) GetRouteWorkersRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetRouteWorkersRequest.newBuilder() to construct. private GetRouteWorkersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetRouteWorkersRequest() { connectMode_ = 0; tabletId_ = emptyLongList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetRouteWorkersRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetRouteWorkersRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder subBuilder = null; if (tableIdent_ != null) { subBuilder = tableIdent_.toBuilder(); } tableIdent_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.TableIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(tableIdent_); tableIdent_ = subBuilder.buildPartial(); } break; } case 16: { int rawValue = input.readEnum(); connectMode_ = rawValue; break; } case 24: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { tabletId_ = newLongList(); mutable_bitField0_ |= 0x00000001; } tabletId_.addLong(input.readInt64()); break; } case 26: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { tabletId_ = newLongList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { tabletId_.addLong(input.readInt64()); } input.popLimit(limit); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tabletId_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetRouteWorkersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetRouteWorkersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest.class, cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest.Builder.class); } public static final int TABLE_IDENT_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.TableIdentifier tableIdent_; /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; * @return Whether the tableIdent field is set. */ @java.lang.Override public boolean hasTableIdent() { return tableIdent_ != null; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; * @return The tableIdent. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TableIdentifier getTableIdent() { return tableIdent_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : tableIdent_; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getTableIdentOrBuilder() { return getTableIdent(); } public static final int CONNECT_MODE_FIELD_NUMBER = 2; private int connectMode_; /** * .cz.proto.ingestion.v2.ConnectMode connect_mode = 2; * @return The enum numeric value on the wire for connectMode. */ @java.lang.Override public int getConnectModeValue() { return connectMode_; } /** * .cz.proto.ingestion.v2.ConnectMode connect_mode = 2; * @return The connectMode. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ConnectMode getConnectMode() { @SuppressWarnings("deprecation") cz.proto.ingestion.v2.IngestionV2.ConnectMode result = cz.proto.ingestion.v2.IngestionV2.ConnectMode.valueOf(connectMode_); return result == null ? cz.proto.ingestion.v2.IngestionV2.ConnectMode.UNRECOGNIZED : result; } public static final int TABLET_ID_FIELD_NUMBER = 3; private com.google.protobuf.Internal.LongList tabletId_; /** * repeated int64 tablet_id = 3; * @return A list containing the tabletId. */ @java.lang.Override public java.util.List getTabletIdList() { return tabletId_; } /** * repeated int64 tablet_id = 3; * @return The count of tabletId. */ public int getTabletIdCount() { return tabletId_.size(); } /** * repeated int64 tablet_id = 3; * @param index The index of the element to return. * @return The tabletId at the given index. */ public long getTabletId(int index) { return tabletId_.getLong(index); } private int tabletIdMemoizedSerializedSize = -1; 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 { getSerializedSize(); if (tableIdent_ != null) { output.writeMessage(1, getTableIdent()); } if (connectMode_ != cz.proto.ingestion.v2.IngestionV2.ConnectMode.DIRECT.getNumber()) { output.writeEnum(2, connectMode_); } if (getTabletIdList().size() > 0) { output.writeUInt32NoTag(26); output.writeUInt32NoTag(tabletIdMemoizedSerializedSize); } for (int i = 0; i < tabletId_.size(); i++) { output.writeInt64NoTag(tabletId_.getLong(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (tableIdent_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getTableIdent()); } if (connectMode_ != cz.proto.ingestion.v2.IngestionV2.ConnectMode.DIRECT.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, connectMode_); } { int dataSize = 0; for (int i = 0; i < tabletId_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(tabletId_.getLong(i)); } size += dataSize; if (!getTabletIdList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } tabletIdMemoizedSerializedSize = dataSize; } 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 cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest other = (cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest) obj; if (hasTableIdent() != other.hasTableIdent()) return false; if (hasTableIdent()) { if (!getTableIdent() .equals(other.getTableIdent())) return false; } if (connectMode_ != other.connectMode_) return false; if (!getTabletIdList() .equals(other.getTabletIdList())) 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 (hasTableIdent()) { hash = (37 * hash) + TABLE_IDENT_FIELD_NUMBER; hash = (53 * hash) + getTableIdent().hashCode(); } hash = (37 * hash) + CONNECT_MODE_FIELD_NUMBER; hash = (53 * hash) + connectMode_; if (getTabletIdCount() > 0) { hash = (37 * hash) + TABLET_ID_FIELD_NUMBER; hash = (53 * hash) + getTabletIdList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest 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 cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest 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 cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest 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(cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest 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 cz.proto.ingestion.v2.GetRouteWorkersRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.GetRouteWorkersRequest) cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetRouteWorkersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetRouteWorkersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest.class, cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (tableIdentBuilder_ == null) { tableIdent_ = null; } else { tableIdent_ = null; tableIdentBuilder_ = null; } connectMode_ = 0; tabletId_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetRouteWorkersRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest build() { cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest buildPartial() { cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest result = new cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest(this); int from_bitField0_ = bitField0_; if (tableIdentBuilder_ == null) { result.tableIdent_ = tableIdent_; } else { result.tableIdent_ = tableIdentBuilder_.build(); } result.connectMode_ = connectMode_; if (((bitField0_ & 0x00000001) != 0)) { tabletId_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000001); } result.tabletId_ = tabletId_; 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 cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest other) { if (other == cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest.getDefaultInstance()) return this; if (other.hasTableIdent()) { mergeTableIdent(other.getTableIdent()); } if (other.connectMode_ != 0) { setConnectModeValue(other.getConnectModeValue()); } if (!other.tabletId_.isEmpty()) { if (tabletId_.isEmpty()) { tabletId_ = other.tabletId_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTabletIdIsMutable(); tabletId_.addAll(other.tabletId_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.ingestion.v2.IngestionV2.TableIdentifier tableIdent_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder> tableIdentBuilder_; /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; * @return Whether the tableIdent field is set. */ public boolean hasTableIdent() { return tableIdentBuilder_ != null || tableIdent_ != null; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; * @return The tableIdent. */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier getTableIdent() { if (tableIdentBuilder_ == null) { return tableIdent_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : tableIdent_; } else { return tableIdentBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; */ public Builder setTableIdent(cz.proto.ingestion.v2.IngestionV2.TableIdentifier value) { if (tableIdentBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tableIdent_ = value; onChanged(); } else { tableIdentBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; */ public Builder setTableIdent( cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder builderForValue) { if (tableIdentBuilder_ == null) { tableIdent_ = builderForValue.build(); onChanged(); } else { tableIdentBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; */ public Builder mergeTableIdent(cz.proto.ingestion.v2.IngestionV2.TableIdentifier value) { if (tableIdentBuilder_ == null) { if (tableIdent_ != null) { tableIdent_ = cz.proto.ingestion.v2.IngestionV2.TableIdentifier.newBuilder(tableIdent_).mergeFrom(value).buildPartial(); } else { tableIdent_ = value; } onChanged(); } else { tableIdentBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; */ public Builder clearTableIdent() { if (tableIdentBuilder_ == null) { tableIdent_ = null; onChanged(); } else { tableIdent_ = null; tableIdentBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder getTableIdentBuilder() { onChanged(); return getTableIdentFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getTableIdentOrBuilder() { if (tableIdentBuilder_ != null) { return tableIdentBuilder_.getMessageOrBuilder(); } else { return tableIdent_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : tableIdent_; } } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder> getTableIdentFieldBuilder() { if (tableIdentBuilder_ == null) { tableIdentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder>( getTableIdent(), getParentForChildren(), isClean()); tableIdent_ = null; } return tableIdentBuilder_; } private int connectMode_ = 0; /** * .cz.proto.ingestion.v2.ConnectMode connect_mode = 2; * @return The enum numeric value on the wire for connectMode. */ @java.lang.Override public int getConnectModeValue() { return connectMode_; } /** * .cz.proto.ingestion.v2.ConnectMode connect_mode = 2; * @param value The enum numeric value on the wire for connectMode to set. * @return This builder for chaining. */ public Builder setConnectModeValue(int value) { connectMode_ = value; onChanged(); return this; } /** * .cz.proto.ingestion.v2.ConnectMode connect_mode = 2; * @return The connectMode. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ConnectMode getConnectMode() { @SuppressWarnings("deprecation") cz.proto.ingestion.v2.IngestionV2.ConnectMode result = cz.proto.ingestion.v2.IngestionV2.ConnectMode.valueOf(connectMode_); return result == null ? cz.proto.ingestion.v2.IngestionV2.ConnectMode.UNRECOGNIZED : result; } /** * .cz.proto.ingestion.v2.ConnectMode connect_mode = 2; * @param value The connectMode to set. * @return This builder for chaining. */ public Builder setConnectMode(cz.proto.ingestion.v2.IngestionV2.ConnectMode value) { if (value == null) { throw new NullPointerException(); } connectMode_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.ingestion.v2.ConnectMode connect_mode = 2; * @return This builder for chaining. */ public Builder clearConnectMode() { connectMode_ = 0; onChanged(); return this; } private com.google.protobuf.Internal.LongList tabletId_ = emptyLongList(); private void ensureTabletIdIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tabletId_ = mutableCopy(tabletId_); bitField0_ |= 0x00000001; } } /** * repeated int64 tablet_id = 3; * @return A list containing the tabletId. */ public java.util.List getTabletIdList() { return ((bitField0_ & 0x00000001) != 0) ? java.util.Collections.unmodifiableList(tabletId_) : tabletId_; } /** * repeated int64 tablet_id = 3; * @return The count of tabletId. */ public int getTabletIdCount() { return tabletId_.size(); } /** * repeated int64 tablet_id = 3; * @param index The index of the element to return. * @return The tabletId at the given index. */ public long getTabletId(int index) { return tabletId_.getLong(index); } /** * repeated int64 tablet_id = 3; * @param index The index to set the value at. * @param value The tabletId to set. * @return This builder for chaining. */ public Builder setTabletId( int index, long value) { ensureTabletIdIsMutable(); tabletId_.setLong(index, value); onChanged(); return this; } /** * repeated int64 tablet_id = 3; * @param value The tabletId to add. * @return This builder for chaining. */ public Builder addTabletId(long value) { ensureTabletIdIsMutable(); tabletId_.addLong(value); onChanged(); return this; } /** * repeated int64 tablet_id = 3; * @param values The tabletId to add. * @return This builder for chaining. */ public Builder addAllTabletId( java.lang.Iterable values) { ensureTabletIdIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tabletId_); onChanged(); return this; } /** * repeated int64 tablet_id = 3; * @return This builder for chaining. */ public Builder clearTabletId() { tabletId_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.GetRouteWorkersRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.GetRouteWorkersRequest) private static final cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest(); } public static cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetRouteWorkersRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetRouteWorkersRequest(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 cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface HostPortTupleOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.HostPortTuple) com.google.protobuf.MessageOrBuilder { /** * string host = 1; * @return The host. */ java.lang.String getHost(); /** * string host = 1; * @return The bytes for host. */ com.google.protobuf.ByteString getHostBytes(); /** * int32 port = 2; * @return The port. */ int getPort(); } /** * Protobuf type {@code cz.proto.ingestion.v2.HostPortTuple} */ public static final class HostPortTuple extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.HostPortTuple) HostPortTupleOrBuilder { private static final long serialVersionUID = 0L; // Use HostPortTuple.newBuilder() to construct. private HostPortTuple(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private HostPortTuple() { host_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new HostPortTuple(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private HostPortTuple( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); host_ = s; break; } case 16: { port_ = input.readInt32(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_HostPortTuple_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_HostPortTuple_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.HostPortTuple.class, cz.proto.ingestion.v2.IngestionV2.HostPortTuple.Builder.class); } public static final int HOST_FIELD_NUMBER = 1; private volatile java.lang.Object host_; /** * string host = 1; * @return The host. */ @java.lang.Override public java.lang.String getHost() { java.lang.Object ref = host_; 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(); host_ = s; return s; } } /** * string host = 1; * @return The bytes for host. */ @java.lang.Override public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); host_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PORT_FIELD_NUMBER = 2; private int port_; /** * int32 port = 2; * @return The port. */ @java.lang.Override public int getPort() { return port_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(host_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, host_); } if (port_ != 0) { output.writeInt32(2, port_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(host_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, host_); } if (port_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, port_); } 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 cz.proto.ingestion.v2.IngestionV2.HostPortTuple)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.HostPortTuple other = (cz.proto.ingestion.v2.IngestionV2.HostPortTuple) obj; if (!getHost() .equals(other.getHost())) return false; if (getPort() != other.getPort()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + HOST_FIELD_NUMBER; hash = (53 * hash) + getHost().hashCode(); hash = (37 * hash) + PORT_FIELD_NUMBER; hash = (53 * hash) + getPort(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.HostPortTuple parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.HostPortTuple parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.HostPortTuple parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.HostPortTuple parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.HostPortTuple parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.HostPortTuple parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.HostPortTuple parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.HostPortTuple 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 cz.proto.ingestion.v2.IngestionV2.HostPortTuple parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.HostPortTuple 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 cz.proto.ingestion.v2.IngestionV2.HostPortTuple parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.HostPortTuple 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(cz.proto.ingestion.v2.IngestionV2.HostPortTuple 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 cz.proto.ingestion.v2.HostPortTuple} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.HostPortTuple) cz.proto.ingestion.v2.IngestionV2.HostPortTupleOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_HostPortTuple_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_HostPortTuple_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.HostPortTuple.class, cz.proto.ingestion.v2.IngestionV2.HostPortTuple.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.HostPortTuple.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); host_ = ""; port_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_HostPortTuple_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.HostPortTuple getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.HostPortTuple.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.HostPortTuple build() { cz.proto.ingestion.v2.IngestionV2.HostPortTuple result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.HostPortTuple buildPartial() { cz.proto.ingestion.v2.IngestionV2.HostPortTuple result = new cz.proto.ingestion.v2.IngestionV2.HostPortTuple(this); result.host_ = host_; result.port_ = port_; 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 cz.proto.ingestion.v2.IngestionV2.HostPortTuple) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.HostPortTuple)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.HostPortTuple other) { if (other == cz.proto.ingestion.v2.IngestionV2.HostPortTuple.getDefaultInstance()) return this; if (!other.getHost().isEmpty()) { host_ = other.host_; onChanged(); } if (other.getPort() != 0) { setPort(other.getPort()); } 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 { cz.proto.ingestion.v2.IngestionV2.HostPortTuple parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.HostPortTuple) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object host_ = ""; /** * string host = 1; * @return The host. */ public java.lang.String getHost() { java.lang.Object ref = host_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; } else { return (java.lang.String) ref; } } /** * string host = 1; * @return The bytes for host. */ public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); host_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string host = 1; * @param value The host to set. * @return This builder for chaining. */ public Builder setHost( java.lang.String value) { if (value == null) { throw new NullPointerException(); } host_ = value; onChanged(); return this; } /** * string host = 1; * @return This builder for chaining. */ public Builder clearHost() { host_ = getDefaultInstance().getHost(); onChanged(); return this; } /** * string host = 1; * @param value The bytes for host to set. * @return This builder for chaining. */ public Builder setHostBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); host_ = value; onChanged(); return this; } private int port_ ; /** * int32 port = 2; * @return The port. */ @java.lang.Override public int getPort() { return port_; } /** * int32 port = 2; * @param value The port to set. * @return This builder for chaining. */ public Builder setPort(int value) { port_ = value; onChanged(); return this; } /** * int32 port = 2; * @return This builder for chaining. */ public Builder clearPort() { port_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.HostPortTuple) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.HostPortTuple) private static final cz.proto.ingestion.v2.IngestionV2.HostPortTuple DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.HostPortTuple(); } public static cz.proto.ingestion.v2.IngestionV2.HostPortTuple getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public HostPortTuple parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new HostPortTuple(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 cz.proto.ingestion.v2.IngestionV2.HostPortTuple getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetRouteWorkersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.GetRouteWorkersResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .cz.proto.ingestion.v2.HostPortTuple tuple = 1; */ java.util.List getTupleList(); /** * repeated .cz.proto.ingestion.v2.HostPortTuple tuple = 1; */ cz.proto.ingestion.v2.IngestionV2.HostPortTuple getTuple(int index); /** * repeated .cz.proto.ingestion.v2.HostPortTuple tuple = 1; */ int getTupleCount(); /** * repeated .cz.proto.ingestion.v2.HostPortTuple tuple = 1; */ java.util.List getTupleOrBuilderList(); /** * repeated .cz.proto.ingestion.v2.HostPortTuple tuple = 1; */ cz.proto.ingestion.v2.IngestionV2.HostPortTupleOrBuilder getTupleOrBuilder( int index); /** * repeated int64 tablet_id = 2; * @return A list containing the tabletId. */ java.util.List getTabletIdList(); /** * repeated int64 tablet_id = 2; * @return The count of tabletId. */ int getTabletIdCount(); /** * repeated int64 tablet_id = 2; * @param index The index of the element to return. * @return The tabletId at the given index. */ long getTabletId(int index); /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; * @return The status. */ cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; */ cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.v2.GetRouteWorkersResponse} */ public static final class GetRouteWorkersResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.GetRouteWorkersResponse) GetRouteWorkersResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetRouteWorkersResponse.newBuilder() to construct. private GetRouteWorkersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetRouteWorkersResponse() { tuple_ = java.util.Collections.emptyList(); tabletId_ = emptyLongList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetRouteWorkersResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetRouteWorkersResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { tuple_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } tuple_.add( input.readMessage(cz.proto.ingestion.v2.IngestionV2.HostPortTuple.parser(), extensionRegistry)); break; } case 16: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { tabletId_ = newLongList(); mutable_bitField0_ |= 0x00000002; } tabletId_.addLong(input.readInt64()); break; } case 18: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { tabletId_ = newLongList(); mutable_bitField0_ |= 0x00000002; } while (input.getBytesUntilLimit() > 0) { tabletId_.addLong(input.readInt64()); } input.popLimit(limit); break; } case 26: { cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(status_); status_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tuple_ = java.util.Collections.unmodifiableList(tuple_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { tabletId_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetRouteWorkersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetRouteWorkersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse.class, cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse.Builder.class); } public static final int TUPLE_FIELD_NUMBER = 1; private java.util.List tuple_; /** * repeated .cz.proto.ingestion.v2.HostPortTuple tuple = 1; */ @java.lang.Override public java.util.List getTupleList() { return tuple_; } /** * repeated .cz.proto.ingestion.v2.HostPortTuple tuple = 1; */ @java.lang.Override public java.util.List getTupleOrBuilderList() { return tuple_; } /** * repeated .cz.proto.ingestion.v2.HostPortTuple tuple = 1; */ @java.lang.Override public int getTupleCount() { return tuple_.size(); } /** * repeated .cz.proto.ingestion.v2.HostPortTuple tuple = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.HostPortTuple getTuple(int index) { return tuple_.get(index); } /** * repeated .cz.proto.ingestion.v2.HostPortTuple tuple = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.HostPortTupleOrBuilder getTupleOrBuilder( int index) { return tuple_.get(index); } public static final int TABLET_ID_FIELD_NUMBER = 2; private com.google.protobuf.Internal.LongList tabletId_; /** * repeated int64 tablet_id = 2; * @return A list containing the tabletId. */ @java.lang.Override public java.util.List getTabletIdList() { return tabletId_; } /** * repeated int64 tablet_id = 2; * @return The count of tabletId. */ public int getTabletIdCount() { return tabletId_.size(); } /** * repeated int64 tablet_id = 2; * @param index The index of the element to return. * @return The tabletId at the given index. */ public long getTabletId(int index) { return tabletId_.getLong(index); } private int tabletIdMemoizedSerializedSize = -1; public static final int STATUS_FIELD_NUMBER = 3; private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; * @return The status. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { return getStatus(); } 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 { getSerializedSize(); for (int i = 0; i < tuple_.size(); i++) { output.writeMessage(1, tuple_.get(i)); } if (getTabletIdList().size() > 0) { output.writeUInt32NoTag(18); output.writeUInt32NoTag(tabletIdMemoizedSerializedSize); } for (int i = 0; i < tabletId_.size(); i++) { output.writeInt64NoTag(tabletId_.getLong(i)); } if (status_ != null) { output.writeMessage(3, getStatus()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < tuple_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, tuple_.get(i)); } { int dataSize = 0; for (int i = 0; i < tabletId_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(tabletId_.getLong(i)); } size += dataSize; if (!getTabletIdList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } tabletIdMemoizedSerializedSize = dataSize; } if (status_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getStatus()); } 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 cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse other = (cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse) obj; if (!getTupleList() .equals(other.getTupleList())) return false; if (!getTabletIdList() .equals(other.getTabletIdList())) return false; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) 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 (getTupleCount() > 0) { hash = (37 * hash) + TUPLE_FIELD_NUMBER; hash = (53 * hash) + getTupleList().hashCode(); } if (getTabletIdCount() > 0) { hash = (37 * hash) + TABLET_ID_FIELD_NUMBER; hash = (53 * hash) + getTabletIdList().hashCode(); } if (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse 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 cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse 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 cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse 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(cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse 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 cz.proto.ingestion.v2.GetRouteWorkersResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.GetRouteWorkersResponse) cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetRouteWorkersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetRouteWorkersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse.class, cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTupleFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (tupleBuilder_ == null) { tuple_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { tupleBuilder_.clear(); } tabletId_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000002); if (statusBuilder_ == null) { status_ = null; } else { status_ = null; statusBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetRouteWorkersResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse build() { cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse buildPartial() { cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse result = new cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse(this); int from_bitField0_ = bitField0_; if (tupleBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { tuple_ = java.util.Collections.unmodifiableList(tuple_); bitField0_ = (bitField0_ & ~0x00000001); } result.tuple_ = tuple_; } else { result.tuple_ = tupleBuilder_.build(); } if (((bitField0_ & 0x00000002) != 0)) { tabletId_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000002); } result.tabletId_ = tabletId_; if (statusBuilder_ == null) { result.status_ = status_; } else { result.status_ = statusBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse other) { if (other == cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse.getDefaultInstance()) return this; if (tupleBuilder_ == null) { if (!other.tuple_.isEmpty()) { if (tuple_.isEmpty()) { tuple_ = other.tuple_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTupleIsMutable(); tuple_.addAll(other.tuple_); } onChanged(); } } else { if (!other.tuple_.isEmpty()) { if (tupleBuilder_.isEmpty()) { tupleBuilder_.dispose(); tupleBuilder_ = null; tuple_ = other.tuple_; bitField0_ = (bitField0_ & ~0x00000001); tupleBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTupleFieldBuilder() : null; } else { tupleBuilder_.addAllMessages(other.tuple_); } } } if (!other.tabletId_.isEmpty()) { if (tabletId_.isEmpty()) { tabletId_ = other.tabletId_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureTabletIdIsMutable(); tabletId_.addAll(other.tabletId_); } onChanged(); } if (other.hasStatus()) { mergeStatus(other.getStatus()); } 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 { cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List tuple_ = java.util.Collections.emptyList(); private void ensureTupleIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tuple_ = new java.util.ArrayList(tuple_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.HostPortTuple, cz.proto.ingestion.v2.IngestionV2.HostPortTuple.Builder, cz.proto.ingestion.v2.IngestionV2.HostPortTupleOrBuilder> tupleBuilder_; /** * repeated .cz.proto.ingestion.v2.HostPortTuple tuple = 1; */ public java.util.List getTupleList() { if (tupleBuilder_ == null) { return java.util.Collections.unmodifiableList(tuple_); } else { return tupleBuilder_.getMessageList(); } } /** * repeated .cz.proto.ingestion.v2.HostPortTuple tuple = 1; */ public int getTupleCount() { if (tupleBuilder_ == null) { return tuple_.size(); } else { return tupleBuilder_.getCount(); } } /** * repeated .cz.proto.ingestion.v2.HostPortTuple tuple = 1; */ public cz.proto.ingestion.v2.IngestionV2.HostPortTuple getTuple(int index) { if (tupleBuilder_ == null) { return tuple_.get(index); } else { return tupleBuilder_.getMessage(index); } } /** * repeated .cz.proto.ingestion.v2.HostPortTuple tuple = 1; */ public Builder setTuple( int index, cz.proto.ingestion.v2.IngestionV2.HostPortTuple value) { if (tupleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTupleIsMutable(); tuple_.set(index, value); onChanged(); } else { tupleBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.ingestion.v2.HostPortTuple tuple = 1; */ public Builder setTuple( int index, cz.proto.ingestion.v2.IngestionV2.HostPortTuple.Builder builderForValue) { if (tupleBuilder_ == null) { ensureTupleIsMutable(); tuple_.set(index, builderForValue.build()); onChanged(); } else { tupleBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.v2.HostPortTuple tuple = 1; */ public Builder addTuple(cz.proto.ingestion.v2.IngestionV2.HostPortTuple value) { if (tupleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTupleIsMutable(); tuple_.add(value); onChanged(); } else { tupleBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.ingestion.v2.HostPortTuple tuple = 1; */ public Builder addTuple( int index, cz.proto.ingestion.v2.IngestionV2.HostPortTuple value) { if (tupleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTupleIsMutable(); tuple_.add(index, value); onChanged(); } else { tupleBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.ingestion.v2.HostPortTuple tuple = 1; */ public Builder addTuple( cz.proto.ingestion.v2.IngestionV2.HostPortTuple.Builder builderForValue) { if (tupleBuilder_ == null) { ensureTupleIsMutable(); tuple_.add(builderForValue.build()); onChanged(); } else { tupleBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.v2.HostPortTuple tuple = 1; */ public Builder addTuple( int index, cz.proto.ingestion.v2.IngestionV2.HostPortTuple.Builder builderForValue) { if (tupleBuilder_ == null) { ensureTupleIsMutable(); tuple_.add(index, builderForValue.build()); onChanged(); } else { tupleBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.v2.HostPortTuple tuple = 1; */ public Builder addAllTuple( java.lang.Iterable values) { if (tupleBuilder_ == null) { ensureTupleIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tuple_); onChanged(); } else { tupleBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.ingestion.v2.HostPortTuple tuple = 1; */ public Builder clearTuple() { if (tupleBuilder_ == null) { tuple_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { tupleBuilder_.clear(); } return this; } /** * repeated .cz.proto.ingestion.v2.HostPortTuple tuple = 1; */ public Builder removeTuple(int index) { if (tupleBuilder_ == null) { ensureTupleIsMutable(); tuple_.remove(index); onChanged(); } else { tupleBuilder_.remove(index); } return this; } /** * repeated .cz.proto.ingestion.v2.HostPortTuple tuple = 1; */ public cz.proto.ingestion.v2.IngestionV2.HostPortTuple.Builder getTupleBuilder( int index) { return getTupleFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.ingestion.v2.HostPortTuple tuple = 1; */ public cz.proto.ingestion.v2.IngestionV2.HostPortTupleOrBuilder getTupleOrBuilder( int index) { if (tupleBuilder_ == null) { return tuple_.get(index); } else { return tupleBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.ingestion.v2.HostPortTuple tuple = 1; */ public java.util.List getTupleOrBuilderList() { if (tupleBuilder_ != null) { return tupleBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(tuple_); } } /** * repeated .cz.proto.ingestion.v2.HostPortTuple tuple = 1; */ public cz.proto.ingestion.v2.IngestionV2.HostPortTuple.Builder addTupleBuilder() { return getTupleFieldBuilder().addBuilder( cz.proto.ingestion.v2.IngestionV2.HostPortTuple.getDefaultInstance()); } /** * repeated .cz.proto.ingestion.v2.HostPortTuple tuple = 1; */ public cz.proto.ingestion.v2.IngestionV2.HostPortTuple.Builder addTupleBuilder( int index) { return getTupleFieldBuilder().addBuilder( index, cz.proto.ingestion.v2.IngestionV2.HostPortTuple.getDefaultInstance()); } /** * repeated .cz.proto.ingestion.v2.HostPortTuple tuple = 1; */ public java.util.List getTupleBuilderList() { return getTupleFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.HostPortTuple, cz.proto.ingestion.v2.IngestionV2.HostPortTuple.Builder, cz.proto.ingestion.v2.IngestionV2.HostPortTupleOrBuilder> getTupleFieldBuilder() { if (tupleBuilder_ == null) { tupleBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.HostPortTuple, cz.proto.ingestion.v2.IngestionV2.HostPortTuple.Builder, cz.proto.ingestion.v2.IngestionV2.HostPortTupleOrBuilder>( tuple_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tuple_ = null; } return tupleBuilder_; } private com.google.protobuf.Internal.LongList tabletId_ = emptyLongList(); private void ensureTabletIdIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { tabletId_ = mutableCopy(tabletId_); bitField0_ |= 0x00000002; } } /** * repeated int64 tablet_id = 2; * @return A list containing the tabletId. */ public java.util.List getTabletIdList() { return ((bitField0_ & 0x00000002) != 0) ? java.util.Collections.unmodifiableList(tabletId_) : tabletId_; } /** * repeated int64 tablet_id = 2; * @return The count of tabletId. */ public int getTabletIdCount() { return tabletId_.size(); } /** * repeated int64 tablet_id = 2; * @param index The index of the element to return. * @return The tabletId at the given index. */ public long getTabletId(int index) { return tabletId_.getLong(index); } /** * repeated int64 tablet_id = 2; * @param index The index to set the value at. * @param value The tabletId to set. * @return This builder for chaining. */ public Builder setTabletId( int index, long value) { ensureTabletIdIsMutable(); tabletId_.setLong(index, value); onChanged(); return this; } /** * repeated int64 tablet_id = 2; * @param value The tabletId to add. * @return This builder for chaining. */ public Builder addTabletId(long value) { ensureTabletIdIsMutable(); tabletId_.addLong(value); onChanged(); return this; } /** * repeated int64 tablet_id = 2; * @param values The tabletId to add. * @return This builder for chaining. */ public Builder addAllTabletId( java.lang.Iterable values) { ensureTabletIdIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tabletId_); onChanged(); return this; } /** * repeated int64 tablet_id = 2; * @return This builder for chaining. */ public Builder clearTabletId() { tabletId_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; * @return The status. */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; */ public Builder setStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; */ public Builder setStatus( cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; */ public Builder mergeStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.v2.IngestionV2.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder>( getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } @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:cz.proto.ingestion.v2.GetRouteWorkersResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.GetRouteWorkersResponse) private static final cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse(); } public static cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetRouteWorkersResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetRouteWorkersResponse(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 cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ServerTokenListOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.ServerTokenList) com.google.protobuf.MessageOrBuilder { /** * repeated string server_token = 1; * @return A list containing the serverToken. */ java.util.List getServerTokenList(); /** * repeated string server_token = 1; * @return The count of serverToken. */ int getServerTokenCount(); /** * repeated string server_token = 1; * @param index The index of the element to return. * @return The serverToken at the given index. */ java.lang.String getServerToken(int index); /** * repeated string server_token = 1; * @param index The index of the value to return. * @return The bytes of the serverToken at the given index. */ com.google.protobuf.ByteString getServerTokenBytes(int index); } /** * Protobuf type {@code cz.proto.ingestion.v2.ServerTokenList} */ public static final class ServerTokenList extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.ServerTokenList) ServerTokenListOrBuilder { private static final long serialVersionUID = 0L; // Use ServerTokenList.newBuilder() to construct. private ServerTokenList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ServerTokenList() { serverToken_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ServerTokenList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ServerTokenList( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { serverToken_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } serverToken_.add(s); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { serverToken_ = serverToken_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_ServerTokenList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_ServerTokenList_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.ServerTokenList.class, cz.proto.ingestion.v2.IngestionV2.ServerTokenList.Builder.class); } public static final int SERVER_TOKEN_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList serverToken_; /** * repeated string server_token = 1; * @return A list containing the serverToken. */ public com.google.protobuf.ProtocolStringList getServerTokenList() { return serverToken_; } /** * repeated string server_token = 1; * @return The count of serverToken. */ public int getServerTokenCount() { return serverToken_.size(); } /** * repeated string server_token = 1; * @param index The index of the element to return. * @return The serverToken at the given index. */ public java.lang.String getServerToken(int index) { return serverToken_.get(index); } /** * repeated string server_token = 1; * @param index The index of the value to return. * @return The bytes of the serverToken at the given index. */ public com.google.protobuf.ByteString getServerTokenBytes(int index) { return serverToken_.getByteString(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 { for (int i = 0; i < serverToken_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serverToken_.getRaw(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < serverToken_.size(); i++) { dataSize += computeStringSizeNoTag(serverToken_.getRaw(i)); } size += dataSize; size += 1 * getServerTokenList().size(); } 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 cz.proto.ingestion.v2.IngestionV2.ServerTokenList)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.ServerTokenList other = (cz.proto.ingestion.v2.IngestionV2.ServerTokenList) obj; if (!getServerTokenList() .equals(other.getServerTokenList())) 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 (getServerTokenCount() > 0) { hash = (37 * hash) + SERVER_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getServerTokenList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.ServerTokenList parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.ServerTokenList parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.ServerTokenList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.ServerTokenList parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.ServerTokenList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.ServerTokenList parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.ServerTokenList parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.ServerTokenList 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 cz.proto.ingestion.v2.IngestionV2.ServerTokenList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.ServerTokenList 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 cz.proto.ingestion.v2.IngestionV2.ServerTokenList parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.ServerTokenList 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(cz.proto.ingestion.v2.IngestionV2.ServerTokenList 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 cz.proto.ingestion.v2.ServerTokenList} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.ServerTokenList) cz.proto.ingestion.v2.IngestionV2.ServerTokenListOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_ServerTokenList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_ServerTokenList_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.ServerTokenList.class, cz.proto.ingestion.v2.IngestionV2.ServerTokenList.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.ServerTokenList.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); serverToken_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_ServerTokenList_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ServerTokenList getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.ServerTokenList.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ServerTokenList build() { cz.proto.ingestion.v2.IngestionV2.ServerTokenList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ServerTokenList buildPartial() { cz.proto.ingestion.v2.IngestionV2.ServerTokenList result = new cz.proto.ingestion.v2.IngestionV2.ServerTokenList(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { serverToken_ = serverToken_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.serverToken_ = serverToken_; 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 cz.proto.ingestion.v2.IngestionV2.ServerTokenList) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.ServerTokenList)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.ServerTokenList other) { if (other == cz.proto.ingestion.v2.IngestionV2.ServerTokenList.getDefaultInstance()) return this; if (!other.serverToken_.isEmpty()) { if (serverToken_.isEmpty()) { serverToken_ = other.serverToken_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureServerTokenIsMutable(); serverToken_.addAll(other.serverToken_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.ingestion.v2.IngestionV2.ServerTokenList parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.ServerTokenList) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.LazyStringList serverToken_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureServerTokenIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { serverToken_ = new com.google.protobuf.LazyStringArrayList(serverToken_); bitField0_ |= 0x00000001; } } /** * repeated string server_token = 1; * @return A list containing the serverToken. */ public com.google.protobuf.ProtocolStringList getServerTokenList() { return serverToken_.getUnmodifiableView(); } /** * repeated string server_token = 1; * @return The count of serverToken. */ public int getServerTokenCount() { return serverToken_.size(); } /** * repeated string server_token = 1; * @param index The index of the element to return. * @return The serverToken at the given index. */ public java.lang.String getServerToken(int index) { return serverToken_.get(index); } /** * repeated string server_token = 1; * @param index The index of the value to return. * @return The bytes of the serverToken at the given index. */ public com.google.protobuf.ByteString getServerTokenBytes(int index) { return serverToken_.getByteString(index); } /** * repeated string server_token = 1; * @param index The index to set the value at. * @param value The serverToken to set. * @return This builder for chaining. */ public Builder setServerToken( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureServerTokenIsMutable(); serverToken_.set(index, value); onChanged(); return this; } /** * repeated string server_token = 1; * @param value The serverToken to add. * @return This builder for chaining. */ public Builder addServerToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureServerTokenIsMutable(); serverToken_.add(value); onChanged(); return this; } /** * repeated string server_token = 1; * @param values The serverToken to add. * @return This builder for chaining. */ public Builder addAllServerToken( java.lang.Iterable values) { ensureServerTokenIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, serverToken_); onChanged(); return this; } /** * repeated string server_token = 1; * @return This builder for chaining. */ public Builder clearServerToken() { serverToken_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string server_token = 1; * @param value The bytes of the serverToken to add. * @return This builder for chaining. */ public Builder addServerTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureServerTokenIsMutable(); serverToken_.add(value); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.ServerTokenList) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.ServerTokenList) private static final cz.proto.ingestion.v2.IngestionV2.ServerTokenList DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.ServerTokenList(); } public static cz.proto.ingestion.v2.IngestionV2.ServerTokenList getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ServerTokenList parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ServerTokenList(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 cz.proto.ingestion.v2.IngestionV2.ServerTokenList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CommitRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.CommitRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ cz.proto.ingestion.v2.IngestionV2.Account getAccount(); /** * .cz.proto.ingestion.v2.Account account = 1; */ cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder(); /** * repeated .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ java.util.List getTableIdentList(); /** * repeated .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ cz.proto.ingestion.v2.IngestionV2.TableIdentifier getTableIdent(int index); /** * repeated .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ int getTableIdentCount(); /** * repeated .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ java.util.List getTableIdentOrBuilderList(); /** * repeated .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getTableIdentOrBuilder( int index); /** *
     * List of server tokens for connected tablet servers of each table in table_ident above.
     * If provided, the size of server_token_list must be the same as the size of table_ident
     * to achieve an one-to-one mapping. If one specific table does not have a server_token,
     * simply leave the corresponding server_token empty.
     * 
* * optional .cz.proto.ingestion.v2.ServerTokenList server_token_list = 3; * @return Whether the serverTokenList field is set. */ boolean hasServerTokenList(); /** *
     * List of server tokens for connected tablet servers of each table in table_ident above.
     * If provided, the size of server_token_list must be the same as the size of table_ident
     * to achieve an one-to-one mapping. If one specific table does not have a server_token,
     * simply leave the corresponding server_token empty.
     * 
* * optional .cz.proto.ingestion.v2.ServerTokenList server_token_list = 3; * @return The serverTokenList. */ cz.proto.ingestion.v2.IngestionV2.ServerTokenList getServerTokenList(); /** *
     * List of server tokens for connected tablet servers of each table in table_ident above.
     * If provided, the size of server_token_list must be the same as the size of table_ident
     * to achieve an one-to-one mapping. If one specific table does not have a server_token,
     * simply leave the corresponding server_token empty.
     * 
* * optional .cz.proto.ingestion.v2.ServerTokenList server_token_list = 3; */ cz.proto.ingestion.v2.IngestionV2.ServerTokenListOrBuilder getServerTokenListOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.v2.CommitRequest} */ public static final class CommitRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.CommitRequest) CommitRequestOrBuilder { private static final long serialVersionUID = 0L; // Use CommitRequest.newBuilder() to construct. private CommitRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CommitRequest() { tableIdent_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CommitRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CommitRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { tableIdent_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } tableIdent_.add( input.readMessage(cz.proto.ingestion.v2.IngestionV2.TableIdentifier.parser(), extensionRegistry)); break; } case 26: { cz.proto.ingestion.v2.IngestionV2.ServerTokenList.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = serverTokenList_.toBuilder(); } serverTokenList_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.ServerTokenList.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(serverTokenList_); serverTokenList_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tableIdent_ = java.util.Collections.unmodifiableList(tableIdent_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CommitRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CommitRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.CommitRequest.class, cz.proto.ingestion.v2.IngestionV2.CommitRequest.Builder.class); } private int bitField0_; public static final int ACCOUNT_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.Account account_; /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.Account getAccount() { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } /** * .cz.proto.ingestion.v2.Account account = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int TABLE_IDENT_FIELD_NUMBER = 2; private java.util.List tableIdent_; /** * repeated .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ @java.lang.Override public java.util.List getTableIdentList() { return tableIdent_; } /** * repeated .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ @java.lang.Override public java.util.List getTableIdentOrBuilderList() { return tableIdent_; } /** * repeated .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ @java.lang.Override public int getTableIdentCount() { return tableIdent_.size(); } /** * repeated .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TableIdentifier getTableIdent(int index) { return tableIdent_.get(index); } /** * repeated .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getTableIdentOrBuilder( int index) { return tableIdent_.get(index); } public static final int SERVER_TOKEN_LIST_FIELD_NUMBER = 3; private cz.proto.ingestion.v2.IngestionV2.ServerTokenList serverTokenList_; /** *
     * List of server tokens for connected tablet servers of each table in table_ident above.
     * If provided, the size of server_token_list must be the same as the size of table_ident
     * to achieve an one-to-one mapping. If one specific table does not have a server_token,
     * simply leave the corresponding server_token empty.
     * 
* * optional .cz.proto.ingestion.v2.ServerTokenList server_token_list = 3; * @return Whether the serverTokenList field is set. */ @java.lang.Override public boolean hasServerTokenList() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * List of server tokens for connected tablet servers of each table in table_ident above.
     * If provided, the size of server_token_list must be the same as the size of table_ident
     * to achieve an one-to-one mapping. If one specific table does not have a server_token,
     * simply leave the corresponding server_token empty.
     * 
* * optional .cz.proto.ingestion.v2.ServerTokenList server_token_list = 3; * @return The serverTokenList. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ServerTokenList getServerTokenList() { return serverTokenList_ == null ? cz.proto.ingestion.v2.IngestionV2.ServerTokenList.getDefaultInstance() : serverTokenList_; } /** *
     * List of server tokens for connected tablet servers of each table in table_ident above.
     * If provided, the size of server_token_list must be the same as the size of table_ident
     * to achieve an one-to-one mapping. If one specific table does not have a server_token,
     * simply leave the corresponding server_token empty.
     * 
* * optional .cz.proto.ingestion.v2.ServerTokenList server_token_list = 3; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ServerTokenListOrBuilder getServerTokenListOrBuilder() { return serverTokenList_ == null ? cz.proto.ingestion.v2.IngestionV2.ServerTokenList.getDefaultInstance() : serverTokenList_; } 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 (account_ != null) { output.writeMessage(1, getAccount()); } for (int i = 0; i < tableIdent_.size(); i++) { output.writeMessage(2, tableIdent_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getServerTokenList()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAccount()); } for (int i = 0; i < tableIdent_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, tableIdent_.get(i)); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getServerTokenList()); } 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 cz.proto.ingestion.v2.IngestionV2.CommitRequest)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.CommitRequest other = (cz.proto.ingestion.v2.IngestionV2.CommitRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (!getTableIdentList() .equals(other.getTableIdentList())) return false; if (hasServerTokenList() != other.hasServerTokenList()) return false; if (hasServerTokenList()) { if (!getServerTokenList() .equals(other.getServerTokenList())) 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 (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } if (getTableIdentCount() > 0) { hash = (37 * hash) + TABLE_IDENT_FIELD_NUMBER; hash = (53 * hash) + getTableIdentList().hashCode(); } if (hasServerTokenList()) { hash = (37 * hash) + SERVER_TOKEN_LIST_FIELD_NUMBER; hash = (53 * hash) + getServerTokenList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.CommitRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CommitRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CommitRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CommitRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CommitRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CommitRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CommitRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CommitRequest 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 cz.proto.ingestion.v2.IngestionV2.CommitRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CommitRequest 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 cz.proto.ingestion.v2.IngestionV2.CommitRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CommitRequest 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(cz.proto.ingestion.v2.IngestionV2.CommitRequest 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 cz.proto.ingestion.v2.CommitRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.CommitRequest) cz.proto.ingestion.v2.IngestionV2.CommitRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CommitRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CommitRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.CommitRequest.class, cz.proto.ingestion.v2.IngestionV2.CommitRequest.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.CommitRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTableIdentFieldBuilder(); getServerTokenListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } if (tableIdentBuilder_ == null) { tableIdent_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { tableIdentBuilder_.clear(); } if (serverTokenListBuilder_ == null) { serverTokenList_ = null; } else { serverTokenListBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CommitRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CommitRequest getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.CommitRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CommitRequest build() { cz.proto.ingestion.v2.IngestionV2.CommitRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CommitRequest buildPartial() { cz.proto.ingestion.v2.IngestionV2.CommitRequest result = new cz.proto.ingestion.v2.IngestionV2.CommitRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } if (tableIdentBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { tableIdent_ = java.util.Collections.unmodifiableList(tableIdent_); bitField0_ = (bitField0_ & ~0x00000001); } result.tableIdent_ = tableIdent_; } else { result.tableIdent_ = tableIdentBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { if (serverTokenListBuilder_ == null) { result.serverTokenList_ = serverTokenList_; } else { result.serverTokenList_ = serverTokenListBuilder_.build(); } to_bitField0_ |= 0x00000001; } 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 cz.proto.ingestion.v2.IngestionV2.CommitRequest) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.CommitRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.CommitRequest other) { if (other == cz.proto.ingestion.v2.IngestionV2.CommitRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (tableIdentBuilder_ == null) { if (!other.tableIdent_.isEmpty()) { if (tableIdent_.isEmpty()) { tableIdent_ = other.tableIdent_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTableIdentIsMutable(); tableIdent_.addAll(other.tableIdent_); } onChanged(); } } else { if (!other.tableIdent_.isEmpty()) { if (tableIdentBuilder_.isEmpty()) { tableIdentBuilder_.dispose(); tableIdentBuilder_ = null; tableIdent_ = other.tableIdent_; bitField0_ = (bitField0_ & ~0x00000001); tableIdentBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTableIdentFieldBuilder() : null; } else { tableIdentBuilder_.addAllMessages(other.tableIdent_); } } } if (other.hasServerTokenList()) { mergeServerTokenList(other.getServerTokenList()); } 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 { cz.proto.ingestion.v2.IngestionV2.CommitRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.CommitRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.ingestion.v2.IngestionV2.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder> accountBuilder_; /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ public cz.proto.ingestion.v2.IngestionV2.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder setAccount(cz.proto.ingestion.v2.IngestionV2.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder setAccount( cz.proto.ingestion.v2.IngestionV2.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder mergeAccount(cz.proto.ingestion.v2.IngestionV2.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.ingestion.v2.IngestionV2.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public cz.proto.ingestion.v2.IngestionV2.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.Account account = 1; */ public cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } } /** * .cz.proto.ingestion.v2.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private java.util.List tableIdent_ = java.util.Collections.emptyList(); private void ensureTableIdentIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tableIdent_ = new java.util.ArrayList(tableIdent_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder> tableIdentBuilder_; /** * repeated .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public java.util.List getTableIdentList() { if (tableIdentBuilder_ == null) { return java.util.Collections.unmodifiableList(tableIdent_); } else { return tableIdentBuilder_.getMessageList(); } } /** * repeated .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public int getTableIdentCount() { if (tableIdentBuilder_ == null) { return tableIdent_.size(); } else { return tableIdentBuilder_.getCount(); } } /** * repeated .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier getTableIdent(int index) { if (tableIdentBuilder_ == null) { return tableIdent_.get(index); } else { return tableIdentBuilder_.getMessage(index); } } /** * repeated .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public Builder setTableIdent( int index, cz.proto.ingestion.v2.IngestionV2.TableIdentifier value) { if (tableIdentBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTableIdentIsMutable(); tableIdent_.set(index, value); onChanged(); } else { tableIdentBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public Builder setTableIdent( int index, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder builderForValue) { if (tableIdentBuilder_ == null) { ensureTableIdentIsMutable(); tableIdent_.set(index, builderForValue.build()); onChanged(); } else { tableIdentBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public Builder addTableIdent(cz.proto.ingestion.v2.IngestionV2.TableIdentifier value) { if (tableIdentBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTableIdentIsMutable(); tableIdent_.add(value); onChanged(); } else { tableIdentBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public Builder addTableIdent( int index, cz.proto.ingestion.v2.IngestionV2.TableIdentifier value) { if (tableIdentBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTableIdentIsMutable(); tableIdent_.add(index, value); onChanged(); } else { tableIdentBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public Builder addTableIdent( cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder builderForValue) { if (tableIdentBuilder_ == null) { ensureTableIdentIsMutable(); tableIdent_.add(builderForValue.build()); onChanged(); } else { tableIdentBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public Builder addTableIdent( int index, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder builderForValue) { if (tableIdentBuilder_ == null) { ensureTableIdentIsMutable(); tableIdent_.add(index, builderForValue.build()); onChanged(); } else { tableIdentBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public Builder addAllTableIdent( java.lang.Iterable values) { if (tableIdentBuilder_ == null) { ensureTableIdentIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tableIdent_); onChanged(); } else { tableIdentBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public Builder clearTableIdent() { if (tableIdentBuilder_ == null) { tableIdent_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { tableIdentBuilder_.clear(); } return this; } /** * repeated .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public Builder removeTableIdent(int index) { if (tableIdentBuilder_ == null) { ensureTableIdentIsMutable(); tableIdent_.remove(index); onChanged(); } else { tableIdentBuilder_.remove(index); } return this; } /** * repeated .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder getTableIdentBuilder( int index) { return getTableIdentFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getTableIdentOrBuilder( int index) { if (tableIdentBuilder_ == null) { return tableIdent_.get(index); } else { return tableIdentBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public java.util.List getTableIdentOrBuilderList() { if (tableIdentBuilder_ != null) { return tableIdentBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(tableIdent_); } } /** * repeated .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder addTableIdentBuilder() { return getTableIdentFieldBuilder().addBuilder( cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance()); } /** * repeated .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder addTableIdentBuilder( int index) { return getTableIdentFieldBuilder().addBuilder( index, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance()); } /** * repeated .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public java.util.List getTableIdentBuilderList() { return getTableIdentFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder> getTableIdentFieldBuilder() { if (tableIdentBuilder_ == null) { tableIdentBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder>( tableIdent_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tableIdent_ = null; } return tableIdentBuilder_; } private cz.proto.ingestion.v2.IngestionV2.ServerTokenList serverTokenList_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ServerTokenList, cz.proto.ingestion.v2.IngestionV2.ServerTokenList.Builder, cz.proto.ingestion.v2.IngestionV2.ServerTokenListOrBuilder> serverTokenListBuilder_; /** *
       * List of server tokens for connected tablet servers of each table in table_ident above.
       * If provided, the size of server_token_list must be the same as the size of table_ident
       * to achieve an one-to-one mapping. If one specific table does not have a server_token,
       * simply leave the corresponding server_token empty.
       * 
* * optional .cz.proto.ingestion.v2.ServerTokenList server_token_list = 3; * @return Whether the serverTokenList field is set. */ public boolean hasServerTokenList() { return ((bitField0_ & 0x00000002) != 0); } /** *
       * List of server tokens for connected tablet servers of each table in table_ident above.
       * If provided, the size of server_token_list must be the same as the size of table_ident
       * to achieve an one-to-one mapping. If one specific table does not have a server_token,
       * simply leave the corresponding server_token empty.
       * 
* * optional .cz.proto.ingestion.v2.ServerTokenList server_token_list = 3; * @return The serverTokenList. */ public cz.proto.ingestion.v2.IngestionV2.ServerTokenList getServerTokenList() { if (serverTokenListBuilder_ == null) { return serverTokenList_ == null ? cz.proto.ingestion.v2.IngestionV2.ServerTokenList.getDefaultInstance() : serverTokenList_; } else { return serverTokenListBuilder_.getMessage(); } } /** *
       * List of server tokens for connected tablet servers of each table in table_ident above.
       * If provided, the size of server_token_list must be the same as the size of table_ident
       * to achieve an one-to-one mapping. If one specific table does not have a server_token,
       * simply leave the corresponding server_token empty.
       * 
* * optional .cz.proto.ingestion.v2.ServerTokenList server_token_list = 3; */ public Builder setServerTokenList(cz.proto.ingestion.v2.IngestionV2.ServerTokenList value) { if (serverTokenListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } serverTokenList_ = value; onChanged(); } else { serverTokenListBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** *
       * List of server tokens for connected tablet servers of each table in table_ident above.
       * If provided, the size of server_token_list must be the same as the size of table_ident
       * to achieve an one-to-one mapping. If one specific table does not have a server_token,
       * simply leave the corresponding server_token empty.
       * 
* * optional .cz.proto.ingestion.v2.ServerTokenList server_token_list = 3; */ public Builder setServerTokenList( cz.proto.ingestion.v2.IngestionV2.ServerTokenList.Builder builderForValue) { if (serverTokenListBuilder_ == null) { serverTokenList_ = builderForValue.build(); onChanged(); } else { serverTokenListBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** *
       * List of server tokens for connected tablet servers of each table in table_ident above.
       * If provided, the size of server_token_list must be the same as the size of table_ident
       * to achieve an one-to-one mapping. If one specific table does not have a server_token,
       * simply leave the corresponding server_token empty.
       * 
* * optional .cz.proto.ingestion.v2.ServerTokenList server_token_list = 3; */ public Builder mergeServerTokenList(cz.proto.ingestion.v2.IngestionV2.ServerTokenList value) { if (serverTokenListBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && serverTokenList_ != null && serverTokenList_ != cz.proto.ingestion.v2.IngestionV2.ServerTokenList.getDefaultInstance()) { serverTokenList_ = cz.proto.ingestion.v2.IngestionV2.ServerTokenList.newBuilder(serverTokenList_).mergeFrom(value).buildPartial(); } else { serverTokenList_ = value; } onChanged(); } else { serverTokenListBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** *
       * List of server tokens for connected tablet servers of each table in table_ident above.
       * If provided, the size of server_token_list must be the same as the size of table_ident
       * to achieve an one-to-one mapping. If one specific table does not have a server_token,
       * simply leave the corresponding server_token empty.
       * 
* * optional .cz.proto.ingestion.v2.ServerTokenList server_token_list = 3; */ public Builder clearServerTokenList() { if (serverTokenListBuilder_ == null) { serverTokenList_ = null; onChanged(); } else { serverTokenListBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** *
       * List of server tokens for connected tablet servers of each table in table_ident above.
       * If provided, the size of server_token_list must be the same as the size of table_ident
       * to achieve an one-to-one mapping. If one specific table does not have a server_token,
       * simply leave the corresponding server_token empty.
       * 
* * optional .cz.proto.ingestion.v2.ServerTokenList server_token_list = 3; */ public cz.proto.ingestion.v2.IngestionV2.ServerTokenList.Builder getServerTokenListBuilder() { bitField0_ |= 0x00000002; onChanged(); return getServerTokenListFieldBuilder().getBuilder(); } /** *
       * List of server tokens for connected tablet servers of each table in table_ident above.
       * If provided, the size of server_token_list must be the same as the size of table_ident
       * to achieve an one-to-one mapping. If one specific table does not have a server_token,
       * simply leave the corresponding server_token empty.
       * 
* * optional .cz.proto.ingestion.v2.ServerTokenList server_token_list = 3; */ public cz.proto.ingestion.v2.IngestionV2.ServerTokenListOrBuilder getServerTokenListOrBuilder() { if (serverTokenListBuilder_ != null) { return serverTokenListBuilder_.getMessageOrBuilder(); } else { return serverTokenList_ == null ? cz.proto.ingestion.v2.IngestionV2.ServerTokenList.getDefaultInstance() : serverTokenList_; } } /** *
       * List of server tokens for connected tablet servers of each table in table_ident above.
       * If provided, the size of server_token_list must be the same as the size of table_ident
       * to achieve an one-to-one mapping. If one specific table does not have a server_token,
       * simply leave the corresponding server_token empty.
       * 
* * optional .cz.proto.ingestion.v2.ServerTokenList server_token_list = 3; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ServerTokenList, cz.proto.ingestion.v2.IngestionV2.ServerTokenList.Builder, cz.proto.ingestion.v2.IngestionV2.ServerTokenListOrBuilder> getServerTokenListFieldBuilder() { if (serverTokenListBuilder_ == null) { serverTokenListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ServerTokenList, cz.proto.ingestion.v2.IngestionV2.ServerTokenList.Builder, cz.proto.ingestion.v2.IngestionV2.ServerTokenListOrBuilder>( getServerTokenList(), getParentForChildren(), isClean()); serverTokenList_ = null; } return serverTokenListBuilder_; } @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:cz.proto.ingestion.v2.CommitRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.CommitRequest) private static final cz.proto.ingestion.v2.IngestionV2.CommitRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.CommitRequest(); } public static cz.proto.ingestion.v2.IngestionV2.CommitRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CommitRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CommitRequest(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 cz.proto.ingestion.v2.IngestionV2.CommitRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CommitResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.CommitResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder(); /** *
     * unique id of this commit to be used in CheckCommitResultRequest.
     * If commit_id is 0 or not set, it means the commit already succeeded or failed.
     * 
* * int64 commit_id = 2; * @return The commitId. */ long getCommitId(); } /** * Protobuf type {@code cz.proto.ingestion.v2.CommitResponse} */ public static final class CommitResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.CommitResponse) CommitResponseOrBuilder { private static final long serialVersionUID = 0L; // Use CommitResponse.newBuilder() to construct. private CommitResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CommitResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CommitResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CommitResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(status_); status_ = subBuilder.buildPartial(); } break; } case 16: { commitId_ = input.readInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CommitResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CommitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.CommitResponse.class, cz.proto.ingestion.v2.IngestionV2.CommitResponse.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { return getStatus(); } public static final int COMMIT_ID_FIELD_NUMBER = 2; private long commitId_; /** *
     * unique id of this commit to be used in CheckCommitResultRequest.
     * If commit_id is 0 or not set, it means the commit already succeeded or failed.
     * 
* * int64 commit_id = 2; * @return The commitId. */ @java.lang.Override public long getCommitId() { return commitId_; } 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 (status_ != null) { output.writeMessage(1, getStatus()); } if (commitId_ != 0L) { output.writeInt64(2, commitId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getStatus()); } if (commitId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, commitId_); } 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 cz.proto.ingestion.v2.IngestionV2.CommitResponse)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.CommitResponse other = (cz.proto.ingestion.v2.IngestionV2.CommitResponse) obj; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) return false; } if (getCommitId() != other.getCommitId()) 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 (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } hash = (37 * hash) + COMMIT_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCommitId()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.CommitResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CommitResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CommitResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CommitResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CommitResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CommitResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CommitResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CommitResponse 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 cz.proto.ingestion.v2.IngestionV2.CommitResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CommitResponse 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 cz.proto.ingestion.v2.IngestionV2.CommitResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CommitResponse 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(cz.proto.ingestion.v2.IngestionV2.CommitResponse 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 cz.proto.ingestion.v2.CommitResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.CommitResponse) cz.proto.ingestion.v2.IngestionV2.CommitResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CommitResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CommitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.CommitResponse.class, cz.proto.ingestion.v2.IngestionV2.CommitResponse.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.CommitResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (statusBuilder_ == null) { status_ = null; } else { status_ = null; statusBuilder_ = null; } commitId_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CommitResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CommitResponse getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.CommitResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CommitResponse build() { cz.proto.ingestion.v2.IngestionV2.CommitResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CommitResponse buildPartial() { cz.proto.ingestion.v2.IngestionV2.CommitResponse result = new cz.proto.ingestion.v2.IngestionV2.CommitResponse(this); if (statusBuilder_ == null) { result.status_ = status_; } else { result.status_ = statusBuilder_.build(); } result.commitId_ = commitId_; 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 cz.proto.ingestion.v2.IngestionV2.CommitResponse) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.CommitResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.CommitResponse other) { if (other == cz.proto.ingestion.v2.IngestionV2.CommitResponse.getDefaultInstance()) return this; if (other.hasStatus()) { mergeStatus(other.getStatus()); } if (other.getCommitId() != 0L) { setCommitId(other.getCommitId()); } 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 { cz.proto.ingestion.v2.IngestionV2.CommitResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.CommitResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus( cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder mergeStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.v2.IngestionV2.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder>( getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } private long commitId_ ; /** *
       * unique id of this commit to be used in CheckCommitResultRequest.
       * If commit_id is 0 or not set, it means the commit already succeeded or failed.
       * 
* * int64 commit_id = 2; * @return The commitId. */ @java.lang.Override public long getCommitId() { return commitId_; } /** *
       * unique id of this commit to be used in CheckCommitResultRequest.
       * If commit_id is 0 or not set, it means the commit already succeeded or failed.
       * 
* * int64 commit_id = 2; * @param value The commitId to set. * @return This builder for chaining. */ public Builder setCommitId(long value) { commitId_ = value; onChanged(); return this; } /** *
       * unique id of this commit to be used in CheckCommitResultRequest.
       * If commit_id is 0 or not set, it means the commit already succeeded or failed.
       * 
* * int64 commit_id = 2; * @return This builder for chaining. */ public Builder clearCommitId() { commitId_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.CommitResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.CommitResponse) private static final cz.proto.ingestion.v2.IngestionV2.CommitResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.CommitResponse(); } public static cz.proto.ingestion.v2.IngestionV2.CommitResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CommitResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CommitResponse(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 cz.proto.ingestion.v2.IngestionV2.CommitResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CheckCommitResultRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.CheckCommitResultRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ cz.proto.ingestion.v2.IngestionV2.Account getAccount(); /** * .cz.proto.ingestion.v2.Account account = 1; */ cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder(); /** * int64 commit_id = 2; * @return The commitId. */ long getCommitId(); } /** * Protobuf type {@code cz.proto.ingestion.v2.CheckCommitResultRequest} */ public static final class CheckCommitResultRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.CheckCommitResultRequest) CheckCommitResultRequestOrBuilder { private static final long serialVersionUID = 0L; // Use CheckCommitResultRequest.newBuilder() to construct. private CheckCommitResultRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CheckCommitResultRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CheckCommitResultRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CheckCommitResultRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 16: { commitId_ = input.readInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CheckCommitResultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CheckCommitResultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest.class, cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.Account account_; /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.Account getAccount() { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } /** * .cz.proto.ingestion.v2.Account account = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int COMMIT_ID_FIELD_NUMBER = 2; private long commitId_; /** * int64 commit_id = 2; * @return The commitId. */ @java.lang.Override public long getCommitId() { return commitId_; } 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 (account_ != null) { output.writeMessage(1, getAccount()); } if (commitId_ != 0L) { output.writeInt64(2, commitId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAccount()); } if (commitId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, commitId_); } 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 cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest other = (cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (getCommitId() != other.getCommitId()) 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 (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } hash = (37 * hash) + COMMIT_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCommitId()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest 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 cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest 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 cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest 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(cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest 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 cz.proto.ingestion.v2.CheckCommitResultRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.CheckCommitResultRequest) cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CheckCommitResultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CheckCommitResultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest.class, cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } commitId_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CheckCommitResultRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest build() { cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest buildPartial() { cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest result = new cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest(this); if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } result.commitId_ = commitId_; 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 cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest other) { if (other == cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (other.getCommitId() != 0L) { setCommitId(other.getCommitId()); } 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 { cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.v2.IngestionV2.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder> accountBuilder_; /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ public cz.proto.ingestion.v2.IngestionV2.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder setAccount(cz.proto.ingestion.v2.IngestionV2.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder setAccount( cz.proto.ingestion.v2.IngestionV2.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder mergeAccount(cz.proto.ingestion.v2.IngestionV2.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.ingestion.v2.IngestionV2.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public cz.proto.ingestion.v2.IngestionV2.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.Account account = 1; */ public cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } } /** * .cz.proto.ingestion.v2.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private long commitId_ ; /** * int64 commit_id = 2; * @return The commitId. */ @java.lang.Override public long getCommitId() { return commitId_; } /** * int64 commit_id = 2; * @param value The commitId to set. * @return This builder for chaining. */ public Builder setCommitId(long value) { commitId_ = value; onChanged(); return this; } /** * int64 commit_id = 2; * @return This builder for chaining. */ public Builder clearCommitId() { commitId_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.CheckCommitResultRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.CheckCommitResultRequest) private static final cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest(); } public static cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CheckCommitResultRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CheckCommitResultRequest(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 cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CheckCommitResultResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.CheckCommitResultResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder(); /** * bool finished = 2; * @return The finished. */ boolean getFinished(); } /** * Protobuf type {@code cz.proto.ingestion.v2.CheckCommitResultResponse} */ public static final class CheckCommitResultResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.CheckCommitResultResponse) CheckCommitResultResponseOrBuilder { private static final long serialVersionUID = 0L; // Use CheckCommitResultResponse.newBuilder() to construct. private CheckCommitResultResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CheckCommitResultResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CheckCommitResultResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CheckCommitResultResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(status_); status_ = subBuilder.buildPartial(); } break; } case 16: { finished_ = input.readBool(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CheckCommitResultResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CheckCommitResultResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse.class, cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { return getStatus(); } public static final int FINISHED_FIELD_NUMBER = 2; private boolean finished_; /** * bool finished = 2; * @return The finished. */ @java.lang.Override public boolean getFinished() { return finished_; } 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 (status_ != null) { output.writeMessage(1, getStatus()); } if (finished_ != false) { output.writeBool(2, finished_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getStatus()); } if (finished_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, finished_); } 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 cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse other = (cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse) obj; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) return false; } if (getFinished() != other.getFinished()) 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 (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } hash = (37 * hash) + FINISHED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getFinished()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse 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 cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse 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 cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse 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(cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse 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 cz.proto.ingestion.v2.CheckCommitResultResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.CheckCommitResultResponse) cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CheckCommitResultResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CheckCommitResultResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse.class, cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (statusBuilder_ == null) { status_ = null; } else { status_ = null; statusBuilder_ = null; } finished_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_CheckCommitResultResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse build() { cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse buildPartial() { cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse result = new cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse(this); if (statusBuilder_ == null) { result.status_ = status_; } else { result.status_ = statusBuilder_.build(); } result.finished_ = finished_; 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 cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse other) { if (other == cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse.getDefaultInstance()) return this; if (other.hasStatus()) { mergeStatus(other.getStatus()); } if (other.getFinished() != false) { setFinished(other.getFinished()); } 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 { cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus( cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder mergeStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.v2.IngestionV2.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder>( getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } private boolean finished_ ; /** * bool finished = 2; * @return The finished. */ @java.lang.Override public boolean getFinished() { return finished_; } /** * bool finished = 2; * @param value The finished to set. * @return This builder for chaining. */ public Builder setFinished(boolean value) { finished_ = value; onChanged(); return this; } /** * bool finished = 2; * @return This builder for chaining. */ public Builder clearFinished() { finished_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.CheckCommitResultResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.CheckCommitResultResponse) private static final cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse(); } public static cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CheckCommitResultResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CheckCommitResultResponse(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 cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RouteRuleOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.RouteRule) com.google.protobuf.MessageOrBuilder { /** * string resource_id = 1; * @return The resourceId. */ java.lang.String getResourceId(); /** * string resource_id = 1; * @return The bytes for resourceId. */ com.google.protobuf.ByteString getResourceIdBytes(); /** *
     * IGS_STREAM = 0, CZ_WORKSPACE = 1, CZ_INSTANCE = 2
     * 
* * int64 resource_type = 2; * @return The resourceType. */ long getResourceType(); /** * string service_tag = 3; * @return The serviceTag. */ java.lang.String getServiceTag(); /** * string service_tag = 3; * @return The bytes for serviceTag. */ com.google.protobuf.ByteString getServiceTagBytes(); } /** * Protobuf type {@code cz.proto.ingestion.v2.RouteRule} */ public static final class RouteRule extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.RouteRule) RouteRuleOrBuilder { private static final long serialVersionUID = 0L; // Use RouteRule.newBuilder() to construct. private RouteRule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RouteRule() { resourceId_ = ""; serviceTag_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RouteRule(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RouteRule( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); resourceId_ = s; break; } case 16: { resourceType_ = input.readInt64(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); serviceTag_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_RouteRule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_RouteRule_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.RouteRule.class, cz.proto.ingestion.v2.IngestionV2.RouteRule.Builder.class); } public static final int RESOURCE_ID_FIELD_NUMBER = 1; private volatile java.lang.Object resourceId_; /** * string resource_id = 1; * @return The resourceId. */ @java.lang.Override public java.lang.String getResourceId() { java.lang.Object ref = resourceId_; 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(); resourceId_ = s; return s; } } /** * string resource_id = 1; * @return The bytes for resourceId. */ @java.lang.Override public com.google.protobuf.ByteString getResourceIdBytes() { java.lang.Object ref = resourceId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RESOURCE_TYPE_FIELD_NUMBER = 2; private long resourceType_; /** *
     * IGS_STREAM = 0, CZ_WORKSPACE = 1, CZ_INSTANCE = 2
     * 
* * int64 resource_type = 2; * @return The resourceType. */ @java.lang.Override public long getResourceType() { return resourceType_; } public static final int SERVICE_TAG_FIELD_NUMBER = 3; private volatile java.lang.Object serviceTag_; /** * string service_tag = 3; * @return The serviceTag. */ @java.lang.Override public java.lang.String getServiceTag() { java.lang.Object ref = serviceTag_; 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(); serviceTag_ = s; return s; } } /** * string service_tag = 3; * @return The bytes for serviceTag. */ @java.lang.Override public com.google.protobuf.ByteString getServiceTagBytes() { java.lang.Object ref = serviceTag_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serviceTag_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceId_); } if (resourceType_ != 0L) { output.writeInt64(2, resourceType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceTag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, serviceTag_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resourceId_); } if (resourceType_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, resourceType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceTag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, serviceTag_); } 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 cz.proto.ingestion.v2.IngestionV2.RouteRule)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.RouteRule other = (cz.proto.ingestion.v2.IngestionV2.RouteRule) obj; if (!getResourceId() .equals(other.getResourceId())) return false; if (getResourceType() != other.getResourceType()) return false; if (!getServiceTag() .equals(other.getServiceTag())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + RESOURCE_ID_FIELD_NUMBER; hash = (53 * hash) + getResourceId().hashCode(); hash = (37 * hash) + RESOURCE_TYPE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getResourceType()); hash = (37 * hash) + SERVICE_TAG_FIELD_NUMBER; hash = (53 * hash) + getServiceTag().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.RouteRule parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.RouteRule parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.RouteRule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.RouteRule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.RouteRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.RouteRule parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.RouteRule parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.RouteRule 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 cz.proto.ingestion.v2.IngestionV2.RouteRule parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.RouteRule 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 cz.proto.ingestion.v2.IngestionV2.RouteRule parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.RouteRule 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(cz.proto.ingestion.v2.IngestionV2.RouteRule 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 cz.proto.ingestion.v2.RouteRule} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.RouteRule) cz.proto.ingestion.v2.IngestionV2.RouteRuleOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_RouteRule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_RouteRule_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.RouteRule.class, cz.proto.ingestion.v2.IngestionV2.RouteRule.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.RouteRule.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); resourceId_ = ""; resourceType_ = 0L; serviceTag_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_RouteRule_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.RouteRule getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.RouteRule.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.RouteRule build() { cz.proto.ingestion.v2.IngestionV2.RouteRule result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.RouteRule buildPartial() { cz.proto.ingestion.v2.IngestionV2.RouteRule result = new cz.proto.ingestion.v2.IngestionV2.RouteRule(this); result.resourceId_ = resourceId_; result.resourceType_ = resourceType_; result.serviceTag_ = serviceTag_; 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 cz.proto.ingestion.v2.IngestionV2.RouteRule) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.RouteRule)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.RouteRule other) { if (other == cz.proto.ingestion.v2.IngestionV2.RouteRule.getDefaultInstance()) return this; if (!other.getResourceId().isEmpty()) { resourceId_ = other.resourceId_; onChanged(); } if (other.getResourceType() != 0L) { setResourceType(other.getResourceType()); } if (!other.getServiceTag().isEmpty()) { serviceTag_ = other.serviceTag_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.ingestion.v2.IngestionV2.RouteRule parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.RouteRule) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object resourceId_ = ""; /** * string resource_id = 1; * @return The resourceId. */ public java.lang.String getResourceId() { java.lang.Object ref = resourceId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string resource_id = 1; * @return The bytes for resourceId. */ public com.google.protobuf.ByteString getResourceIdBytes() { java.lang.Object ref = resourceId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string resource_id = 1; * @param value The resourceId to set. * @return This builder for chaining. */ public Builder setResourceId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } resourceId_ = value; onChanged(); return this; } /** * string resource_id = 1; * @return This builder for chaining. */ public Builder clearResourceId() { resourceId_ = getDefaultInstance().getResourceId(); onChanged(); return this; } /** * string resource_id = 1; * @param value The bytes for resourceId to set. * @return This builder for chaining. */ public Builder setResourceIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceId_ = value; onChanged(); return this; } private long resourceType_ ; /** *
       * IGS_STREAM = 0, CZ_WORKSPACE = 1, CZ_INSTANCE = 2
       * 
* * int64 resource_type = 2; * @return The resourceType. */ @java.lang.Override public long getResourceType() { return resourceType_; } /** *
       * IGS_STREAM = 0, CZ_WORKSPACE = 1, CZ_INSTANCE = 2
       * 
* * int64 resource_type = 2; * @param value The resourceType to set. * @return This builder for chaining. */ public Builder setResourceType(long value) { resourceType_ = value; onChanged(); return this; } /** *
       * IGS_STREAM = 0, CZ_WORKSPACE = 1, CZ_INSTANCE = 2
       * 
* * int64 resource_type = 2; * @return This builder for chaining. */ public Builder clearResourceType() { resourceType_ = 0L; onChanged(); return this; } private java.lang.Object serviceTag_ = ""; /** * string service_tag = 3; * @return The serviceTag. */ public java.lang.String getServiceTag() { java.lang.Object ref = serviceTag_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceTag_ = s; return s; } else { return (java.lang.String) ref; } } /** * string service_tag = 3; * @return The bytes for serviceTag. */ public com.google.protobuf.ByteString getServiceTagBytes() { java.lang.Object ref = serviceTag_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serviceTag_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string service_tag = 3; * @param value The serviceTag to set. * @return This builder for chaining. */ public Builder setServiceTag( java.lang.String value) { if (value == null) { throw new NullPointerException(); } serviceTag_ = value; onChanged(); return this; } /** * string service_tag = 3; * @return This builder for chaining. */ public Builder clearServiceTag() { serviceTag_ = getDefaultInstance().getServiceTag(); onChanged(); return this; } /** * string service_tag = 3; * @param value The bytes for serviceTag to set. * @return This builder for chaining. */ public Builder setServiceTagBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serviceTag_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.RouteRule) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.RouteRule) private static final cz.proto.ingestion.v2.IngestionV2.RouteRule DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.RouteRule(); } public static cz.proto.ingestion.v2.IngestionV2.RouteRule getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RouteRule parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RouteRule(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 cz.proto.ingestion.v2.IngestionV2.RouteRule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UpdateRouteRuleBroadcastRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.UpdateRouteRuleBroadcastRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.RouteRule rule = 1; * @return Whether the rule field is set. */ boolean hasRule(); /** * .cz.proto.ingestion.v2.RouteRule rule = 1; * @return The rule. */ cz.proto.ingestion.v2.IngestionV2.RouteRule getRule(); /** * .cz.proto.ingestion.v2.RouteRule rule = 1; */ cz.proto.ingestion.v2.IngestionV2.RouteRuleOrBuilder getRuleOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.v2.UpdateRouteRuleBroadcastRequest} */ public static final class UpdateRouteRuleBroadcastRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.UpdateRouteRuleBroadcastRequest) UpdateRouteRuleBroadcastRequestOrBuilder { private static final long serialVersionUID = 0L; // Use UpdateRouteRuleBroadcastRequest.newBuilder() to construct. private UpdateRouteRuleBroadcastRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UpdateRouteRuleBroadcastRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UpdateRouteRuleBroadcastRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UpdateRouteRuleBroadcastRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.RouteRule.Builder subBuilder = null; if (rule_ != null) { subBuilder = rule_.toBuilder(); } rule_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.RouteRule.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(rule_); rule_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_UpdateRouteRuleBroadcastRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_UpdateRouteRuleBroadcastRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest.class, cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest.Builder.class); } public static final int RULE_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.RouteRule rule_; /** * .cz.proto.ingestion.v2.RouteRule rule = 1; * @return Whether the rule field is set. */ @java.lang.Override public boolean hasRule() { return rule_ != null; } /** * .cz.proto.ingestion.v2.RouteRule rule = 1; * @return The rule. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.RouteRule getRule() { return rule_ == null ? cz.proto.ingestion.v2.IngestionV2.RouteRule.getDefaultInstance() : rule_; } /** * .cz.proto.ingestion.v2.RouteRule rule = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.RouteRuleOrBuilder getRuleOrBuilder() { return getRule(); } 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 (rule_ != null) { output.writeMessage(1, getRule()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (rule_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRule()); } 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 cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest other = (cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest) obj; if (hasRule() != other.hasRule()) return false; if (hasRule()) { if (!getRule() .equals(other.getRule())) 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 (hasRule()) { hash = (37 * hash) + RULE_FIELD_NUMBER; hash = (53 * hash) + getRule().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest 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 cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest 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 cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest 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(cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest 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 cz.proto.ingestion.v2.UpdateRouteRuleBroadcastRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.UpdateRouteRuleBroadcastRequest) cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_UpdateRouteRuleBroadcastRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_UpdateRouteRuleBroadcastRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest.class, cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (ruleBuilder_ == null) { rule_ = null; } else { rule_ = null; ruleBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_UpdateRouteRuleBroadcastRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest build() { cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest buildPartial() { cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest result = new cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest(this); if (ruleBuilder_ == null) { result.rule_ = rule_; } else { result.rule_ = ruleBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest other) { if (other == cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest.getDefaultInstance()) return this; if (other.hasRule()) { mergeRule(other.getRule()); } 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 { cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.v2.IngestionV2.RouteRule rule_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.RouteRule, cz.proto.ingestion.v2.IngestionV2.RouteRule.Builder, cz.proto.ingestion.v2.IngestionV2.RouteRuleOrBuilder> ruleBuilder_; /** * .cz.proto.ingestion.v2.RouteRule rule = 1; * @return Whether the rule field is set. */ public boolean hasRule() { return ruleBuilder_ != null || rule_ != null; } /** * .cz.proto.ingestion.v2.RouteRule rule = 1; * @return The rule. */ public cz.proto.ingestion.v2.IngestionV2.RouteRule getRule() { if (ruleBuilder_ == null) { return rule_ == null ? cz.proto.ingestion.v2.IngestionV2.RouteRule.getDefaultInstance() : rule_; } else { return ruleBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.RouteRule rule = 1; */ public Builder setRule(cz.proto.ingestion.v2.IngestionV2.RouteRule value) { if (ruleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } rule_ = value; onChanged(); } else { ruleBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.RouteRule rule = 1; */ public Builder setRule( cz.proto.ingestion.v2.IngestionV2.RouteRule.Builder builderForValue) { if (ruleBuilder_ == null) { rule_ = builderForValue.build(); onChanged(); } else { ruleBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.RouteRule rule = 1; */ public Builder mergeRule(cz.proto.ingestion.v2.IngestionV2.RouteRule value) { if (ruleBuilder_ == null) { if (rule_ != null) { rule_ = cz.proto.ingestion.v2.IngestionV2.RouteRule.newBuilder(rule_).mergeFrom(value).buildPartial(); } else { rule_ = value; } onChanged(); } else { ruleBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.RouteRule rule = 1; */ public Builder clearRule() { if (ruleBuilder_ == null) { rule_ = null; onChanged(); } else { rule_ = null; ruleBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.RouteRule rule = 1; */ public cz.proto.ingestion.v2.IngestionV2.RouteRule.Builder getRuleBuilder() { onChanged(); return getRuleFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.RouteRule rule = 1; */ public cz.proto.ingestion.v2.IngestionV2.RouteRuleOrBuilder getRuleOrBuilder() { if (ruleBuilder_ != null) { return ruleBuilder_.getMessageOrBuilder(); } else { return rule_ == null ? cz.proto.ingestion.v2.IngestionV2.RouteRule.getDefaultInstance() : rule_; } } /** * .cz.proto.ingestion.v2.RouteRule rule = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.RouteRule, cz.proto.ingestion.v2.IngestionV2.RouteRule.Builder, cz.proto.ingestion.v2.IngestionV2.RouteRuleOrBuilder> getRuleFieldBuilder() { if (ruleBuilder_ == null) { ruleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.RouteRule, cz.proto.ingestion.v2.IngestionV2.RouteRule.Builder, cz.proto.ingestion.v2.IngestionV2.RouteRuleOrBuilder>( getRule(), getParentForChildren(), isClean()); rule_ = null; } return ruleBuilder_; } @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:cz.proto.ingestion.v2.UpdateRouteRuleBroadcastRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.UpdateRouteRuleBroadcastRequest) private static final cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest(); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UpdateRouteRuleBroadcastRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UpdateRouteRuleBroadcastRequest(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 cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UpdateRouteRuleBroadcastResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.UpdateRouteRuleBroadcastResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.v2.UpdateRouteRuleBroadcastResponse} */ public static final class UpdateRouteRuleBroadcastResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.UpdateRouteRuleBroadcastResponse) UpdateRouteRuleBroadcastResponseOrBuilder { private static final long serialVersionUID = 0L; // Use UpdateRouteRuleBroadcastResponse.newBuilder() to construct. private UpdateRouteRuleBroadcastResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UpdateRouteRuleBroadcastResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UpdateRouteRuleBroadcastResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UpdateRouteRuleBroadcastResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(status_); status_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_UpdateRouteRuleBroadcastResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_UpdateRouteRuleBroadcastResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse.class, cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { return getStatus(); } 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 (status_ != null) { output.writeMessage(1, getStatus()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getStatus()); } 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 cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse other = (cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse) obj; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) 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 (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse 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 cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse 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 cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse 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(cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse 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 cz.proto.ingestion.v2.UpdateRouteRuleBroadcastResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.UpdateRouteRuleBroadcastResponse) cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_UpdateRouteRuleBroadcastResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_UpdateRouteRuleBroadcastResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse.class, cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (statusBuilder_ == null) { status_ = null; } else { status_ = null; statusBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_UpdateRouteRuleBroadcastResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse build() { cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse buildPartial() { cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse result = new cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse(this); if (statusBuilder_ == null) { result.status_ = status_; } else { result.status_ = statusBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse other) { if (other == cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse.getDefaultInstance()) return this; if (other.hasStatus()) { mergeStatus(other.getStatus()); } 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 { cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus( cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder mergeStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.v2.IngestionV2.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder>( getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } @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:cz.proto.ingestion.v2.UpdateRouteRuleBroadcastResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.UpdateRouteRuleBroadcastResponse) private static final cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse(); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UpdateRouteRuleBroadcastResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UpdateRouteRuleBroadcastResponse(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 cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface OperationTypeListOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.OperationTypeList) com.google.protobuf.MessageOrBuilder { /** * repeated .cz.proto.ingestion.v2.OperationType op_types = 1; * @return A list containing the opTypes. */ java.util.List getOpTypesList(); /** * repeated .cz.proto.ingestion.v2.OperationType op_types = 1; * @return The count of opTypes. */ int getOpTypesCount(); /** * repeated .cz.proto.ingestion.v2.OperationType op_types = 1; * @param index The index of the element to return. * @return The opTypes at the given index. */ cz.proto.ingestion.v2.IngestionV2.OperationType getOpTypes(int index); /** * repeated .cz.proto.ingestion.v2.OperationType op_types = 1; * @return A list containing the enum numeric values on the wire for opTypes. */ java.util.List getOpTypesValueList(); /** * repeated .cz.proto.ingestion.v2.OperationType op_types = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of opTypes at the given index. */ int getOpTypesValue(int index); } /** * Protobuf type {@code cz.proto.ingestion.v2.OperationTypeList} */ public static final class OperationTypeList extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.OperationTypeList) OperationTypeListOrBuilder { private static final long serialVersionUID = 0L; // Use OperationTypeList.newBuilder() to construct. private OperationTypeList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private OperationTypeList() { opTypes_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new OperationTypeList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private OperationTypeList( 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 8: { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { opTypes_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } opTypes_.add(rawValue); break; } case 10: { int length = input.readRawVarint32(); int oldLimit = input.pushLimit(length); while(input.getBytesUntilLimit() > 0) { int rawValue = input.readEnum(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { opTypes_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } opTypes_.add(rawValue); } input.popLimit(oldLimit); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { opTypes_ = java.util.Collections.unmodifiableList(opTypes_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_OperationTypeList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_OperationTypeList_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.OperationTypeList.class, cz.proto.ingestion.v2.IngestionV2.OperationTypeList.Builder.class); } public static final int OP_TYPES_FIELD_NUMBER = 1; private java.util.List opTypes_; private static final com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, cz.proto.ingestion.v2.IngestionV2.OperationType> opTypes_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, cz.proto.ingestion.v2.IngestionV2.OperationType>() { public cz.proto.ingestion.v2.IngestionV2.OperationType convert(java.lang.Integer from) { @SuppressWarnings("deprecation") cz.proto.ingestion.v2.IngestionV2.OperationType result = cz.proto.ingestion.v2.IngestionV2.OperationType.valueOf(from); return result == null ? cz.proto.ingestion.v2.IngestionV2.OperationType.UNRECOGNIZED : result; } }; /** * repeated .cz.proto.ingestion.v2.OperationType op_types = 1; * @return A list containing the opTypes. */ @java.lang.Override public java.util.List getOpTypesList() { return new com.google.protobuf.Internal.ListAdapter< java.lang.Integer, cz.proto.ingestion.v2.IngestionV2.OperationType>(opTypes_, opTypes_converter_); } /** * repeated .cz.proto.ingestion.v2.OperationType op_types = 1; * @return The count of opTypes. */ @java.lang.Override public int getOpTypesCount() { return opTypes_.size(); } /** * repeated .cz.proto.ingestion.v2.OperationType op_types = 1; * @param index The index of the element to return. * @return The opTypes at the given index. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.OperationType getOpTypes(int index) { return opTypes_converter_.convert(opTypes_.get(index)); } /** * repeated .cz.proto.ingestion.v2.OperationType op_types = 1; * @return A list containing the enum numeric values on the wire for opTypes. */ @java.lang.Override public java.util.List getOpTypesValueList() { return opTypes_; } /** * repeated .cz.proto.ingestion.v2.OperationType op_types = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of opTypes at the given index. */ @java.lang.Override public int getOpTypesValue(int index) { return opTypes_.get(index); } private int opTypesMemoizedSerializedSize; 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 { getSerializedSize(); if (getOpTypesList().size() > 0) { output.writeUInt32NoTag(10); output.writeUInt32NoTag(opTypesMemoizedSerializedSize); } for (int i = 0; i < opTypes_.size(); i++) { output.writeEnumNoTag(opTypes_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < opTypes_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeEnumSizeNoTag(opTypes_.get(i)); } size += dataSize; if (!getOpTypesList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(dataSize); }opTypesMemoizedSerializedSize = dataSize; } 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 cz.proto.ingestion.v2.IngestionV2.OperationTypeList)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.OperationTypeList other = (cz.proto.ingestion.v2.IngestionV2.OperationTypeList) obj; if (!opTypes_.equals(other.opTypes_)) 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 (getOpTypesCount() > 0) { hash = (37 * hash) + OP_TYPES_FIELD_NUMBER; hash = (53 * hash) + opTypes_.hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.OperationTypeList parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.OperationTypeList parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.OperationTypeList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.OperationTypeList parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.OperationTypeList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.OperationTypeList parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.OperationTypeList parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.OperationTypeList 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 cz.proto.ingestion.v2.IngestionV2.OperationTypeList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.OperationTypeList 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 cz.proto.ingestion.v2.IngestionV2.OperationTypeList parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.OperationTypeList 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(cz.proto.ingestion.v2.IngestionV2.OperationTypeList 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 cz.proto.ingestion.v2.OperationTypeList} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.OperationTypeList) cz.proto.ingestion.v2.IngestionV2.OperationTypeListOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_OperationTypeList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_OperationTypeList_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.OperationTypeList.class, cz.proto.ingestion.v2.IngestionV2.OperationTypeList.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.OperationTypeList.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); opTypes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_OperationTypeList_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.OperationTypeList getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.OperationTypeList.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.OperationTypeList build() { cz.proto.ingestion.v2.IngestionV2.OperationTypeList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.OperationTypeList buildPartial() { cz.proto.ingestion.v2.IngestionV2.OperationTypeList result = new cz.proto.ingestion.v2.IngestionV2.OperationTypeList(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { opTypes_ = java.util.Collections.unmodifiableList(opTypes_); bitField0_ = (bitField0_ & ~0x00000001); } result.opTypes_ = opTypes_; 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 cz.proto.ingestion.v2.IngestionV2.OperationTypeList) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.OperationTypeList)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.OperationTypeList other) { if (other == cz.proto.ingestion.v2.IngestionV2.OperationTypeList.getDefaultInstance()) return this; if (!other.opTypes_.isEmpty()) { if (opTypes_.isEmpty()) { opTypes_ = other.opTypes_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureOpTypesIsMutable(); opTypes_.addAll(other.opTypes_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.ingestion.v2.IngestionV2.OperationTypeList parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.OperationTypeList) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List opTypes_ = java.util.Collections.emptyList(); private void ensureOpTypesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { opTypes_ = new java.util.ArrayList(opTypes_); bitField0_ |= 0x00000001; } } /** * repeated .cz.proto.ingestion.v2.OperationType op_types = 1; * @return A list containing the opTypes. */ public java.util.List getOpTypesList() { return new com.google.protobuf.Internal.ListAdapter< java.lang.Integer, cz.proto.ingestion.v2.IngestionV2.OperationType>(opTypes_, opTypes_converter_); } /** * repeated .cz.proto.ingestion.v2.OperationType op_types = 1; * @return The count of opTypes. */ public int getOpTypesCount() { return opTypes_.size(); } /** * repeated .cz.proto.ingestion.v2.OperationType op_types = 1; * @param index The index of the element to return. * @return The opTypes at the given index. */ public cz.proto.ingestion.v2.IngestionV2.OperationType getOpTypes(int index) { return opTypes_converter_.convert(opTypes_.get(index)); } /** * repeated .cz.proto.ingestion.v2.OperationType op_types = 1; * @param index The index to set the value at. * @param value The opTypes to set. * @return This builder for chaining. */ public Builder setOpTypes( int index, cz.proto.ingestion.v2.IngestionV2.OperationType value) { if (value == null) { throw new NullPointerException(); } ensureOpTypesIsMutable(); opTypes_.set(index, value.getNumber()); onChanged(); return this; } /** * repeated .cz.proto.ingestion.v2.OperationType op_types = 1; * @param value The opTypes to add. * @return This builder for chaining. */ public Builder addOpTypes(cz.proto.ingestion.v2.IngestionV2.OperationType value) { if (value == null) { throw new NullPointerException(); } ensureOpTypesIsMutable(); opTypes_.add(value.getNumber()); onChanged(); return this; } /** * repeated .cz.proto.ingestion.v2.OperationType op_types = 1; * @param values The opTypes to add. * @return This builder for chaining. */ public Builder addAllOpTypes( java.lang.Iterable values) { ensureOpTypesIsMutable(); for (cz.proto.ingestion.v2.IngestionV2.OperationType value : values) { opTypes_.add(value.getNumber()); } onChanged(); return this; } /** * repeated .cz.proto.ingestion.v2.OperationType op_types = 1; * @return This builder for chaining. */ public Builder clearOpTypes() { opTypes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated .cz.proto.ingestion.v2.OperationType op_types = 1; * @return A list containing the enum numeric values on the wire for opTypes. */ public java.util.List getOpTypesValueList() { return java.util.Collections.unmodifiableList(opTypes_); } /** * repeated .cz.proto.ingestion.v2.OperationType op_types = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of opTypes at the given index. */ public int getOpTypesValue(int index) { return opTypes_.get(index); } /** * repeated .cz.proto.ingestion.v2.OperationType op_types = 1; * @param index The index of the value to return. * @return The enum numeric value on the wire of opTypes at the given index. * @return This builder for chaining. */ public Builder setOpTypesValue( int index, int value) { ensureOpTypesIsMutable(); opTypes_.set(index, value); onChanged(); return this; } /** * repeated .cz.proto.ingestion.v2.OperationType op_types = 1; * @param value The enum numeric value on the wire for opTypes to add. * @return This builder for chaining. */ public Builder addOpTypesValue(int value) { ensureOpTypesIsMutable(); opTypes_.add(value); onChanged(); return this; } /** * repeated .cz.proto.ingestion.v2.OperationType op_types = 1; * @param values The enum numeric values on the wire for opTypes to add. * @return This builder for chaining. */ public Builder addAllOpTypesValue( java.lang.Iterable values) { ensureOpTypesIsMutable(); for (int value : values) { opTypes_.add(value); } onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.OperationTypeList) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.OperationTypeList) private static final cz.proto.ingestion.v2.IngestionV2.OperationTypeList DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.OperationTypeList(); } public static cz.proto.ingestion.v2.IngestionV2.OperationTypeList getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public OperationTypeList parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new OperationTypeList(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 cz.proto.ingestion.v2.IngestionV2.OperationTypeList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DataBlockOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.DataBlock) com.google.protobuf.MessageOrBuilder { /** * bytes arrow_payload = 1; * @return The arrowPayload. */ com.google.protobuf.ByteString getArrowPayload(); /** *
     * optional, (rows * cols) bits
     * 
* * bytes is_set_bitmaps_payload = 2; * @return The isSetBitmapsPayload. */ com.google.protobuf.ByteString getIsSetBitmapsPayload(); /** * .cz.proto.ingestion.v2.OperationTypeList row_op_type_list = 3; * @return Whether the rowOpTypeList field is set. */ boolean hasRowOpTypeList(); /** * .cz.proto.ingestion.v2.OperationTypeList row_op_type_list = 3; * @return The rowOpTypeList. */ cz.proto.ingestion.v2.IngestionV2.OperationTypeList getRowOpTypeList(); /** * .cz.proto.ingestion.v2.OperationTypeList row_op_type_list = 3; */ cz.proto.ingestion.v2.IngestionV2.OperationTypeListOrBuilder getRowOpTypeListOrBuilder(); /** * .cz.proto.ingestion.v2.OperationType block_op_type = 4; * @return Whether the blockOpType field is set. */ boolean hasBlockOpType(); /** * .cz.proto.ingestion.v2.OperationType block_op_type = 4; * @return The enum numeric value on the wire for blockOpType. */ int getBlockOpTypeValue(); /** * .cz.proto.ingestion.v2.OperationType block_op_type = 4; * @return The blockOpType. */ cz.proto.ingestion.v2.IngestionV2.OperationType getBlockOpType(); /** *
     * data block row count
     * 
* * uint32 num_rows = 5; * @return The numRows. */ int getNumRows(); public cz.proto.ingestion.v2.IngestionV2.DataBlock.OpTypeInfoCase getOpTypeInfoCase(); } /** * Protobuf type {@code cz.proto.ingestion.v2.DataBlock} */ public static final class DataBlock extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.DataBlock) DataBlockOrBuilder { private static final long serialVersionUID = 0L; // Use DataBlock.newBuilder() to construct. private DataBlock(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DataBlock() { arrowPayload_ = com.google.protobuf.ByteString.EMPTY; isSetBitmapsPayload_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DataBlock(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DataBlock( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { arrowPayload_ = input.readBytes(); break; } case 18: { isSetBitmapsPayload_ = input.readBytes(); break; } case 26: { cz.proto.ingestion.v2.IngestionV2.OperationTypeList.Builder subBuilder = null; if (opTypeInfoCase_ == 3) { subBuilder = ((cz.proto.ingestion.v2.IngestionV2.OperationTypeList) opTypeInfo_).toBuilder(); } opTypeInfo_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.OperationTypeList.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.ingestion.v2.IngestionV2.OperationTypeList) opTypeInfo_); opTypeInfo_ = subBuilder.buildPartial(); } opTypeInfoCase_ = 3; break; } case 32: { int rawValue = input.readEnum(); opTypeInfoCase_ = 4; opTypeInfo_ = rawValue; break; } case 40: { numRows_ = input.readUInt32(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_DataBlock_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_DataBlock_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.DataBlock.class, cz.proto.ingestion.v2.IngestionV2.DataBlock.Builder.class); } private int opTypeInfoCase_ = 0; private java.lang.Object opTypeInfo_; public enum OpTypeInfoCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ROW_OP_TYPE_LIST(3), BLOCK_OP_TYPE(4), OPTYPEINFO_NOT_SET(0); private final int value; private OpTypeInfoCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static OpTypeInfoCase valueOf(int value) { return forNumber(value); } public static OpTypeInfoCase forNumber(int value) { switch (value) { case 3: return ROW_OP_TYPE_LIST; case 4: return BLOCK_OP_TYPE; case 0: return OPTYPEINFO_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public OpTypeInfoCase getOpTypeInfoCase() { return OpTypeInfoCase.forNumber( opTypeInfoCase_); } public static final int ARROW_PAYLOAD_FIELD_NUMBER = 1; private com.google.protobuf.ByteString arrowPayload_; /** * bytes arrow_payload = 1; * @return The arrowPayload. */ @java.lang.Override public com.google.protobuf.ByteString getArrowPayload() { return arrowPayload_; } public static final int IS_SET_BITMAPS_PAYLOAD_FIELD_NUMBER = 2; private com.google.protobuf.ByteString isSetBitmapsPayload_; /** *
     * optional, (rows * cols) bits
     * 
* * bytes is_set_bitmaps_payload = 2; * @return The isSetBitmapsPayload. */ @java.lang.Override public com.google.protobuf.ByteString getIsSetBitmapsPayload() { return isSetBitmapsPayload_; } public static final int ROW_OP_TYPE_LIST_FIELD_NUMBER = 3; /** * .cz.proto.ingestion.v2.OperationTypeList row_op_type_list = 3; * @return Whether the rowOpTypeList field is set. */ @java.lang.Override public boolean hasRowOpTypeList() { return opTypeInfoCase_ == 3; } /** * .cz.proto.ingestion.v2.OperationTypeList row_op_type_list = 3; * @return The rowOpTypeList. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.OperationTypeList getRowOpTypeList() { if (opTypeInfoCase_ == 3) { return (cz.proto.ingestion.v2.IngestionV2.OperationTypeList) opTypeInfo_; } return cz.proto.ingestion.v2.IngestionV2.OperationTypeList.getDefaultInstance(); } /** * .cz.proto.ingestion.v2.OperationTypeList row_op_type_list = 3; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.OperationTypeListOrBuilder getRowOpTypeListOrBuilder() { if (opTypeInfoCase_ == 3) { return (cz.proto.ingestion.v2.IngestionV2.OperationTypeList) opTypeInfo_; } return cz.proto.ingestion.v2.IngestionV2.OperationTypeList.getDefaultInstance(); } public static final int BLOCK_OP_TYPE_FIELD_NUMBER = 4; /** * .cz.proto.ingestion.v2.OperationType block_op_type = 4; * @return Whether the blockOpType field is set. */ public boolean hasBlockOpType() { return opTypeInfoCase_ == 4; } /** * .cz.proto.ingestion.v2.OperationType block_op_type = 4; * @return The enum numeric value on the wire for blockOpType. */ public int getBlockOpTypeValue() { if (opTypeInfoCase_ == 4) { return (java.lang.Integer) opTypeInfo_; } return 0; } /** * .cz.proto.ingestion.v2.OperationType block_op_type = 4; * @return The blockOpType. */ public cz.proto.ingestion.v2.IngestionV2.OperationType getBlockOpType() { if (opTypeInfoCase_ == 4) { @SuppressWarnings("deprecation") cz.proto.ingestion.v2.IngestionV2.OperationType result = cz.proto.ingestion.v2.IngestionV2.OperationType.valueOf( (java.lang.Integer) opTypeInfo_); return result == null ? cz.proto.ingestion.v2.IngestionV2.OperationType.UNRECOGNIZED : result; } return cz.proto.ingestion.v2.IngestionV2.OperationType.UNKNOWN; } public static final int NUM_ROWS_FIELD_NUMBER = 5; private int numRows_; /** *
     * data block row count
     * 
* * uint32 num_rows = 5; * @return The numRows. */ @java.lang.Override public int getNumRows() { return numRows_; } 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 (!arrowPayload_.isEmpty()) { output.writeBytes(1, arrowPayload_); } if (!isSetBitmapsPayload_.isEmpty()) { output.writeBytes(2, isSetBitmapsPayload_); } if (opTypeInfoCase_ == 3) { output.writeMessage(3, (cz.proto.ingestion.v2.IngestionV2.OperationTypeList) opTypeInfo_); } if (opTypeInfoCase_ == 4) { output.writeEnum(4, ((java.lang.Integer) opTypeInfo_)); } if (numRows_ != 0) { output.writeUInt32(5, numRows_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!arrowPayload_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, arrowPayload_); } if (!isSetBitmapsPayload_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, isSetBitmapsPayload_); } if (opTypeInfoCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (cz.proto.ingestion.v2.IngestionV2.OperationTypeList) opTypeInfo_); } if (opTypeInfoCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, ((java.lang.Integer) opTypeInfo_)); } if (numRows_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(5, numRows_); } 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 cz.proto.ingestion.v2.IngestionV2.DataBlock)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.DataBlock other = (cz.proto.ingestion.v2.IngestionV2.DataBlock) obj; if (!getArrowPayload() .equals(other.getArrowPayload())) return false; if (!getIsSetBitmapsPayload() .equals(other.getIsSetBitmapsPayload())) return false; if (getNumRows() != other.getNumRows()) return false; if (!getOpTypeInfoCase().equals(other.getOpTypeInfoCase())) return false; switch (opTypeInfoCase_) { case 3: if (!getRowOpTypeList() .equals(other.getRowOpTypeList())) return false; break; case 4: if (getBlockOpTypeValue() != other.getBlockOpTypeValue()) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ARROW_PAYLOAD_FIELD_NUMBER; hash = (53 * hash) + getArrowPayload().hashCode(); hash = (37 * hash) + IS_SET_BITMAPS_PAYLOAD_FIELD_NUMBER; hash = (53 * hash) + getIsSetBitmapsPayload().hashCode(); hash = (37 * hash) + NUM_ROWS_FIELD_NUMBER; hash = (53 * hash) + getNumRows(); switch (opTypeInfoCase_) { case 3: hash = (37 * hash) + ROW_OP_TYPE_LIST_FIELD_NUMBER; hash = (53 * hash) + getRowOpTypeList().hashCode(); break; case 4: hash = (37 * hash) + BLOCK_OP_TYPE_FIELD_NUMBER; hash = (53 * hash) + getBlockOpTypeValue(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.DataBlock parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.DataBlock parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.DataBlock parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.DataBlock parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.DataBlock parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.DataBlock parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.DataBlock parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.DataBlock 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 cz.proto.ingestion.v2.IngestionV2.DataBlock parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.DataBlock 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 cz.proto.ingestion.v2.IngestionV2.DataBlock parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.DataBlock 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(cz.proto.ingestion.v2.IngestionV2.DataBlock 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 cz.proto.ingestion.v2.DataBlock} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.DataBlock) cz.proto.ingestion.v2.IngestionV2.DataBlockOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_DataBlock_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_DataBlock_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.DataBlock.class, cz.proto.ingestion.v2.IngestionV2.DataBlock.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.DataBlock.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); arrowPayload_ = com.google.protobuf.ByteString.EMPTY; isSetBitmapsPayload_ = com.google.protobuf.ByteString.EMPTY; numRows_ = 0; opTypeInfoCase_ = 0; opTypeInfo_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_DataBlock_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.DataBlock getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.DataBlock.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.DataBlock build() { cz.proto.ingestion.v2.IngestionV2.DataBlock result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.DataBlock buildPartial() { cz.proto.ingestion.v2.IngestionV2.DataBlock result = new cz.proto.ingestion.v2.IngestionV2.DataBlock(this); result.arrowPayload_ = arrowPayload_; result.isSetBitmapsPayload_ = isSetBitmapsPayload_; if (opTypeInfoCase_ == 3) { if (rowOpTypeListBuilder_ == null) { result.opTypeInfo_ = opTypeInfo_; } else { result.opTypeInfo_ = rowOpTypeListBuilder_.build(); } } if (opTypeInfoCase_ == 4) { result.opTypeInfo_ = opTypeInfo_; } result.numRows_ = numRows_; result.opTypeInfoCase_ = opTypeInfoCase_; 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 cz.proto.ingestion.v2.IngestionV2.DataBlock) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.DataBlock)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.DataBlock other) { if (other == cz.proto.ingestion.v2.IngestionV2.DataBlock.getDefaultInstance()) return this; if (other.getArrowPayload() != com.google.protobuf.ByteString.EMPTY) { setArrowPayload(other.getArrowPayload()); } if (other.getIsSetBitmapsPayload() != com.google.protobuf.ByteString.EMPTY) { setIsSetBitmapsPayload(other.getIsSetBitmapsPayload()); } if (other.getNumRows() != 0) { setNumRows(other.getNumRows()); } switch (other.getOpTypeInfoCase()) { case ROW_OP_TYPE_LIST: { mergeRowOpTypeList(other.getRowOpTypeList()); break; } case BLOCK_OP_TYPE: { setBlockOpTypeValue(other.getBlockOpTypeValue()); break; } case OPTYPEINFO_NOT_SET: { break; } } 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 { cz.proto.ingestion.v2.IngestionV2.DataBlock parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.DataBlock) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int opTypeInfoCase_ = 0; private java.lang.Object opTypeInfo_; public OpTypeInfoCase getOpTypeInfoCase() { return OpTypeInfoCase.forNumber( opTypeInfoCase_); } public Builder clearOpTypeInfo() { opTypeInfoCase_ = 0; opTypeInfo_ = null; onChanged(); return this; } private com.google.protobuf.ByteString arrowPayload_ = com.google.protobuf.ByteString.EMPTY; /** * bytes arrow_payload = 1; * @return The arrowPayload. */ @java.lang.Override public com.google.protobuf.ByteString getArrowPayload() { return arrowPayload_; } /** * bytes arrow_payload = 1; * @param value The arrowPayload to set. * @return This builder for chaining. */ public Builder setArrowPayload(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } arrowPayload_ = value; onChanged(); return this; } /** * bytes arrow_payload = 1; * @return This builder for chaining. */ public Builder clearArrowPayload() { arrowPayload_ = getDefaultInstance().getArrowPayload(); onChanged(); return this; } private com.google.protobuf.ByteString isSetBitmapsPayload_ = com.google.protobuf.ByteString.EMPTY; /** *
       * optional, (rows * cols) bits
       * 
* * bytes is_set_bitmaps_payload = 2; * @return The isSetBitmapsPayload. */ @java.lang.Override public com.google.protobuf.ByteString getIsSetBitmapsPayload() { return isSetBitmapsPayload_; } /** *
       * optional, (rows * cols) bits
       * 
* * bytes is_set_bitmaps_payload = 2; * @param value The isSetBitmapsPayload to set. * @return This builder for chaining. */ public Builder setIsSetBitmapsPayload(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } isSetBitmapsPayload_ = value; onChanged(); return this; } /** *
       * optional, (rows * cols) bits
       * 
* * bytes is_set_bitmaps_payload = 2; * @return This builder for chaining. */ public Builder clearIsSetBitmapsPayload() { isSetBitmapsPayload_ = getDefaultInstance().getIsSetBitmapsPayload(); onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.OperationTypeList, cz.proto.ingestion.v2.IngestionV2.OperationTypeList.Builder, cz.proto.ingestion.v2.IngestionV2.OperationTypeListOrBuilder> rowOpTypeListBuilder_; /** * .cz.proto.ingestion.v2.OperationTypeList row_op_type_list = 3; * @return Whether the rowOpTypeList field is set. */ @java.lang.Override public boolean hasRowOpTypeList() { return opTypeInfoCase_ == 3; } /** * .cz.proto.ingestion.v2.OperationTypeList row_op_type_list = 3; * @return The rowOpTypeList. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.OperationTypeList getRowOpTypeList() { if (rowOpTypeListBuilder_ == null) { if (opTypeInfoCase_ == 3) { return (cz.proto.ingestion.v2.IngestionV2.OperationTypeList) opTypeInfo_; } return cz.proto.ingestion.v2.IngestionV2.OperationTypeList.getDefaultInstance(); } else { if (opTypeInfoCase_ == 3) { return rowOpTypeListBuilder_.getMessage(); } return cz.proto.ingestion.v2.IngestionV2.OperationTypeList.getDefaultInstance(); } } /** * .cz.proto.ingestion.v2.OperationTypeList row_op_type_list = 3; */ public Builder setRowOpTypeList(cz.proto.ingestion.v2.IngestionV2.OperationTypeList value) { if (rowOpTypeListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } opTypeInfo_ = value; onChanged(); } else { rowOpTypeListBuilder_.setMessage(value); } opTypeInfoCase_ = 3; return this; } /** * .cz.proto.ingestion.v2.OperationTypeList row_op_type_list = 3; */ public Builder setRowOpTypeList( cz.proto.ingestion.v2.IngestionV2.OperationTypeList.Builder builderForValue) { if (rowOpTypeListBuilder_ == null) { opTypeInfo_ = builderForValue.build(); onChanged(); } else { rowOpTypeListBuilder_.setMessage(builderForValue.build()); } opTypeInfoCase_ = 3; return this; } /** * .cz.proto.ingestion.v2.OperationTypeList row_op_type_list = 3; */ public Builder mergeRowOpTypeList(cz.proto.ingestion.v2.IngestionV2.OperationTypeList value) { if (rowOpTypeListBuilder_ == null) { if (opTypeInfoCase_ == 3 && opTypeInfo_ != cz.proto.ingestion.v2.IngestionV2.OperationTypeList.getDefaultInstance()) { opTypeInfo_ = cz.proto.ingestion.v2.IngestionV2.OperationTypeList.newBuilder((cz.proto.ingestion.v2.IngestionV2.OperationTypeList) opTypeInfo_) .mergeFrom(value).buildPartial(); } else { opTypeInfo_ = value; } onChanged(); } else { if (opTypeInfoCase_ == 3) { rowOpTypeListBuilder_.mergeFrom(value); } rowOpTypeListBuilder_.setMessage(value); } opTypeInfoCase_ = 3; return this; } /** * .cz.proto.ingestion.v2.OperationTypeList row_op_type_list = 3; */ public Builder clearRowOpTypeList() { if (rowOpTypeListBuilder_ == null) { if (opTypeInfoCase_ == 3) { opTypeInfoCase_ = 0; opTypeInfo_ = null; onChanged(); } } else { if (opTypeInfoCase_ == 3) { opTypeInfoCase_ = 0; opTypeInfo_ = null; } rowOpTypeListBuilder_.clear(); } return this; } /** * .cz.proto.ingestion.v2.OperationTypeList row_op_type_list = 3; */ public cz.proto.ingestion.v2.IngestionV2.OperationTypeList.Builder getRowOpTypeListBuilder() { return getRowOpTypeListFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.OperationTypeList row_op_type_list = 3; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.OperationTypeListOrBuilder getRowOpTypeListOrBuilder() { if ((opTypeInfoCase_ == 3) && (rowOpTypeListBuilder_ != null)) { return rowOpTypeListBuilder_.getMessageOrBuilder(); } else { if (opTypeInfoCase_ == 3) { return (cz.proto.ingestion.v2.IngestionV2.OperationTypeList) opTypeInfo_; } return cz.proto.ingestion.v2.IngestionV2.OperationTypeList.getDefaultInstance(); } } /** * .cz.proto.ingestion.v2.OperationTypeList row_op_type_list = 3; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.OperationTypeList, cz.proto.ingestion.v2.IngestionV2.OperationTypeList.Builder, cz.proto.ingestion.v2.IngestionV2.OperationTypeListOrBuilder> getRowOpTypeListFieldBuilder() { if (rowOpTypeListBuilder_ == null) { if (!(opTypeInfoCase_ == 3)) { opTypeInfo_ = cz.proto.ingestion.v2.IngestionV2.OperationTypeList.getDefaultInstance(); } rowOpTypeListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.OperationTypeList, cz.proto.ingestion.v2.IngestionV2.OperationTypeList.Builder, cz.proto.ingestion.v2.IngestionV2.OperationTypeListOrBuilder>( (cz.proto.ingestion.v2.IngestionV2.OperationTypeList) opTypeInfo_, getParentForChildren(), isClean()); opTypeInfo_ = null; } opTypeInfoCase_ = 3; onChanged();; return rowOpTypeListBuilder_; } /** * .cz.proto.ingestion.v2.OperationType block_op_type = 4; * @return Whether the blockOpType field is set. */ @java.lang.Override public boolean hasBlockOpType() { return opTypeInfoCase_ == 4; } /** * .cz.proto.ingestion.v2.OperationType block_op_type = 4; * @return The enum numeric value on the wire for blockOpType. */ @java.lang.Override public int getBlockOpTypeValue() { if (opTypeInfoCase_ == 4) { return ((java.lang.Integer) opTypeInfo_).intValue(); } return 0; } /** * .cz.proto.ingestion.v2.OperationType block_op_type = 4; * @param value The enum numeric value on the wire for blockOpType to set. * @return This builder for chaining. */ public Builder setBlockOpTypeValue(int value) { opTypeInfoCase_ = 4; opTypeInfo_ = value; onChanged(); return this; } /** * .cz.proto.ingestion.v2.OperationType block_op_type = 4; * @return The blockOpType. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.OperationType getBlockOpType() { if (opTypeInfoCase_ == 4) { @SuppressWarnings("deprecation") cz.proto.ingestion.v2.IngestionV2.OperationType result = cz.proto.ingestion.v2.IngestionV2.OperationType.valueOf( (java.lang.Integer) opTypeInfo_); return result == null ? cz.proto.ingestion.v2.IngestionV2.OperationType.UNRECOGNIZED : result; } return cz.proto.ingestion.v2.IngestionV2.OperationType.UNKNOWN; } /** * .cz.proto.ingestion.v2.OperationType block_op_type = 4; * @param value The blockOpType to set. * @return This builder for chaining. */ public Builder setBlockOpType(cz.proto.ingestion.v2.IngestionV2.OperationType value) { if (value == null) { throw new NullPointerException(); } opTypeInfoCase_ = 4; opTypeInfo_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.ingestion.v2.OperationType block_op_type = 4; * @return This builder for chaining. */ public Builder clearBlockOpType() { if (opTypeInfoCase_ == 4) { opTypeInfoCase_ = 0; opTypeInfo_ = null; onChanged(); } return this; } private int numRows_ ; /** *
       * data block row count
       * 
* * uint32 num_rows = 5; * @return The numRows. */ @java.lang.Override public int getNumRows() { return numRows_; } /** *
       * data block row count
       * 
* * uint32 num_rows = 5; * @param value The numRows to set. * @return This builder for chaining. */ public Builder setNumRows(int value) { numRows_ = value; onChanged(); return this; } /** *
       * data block row count
       * 
* * uint32 num_rows = 5; * @return This builder for chaining. */ public Builder clearNumRows() { numRows_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.DataBlock) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.DataBlock) private static final cz.proto.ingestion.v2.IngestionV2.DataBlock DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.DataBlock(); } public static cz.proto.ingestion.v2.IngestionV2.DataBlock getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DataBlock parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DataBlock(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 cz.proto.ingestion.v2.IngestionV2.DataBlock getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MutateRowStatusOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.MutateRowStatus) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.Code code = 1; * @return The enum numeric value on the wire for code. */ int getCodeValue(); /** * .cz.proto.ingestion.v2.Code code = 1; * @return The code. */ cz.proto.ingestion.v2.IngestionV2.Code getCode(); /** * string error_message = 2; * @return The errorMessage. */ java.lang.String getErrorMessage(); /** * string error_message = 2; * @return The bytes for errorMessage. */ com.google.protobuf.ByteString getErrorMessageBytes(); /** * int32 row_index = 3; * @return The rowIndex. */ int getRowIndex(); } /** * Protobuf type {@code cz.proto.ingestion.v2.MutateRowStatus} */ public static final class MutateRowStatus extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.MutateRowStatus) MutateRowStatusOrBuilder { private static final long serialVersionUID = 0L; // Use MutateRowStatus.newBuilder() to construct. private MutateRowStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MutateRowStatus() { code_ = 0; errorMessage_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MutateRowStatus(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MutateRowStatus( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { int rawValue = input.readEnum(); code_ = rawValue; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); errorMessage_ = s; break; } case 24: { rowIndex_ = input.readInt32(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_MutateRowStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_MutateRowStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.MutateRowStatus.class, cz.proto.ingestion.v2.IngestionV2.MutateRowStatus.Builder.class); } public static final int CODE_FIELD_NUMBER = 1; private int code_; /** * .cz.proto.ingestion.v2.Code code = 1; * @return The enum numeric value on the wire for code. */ @java.lang.Override public int getCodeValue() { return code_; } /** * .cz.proto.ingestion.v2.Code code = 1; * @return The code. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.Code getCode() { @SuppressWarnings("deprecation") cz.proto.ingestion.v2.IngestionV2.Code result = cz.proto.ingestion.v2.IngestionV2.Code.valueOf(code_); return result == null ? cz.proto.ingestion.v2.IngestionV2.Code.UNRECOGNIZED : result; } public static final int ERROR_MESSAGE_FIELD_NUMBER = 2; private volatile java.lang.Object errorMessage_; /** * string error_message = 2; * @return The errorMessage. */ @java.lang.Override public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; 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(); errorMessage_ = s; return s; } } /** * string error_message = 2; * @return The bytes for errorMessage. */ @java.lang.Override public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ROW_INDEX_FIELD_NUMBER = 3; private int rowIndex_; /** * int32 row_index = 3; * @return The rowIndex. */ @java.lang.Override public int getRowIndex() { return rowIndex_; } 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 (code_ != cz.proto.ingestion.v2.IngestionV2.Code.SUCCESS.getNumber()) { output.writeEnum(1, code_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, errorMessage_); } if (rowIndex_ != 0) { output.writeInt32(3, rowIndex_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (code_ != cz.proto.ingestion.v2.IngestionV2.Code.SUCCESS.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, code_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, errorMessage_); } if (rowIndex_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, rowIndex_); } 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 cz.proto.ingestion.v2.IngestionV2.MutateRowStatus)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.MutateRowStatus other = (cz.proto.ingestion.v2.IngestionV2.MutateRowStatus) obj; if (code_ != other.code_) return false; if (!getErrorMessage() .equals(other.getErrorMessage())) return false; if (getRowIndex() != other.getRowIndex()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CODE_FIELD_NUMBER; hash = (53 * hash) + code_; hash = (37 * hash) + ERROR_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getErrorMessage().hashCode(); hash = (37 * hash) + ROW_INDEX_FIELD_NUMBER; hash = (53 * hash) + getRowIndex(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.MutateRowStatus parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.MutateRowStatus parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.MutateRowStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.MutateRowStatus parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.MutateRowStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.MutateRowStatus parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.MutateRowStatus parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.MutateRowStatus 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 cz.proto.ingestion.v2.IngestionV2.MutateRowStatus parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.MutateRowStatus 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 cz.proto.ingestion.v2.IngestionV2.MutateRowStatus parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.MutateRowStatus 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(cz.proto.ingestion.v2.IngestionV2.MutateRowStatus 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 cz.proto.ingestion.v2.MutateRowStatus} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.MutateRowStatus) cz.proto.ingestion.v2.IngestionV2.MutateRowStatusOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_MutateRowStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_MutateRowStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.MutateRowStatus.class, cz.proto.ingestion.v2.IngestionV2.MutateRowStatus.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.MutateRowStatus.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); code_ = 0; errorMessage_ = ""; rowIndex_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_MutateRowStatus_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.MutateRowStatus getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.MutateRowStatus.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.MutateRowStatus build() { cz.proto.ingestion.v2.IngestionV2.MutateRowStatus result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.MutateRowStatus buildPartial() { cz.proto.ingestion.v2.IngestionV2.MutateRowStatus result = new cz.proto.ingestion.v2.IngestionV2.MutateRowStatus(this); result.code_ = code_; result.errorMessage_ = errorMessage_; result.rowIndex_ = rowIndex_; 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 cz.proto.ingestion.v2.IngestionV2.MutateRowStatus) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.MutateRowStatus)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.MutateRowStatus other) { if (other == cz.proto.ingestion.v2.IngestionV2.MutateRowStatus.getDefaultInstance()) return this; if (other.code_ != 0) { setCodeValue(other.getCodeValue()); } if (!other.getErrorMessage().isEmpty()) { errorMessage_ = other.errorMessage_; onChanged(); } if (other.getRowIndex() != 0) { setRowIndex(other.getRowIndex()); } 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 { cz.proto.ingestion.v2.IngestionV2.MutateRowStatus parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.MutateRowStatus) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int code_ = 0; /** * .cz.proto.ingestion.v2.Code code = 1; * @return The enum numeric value on the wire for code. */ @java.lang.Override public int getCodeValue() { return code_; } /** * .cz.proto.ingestion.v2.Code code = 1; * @param value The enum numeric value on the wire for code to set. * @return This builder for chaining. */ public Builder setCodeValue(int value) { code_ = value; onChanged(); return this; } /** * .cz.proto.ingestion.v2.Code code = 1; * @return The code. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.Code getCode() { @SuppressWarnings("deprecation") cz.proto.ingestion.v2.IngestionV2.Code result = cz.proto.ingestion.v2.IngestionV2.Code.valueOf(code_); return result == null ? cz.proto.ingestion.v2.IngestionV2.Code.UNRECOGNIZED : result; } /** * .cz.proto.ingestion.v2.Code code = 1; * @param value The code to set. * @return This builder for chaining. */ public Builder setCode(cz.proto.ingestion.v2.IngestionV2.Code value) { if (value == null) { throw new NullPointerException(); } code_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.ingestion.v2.Code code = 1; * @return This builder for chaining. */ public Builder clearCode() { code_ = 0; onChanged(); return this; } private java.lang.Object errorMessage_ = ""; /** * string error_message = 2; * @return The errorMessage. */ public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; } else { return (java.lang.String) ref; } } /** * string error_message = 2; * @return The bytes for errorMessage. */ public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string error_message = 2; * @param value The errorMessage to set. * @return This builder for chaining. */ public Builder setErrorMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } errorMessage_ = value; onChanged(); return this; } /** * string error_message = 2; * @return This builder for chaining. */ public Builder clearErrorMessage() { errorMessage_ = getDefaultInstance().getErrorMessage(); onChanged(); return this; } /** * string error_message = 2; * @param value The bytes for errorMessage to set. * @return This builder for chaining. */ public Builder setErrorMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); errorMessage_ = value; onChanged(); return this; } private int rowIndex_ ; /** * int32 row_index = 3; * @return The rowIndex. */ @java.lang.Override public int getRowIndex() { return rowIndex_; } /** * int32 row_index = 3; * @param value The rowIndex to set. * @return This builder for chaining. */ public Builder setRowIndex(int value) { rowIndex_ = value; onChanged(); return this; } /** * int32 row_index = 3; * @return This builder for chaining. */ public Builder clearRowIndex() { rowIndex_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.MutateRowStatus) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.MutateRowStatus) private static final cz.proto.ingestion.v2.IngestionV2.MutateRowStatus DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.MutateRowStatus(); } public static cz.proto.ingestion.v2.IngestionV2.MutateRowStatus getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MutateRowStatus parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MutateRowStatus(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 cz.proto.ingestion.v2.IngestionV2.MutateRowStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MutateRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.MutateRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ cz.proto.ingestion.v2.IngestionV2.Account getAccount(); /** * .cz.proto.ingestion.v2.Account account = 1; */ cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder(); /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; * @return Whether the tableIdent field is set. */ boolean hasTableIdent(); /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; * @return The tableIdent. */ cz.proto.ingestion.v2.IngestionV2.TableIdentifier getTableIdent(); /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getTableIdentOrBuilder(); /** * int64 batch_id = 3; * @return The batchId. */ long getBatchId(); /** * int64 write_timestamp = 4; * @return The writeTimestamp. */ long getWriteTimestamp(); /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 5; */ java.util.List getDataFieldsList(); /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 5; */ cz.proto.ingestion.v2.IngestionV2.DataField getDataFields(int index); /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 5; */ int getDataFieldsCount(); /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 5; */ java.util.List getDataFieldsOrBuilderList(); /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 5; */ cz.proto.ingestion.v2.IngestionV2.DataFieldOrBuilder getDataFieldsOrBuilder( int index); /** * .cz.proto.ingestion.v2.DataBlock data_block = 6; * @return Whether the dataBlock field is set. */ boolean hasDataBlock(); /** * .cz.proto.ingestion.v2.DataBlock data_block = 6; * @return The dataBlock. */ cz.proto.ingestion.v2.IngestionV2.DataBlock getDataBlock(); /** * .cz.proto.ingestion.v2.DataBlock data_block = 6; */ cz.proto.ingestion.v2.IngestionV2.DataBlockOrBuilder getDataBlockOrBuilder(); /** *
     * A unique token for connected tablet server. Unavailable until the first successful mutate request.
     * It is used to prevent data loss on tablet restart and should not be changed during the session.
     * Optional for the 1st request, required for the following requests.
     * 
* * string server_token = 7; * @return The serverToken. */ java.lang.String getServerToken(); /** *
     * A unique token for connected tablet server. Unavailable until the first successful mutate request.
     * It is used to prevent data loss on tablet restart and should not be changed during the session.
     * Optional for the 1st request, required for the following requests.
     * 
* * string server_token = 7; * @return The bytes for serverToken. */ com.google.protobuf.ByteString getServerTokenBytes(); } /** * Protobuf type {@code cz.proto.ingestion.v2.MutateRequest} */ public static final class MutateRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.MutateRequest) MutateRequestOrBuilder { private static final long serialVersionUID = 0L; // Use MutateRequest.newBuilder() to construct. private MutateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MutateRequest() { dataFields_ = java.util.Collections.emptyList(); serverToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MutateRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MutateRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder subBuilder = null; if (tableIdent_ != null) { subBuilder = tableIdent_.toBuilder(); } tableIdent_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.TableIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(tableIdent_); tableIdent_ = subBuilder.buildPartial(); } break; } case 24: { batchId_ = input.readInt64(); break; } case 32: { writeTimestamp_ = input.readInt64(); break; } case 42: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { dataFields_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } dataFields_.add( input.readMessage(cz.proto.ingestion.v2.IngestionV2.DataField.parser(), extensionRegistry)); break; } case 50: { cz.proto.ingestion.v2.IngestionV2.DataBlock.Builder subBuilder = null; if (dataBlock_ != null) { subBuilder = dataBlock_.toBuilder(); } dataBlock_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.DataBlock.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(dataBlock_); dataBlock_ = subBuilder.buildPartial(); } break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); serverToken_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { dataFields_ = java.util.Collections.unmodifiableList(dataFields_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_MutateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_MutateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.MutateRequest.class, cz.proto.ingestion.v2.IngestionV2.MutateRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.Account account_; /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.Account getAccount() { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } /** * .cz.proto.ingestion.v2.Account account = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int TABLE_IDENT_FIELD_NUMBER = 2; private cz.proto.ingestion.v2.IngestionV2.TableIdentifier tableIdent_; /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; * @return Whether the tableIdent field is set. */ @java.lang.Override public boolean hasTableIdent() { return tableIdent_ != null; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; * @return The tableIdent. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TableIdentifier getTableIdent() { return tableIdent_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : tableIdent_; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getTableIdentOrBuilder() { return getTableIdent(); } public static final int BATCH_ID_FIELD_NUMBER = 3; private long batchId_; /** * int64 batch_id = 3; * @return The batchId. */ @java.lang.Override public long getBatchId() { return batchId_; } public static final int WRITE_TIMESTAMP_FIELD_NUMBER = 4; private long writeTimestamp_; /** * int64 write_timestamp = 4; * @return The writeTimestamp. */ @java.lang.Override public long getWriteTimestamp() { return writeTimestamp_; } public static final int DATA_FIELDS_FIELD_NUMBER = 5; private java.util.List dataFields_; /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 5; */ @java.lang.Override public java.util.List getDataFieldsList() { return dataFields_; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 5; */ @java.lang.Override public java.util.List getDataFieldsOrBuilderList() { return dataFields_; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 5; */ @java.lang.Override public int getDataFieldsCount() { return dataFields_.size(); } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 5; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.DataField getDataFields(int index) { return dataFields_.get(index); } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 5; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.DataFieldOrBuilder getDataFieldsOrBuilder( int index) { return dataFields_.get(index); } public static final int DATA_BLOCK_FIELD_NUMBER = 6; private cz.proto.ingestion.v2.IngestionV2.DataBlock dataBlock_; /** * .cz.proto.ingestion.v2.DataBlock data_block = 6; * @return Whether the dataBlock field is set. */ @java.lang.Override public boolean hasDataBlock() { return dataBlock_ != null; } /** * .cz.proto.ingestion.v2.DataBlock data_block = 6; * @return The dataBlock. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.DataBlock getDataBlock() { return dataBlock_ == null ? cz.proto.ingestion.v2.IngestionV2.DataBlock.getDefaultInstance() : dataBlock_; } /** * .cz.proto.ingestion.v2.DataBlock data_block = 6; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.DataBlockOrBuilder getDataBlockOrBuilder() { return getDataBlock(); } public static final int SERVER_TOKEN_FIELD_NUMBER = 7; private volatile java.lang.Object serverToken_; /** *
     * A unique token for connected tablet server. Unavailable until the first successful mutate request.
     * It is used to prevent data loss on tablet restart and should not be changed during the session.
     * Optional for the 1st request, required for the following requests.
     * 
* * string server_token = 7; * @return The serverToken. */ @java.lang.Override public java.lang.String getServerToken() { java.lang.Object ref = serverToken_; 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(); serverToken_ = s; return s; } } /** *
     * A unique token for connected tablet server. Unavailable until the first successful mutate request.
     * It is used to prevent data loss on tablet restart and should not be changed during the session.
     * Optional for the 1st request, required for the following requests.
     * 
* * string server_token = 7; * @return The bytes for serverToken. */ @java.lang.Override public com.google.protobuf.ByteString getServerTokenBytes() { java.lang.Object ref = serverToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serverToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (account_ != null) { output.writeMessage(1, getAccount()); } if (tableIdent_ != null) { output.writeMessage(2, getTableIdent()); } if (batchId_ != 0L) { output.writeInt64(3, batchId_); } if (writeTimestamp_ != 0L) { output.writeInt64(4, writeTimestamp_); } for (int i = 0; i < dataFields_.size(); i++) { output.writeMessage(5, dataFields_.get(i)); } if (dataBlock_ != null) { output.writeMessage(6, getDataBlock()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serverToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, serverToken_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAccount()); } if (tableIdent_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getTableIdent()); } if (batchId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, batchId_); } if (writeTimestamp_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, writeTimestamp_); } for (int i = 0; i < dataFields_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, dataFields_.get(i)); } if (dataBlock_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getDataBlock()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serverToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, serverToken_); } 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 cz.proto.ingestion.v2.IngestionV2.MutateRequest)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.MutateRequest other = (cz.proto.ingestion.v2.IngestionV2.MutateRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (hasTableIdent() != other.hasTableIdent()) return false; if (hasTableIdent()) { if (!getTableIdent() .equals(other.getTableIdent())) return false; } if (getBatchId() != other.getBatchId()) return false; if (getWriteTimestamp() != other.getWriteTimestamp()) return false; if (!getDataFieldsList() .equals(other.getDataFieldsList())) return false; if (hasDataBlock() != other.hasDataBlock()) return false; if (hasDataBlock()) { if (!getDataBlock() .equals(other.getDataBlock())) return false; } if (!getServerToken() .equals(other.getServerToken())) 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 (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } if (hasTableIdent()) { hash = (37 * hash) + TABLE_IDENT_FIELD_NUMBER; hash = (53 * hash) + getTableIdent().hashCode(); } hash = (37 * hash) + BATCH_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getBatchId()); hash = (37 * hash) + WRITE_TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getWriteTimestamp()); if (getDataFieldsCount() > 0) { hash = (37 * hash) + DATA_FIELDS_FIELD_NUMBER; hash = (53 * hash) + getDataFieldsList().hashCode(); } if (hasDataBlock()) { hash = (37 * hash) + DATA_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getDataBlock().hashCode(); } hash = (37 * hash) + SERVER_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getServerToken().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.MutateRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.MutateRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.MutateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.MutateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.MutateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.MutateRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.MutateRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.MutateRequest 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 cz.proto.ingestion.v2.IngestionV2.MutateRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.MutateRequest 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 cz.proto.ingestion.v2.IngestionV2.MutateRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.MutateRequest 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(cz.proto.ingestion.v2.IngestionV2.MutateRequest 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 cz.proto.ingestion.v2.MutateRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.MutateRequest) cz.proto.ingestion.v2.IngestionV2.MutateRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_MutateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_MutateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.MutateRequest.class, cz.proto.ingestion.v2.IngestionV2.MutateRequest.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.MutateRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDataFieldsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } if (tableIdentBuilder_ == null) { tableIdent_ = null; } else { tableIdent_ = null; tableIdentBuilder_ = null; } batchId_ = 0L; writeTimestamp_ = 0L; if (dataFieldsBuilder_ == null) { dataFields_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { dataFieldsBuilder_.clear(); } if (dataBlockBuilder_ == null) { dataBlock_ = null; } else { dataBlock_ = null; dataBlockBuilder_ = null; } serverToken_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_MutateRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.MutateRequest getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.MutateRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.MutateRequest build() { cz.proto.ingestion.v2.IngestionV2.MutateRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.MutateRequest buildPartial() { cz.proto.ingestion.v2.IngestionV2.MutateRequest result = new cz.proto.ingestion.v2.IngestionV2.MutateRequest(this); int from_bitField0_ = bitField0_; if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } if (tableIdentBuilder_ == null) { result.tableIdent_ = tableIdent_; } else { result.tableIdent_ = tableIdentBuilder_.build(); } result.batchId_ = batchId_; result.writeTimestamp_ = writeTimestamp_; if (dataFieldsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { dataFields_ = java.util.Collections.unmodifiableList(dataFields_); bitField0_ = (bitField0_ & ~0x00000001); } result.dataFields_ = dataFields_; } else { result.dataFields_ = dataFieldsBuilder_.build(); } if (dataBlockBuilder_ == null) { result.dataBlock_ = dataBlock_; } else { result.dataBlock_ = dataBlockBuilder_.build(); } result.serverToken_ = serverToken_; 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 cz.proto.ingestion.v2.IngestionV2.MutateRequest) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.MutateRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.MutateRequest other) { if (other == cz.proto.ingestion.v2.IngestionV2.MutateRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (other.hasTableIdent()) { mergeTableIdent(other.getTableIdent()); } if (other.getBatchId() != 0L) { setBatchId(other.getBatchId()); } if (other.getWriteTimestamp() != 0L) { setWriteTimestamp(other.getWriteTimestamp()); } if (dataFieldsBuilder_ == null) { if (!other.dataFields_.isEmpty()) { if (dataFields_.isEmpty()) { dataFields_ = other.dataFields_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDataFieldsIsMutable(); dataFields_.addAll(other.dataFields_); } onChanged(); } } else { if (!other.dataFields_.isEmpty()) { if (dataFieldsBuilder_.isEmpty()) { dataFieldsBuilder_.dispose(); dataFieldsBuilder_ = null; dataFields_ = other.dataFields_; bitField0_ = (bitField0_ & ~0x00000001); dataFieldsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDataFieldsFieldBuilder() : null; } else { dataFieldsBuilder_.addAllMessages(other.dataFields_); } } } if (other.hasDataBlock()) { mergeDataBlock(other.getDataBlock()); } if (!other.getServerToken().isEmpty()) { serverToken_ = other.serverToken_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.ingestion.v2.IngestionV2.MutateRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.MutateRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.ingestion.v2.IngestionV2.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder> accountBuilder_; /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ public cz.proto.ingestion.v2.IngestionV2.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder setAccount(cz.proto.ingestion.v2.IngestionV2.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder setAccount( cz.proto.ingestion.v2.IngestionV2.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder mergeAccount(cz.proto.ingestion.v2.IngestionV2.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.ingestion.v2.IngestionV2.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public cz.proto.ingestion.v2.IngestionV2.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.Account account = 1; */ public cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } } /** * .cz.proto.ingestion.v2.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private cz.proto.ingestion.v2.IngestionV2.TableIdentifier tableIdent_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder> tableIdentBuilder_; /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; * @return Whether the tableIdent field is set. */ public boolean hasTableIdent() { return tableIdentBuilder_ != null || tableIdent_ != null; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; * @return The tableIdent. */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier getTableIdent() { if (tableIdentBuilder_ == null) { return tableIdent_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : tableIdent_; } else { return tableIdentBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public Builder setTableIdent(cz.proto.ingestion.v2.IngestionV2.TableIdentifier value) { if (tableIdentBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tableIdent_ = value; onChanged(); } else { tableIdentBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public Builder setTableIdent( cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder builderForValue) { if (tableIdentBuilder_ == null) { tableIdent_ = builderForValue.build(); onChanged(); } else { tableIdentBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public Builder mergeTableIdent(cz.proto.ingestion.v2.IngestionV2.TableIdentifier value) { if (tableIdentBuilder_ == null) { if (tableIdent_ != null) { tableIdent_ = cz.proto.ingestion.v2.IngestionV2.TableIdentifier.newBuilder(tableIdent_).mergeFrom(value).buildPartial(); } else { tableIdent_ = value; } onChanged(); } else { tableIdentBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public Builder clearTableIdent() { if (tableIdentBuilder_ == null) { tableIdent_ = null; onChanged(); } else { tableIdent_ = null; tableIdentBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder getTableIdentBuilder() { onChanged(); return getTableIdentFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getTableIdentOrBuilder() { if (tableIdentBuilder_ != null) { return tableIdentBuilder_.getMessageOrBuilder(); } else { return tableIdent_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : tableIdent_; } } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder> getTableIdentFieldBuilder() { if (tableIdentBuilder_ == null) { tableIdentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder>( getTableIdent(), getParentForChildren(), isClean()); tableIdent_ = null; } return tableIdentBuilder_; } private long batchId_ ; /** * int64 batch_id = 3; * @return The batchId. */ @java.lang.Override public long getBatchId() { return batchId_; } /** * int64 batch_id = 3; * @param value The batchId to set. * @return This builder for chaining. */ public Builder setBatchId(long value) { batchId_ = value; onChanged(); return this; } /** * int64 batch_id = 3; * @return This builder for chaining. */ public Builder clearBatchId() { batchId_ = 0L; onChanged(); return this; } private long writeTimestamp_ ; /** * int64 write_timestamp = 4; * @return The writeTimestamp. */ @java.lang.Override public long getWriteTimestamp() { return writeTimestamp_; } /** * int64 write_timestamp = 4; * @param value The writeTimestamp to set. * @return This builder for chaining. */ public Builder setWriteTimestamp(long value) { writeTimestamp_ = value; onChanged(); return this; } /** * int64 write_timestamp = 4; * @return This builder for chaining. */ public Builder clearWriteTimestamp() { writeTimestamp_ = 0L; onChanged(); return this; } private java.util.List dataFields_ = java.util.Collections.emptyList(); private void ensureDataFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { dataFields_ = new java.util.ArrayList(dataFields_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.DataField, cz.proto.ingestion.v2.IngestionV2.DataField.Builder, cz.proto.ingestion.v2.IngestionV2.DataFieldOrBuilder> dataFieldsBuilder_; /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 5; */ public java.util.List getDataFieldsList() { if (dataFieldsBuilder_ == null) { return java.util.Collections.unmodifiableList(dataFields_); } else { return dataFieldsBuilder_.getMessageList(); } } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 5; */ public int getDataFieldsCount() { if (dataFieldsBuilder_ == null) { return dataFields_.size(); } else { return dataFieldsBuilder_.getCount(); } } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 5; */ public cz.proto.ingestion.v2.IngestionV2.DataField getDataFields(int index) { if (dataFieldsBuilder_ == null) { return dataFields_.get(index); } else { return dataFieldsBuilder_.getMessage(index); } } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 5; */ public Builder setDataFields( int index, cz.proto.ingestion.v2.IngestionV2.DataField value) { if (dataFieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDataFieldsIsMutable(); dataFields_.set(index, value); onChanged(); } else { dataFieldsBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 5; */ public Builder setDataFields( int index, cz.proto.ingestion.v2.IngestionV2.DataField.Builder builderForValue) { if (dataFieldsBuilder_ == null) { ensureDataFieldsIsMutable(); dataFields_.set(index, builderForValue.build()); onChanged(); } else { dataFieldsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 5; */ public Builder addDataFields(cz.proto.ingestion.v2.IngestionV2.DataField value) { if (dataFieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDataFieldsIsMutable(); dataFields_.add(value); onChanged(); } else { dataFieldsBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 5; */ public Builder addDataFields( int index, cz.proto.ingestion.v2.IngestionV2.DataField value) { if (dataFieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDataFieldsIsMutable(); dataFields_.add(index, value); onChanged(); } else { dataFieldsBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 5; */ public Builder addDataFields( cz.proto.ingestion.v2.IngestionV2.DataField.Builder builderForValue) { if (dataFieldsBuilder_ == null) { ensureDataFieldsIsMutable(); dataFields_.add(builderForValue.build()); onChanged(); } else { dataFieldsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 5; */ public Builder addDataFields( int index, cz.proto.ingestion.v2.IngestionV2.DataField.Builder builderForValue) { if (dataFieldsBuilder_ == null) { ensureDataFieldsIsMutable(); dataFields_.add(index, builderForValue.build()); onChanged(); } else { dataFieldsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 5; */ public Builder addAllDataFields( java.lang.Iterable values) { if (dataFieldsBuilder_ == null) { ensureDataFieldsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, dataFields_); onChanged(); } else { dataFieldsBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 5; */ public Builder clearDataFields() { if (dataFieldsBuilder_ == null) { dataFields_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { dataFieldsBuilder_.clear(); } return this; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 5; */ public Builder removeDataFields(int index) { if (dataFieldsBuilder_ == null) { ensureDataFieldsIsMutable(); dataFields_.remove(index); onChanged(); } else { dataFieldsBuilder_.remove(index); } return this; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 5; */ public cz.proto.ingestion.v2.IngestionV2.DataField.Builder getDataFieldsBuilder( int index) { return getDataFieldsFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 5; */ public cz.proto.ingestion.v2.IngestionV2.DataFieldOrBuilder getDataFieldsOrBuilder( int index) { if (dataFieldsBuilder_ == null) { return dataFields_.get(index); } else { return dataFieldsBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 5; */ public java.util.List getDataFieldsOrBuilderList() { if (dataFieldsBuilder_ != null) { return dataFieldsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(dataFields_); } } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 5; */ public cz.proto.ingestion.v2.IngestionV2.DataField.Builder addDataFieldsBuilder() { return getDataFieldsFieldBuilder().addBuilder( cz.proto.ingestion.v2.IngestionV2.DataField.getDefaultInstance()); } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 5; */ public cz.proto.ingestion.v2.IngestionV2.DataField.Builder addDataFieldsBuilder( int index) { return getDataFieldsFieldBuilder().addBuilder( index, cz.proto.ingestion.v2.IngestionV2.DataField.getDefaultInstance()); } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 5; */ public java.util.List getDataFieldsBuilderList() { return getDataFieldsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.DataField, cz.proto.ingestion.v2.IngestionV2.DataField.Builder, cz.proto.ingestion.v2.IngestionV2.DataFieldOrBuilder> getDataFieldsFieldBuilder() { if (dataFieldsBuilder_ == null) { dataFieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.DataField, cz.proto.ingestion.v2.IngestionV2.DataField.Builder, cz.proto.ingestion.v2.IngestionV2.DataFieldOrBuilder>( dataFields_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); dataFields_ = null; } return dataFieldsBuilder_; } private cz.proto.ingestion.v2.IngestionV2.DataBlock dataBlock_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.DataBlock, cz.proto.ingestion.v2.IngestionV2.DataBlock.Builder, cz.proto.ingestion.v2.IngestionV2.DataBlockOrBuilder> dataBlockBuilder_; /** * .cz.proto.ingestion.v2.DataBlock data_block = 6; * @return Whether the dataBlock field is set. */ public boolean hasDataBlock() { return dataBlockBuilder_ != null || dataBlock_ != null; } /** * .cz.proto.ingestion.v2.DataBlock data_block = 6; * @return The dataBlock. */ public cz.proto.ingestion.v2.IngestionV2.DataBlock getDataBlock() { if (dataBlockBuilder_ == null) { return dataBlock_ == null ? cz.proto.ingestion.v2.IngestionV2.DataBlock.getDefaultInstance() : dataBlock_; } else { return dataBlockBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.DataBlock data_block = 6; */ public Builder setDataBlock(cz.proto.ingestion.v2.IngestionV2.DataBlock value) { if (dataBlockBuilder_ == null) { if (value == null) { throw new NullPointerException(); } dataBlock_ = value; onChanged(); } else { dataBlockBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.DataBlock data_block = 6; */ public Builder setDataBlock( cz.proto.ingestion.v2.IngestionV2.DataBlock.Builder builderForValue) { if (dataBlockBuilder_ == null) { dataBlock_ = builderForValue.build(); onChanged(); } else { dataBlockBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.DataBlock data_block = 6; */ public Builder mergeDataBlock(cz.proto.ingestion.v2.IngestionV2.DataBlock value) { if (dataBlockBuilder_ == null) { if (dataBlock_ != null) { dataBlock_ = cz.proto.ingestion.v2.IngestionV2.DataBlock.newBuilder(dataBlock_).mergeFrom(value).buildPartial(); } else { dataBlock_ = value; } onChanged(); } else { dataBlockBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.DataBlock data_block = 6; */ public Builder clearDataBlock() { if (dataBlockBuilder_ == null) { dataBlock_ = null; onChanged(); } else { dataBlock_ = null; dataBlockBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.DataBlock data_block = 6; */ public cz.proto.ingestion.v2.IngestionV2.DataBlock.Builder getDataBlockBuilder() { onChanged(); return getDataBlockFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.DataBlock data_block = 6; */ public cz.proto.ingestion.v2.IngestionV2.DataBlockOrBuilder getDataBlockOrBuilder() { if (dataBlockBuilder_ != null) { return dataBlockBuilder_.getMessageOrBuilder(); } else { return dataBlock_ == null ? cz.proto.ingestion.v2.IngestionV2.DataBlock.getDefaultInstance() : dataBlock_; } } /** * .cz.proto.ingestion.v2.DataBlock data_block = 6; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.DataBlock, cz.proto.ingestion.v2.IngestionV2.DataBlock.Builder, cz.proto.ingestion.v2.IngestionV2.DataBlockOrBuilder> getDataBlockFieldBuilder() { if (dataBlockBuilder_ == null) { dataBlockBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.DataBlock, cz.proto.ingestion.v2.IngestionV2.DataBlock.Builder, cz.proto.ingestion.v2.IngestionV2.DataBlockOrBuilder>( getDataBlock(), getParentForChildren(), isClean()); dataBlock_ = null; } return dataBlockBuilder_; } private java.lang.Object serverToken_ = ""; /** *
       * A unique token for connected tablet server. Unavailable until the first successful mutate request.
       * It is used to prevent data loss on tablet restart and should not be changed during the session.
       * Optional for the 1st request, required for the following requests.
       * 
* * string server_token = 7; * @return The serverToken. */ public java.lang.String getServerToken() { java.lang.Object ref = serverToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serverToken_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * A unique token for connected tablet server. Unavailable until the first successful mutate request.
       * It is used to prevent data loss on tablet restart and should not be changed during the session.
       * Optional for the 1st request, required for the following requests.
       * 
* * string server_token = 7; * @return The bytes for serverToken. */ public com.google.protobuf.ByteString getServerTokenBytes() { java.lang.Object ref = serverToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serverToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * A unique token for connected tablet server. Unavailable until the first successful mutate request.
       * It is used to prevent data loss on tablet restart and should not be changed during the session.
       * Optional for the 1st request, required for the following requests.
       * 
* * string server_token = 7; * @param value The serverToken to set. * @return This builder for chaining. */ public Builder setServerToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } serverToken_ = value; onChanged(); return this; } /** *
       * A unique token for connected tablet server. Unavailable until the first successful mutate request.
       * It is used to prevent data loss on tablet restart and should not be changed during the session.
       * Optional for the 1st request, required for the following requests.
       * 
* * string server_token = 7; * @return This builder for chaining. */ public Builder clearServerToken() { serverToken_ = getDefaultInstance().getServerToken(); onChanged(); return this; } /** *
       * A unique token for connected tablet server. Unavailable until the first successful mutate request.
       * It is used to prevent data loss on tablet restart and should not be changed during the session.
       * Optional for the 1st request, required for the following requests.
       * 
* * string server_token = 7; * @param value The bytes for serverToken to set. * @return This builder for chaining. */ public Builder setServerTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serverToken_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.MutateRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.MutateRequest) private static final cz.proto.ingestion.v2.IngestionV2.MutateRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.MutateRequest(); } public static cz.proto.ingestion.v2.IngestionV2.MutateRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MutateRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MutateRequest(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 cz.proto.ingestion.v2.IngestionV2.MutateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MutateResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.MutateResponse) com.google.protobuf.MessageOrBuilder { /** * int64 batch_id = 1; * @return The batchId. */ long getBatchId(); /** * int64 num_rows = 2; * @return The numRows. */ long getNumRows(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; * @return The status. */ cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; */ cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder(); /** * repeated .cz.proto.ingestion.v2.MutateRowStatus row_status_list = 4; */ java.util.List getRowStatusListList(); /** * repeated .cz.proto.ingestion.v2.MutateRowStatus row_status_list = 4; */ cz.proto.ingestion.v2.IngestionV2.MutateRowStatus getRowStatusList(int index); /** * repeated .cz.proto.ingestion.v2.MutateRowStatus row_status_list = 4; */ int getRowStatusListCount(); /** * repeated .cz.proto.ingestion.v2.MutateRowStatus row_status_list = 4; */ java.util.List getRowStatusListOrBuilderList(); /** * repeated .cz.proto.ingestion.v2.MutateRowStatus row_status_list = 4; */ cz.proto.ingestion.v2.IngestionV2.MutateRowStatusOrBuilder getRowStatusListOrBuilder( int index); /** *
     * Required
     * 
* * string server_token = 5; * @return The serverToken. */ java.lang.String getServerToken(); /** *
     * Required
     * 
* * string server_token = 5; * @return The bytes for serverToken. */ com.google.protobuf.ByteString getServerTokenBytes(); } /** * Protobuf type {@code cz.proto.ingestion.v2.MutateResponse} */ public static final class MutateResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.MutateResponse) MutateResponseOrBuilder { private static final long serialVersionUID = 0L; // Use MutateResponse.newBuilder() to construct. private MutateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MutateResponse() { rowStatusList_ = java.util.Collections.emptyList(); serverToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MutateResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MutateResponse( 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 8: { batchId_ = input.readInt64(); break; } case 16: { numRows_ = input.readInt64(); break; } case 26: { cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(status_); status_ = subBuilder.buildPartial(); } break; } case 34: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { rowStatusList_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } rowStatusList_.add( input.readMessage(cz.proto.ingestion.v2.IngestionV2.MutateRowStatus.parser(), extensionRegistry)); break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); serverToken_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { rowStatusList_ = java.util.Collections.unmodifiableList(rowStatusList_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_MutateResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_MutateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.MutateResponse.class, cz.proto.ingestion.v2.IngestionV2.MutateResponse.Builder.class); } public static final int BATCH_ID_FIELD_NUMBER = 1; private long batchId_; /** * int64 batch_id = 1; * @return The batchId. */ @java.lang.Override public long getBatchId() { return batchId_; } public static final int NUM_ROWS_FIELD_NUMBER = 2; private long numRows_; /** * int64 num_rows = 2; * @return The numRows. */ @java.lang.Override public long getNumRows() { return numRows_; } public static final int STATUS_FIELD_NUMBER = 3; private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; * @return The status. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { return getStatus(); } public static final int ROW_STATUS_LIST_FIELD_NUMBER = 4; private java.util.List rowStatusList_; /** * repeated .cz.proto.ingestion.v2.MutateRowStatus row_status_list = 4; */ @java.lang.Override public java.util.List getRowStatusListList() { return rowStatusList_; } /** * repeated .cz.proto.ingestion.v2.MutateRowStatus row_status_list = 4; */ @java.lang.Override public java.util.List getRowStatusListOrBuilderList() { return rowStatusList_; } /** * repeated .cz.proto.ingestion.v2.MutateRowStatus row_status_list = 4; */ @java.lang.Override public int getRowStatusListCount() { return rowStatusList_.size(); } /** * repeated .cz.proto.ingestion.v2.MutateRowStatus row_status_list = 4; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.MutateRowStatus getRowStatusList(int index) { return rowStatusList_.get(index); } /** * repeated .cz.proto.ingestion.v2.MutateRowStatus row_status_list = 4; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.MutateRowStatusOrBuilder getRowStatusListOrBuilder( int index) { return rowStatusList_.get(index); } public static final int SERVER_TOKEN_FIELD_NUMBER = 5; private volatile java.lang.Object serverToken_; /** *
     * Required
     * 
* * string server_token = 5; * @return The serverToken. */ @java.lang.Override public java.lang.String getServerToken() { java.lang.Object ref = serverToken_; 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(); serverToken_ = s; return s; } } /** *
     * Required
     * 
* * string server_token = 5; * @return The bytes for serverToken. */ @java.lang.Override public com.google.protobuf.ByteString getServerTokenBytes() { java.lang.Object ref = serverToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serverToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (batchId_ != 0L) { output.writeInt64(1, batchId_); } if (numRows_ != 0L) { output.writeInt64(2, numRows_); } if (status_ != null) { output.writeMessage(3, getStatus()); } for (int i = 0; i < rowStatusList_.size(); i++) { output.writeMessage(4, rowStatusList_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serverToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, serverToken_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (batchId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, batchId_); } if (numRows_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, numRows_); } if (status_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getStatus()); } for (int i = 0; i < rowStatusList_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, rowStatusList_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serverToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, serverToken_); } 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 cz.proto.ingestion.v2.IngestionV2.MutateResponse)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.MutateResponse other = (cz.proto.ingestion.v2.IngestionV2.MutateResponse) obj; if (getBatchId() != other.getBatchId()) return false; if (getNumRows() != other.getNumRows()) return false; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) return false; } if (!getRowStatusListList() .equals(other.getRowStatusListList())) return false; if (!getServerToken() .equals(other.getServerToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + BATCH_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getBatchId()); hash = (37 * hash) + NUM_ROWS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getNumRows()); if (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } if (getRowStatusListCount() > 0) { hash = (37 * hash) + ROW_STATUS_LIST_FIELD_NUMBER; hash = (53 * hash) + getRowStatusListList().hashCode(); } hash = (37 * hash) + SERVER_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getServerToken().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.MutateResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.MutateResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.MutateResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.MutateResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.MutateResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.MutateResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.MutateResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.MutateResponse 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 cz.proto.ingestion.v2.IngestionV2.MutateResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.MutateResponse 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 cz.proto.ingestion.v2.IngestionV2.MutateResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.MutateResponse 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(cz.proto.ingestion.v2.IngestionV2.MutateResponse 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 cz.proto.ingestion.v2.MutateResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.MutateResponse) cz.proto.ingestion.v2.IngestionV2.MutateResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_MutateResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_MutateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.MutateResponse.class, cz.proto.ingestion.v2.IngestionV2.MutateResponse.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.MutateResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getRowStatusListFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); batchId_ = 0L; numRows_ = 0L; if (statusBuilder_ == null) { status_ = null; } else { status_ = null; statusBuilder_ = null; } if (rowStatusListBuilder_ == null) { rowStatusList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { rowStatusListBuilder_.clear(); } serverToken_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_MutateResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.MutateResponse getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.MutateResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.MutateResponse build() { cz.proto.ingestion.v2.IngestionV2.MutateResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.MutateResponse buildPartial() { cz.proto.ingestion.v2.IngestionV2.MutateResponse result = new cz.proto.ingestion.v2.IngestionV2.MutateResponse(this); int from_bitField0_ = bitField0_; result.batchId_ = batchId_; result.numRows_ = numRows_; if (statusBuilder_ == null) { result.status_ = status_; } else { result.status_ = statusBuilder_.build(); } if (rowStatusListBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { rowStatusList_ = java.util.Collections.unmodifiableList(rowStatusList_); bitField0_ = (bitField0_ & ~0x00000001); } result.rowStatusList_ = rowStatusList_; } else { result.rowStatusList_ = rowStatusListBuilder_.build(); } result.serverToken_ = serverToken_; 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 cz.proto.ingestion.v2.IngestionV2.MutateResponse) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.MutateResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.MutateResponse other) { if (other == cz.proto.ingestion.v2.IngestionV2.MutateResponse.getDefaultInstance()) return this; if (other.getBatchId() != 0L) { setBatchId(other.getBatchId()); } if (other.getNumRows() != 0L) { setNumRows(other.getNumRows()); } if (other.hasStatus()) { mergeStatus(other.getStatus()); } if (rowStatusListBuilder_ == null) { if (!other.rowStatusList_.isEmpty()) { if (rowStatusList_.isEmpty()) { rowStatusList_ = other.rowStatusList_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureRowStatusListIsMutable(); rowStatusList_.addAll(other.rowStatusList_); } onChanged(); } } else { if (!other.rowStatusList_.isEmpty()) { if (rowStatusListBuilder_.isEmpty()) { rowStatusListBuilder_.dispose(); rowStatusListBuilder_ = null; rowStatusList_ = other.rowStatusList_; bitField0_ = (bitField0_ & ~0x00000001); rowStatusListBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRowStatusListFieldBuilder() : null; } else { rowStatusListBuilder_.addAllMessages(other.rowStatusList_); } } } if (!other.getServerToken().isEmpty()) { serverToken_ = other.serverToken_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.ingestion.v2.IngestionV2.MutateResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.MutateResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long batchId_ ; /** * int64 batch_id = 1; * @return The batchId. */ @java.lang.Override public long getBatchId() { return batchId_; } /** * int64 batch_id = 1; * @param value The batchId to set. * @return This builder for chaining. */ public Builder setBatchId(long value) { batchId_ = value; onChanged(); return this; } /** * int64 batch_id = 1; * @return This builder for chaining. */ public Builder clearBatchId() { batchId_ = 0L; onChanged(); return this; } private long numRows_ ; /** * int64 num_rows = 2; * @return The numRows. */ @java.lang.Override public long getNumRows() { return numRows_; } /** * int64 num_rows = 2; * @param value The numRows to set. * @return This builder for chaining. */ public Builder setNumRows(long value) { numRows_ = value; onChanged(); return this; } /** * int64 num_rows = 2; * @return This builder for chaining. */ public Builder clearNumRows() { numRows_ = 0L; onChanged(); return this; } private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; * @return The status. */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; */ public Builder setStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; */ public Builder setStatus( cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; */ public Builder mergeStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.v2.IngestionV2.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder>( getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } private java.util.List rowStatusList_ = java.util.Collections.emptyList(); private void ensureRowStatusListIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { rowStatusList_ = new java.util.ArrayList(rowStatusList_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.MutateRowStatus, cz.proto.ingestion.v2.IngestionV2.MutateRowStatus.Builder, cz.proto.ingestion.v2.IngestionV2.MutateRowStatusOrBuilder> rowStatusListBuilder_; /** * repeated .cz.proto.ingestion.v2.MutateRowStatus row_status_list = 4; */ public java.util.List getRowStatusListList() { if (rowStatusListBuilder_ == null) { return java.util.Collections.unmodifiableList(rowStatusList_); } else { return rowStatusListBuilder_.getMessageList(); } } /** * repeated .cz.proto.ingestion.v2.MutateRowStatus row_status_list = 4; */ public int getRowStatusListCount() { if (rowStatusListBuilder_ == null) { return rowStatusList_.size(); } else { return rowStatusListBuilder_.getCount(); } } /** * repeated .cz.proto.ingestion.v2.MutateRowStatus row_status_list = 4; */ public cz.proto.ingestion.v2.IngestionV2.MutateRowStatus getRowStatusList(int index) { if (rowStatusListBuilder_ == null) { return rowStatusList_.get(index); } else { return rowStatusListBuilder_.getMessage(index); } } /** * repeated .cz.proto.ingestion.v2.MutateRowStatus row_status_list = 4; */ public Builder setRowStatusList( int index, cz.proto.ingestion.v2.IngestionV2.MutateRowStatus value) { if (rowStatusListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRowStatusListIsMutable(); rowStatusList_.set(index, value); onChanged(); } else { rowStatusListBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.ingestion.v2.MutateRowStatus row_status_list = 4; */ public Builder setRowStatusList( int index, cz.proto.ingestion.v2.IngestionV2.MutateRowStatus.Builder builderForValue) { if (rowStatusListBuilder_ == null) { ensureRowStatusListIsMutable(); rowStatusList_.set(index, builderForValue.build()); onChanged(); } else { rowStatusListBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.v2.MutateRowStatus row_status_list = 4; */ public Builder addRowStatusList(cz.proto.ingestion.v2.IngestionV2.MutateRowStatus value) { if (rowStatusListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRowStatusListIsMutable(); rowStatusList_.add(value); onChanged(); } else { rowStatusListBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.ingestion.v2.MutateRowStatus row_status_list = 4; */ public Builder addRowStatusList( int index, cz.proto.ingestion.v2.IngestionV2.MutateRowStatus value) { if (rowStatusListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRowStatusListIsMutable(); rowStatusList_.add(index, value); onChanged(); } else { rowStatusListBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.ingestion.v2.MutateRowStatus row_status_list = 4; */ public Builder addRowStatusList( cz.proto.ingestion.v2.IngestionV2.MutateRowStatus.Builder builderForValue) { if (rowStatusListBuilder_ == null) { ensureRowStatusListIsMutable(); rowStatusList_.add(builderForValue.build()); onChanged(); } else { rowStatusListBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.v2.MutateRowStatus row_status_list = 4; */ public Builder addRowStatusList( int index, cz.proto.ingestion.v2.IngestionV2.MutateRowStatus.Builder builderForValue) { if (rowStatusListBuilder_ == null) { ensureRowStatusListIsMutable(); rowStatusList_.add(index, builderForValue.build()); onChanged(); } else { rowStatusListBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.v2.MutateRowStatus row_status_list = 4; */ public Builder addAllRowStatusList( java.lang.Iterable values) { if (rowStatusListBuilder_ == null) { ensureRowStatusListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, rowStatusList_); onChanged(); } else { rowStatusListBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.ingestion.v2.MutateRowStatus row_status_list = 4; */ public Builder clearRowStatusList() { if (rowStatusListBuilder_ == null) { rowStatusList_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { rowStatusListBuilder_.clear(); } return this; } /** * repeated .cz.proto.ingestion.v2.MutateRowStatus row_status_list = 4; */ public Builder removeRowStatusList(int index) { if (rowStatusListBuilder_ == null) { ensureRowStatusListIsMutable(); rowStatusList_.remove(index); onChanged(); } else { rowStatusListBuilder_.remove(index); } return this; } /** * repeated .cz.proto.ingestion.v2.MutateRowStatus row_status_list = 4; */ public cz.proto.ingestion.v2.IngestionV2.MutateRowStatus.Builder getRowStatusListBuilder( int index) { return getRowStatusListFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.ingestion.v2.MutateRowStatus row_status_list = 4; */ public cz.proto.ingestion.v2.IngestionV2.MutateRowStatusOrBuilder getRowStatusListOrBuilder( int index) { if (rowStatusListBuilder_ == null) { return rowStatusList_.get(index); } else { return rowStatusListBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.ingestion.v2.MutateRowStatus row_status_list = 4; */ public java.util.List getRowStatusListOrBuilderList() { if (rowStatusListBuilder_ != null) { return rowStatusListBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(rowStatusList_); } } /** * repeated .cz.proto.ingestion.v2.MutateRowStatus row_status_list = 4; */ public cz.proto.ingestion.v2.IngestionV2.MutateRowStatus.Builder addRowStatusListBuilder() { return getRowStatusListFieldBuilder().addBuilder( cz.proto.ingestion.v2.IngestionV2.MutateRowStatus.getDefaultInstance()); } /** * repeated .cz.proto.ingestion.v2.MutateRowStatus row_status_list = 4; */ public cz.proto.ingestion.v2.IngestionV2.MutateRowStatus.Builder addRowStatusListBuilder( int index) { return getRowStatusListFieldBuilder().addBuilder( index, cz.proto.ingestion.v2.IngestionV2.MutateRowStatus.getDefaultInstance()); } /** * repeated .cz.proto.ingestion.v2.MutateRowStatus row_status_list = 4; */ public java.util.List getRowStatusListBuilderList() { return getRowStatusListFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.MutateRowStatus, cz.proto.ingestion.v2.IngestionV2.MutateRowStatus.Builder, cz.proto.ingestion.v2.IngestionV2.MutateRowStatusOrBuilder> getRowStatusListFieldBuilder() { if (rowStatusListBuilder_ == null) { rowStatusListBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.MutateRowStatus, cz.proto.ingestion.v2.IngestionV2.MutateRowStatus.Builder, cz.proto.ingestion.v2.IngestionV2.MutateRowStatusOrBuilder>( rowStatusList_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); rowStatusList_ = null; } return rowStatusListBuilder_; } private java.lang.Object serverToken_ = ""; /** *
       * Required
       * 
* * string server_token = 5; * @return The serverToken. */ public java.lang.String getServerToken() { java.lang.Object ref = serverToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serverToken_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Required
       * 
* * string server_token = 5; * @return The bytes for serverToken. */ public com.google.protobuf.ByteString getServerTokenBytes() { java.lang.Object ref = serverToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serverToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Required
       * 
* * string server_token = 5; * @param value The serverToken to set. * @return This builder for chaining. */ public Builder setServerToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } serverToken_ = value; onChanged(); return this; } /** *
       * Required
       * 
* * string server_token = 5; * @return This builder for chaining. */ public Builder clearServerToken() { serverToken_ = getDefaultInstance().getServerToken(); onChanged(); return this; } /** *
       * Required
       * 
* * string server_token = 5; * @param value The bytes for serverToken to set. * @return This builder for chaining. */ public Builder setServerTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serverToken_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.MutateResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.MutateResponse) private static final cz.proto.ingestion.v2.IngestionV2.MutateResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.MutateResponse(); } public static cz.proto.ingestion.v2.IngestionV2.MutateResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MutateResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MutateResponse(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 cz.proto.ingestion.v2.IngestionV2.MutateResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MultiMutateRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.MultiMutateRequest) com.google.protobuf.MessageOrBuilder { /** * int64 batch_id = 2; * @return The batchId. */ long getBatchId(); /** * int64 write_timestamp = 3; * @return The writeTimestamp. */ long getWriteTimestamp(); /** * repeated .cz.proto.ingestion.v2.MutateRequest mutate_requests = 4; */ java.util.List getMutateRequestsList(); /** * repeated .cz.proto.ingestion.v2.MutateRequest mutate_requests = 4; */ cz.proto.ingestion.v2.IngestionV2.MutateRequest getMutateRequests(int index); /** * repeated .cz.proto.ingestion.v2.MutateRequest mutate_requests = 4; */ int getMutateRequestsCount(); /** * repeated .cz.proto.ingestion.v2.MutateRequest mutate_requests = 4; */ java.util.List getMutateRequestsOrBuilderList(); /** * repeated .cz.proto.ingestion.v2.MutateRequest mutate_requests = 4; */ cz.proto.ingestion.v2.IngestionV2.MutateRequestOrBuilder getMutateRequestsOrBuilder( int index); } /** * Protobuf type {@code cz.proto.ingestion.v2.MultiMutateRequest} */ public static final class MultiMutateRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.MultiMutateRequest) MultiMutateRequestOrBuilder { private static final long serialVersionUID = 0L; // Use MultiMutateRequest.newBuilder() to construct. private MultiMutateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MultiMutateRequest() { mutateRequests_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MultiMutateRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MultiMutateRequest( 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 16: { batchId_ = input.readInt64(); break; } case 24: { writeTimestamp_ = input.readInt64(); break; } case 34: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { mutateRequests_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } mutateRequests_.add( input.readMessage(cz.proto.ingestion.v2.IngestionV2.MutateRequest.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { mutateRequests_ = java.util.Collections.unmodifiableList(mutateRequests_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_MultiMutateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_MultiMutateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest.class, cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest.Builder.class); } public static final int BATCH_ID_FIELD_NUMBER = 2; private long batchId_; /** * int64 batch_id = 2; * @return The batchId. */ @java.lang.Override public long getBatchId() { return batchId_; } public static final int WRITE_TIMESTAMP_FIELD_NUMBER = 3; private long writeTimestamp_; /** * int64 write_timestamp = 3; * @return The writeTimestamp. */ @java.lang.Override public long getWriteTimestamp() { return writeTimestamp_; } public static final int MUTATE_REQUESTS_FIELD_NUMBER = 4; private java.util.List mutateRequests_; /** * repeated .cz.proto.ingestion.v2.MutateRequest mutate_requests = 4; */ @java.lang.Override public java.util.List getMutateRequestsList() { return mutateRequests_; } /** * repeated .cz.proto.ingestion.v2.MutateRequest mutate_requests = 4; */ @java.lang.Override public java.util.List getMutateRequestsOrBuilderList() { return mutateRequests_; } /** * repeated .cz.proto.ingestion.v2.MutateRequest mutate_requests = 4; */ @java.lang.Override public int getMutateRequestsCount() { return mutateRequests_.size(); } /** * repeated .cz.proto.ingestion.v2.MutateRequest mutate_requests = 4; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.MutateRequest getMutateRequests(int index) { return mutateRequests_.get(index); } /** * repeated .cz.proto.ingestion.v2.MutateRequest mutate_requests = 4; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.MutateRequestOrBuilder getMutateRequestsOrBuilder( int index) { return mutateRequests_.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 (batchId_ != 0L) { output.writeInt64(2, batchId_); } if (writeTimestamp_ != 0L) { output.writeInt64(3, writeTimestamp_); } for (int i = 0; i < mutateRequests_.size(); i++) { output.writeMessage(4, mutateRequests_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (batchId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, batchId_); } if (writeTimestamp_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, writeTimestamp_); } for (int i = 0; i < mutateRequests_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, mutateRequests_.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 cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest other = (cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest) obj; if (getBatchId() != other.getBatchId()) return false; if (getWriteTimestamp() != other.getWriteTimestamp()) return false; if (!getMutateRequestsList() .equals(other.getMutateRequestsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + BATCH_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getBatchId()); hash = (37 * hash) + WRITE_TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getWriteTimestamp()); if (getMutateRequestsCount() > 0) { hash = (37 * hash) + MUTATE_REQUESTS_FIELD_NUMBER; hash = (53 * hash) + getMutateRequestsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest 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 cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest 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 cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest 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(cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest 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 cz.proto.ingestion.v2.MultiMutateRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.MultiMutateRequest) cz.proto.ingestion.v2.IngestionV2.MultiMutateRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_MultiMutateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_MultiMutateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest.class, cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getMutateRequestsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); batchId_ = 0L; writeTimestamp_ = 0L; if (mutateRequestsBuilder_ == null) { mutateRequests_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { mutateRequestsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_MultiMutateRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest build() { cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest buildPartial() { cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest result = new cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest(this); int from_bitField0_ = bitField0_; result.batchId_ = batchId_; result.writeTimestamp_ = writeTimestamp_; if (mutateRequestsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { mutateRequests_ = java.util.Collections.unmodifiableList(mutateRequests_); bitField0_ = (bitField0_ & ~0x00000001); } result.mutateRequests_ = mutateRequests_; } else { result.mutateRequests_ = mutateRequestsBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest other) { if (other == cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest.getDefaultInstance()) return this; if (other.getBatchId() != 0L) { setBatchId(other.getBatchId()); } if (other.getWriteTimestamp() != 0L) { setWriteTimestamp(other.getWriteTimestamp()); } if (mutateRequestsBuilder_ == null) { if (!other.mutateRequests_.isEmpty()) { if (mutateRequests_.isEmpty()) { mutateRequests_ = other.mutateRequests_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureMutateRequestsIsMutable(); mutateRequests_.addAll(other.mutateRequests_); } onChanged(); } } else { if (!other.mutateRequests_.isEmpty()) { if (mutateRequestsBuilder_.isEmpty()) { mutateRequestsBuilder_.dispose(); mutateRequestsBuilder_ = null; mutateRequests_ = other.mutateRequests_; bitField0_ = (bitField0_ & ~0x00000001); mutateRequestsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getMutateRequestsFieldBuilder() : null; } else { mutateRequestsBuilder_.addAllMessages(other.mutateRequests_); } } } 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 { cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long batchId_ ; /** * int64 batch_id = 2; * @return The batchId. */ @java.lang.Override public long getBatchId() { return batchId_; } /** * int64 batch_id = 2; * @param value The batchId to set. * @return This builder for chaining. */ public Builder setBatchId(long value) { batchId_ = value; onChanged(); return this; } /** * int64 batch_id = 2; * @return This builder for chaining. */ public Builder clearBatchId() { batchId_ = 0L; onChanged(); return this; } private long writeTimestamp_ ; /** * int64 write_timestamp = 3; * @return The writeTimestamp. */ @java.lang.Override public long getWriteTimestamp() { return writeTimestamp_; } /** * int64 write_timestamp = 3; * @param value The writeTimestamp to set. * @return This builder for chaining. */ public Builder setWriteTimestamp(long value) { writeTimestamp_ = value; onChanged(); return this; } /** * int64 write_timestamp = 3; * @return This builder for chaining. */ public Builder clearWriteTimestamp() { writeTimestamp_ = 0L; onChanged(); return this; } private java.util.List mutateRequests_ = java.util.Collections.emptyList(); private void ensureMutateRequestsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { mutateRequests_ = new java.util.ArrayList(mutateRequests_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.MutateRequest, cz.proto.ingestion.v2.IngestionV2.MutateRequest.Builder, cz.proto.ingestion.v2.IngestionV2.MutateRequestOrBuilder> mutateRequestsBuilder_; /** * repeated .cz.proto.ingestion.v2.MutateRequest mutate_requests = 4; */ public java.util.List getMutateRequestsList() { if (mutateRequestsBuilder_ == null) { return java.util.Collections.unmodifiableList(mutateRequests_); } else { return mutateRequestsBuilder_.getMessageList(); } } /** * repeated .cz.proto.ingestion.v2.MutateRequest mutate_requests = 4; */ public int getMutateRequestsCount() { if (mutateRequestsBuilder_ == null) { return mutateRequests_.size(); } else { return mutateRequestsBuilder_.getCount(); } } /** * repeated .cz.proto.ingestion.v2.MutateRequest mutate_requests = 4; */ public cz.proto.ingestion.v2.IngestionV2.MutateRequest getMutateRequests(int index) { if (mutateRequestsBuilder_ == null) { return mutateRequests_.get(index); } else { return mutateRequestsBuilder_.getMessage(index); } } /** * repeated .cz.proto.ingestion.v2.MutateRequest mutate_requests = 4; */ public Builder setMutateRequests( int index, cz.proto.ingestion.v2.IngestionV2.MutateRequest value) { if (mutateRequestsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMutateRequestsIsMutable(); mutateRequests_.set(index, value); onChanged(); } else { mutateRequestsBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.ingestion.v2.MutateRequest mutate_requests = 4; */ public Builder setMutateRequests( int index, cz.proto.ingestion.v2.IngestionV2.MutateRequest.Builder builderForValue) { if (mutateRequestsBuilder_ == null) { ensureMutateRequestsIsMutable(); mutateRequests_.set(index, builderForValue.build()); onChanged(); } else { mutateRequestsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.v2.MutateRequest mutate_requests = 4; */ public Builder addMutateRequests(cz.proto.ingestion.v2.IngestionV2.MutateRequest value) { if (mutateRequestsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMutateRequestsIsMutable(); mutateRequests_.add(value); onChanged(); } else { mutateRequestsBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.ingestion.v2.MutateRequest mutate_requests = 4; */ public Builder addMutateRequests( int index, cz.proto.ingestion.v2.IngestionV2.MutateRequest value) { if (mutateRequestsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMutateRequestsIsMutable(); mutateRequests_.add(index, value); onChanged(); } else { mutateRequestsBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.ingestion.v2.MutateRequest mutate_requests = 4; */ public Builder addMutateRequests( cz.proto.ingestion.v2.IngestionV2.MutateRequest.Builder builderForValue) { if (mutateRequestsBuilder_ == null) { ensureMutateRequestsIsMutable(); mutateRequests_.add(builderForValue.build()); onChanged(); } else { mutateRequestsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.v2.MutateRequest mutate_requests = 4; */ public Builder addMutateRequests( int index, cz.proto.ingestion.v2.IngestionV2.MutateRequest.Builder builderForValue) { if (mutateRequestsBuilder_ == null) { ensureMutateRequestsIsMutable(); mutateRequests_.add(index, builderForValue.build()); onChanged(); } else { mutateRequestsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.v2.MutateRequest mutate_requests = 4; */ public Builder addAllMutateRequests( java.lang.Iterable values) { if (mutateRequestsBuilder_ == null) { ensureMutateRequestsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, mutateRequests_); onChanged(); } else { mutateRequestsBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.ingestion.v2.MutateRequest mutate_requests = 4; */ public Builder clearMutateRequests() { if (mutateRequestsBuilder_ == null) { mutateRequests_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { mutateRequestsBuilder_.clear(); } return this; } /** * repeated .cz.proto.ingestion.v2.MutateRequest mutate_requests = 4; */ public Builder removeMutateRequests(int index) { if (mutateRequestsBuilder_ == null) { ensureMutateRequestsIsMutable(); mutateRequests_.remove(index); onChanged(); } else { mutateRequestsBuilder_.remove(index); } return this; } /** * repeated .cz.proto.ingestion.v2.MutateRequest mutate_requests = 4; */ public cz.proto.ingestion.v2.IngestionV2.MutateRequest.Builder getMutateRequestsBuilder( int index) { return getMutateRequestsFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.ingestion.v2.MutateRequest mutate_requests = 4; */ public cz.proto.ingestion.v2.IngestionV2.MutateRequestOrBuilder getMutateRequestsOrBuilder( int index) { if (mutateRequestsBuilder_ == null) { return mutateRequests_.get(index); } else { return mutateRequestsBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.ingestion.v2.MutateRequest mutate_requests = 4; */ public java.util.List getMutateRequestsOrBuilderList() { if (mutateRequestsBuilder_ != null) { return mutateRequestsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(mutateRequests_); } } /** * repeated .cz.proto.ingestion.v2.MutateRequest mutate_requests = 4; */ public cz.proto.ingestion.v2.IngestionV2.MutateRequest.Builder addMutateRequestsBuilder() { return getMutateRequestsFieldBuilder().addBuilder( cz.proto.ingestion.v2.IngestionV2.MutateRequest.getDefaultInstance()); } /** * repeated .cz.proto.ingestion.v2.MutateRequest mutate_requests = 4; */ public cz.proto.ingestion.v2.IngestionV2.MutateRequest.Builder addMutateRequestsBuilder( int index) { return getMutateRequestsFieldBuilder().addBuilder( index, cz.proto.ingestion.v2.IngestionV2.MutateRequest.getDefaultInstance()); } /** * repeated .cz.proto.ingestion.v2.MutateRequest mutate_requests = 4; */ public java.util.List getMutateRequestsBuilderList() { return getMutateRequestsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.MutateRequest, cz.proto.ingestion.v2.IngestionV2.MutateRequest.Builder, cz.proto.ingestion.v2.IngestionV2.MutateRequestOrBuilder> getMutateRequestsFieldBuilder() { if (mutateRequestsBuilder_ == null) { mutateRequestsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.MutateRequest, cz.proto.ingestion.v2.IngestionV2.MutateRequest.Builder, cz.proto.ingestion.v2.IngestionV2.MutateRequestOrBuilder>( mutateRequests_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); mutateRequests_ = null; } return mutateRequestsBuilder_; } @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:cz.proto.ingestion.v2.MultiMutateRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.MultiMutateRequest) private static final cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest(); } public static cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MultiMutateRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MultiMutateRequest(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 cz.proto.ingestion.v2.IngestionV2.MultiMutateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MultiMutateResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.MultiMutateResponse) com.google.protobuf.MessageOrBuilder { /** * int64 batch_id = 1; * @return The batchId. */ long getBatchId(); /** * int64 num_rows = 2; * @return The numRows. */ long getNumRows(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; * @return The status. */ cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; */ cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder(); /** * repeated .cz.proto.ingestion.v2.MutateResponse mutate_responses = 4; */ java.util.List getMutateResponsesList(); /** * repeated .cz.proto.ingestion.v2.MutateResponse mutate_responses = 4; */ cz.proto.ingestion.v2.IngestionV2.MutateResponse getMutateResponses(int index); /** * repeated .cz.proto.ingestion.v2.MutateResponse mutate_responses = 4; */ int getMutateResponsesCount(); /** * repeated .cz.proto.ingestion.v2.MutateResponse mutate_responses = 4; */ java.util.List getMutateResponsesOrBuilderList(); /** * repeated .cz.proto.ingestion.v2.MutateResponse mutate_responses = 4; */ cz.proto.ingestion.v2.IngestionV2.MutateResponseOrBuilder getMutateResponsesOrBuilder( int index); } /** * Protobuf type {@code cz.proto.ingestion.v2.MultiMutateResponse} */ public static final class MultiMutateResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.MultiMutateResponse) MultiMutateResponseOrBuilder { private static final long serialVersionUID = 0L; // Use MultiMutateResponse.newBuilder() to construct. private MultiMutateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MultiMutateResponse() { mutateResponses_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MultiMutateResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MultiMutateResponse( 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 8: { batchId_ = input.readInt64(); break; } case 16: { numRows_ = input.readInt64(); break; } case 26: { cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(status_); status_ = subBuilder.buildPartial(); } break; } case 34: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { mutateResponses_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } mutateResponses_.add( input.readMessage(cz.proto.ingestion.v2.IngestionV2.MutateResponse.parser(), extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { mutateResponses_ = java.util.Collections.unmodifiableList(mutateResponses_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_MultiMutateResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_MultiMutateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse.class, cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse.Builder.class); } public static final int BATCH_ID_FIELD_NUMBER = 1; private long batchId_; /** * int64 batch_id = 1; * @return The batchId. */ @java.lang.Override public long getBatchId() { return batchId_; } public static final int NUM_ROWS_FIELD_NUMBER = 2; private long numRows_; /** * int64 num_rows = 2; * @return The numRows. */ @java.lang.Override public long getNumRows() { return numRows_; } public static final int STATUS_FIELD_NUMBER = 3; private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; * @return The status. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { return getStatus(); } public static final int MUTATE_RESPONSES_FIELD_NUMBER = 4; private java.util.List mutateResponses_; /** * repeated .cz.proto.ingestion.v2.MutateResponse mutate_responses = 4; */ @java.lang.Override public java.util.List getMutateResponsesList() { return mutateResponses_; } /** * repeated .cz.proto.ingestion.v2.MutateResponse mutate_responses = 4; */ @java.lang.Override public java.util.List getMutateResponsesOrBuilderList() { return mutateResponses_; } /** * repeated .cz.proto.ingestion.v2.MutateResponse mutate_responses = 4; */ @java.lang.Override public int getMutateResponsesCount() { return mutateResponses_.size(); } /** * repeated .cz.proto.ingestion.v2.MutateResponse mutate_responses = 4; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.MutateResponse getMutateResponses(int index) { return mutateResponses_.get(index); } /** * repeated .cz.proto.ingestion.v2.MutateResponse mutate_responses = 4; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.MutateResponseOrBuilder getMutateResponsesOrBuilder( int index) { return mutateResponses_.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 (batchId_ != 0L) { output.writeInt64(1, batchId_); } if (numRows_ != 0L) { output.writeInt64(2, numRows_); } if (status_ != null) { output.writeMessage(3, getStatus()); } for (int i = 0; i < mutateResponses_.size(); i++) { output.writeMessage(4, mutateResponses_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (batchId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, batchId_); } if (numRows_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, numRows_); } if (status_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getStatus()); } for (int i = 0; i < mutateResponses_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, mutateResponses_.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 cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse other = (cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse) obj; if (getBatchId() != other.getBatchId()) return false; if (getNumRows() != other.getNumRows()) return false; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) return false; } if (!getMutateResponsesList() .equals(other.getMutateResponsesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + BATCH_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getBatchId()); hash = (37 * hash) + NUM_ROWS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getNumRows()); if (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } if (getMutateResponsesCount() > 0) { hash = (37 * hash) + MUTATE_RESPONSES_FIELD_NUMBER; hash = (53 * hash) + getMutateResponsesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse 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 cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse 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 cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse 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(cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse 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 cz.proto.ingestion.v2.MultiMutateResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.MultiMutateResponse) cz.proto.ingestion.v2.IngestionV2.MultiMutateResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_MultiMutateResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_MultiMutateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse.class, cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getMutateResponsesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); batchId_ = 0L; numRows_ = 0L; if (statusBuilder_ == null) { status_ = null; } else { status_ = null; statusBuilder_ = null; } if (mutateResponsesBuilder_ == null) { mutateResponses_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { mutateResponsesBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_MultiMutateResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse build() { cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse buildPartial() { cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse result = new cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse(this); int from_bitField0_ = bitField0_; result.batchId_ = batchId_; result.numRows_ = numRows_; if (statusBuilder_ == null) { result.status_ = status_; } else { result.status_ = statusBuilder_.build(); } if (mutateResponsesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { mutateResponses_ = java.util.Collections.unmodifiableList(mutateResponses_); bitField0_ = (bitField0_ & ~0x00000001); } result.mutateResponses_ = mutateResponses_; } else { result.mutateResponses_ = mutateResponsesBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse other) { if (other == cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse.getDefaultInstance()) return this; if (other.getBatchId() != 0L) { setBatchId(other.getBatchId()); } if (other.getNumRows() != 0L) { setNumRows(other.getNumRows()); } if (other.hasStatus()) { mergeStatus(other.getStatus()); } if (mutateResponsesBuilder_ == null) { if (!other.mutateResponses_.isEmpty()) { if (mutateResponses_.isEmpty()) { mutateResponses_ = other.mutateResponses_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureMutateResponsesIsMutable(); mutateResponses_.addAll(other.mutateResponses_); } onChanged(); } } else { if (!other.mutateResponses_.isEmpty()) { if (mutateResponsesBuilder_.isEmpty()) { mutateResponsesBuilder_.dispose(); mutateResponsesBuilder_ = null; mutateResponses_ = other.mutateResponses_; bitField0_ = (bitField0_ & ~0x00000001); mutateResponsesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getMutateResponsesFieldBuilder() : null; } else { mutateResponsesBuilder_.addAllMessages(other.mutateResponses_); } } } 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 { cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long batchId_ ; /** * int64 batch_id = 1; * @return The batchId. */ @java.lang.Override public long getBatchId() { return batchId_; } /** * int64 batch_id = 1; * @param value The batchId to set. * @return This builder for chaining. */ public Builder setBatchId(long value) { batchId_ = value; onChanged(); return this; } /** * int64 batch_id = 1; * @return This builder for chaining. */ public Builder clearBatchId() { batchId_ = 0L; onChanged(); return this; } private long numRows_ ; /** * int64 num_rows = 2; * @return The numRows. */ @java.lang.Override public long getNumRows() { return numRows_; } /** * int64 num_rows = 2; * @param value The numRows to set. * @return This builder for chaining. */ public Builder setNumRows(long value) { numRows_ = value; onChanged(); return this; } /** * int64 num_rows = 2; * @return This builder for chaining. */ public Builder clearNumRows() { numRows_ = 0L; onChanged(); return this; } private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; * @return The status. */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; */ public Builder setStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; */ public Builder setStatus( cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; */ public Builder mergeStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.v2.IngestionV2.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 3; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder>( getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } private java.util.List mutateResponses_ = java.util.Collections.emptyList(); private void ensureMutateResponsesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { mutateResponses_ = new java.util.ArrayList(mutateResponses_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.MutateResponse, cz.proto.ingestion.v2.IngestionV2.MutateResponse.Builder, cz.proto.ingestion.v2.IngestionV2.MutateResponseOrBuilder> mutateResponsesBuilder_; /** * repeated .cz.proto.ingestion.v2.MutateResponse mutate_responses = 4; */ public java.util.List getMutateResponsesList() { if (mutateResponsesBuilder_ == null) { return java.util.Collections.unmodifiableList(mutateResponses_); } else { return mutateResponsesBuilder_.getMessageList(); } } /** * repeated .cz.proto.ingestion.v2.MutateResponse mutate_responses = 4; */ public int getMutateResponsesCount() { if (mutateResponsesBuilder_ == null) { return mutateResponses_.size(); } else { return mutateResponsesBuilder_.getCount(); } } /** * repeated .cz.proto.ingestion.v2.MutateResponse mutate_responses = 4; */ public cz.proto.ingestion.v2.IngestionV2.MutateResponse getMutateResponses(int index) { if (mutateResponsesBuilder_ == null) { return mutateResponses_.get(index); } else { return mutateResponsesBuilder_.getMessage(index); } } /** * repeated .cz.proto.ingestion.v2.MutateResponse mutate_responses = 4; */ public Builder setMutateResponses( int index, cz.proto.ingestion.v2.IngestionV2.MutateResponse value) { if (mutateResponsesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMutateResponsesIsMutable(); mutateResponses_.set(index, value); onChanged(); } else { mutateResponsesBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.ingestion.v2.MutateResponse mutate_responses = 4; */ public Builder setMutateResponses( int index, cz.proto.ingestion.v2.IngestionV2.MutateResponse.Builder builderForValue) { if (mutateResponsesBuilder_ == null) { ensureMutateResponsesIsMutable(); mutateResponses_.set(index, builderForValue.build()); onChanged(); } else { mutateResponsesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.v2.MutateResponse mutate_responses = 4; */ public Builder addMutateResponses(cz.proto.ingestion.v2.IngestionV2.MutateResponse value) { if (mutateResponsesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMutateResponsesIsMutable(); mutateResponses_.add(value); onChanged(); } else { mutateResponsesBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.ingestion.v2.MutateResponse mutate_responses = 4; */ public Builder addMutateResponses( int index, cz.proto.ingestion.v2.IngestionV2.MutateResponse value) { if (mutateResponsesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMutateResponsesIsMutable(); mutateResponses_.add(index, value); onChanged(); } else { mutateResponsesBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.ingestion.v2.MutateResponse mutate_responses = 4; */ public Builder addMutateResponses( cz.proto.ingestion.v2.IngestionV2.MutateResponse.Builder builderForValue) { if (mutateResponsesBuilder_ == null) { ensureMutateResponsesIsMutable(); mutateResponses_.add(builderForValue.build()); onChanged(); } else { mutateResponsesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.v2.MutateResponse mutate_responses = 4; */ public Builder addMutateResponses( int index, cz.proto.ingestion.v2.IngestionV2.MutateResponse.Builder builderForValue) { if (mutateResponsesBuilder_ == null) { ensureMutateResponsesIsMutable(); mutateResponses_.add(index, builderForValue.build()); onChanged(); } else { mutateResponsesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.v2.MutateResponse mutate_responses = 4; */ public Builder addAllMutateResponses( java.lang.Iterable values) { if (mutateResponsesBuilder_ == null) { ensureMutateResponsesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, mutateResponses_); onChanged(); } else { mutateResponsesBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.ingestion.v2.MutateResponse mutate_responses = 4; */ public Builder clearMutateResponses() { if (mutateResponsesBuilder_ == null) { mutateResponses_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { mutateResponsesBuilder_.clear(); } return this; } /** * repeated .cz.proto.ingestion.v2.MutateResponse mutate_responses = 4; */ public Builder removeMutateResponses(int index) { if (mutateResponsesBuilder_ == null) { ensureMutateResponsesIsMutable(); mutateResponses_.remove(index); onChanged(); } else { mutateResponsesBuilder_.remove(index); } return this; } /** * repeated .cz.proto.ingestion.v2.MutateResponse mutate_responses = 4; */ public cz.proto.ingestion.v2.IngestionV2.MutateResponse.Builder getMutateResponsesBuilder( int index) { return getMutateResponsesFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.ingestion.v2.MutateResponse mutate_responses = 4; */ public cz.proto.ingestion.v2.IngestionV2.MutateResponseOrBuilder getMutateResponsesOrBuilder( int index) { if (mutateResponsesBuilder_ == null) { return mutateResponses_.get(index); } else { return mutateResponsesBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.ingestion.v2.MutateResponse mutate_responses = 4; */ public java.util.List getMutateResponsesOrBuilderList() { if (mutateResponsesBuilder_ != null) { return mutateResponsesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(mutateResponses_); } } /** * repeated .cz.proto.ingestion.v2.MutateResponse mutate_responses = 4; */ public cz.proto.ingestion.v2.IngestionV2.MutateResponse.Builder addMutateResponsesBuilder() { return getMutateResponsesFieldBuilder().addBuilder( cz.proto.ingestion.v2.IngestionV2.MutateResponse.getDefaultInstance()); } /** * repeated .cz.proto.ingestion.v2.MutateResponse mutate_responses = 4; */ public cz.proto.ingestion.v2.IngestionV2.MutateResponse.Builder addMutateResponsesBuilder( int index) { return getMutateResponsesFieldBuilder().addBuilder( index, cz.proto.ingestion.v2.IngestionV2.MutateResponse.getDefaultInstance()); } /** * repeated .cz.proto.ingestion.v2.MutateResponse mutate_responses = 4; */ public java.util.List getMutateResponsesBuilderList() { return getMutateResponsesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.MutateResponse, cz.proto.ingestion.v2.IngestionV2.MutateResponse.Builder, cz.proto.ingestion.v2.IngestionV2.MutateResponseOrBuilder> getMutateResponsesFieldBuilder() { if (mutateResponsesBuilder_ == null) { mutateResponsesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.MutateResponse, cz.proto.ingestion.v2.IngestionV2.MutateResponse.Builder, cz.proto.ingestion.v2.IngestionV2.MutateResponseOrBuilder>( mutateResponses_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); mutateResponses_ = null; } return mutateResponsesBuilder_; } @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:cz.proto.ingestion.v2.MultiMutateResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.MultiMutateResponse) private static final cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse(); } public static cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MultiMutateResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MultiMutateResponse(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 cz.proto.ingestion.v2.IngestionV2.MultiMutateResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface InternalDataBlockOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.InternalDataBlock) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.DataBlock data_block = 1; * @return Whether the dataBlock field is set. */ boolean hasDataBlock(); /** * .cz.proto.ingestion.v2.DataBlock data_block = 1; * @return The dataBlock. */ cz.proto.ingestion.v2.IngestionV2.DataBlock getDataBlock(); /** * .cz.proto.ingestion.v2.DataBlock data_block = 1; */ cz.proto.ingestion.v2.IngestionV2.DataBlockOrBuilder getDataBlockOrBuilder(); /** * repeated uint32 bucket_id_list = 2; * @return A list containing the bucketIdList. */ java.util.List getBucketIdListList(); /** * repeated uint32 bucket_id_list = 2; * @return The count of bucketIdList. */ int getBucketIdListCount(); /** * repeated uint32 bucket_id_list = 2; * @param index The index of the element to return. * @return The bucketIdList at the given index. */ int getBucketIdList(int index); } /** * Protobuf type {@code cz.proto.ingestion.v2.InternalDataBlock} */ public static final class InternalDataBlock extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.InternalDataBlock) InternalDataBlockOrBuilder { private static final long serialVersionUID = 0L; // Use InternalDataBlock.newBuilder() to construct. private InternalDataBlock(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private InternalDataBlock() { bucketIdList_ = emptyIntList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new InternalDataBlock(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private InternalDataBlock( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.DataBlock.Builder subBuilder = null; if (dataBlock_ != null) { subBuilder = dataBlock_.toBuilder(); } dataBlock_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.DataBlock.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(dataBlock_); dataBlock_ = subBuilder.buildPartial(); } break; } case 16: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { bucketIdList_ = newIntList(); mutable_bitField0_ |= 0x00000001; } bucketIdList_.addInt(input.readUInt32()); break; } case 18: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { bucketIdList_ = newIntList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { bucketIdList_.addInt(input.readUInt32()); } input.popLimit(limit); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { bucketIdList_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_InternalDataBlock_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_InternalDataBlock_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.InternalDataBlock.class, cz.proto.ingestion.v2.IngestionV2.InternalDataBlock.Builder.class); } public static final int DATA_BLOCK_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.DataBlock dataBlock_; /** * .cz.proto.ingestion.v2.DataBlock data_block = 1; * @return Whether the dataBlock field is set. */ @java.lang.Override public boolean hasDataBlock() { return dataBlock_ != null; } /** * .cz.proto.ingestion.v2.DataBlock data_block = 1; * @return The dataBlock. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.DataBlock getDataBlock() { return dataBlock_ == null ? cz.proto.ingestion.v2.IngestionV2.DataBlock.getDefaultInstance() : dataBlock_; } /** * .cz.proto.ingestion.v2.DataBlock data_block = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.DataBlockOrBuilder getDataBlockOrBuilder() { return getDataBlock(); } public static final int BUCKET_ID_LIST_FIELD_NUMBER = 2; private com.google.protobuf.Internal.IntList bucketIdList_; /** * repeated uint32 bucket_id_list = 2; * @return A list containing the bucketIdList. */ @java.lang.Override public java.util.List getBucketIdListList() { return bucketIdList_; } /** * repeated uint32 bucket_id_list = 2; * @return The count of bucketIdList. */ public int getBucketIdListCount() { return bucketIdList_.size(); } /** * repeated uint32 bucket_id_list = 2; * @param index The index of the element to return. * @return The bucketIdList at the given index. */ public int getBucketIdList(int index) { return bucketIdList_.getInt(index); } private int bucketIdListMemoizedSerializedSize = -1; 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 { getSerializedSize(); if (dataBlock_ != null) { output.writeMessage(1, getDataBlock()); } if (getBucketIdListList().size() > 0) { output.writeUInt32NoTag(18); output.writeUInt32NoTag(bucketIdListMemoizedSerializedSize); } for (int i = 0; i < bucketIdList_.size(); i++) { output.writeUInt32NoTag(bucketIdList_.getInt(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (dataBlock_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getDataBlock()); } { int dataSize = 0; for (int i = 0; i < bucketIdList_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(bucketIdList_.getInt(i)); } size += dataSize; if (!getBucketIdListList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } bucketIdListMemoizedSerializedSize = dataSize; } 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 cz.proto.ingestion.v2.IngestionV2.InternalDataBlock)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.InternalDataBlock other = (cz.proto.ingestion.v2.IngestionV2.InternalDataBlock) obj; if (hasDataBlock() != other.hasDataBlock()) return false; if (hasDataBlock()) { if (!getDataBlock() .equals(other.getDataBlock())) return false; } if (!getBucketIdListList() .equals(other.getBucketIdListList())) 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 (hasDataBlock()) { hash = (37 * hash) + DATA_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getDataBlock().hashCode(); } if (getBucketIdListCount() > 0) { hash = (37 * hash) + BUCKET_ID_LIST_FIELD_NUMBER; hash = (53 * hash) + getBucketIdListList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.InternalDataBlock parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.InternalDataBlock parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.InternalDataBlock parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.InternalDataBlock parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.InternalDataBlock parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.InternalDataBlock parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.InternalDataBlock parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.InternalDataBlock 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 cz.proto.ingestion.v2.IngestionV2.InternalDataBlock parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.InternalDataBlock 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 cz.proto.ingestion.v2.IngestionV2.InternalDataBlock parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.InternalDataBlock 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(cz.proto.ingestion.v2.IngestionV2.InternalDataBlock 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 cz.proto.ingestion.v2.InternalDataBlock} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.InternalDataBlock) cz.proto.ingestion.v2.IngestionV2.InternalDataBlockOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_InternalDataBlock_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_InternalDataBlock_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.InternalDataBlock.class, cz.proto.ingestion.v2.IngestionV2.InternalDataBlock.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.InternalDataBlock.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (dataBlockBuilder_ == null) { dataBlock_ = null; } else { dataBlock_ = null; dataBlockBuilder_ = null; } bucketIdList_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_InternalDataBlock_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.InternalDataBlock getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.InternalDataBlock.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.InternalDataBlock build() { cz.proto.ingestion.v2.IngestionV2.InternalDataBlock result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.InternalDataBlock buildPartial() { cz.proto.ingestion.v2.IngestionV2.InternalDataBlock result = new cz.proto.ingestion.v2.IngestionV2.InternalDataBlock(this); int from_bitField0_ = bitField0_; if (dataBlockBuilder_ == null) { result.dataBlock_ = dataBlock_; } else { result.dataBlock_ = dataBlockBuilder_.build(); } if (((bitField0_ & 0x00000001) != 0)) { bucketIdList_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000001); } result.bucketIdList_ = bucketIdList_; 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 cz.proto.ingestion.v2.IngestionV2.InternalDataBlock) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.InternalDataBlock)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.InternalDataBlock other) { if (other == cz.proto.ingestion.v2.IngestionV2.InternalDataBlock.getDefaultInstance()) return this; if (other.hasDataBlock()) { mergeDataBlock(other.getDataBlock()); } if (!other.bucketIdList_.isEmpty()) { if (bucketIdList_.isEmpty()) { bucketIdList_ = other.bucketIdList_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureBucketIdListIsMutable(); bucketIdList_.addAll(other.bucketIdList_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.ingestion.v2.IngestionV2.InternalDataBlock parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.InternalDataBlock) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.ingestion.v2.IngestionV2.DataBlock dataBlock_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.DataBlock, cz.proto.ingestion.v2.IngestionV2.DataBlock.Builder, cz.proto.ingestion.v2.IngestionV2.DataBlockOrBuilder> dataBlockBuilder_; /** * .cz.proto.ingestion.v2.DataBlock data_block = 1; * @return Whether the dataBlock field is set. */ public boolean hasDataBlock() { return dataBlockBuilder_ != null || dataBlock_ != null; } /** * .cz.proto.ingestion.v2.DataBlock data_block = 1; * @return The dataBlock. */ public cz.proto.ingestion.v2.IngestionV2.DataBlock getDataBlock() { if (dataBlockBuilder_ == null) { return dataBlock_ == null ? cz.proto.ingestion.v2.IngestionV2.DataBlock.getDefaultInstance() : dataBlock_; } else { return dataBlockBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.DataBlock data_block = 1; */ public Builder setDataBlock(cz.proto.ingestion.v2.IngestionV2.DataBlock value) { if (dataBlockBuilder_ == null) { if (value == null) { throw new NullPointerException(); } dataBlock_ = value; onChanged(); } else { dataBlockBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.DataBlock data_block = 1; */ public Builder setDataBlock( cz.proto.ingestion.v2.IngestionV2.DataBlock.Builder builderForValue) { if (dataBlockBuilder_ == null) { dataBlock_ = builderForValue.build(); onChanged(); } else { dataBlockBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.DataBlock data_block = 1; */ public Builder mergeDataBlock(cz.proto.ingestion.v2.IngestionV2.DataBlock value) { if (dataBlockBuilder_ == null) { if (dataBlock_ != null) { dataBlock_ = cz.proto.ingestion.v2.IngestionV2.DataBlock.newBuilder(dataBlock_).mergeFrom(value).buildPartial(); } else { dataBlock_ = value; } onChanged(); } else { dataBlockBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.DataBlock data_block = 1; */ public Builder clearDataBlock() { if (dataBlockBuilder_ == null) { dataBlock_ = null; onChanged(); } else { dataBlock_ = null; dataBlockBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.DataBlock data_block = 1; */ public cz.proto.ingestion.v2.IngestionV2.DataBlock.Builder getDataBlockBuilder() { onChanged(); return getDataBlockFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.DataBlock data_block = 1; */ public cz.proto.ingestion.v2.IngestionV2.DataBlockOrBuilder getDataBlockOrBuilder() { if (dataBlockBuilder_ != null) { return dataBlockBuilder_.getMessageOrBuilder(); } else { return dataBlock_ == null ? cz.proto.ingestion.v2.IngestionV2.DataBlock.getDefaultInstance() : dataBlock_; } } /** * .cz.proto.ingestion.v2.DataBlock data_block = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.DataBlock, cz.proto.ingestion.v2.IngestionV2.DataBlock.Builder, cz.proto.ingestion.v2.IngestionV2.DataBlockOrBuilder> getDataBlockFieldBuilder() { if (dataBlockBuilder_ == null) { dataBlockBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.DataBlock, cz.proto.ingestion.v2.IngestionV2.DataBlock.Builder, cz.proto.ingestion.v2.IngestionV2.DataBlockOrBuilder>( getDataBlock(), getParentForChildren(), isClean()); dataBlock_ = null; } return dataBlockBuilder_; } private com.google.protobuf.Internal.IntList bucketIdList_ = emptyIntList(); private void ensureBucketIdListIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { bucketIdList_ = mutableCopy(bucketIdList_); bitField0_ |= 0x00000001; } } /** * repeated uint32 bucket_id_list = 2; * @return A list containing the bucketIdList. */ public java.util.List getBucketIdListList() { return ((bitField0_ & 0x00000001) != 0) ? java.util.Collections.unmodifiableList(bucketIdList_) : bucketIdList_; } /** * repeated uint32 bucket_id_list = 2; * @return The count of bucketIdList. */ public int getBucketIdListCount() { return bucketIdList_.size(); } /** * repeated uint32 bucket_id_list = 2; * @param index The index of the element to return. * @return The bucketIdList at the given index. */ public int getBucketIdList(int index) { return bucketIdList_.getInt(index); } /** * repeated uint32 bucket_id_list = 2; * @param index The index to set the value at. * @param value The bucketIdList to set. * @return This builder for chaining. */ public Builder setBucketIdList( int index, int value) { ensureBucketIdListIsMutable(); bucketIdList_.setInt(index, value); onChanged(); return this; } /** * repeated uint32 bucket_id_list = 2; * @param value The bucketIdList to add. * @return This builder for chaining. */ public Builder addBucketIdList(int value) { ensureBucketIdListIsMutable(); bucketIdList_.addInt(value); onChanged(); return this; } /** * repeated uint32 bucket_id_list = 2; * @param values The bucketIdList to add. * @return This builder for chaining. */ public Builder addAllBucketIdList( java.lang.Iterable values) { ensureBucketIdListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, bucketIdList_); onChanged(); return this; } /** * repeated uint32 bucket_id_list = 2; * @return This builder for chaining. */ public Builder clearBucketIdList() { bucketIdList_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.InternalDataBlock) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.InternalDataBlock) private static final cz.proto.ingestion.v2.IngestionV2.InternalDataBlock DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.InternalDataBlock(); } public static cz.proto.ingestion.v2.IngestionV2.InternalDataBlock getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public InternalDataBlock parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new InternalDataBlock(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 cz.proto.ingestion.v2.IngestionV2.InternalDataBlock getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BucketedDataBlockListOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.BucketedDataBlockList) com.google.protobuf.MessageOrBuilder { /** * repeated .cz.proto.ingestion.v2.DataBlock data_blocks = 1; */ java.util.List getDataBlocksList(); /** * repeated .cz.proto.ingestion.v2.DataBlock data_blocks = 1; */ cz.proto.ingestion.v2.IngestionV2.DataBlock getDataBlocks(int index); /** * repeated .cz.proto.ingestion.v2.DataBlock data_blocks = 1; */ int getDataBlocksCount(); /** * repeated .cz.proto.ingestion.v2.DataBlock data_blocks = 1; */ java.util.List getDataBlocksOrBuilderList(); /** * repeated .cz.proto.ingestion.v2.DataBlock data_blocks = 1; */ cz.proto.ingestion.v2.IngestionV2.DataBlockOrBuilder getDataBlocksOrBuilder( int index); /** * repeated uint32 bucket_id_list = 2; * @return A list containing the bucketIdList. */ java.util.List getBucketIdListList(); /** * repeated uint32 bucket_id_list = 2; * @return The count of bucketIdList. */ int getBucketIdListCount(); /** * repeated uint32 bucket_id_list = 2; * @param index The index of the element to return. * @return The bucketIdList at the given index. */ int getBucketIdList(int index); } /** * Protobuf type {@code cz.proto.ingestion.v2.BucketedDataBlockList} */ public static final class BucketedDataBlockList extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.BucketedDataBlockList) BucketedDataBlockListOrBuilder { private static final long serialVersionUID = 0L; // Use BucketedDataBlockList.newBuilder() to construct. private BucketedDataBlockList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BucketedDataBlockList() { dataBlocks_ = java.util.Collections.emptyList(); bucketIdList_ = emptyIntList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BucketedDataBlockList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BucketedDataBlockList( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { dataBlocks_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } dataBlocks_.add( input.readMessage(cz.proto.ingestion.v2.IngestionV2.DataBlock.parser(), extensionRegistry)); break; } case 16: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { bucketIdList_ = newIntList(); mutable_bitField0_ |= 0x00000002; } bucketIdList_.addInt(input.readUInt32()); break; } case 18: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { bucketIdList_ = newIntList(); mutable_bitField0_ |= 0x00000002; } while (input.getBytesUntilLimit() > 0) { bucketIdList_.addInt(input.readUInt32()); } input.popLimit(limit); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { dataBlocks_ = java.util.Collections.unmodifiableList(dataBlocks_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { bucketIdList_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_BucketedDataBlockList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_BucketedDataBlockList_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList.class, cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList.Builder.class); } public static final int DATA_BLOCKS_FIELD_NUMBER = 1; private java.util.List dataBlocks_; /** * repeated .cz.proto.ingestion.v2.DataBlock data_blocks = 1; */ @java.lang.Override public java.util.List getDataBlocksList() { return dataBlocks_; } /** * repeated .cz.proto.ingestion.v2.DataBlock data_blocks = 1; */ @java.lang.Override public java.util.List getDataBlocksOrBuilderList() { return dataBlocks_; } /** * repeated .cz.proto.ingestion.v2.DataBlock data_blocks = 1; */ @java.lang.Override public int getDataBlocksCount() { return dataBlocks_.size(); } /** * repeated .cz.proto.ingestion.v2.DataBlock data_blocks = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.DataBlock getDataBlocks(int index) { return dataBlocks_.get(index); } /** * repeated .cz.proto.ingestion.v2.DataBlock data_blocks = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.DataBlockOrBuilder getDataBlocksOrBuilder( int index) { return dataBlocks_.get(index); } public static final int BUCKET_ID_LIST_FIELD_NUMBER = 2; private com.google.protobuf.Internal.IntList bucketIdList_; /** * repeated uint32 bucket_id_list = 2; * @return A list containing the bucketIdList. */ @java.lang.Override public java.util.List getBucketIdListList() { return bucketIdList_; } /** * repeated uint32 bucket_id_list = 2; * @return The count of bucketIdList. */ public int getBucketIdListCount() { return bucketIdList_.size(); } /** * repeated uint32 bucket_id_list = 2; * @param index The index of the element to return. * @return The bucketIdList at the given index. */ public int getBucketIdList(int index) { return bucketIdList_.getInt(index); } private int bucketIdListMemoizedSerializedSize = -1; 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 { getSerializedSize(); for (int i = 0; i < dataBlocks_.size(); i++) { output.writeMessage(1, dataBlocks_.get(i)); } if (getBucketIdListList().size() > 0) { output.writeUInt32NoTag(18); output.writeUInt32NoTag(bucketIdListMemoizedSerializedSize); } for (int i = 0; i < bucketIdList_.size(); i++) { output.writeUInt32NoTag(bucketIdList_.getInt(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < dataBlocks_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, dataBlocks_.get(i)); } { int dataSize = 0; for (int i = 0; i < bucketIdList_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(bucketIdList_.getInt(i)); } size += dataSize; if (!getBucketIdListList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } bucketIdListMemoizedSerializedSize = dataSize; } 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 cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList other = (cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList) obj; if (!getDataBlocksList() .equals(other.getDataBlocksList())) return false; if (!getBucketIdListList() .equals(other.getBucketIdListList())) 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 (getDataBlocksCount() > 0) { hash = (37 * hash) + DATA_BLOCKS_FIELD_NUMBER; hash = (53 * hash) + getDataBlocksList().hashCode(); } if (getBucketIdListCount() > 0) { hash = (37 * hash) + BUCKET_ID_LIST_FIELD_NUMBER; hash = (53 * hash) + getBucketIdListList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList 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 cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList 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 cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList 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(cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList 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 cz.proto.ingestion.v2.BucketedDataBlockList} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.BucketedDataBlockList) cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockListOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_BucketedDataBlockList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_BucketedDataBlockList_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList.class, cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDataBlocksFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (dataBlocksBuilder_ == null) { dataBlocks_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { dataBlocksBuilder_.clear(); } bucketIdList_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_BucketedDataBlockList_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList build() { cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList buildPartial() { cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList result = new cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList(this); int from_bitField0_ = bitField0_; if (dataBlocksBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { dataBlocks_ = java.util.Collections.unmodifiableList(dataBlocks_); bitField0_ = (bitField0_ & ~0x00000001); } result.dataBlocks_ = dataBlocks_; } else { result.dataBlocks_ = dataBlocksBuilder_.build(); } if (((bitField0_ & 0x00000002) != 0)) { bucketIdList_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000002); } result.bucketIdList_ = bucketIdList_; 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 cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList other) { if (other == cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList.getDefaultInstance()) return this; if (dataBlocksBuilder_ == null) { if (!other.dataBlocks_.isEmpty()) { if (dataBlocks_.isEmpty()) { dataBlocks_ = other.dataBlocks_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDataBlocksIsMutable(); dataBlocks_.addAll(other.dataBlocks_); } onChanged(); } } else { if (!other.dataBlocks_.isEmpty()) { if (dataBlocksBuilder_.isEmpty()) { dataBlocksBuilder_.dispose(); dataBlocksBuilder_ = null; dataBlocks_ = other.dataBlocks_; bitField0_ = (bitField0_ & ~0x00000001); dataBlocksBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDataBlocksFieldBuilder() : null; } else { dataBlocksBuilder_.addAllMessages(other.dataBlocks_); } } } if (!other.bucketIdList_.isEmpty()) { if (bucketIdList_.isEmpty()) { bucketIdList_ = other.bucketIdList_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureBucketIdListIsMutable(); bucketIdList_.addAll(other.bucketIdList_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List dataBlocks_ = java.util.Collections.emptyList(); private void ensureDataBlocksIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { dataBlocks_ = new java.util.ArrayList(dataBlocks_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.DataBlock, cz.proto.ingestion.v2.IngestionV2.DataBlock.Builder, cz.proto.ingestion.v2.IngestionV2.DataBlockOrBuilder> dataBlocksBuilder_; /** * repeated .cz.proto.ingestion.v2.DataBlock data_blocks = 1; */ public java.util.List getDataBlocksList() { if (dataBlocksBuilder_ == null) { return java.util.Collections.unmodifiableList(dataBlocks_); } else { return dataBlocksBuilder_.getMessageList(); } } /** * repeated .cz.proto.ingestion.v2.DataBlock data_blocks = 1; */ public int getDataBlocksCount() { if (dataBlocksBuilder_ == null) { return dataBlocks_.size(); } else { return dataBlocksBuilder_.getCount(); } } /** * repeated .cz.proto.ingestion.v2.DataBlock data_blocks = 1; */ public cz.proto.ingestion.v2.IngestionV2.DataBlock getDataBlocks(int index) { if (dataBlocksBuilder_ == null) { return dataBlocks_.get(index); } else { return dataBlocksBuilder_.getMessage(index); } } /** * repeated .cz.proto.ingestion.v2.DataBlock data_blocks = 1; */ public Builder setDataBlocks( int index, cz.proto.ingestion.v2.IngestionV2.DataBlock value) { if (dataBlocksBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDataBlocksIsMutable(); dataBlocks_.set(index, value); onChanged(); } else { dataBlocksBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.ingestion.v2.DataBlock data_blocks = 1; */ public Builder setDataBlocks( int index, cz.proto.ingestion.v2.IngestionV2.DataBlock.Builder builderForValue) { if (dataBlocksBuilder_ == null) { ensureDataBlocksIsMutable(); dataBlocks_.set(index, builderForValue.build()); onChanged(); } else { dataBlocksBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.v2.DataBlock data_blocks = 1; */ public Builder addDataBlocks(cz.proto.ingestion.v2.IngestionV2.DataBlock value) { if (dataBlocksBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDataBlocksIsMutable(); dataBlocks_.add(value); onChanged(); } else { dataBlocksBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.ingestion.v2.DataBlock data_blocks = 1; */ public Builder addDataBlocks( int index, cz.proto.ingestion.v2.IngestionV2.DataBlock value) { if (dataBlocksBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDataBlocksIsMutable(); dataBlocks_.add(index, value); onChanged(); } else { dataBlocksBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.ingestion.v2.DataBlock data_blocks = 1; */ public Builder addDataBlocks( cz.proto.ingestion.v2.IngestionV2.DataBlock.Builder builderForValue) { if (dataBlocksBuilder_ == null) { ensureDataBlocksIsMutable(); dataBlocks_.add(builderForValue.build()); onChanged(); } else { dataBlocksBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.v2.DataBlock data_blocks = 1; */ public Builder addDataBlocks( int index, cz.proto.ingestion.v2.IngestionV2.DataBlock.Builder builderForValue) { if (dataBlocksBuilder_ == null) { ensureDataBlocksIsMutable(); dataBlocks_.add(index, builderForValue.build()); onChanged(); } else { dataBlocksBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.v2.DataBlock data_blocks = 1; */ public Builder addAllDataBlocks( java.lang.Iterable values) { if (dataBlocksBuilder_ == null) { ensureDataBlocksIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, dataBlocks_); onChanged(); } else { dataBlocksBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.ingestion.v2.DataBlock data_blocks = 1; */ public Builder clearDataBlocks() { if (dataBlocksBuilder_ == null) { dataBlocks_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { dataBlocksBuilder_.clear(); } return this; } /** * repeated .cz.proto.ingestion.v2.DataBlock data_blocks = 1; */ public Builder removeDataBlocks(int index) { if (dataBlocksBuilder_ == null) { ensureDataBlocksIsMutable(); dataBlocks_.remove(index); onChanged(); } else { dataBlocksBuilder_.remove(index); } return this; } /** * repeated .cz.proto.ingestion.v2.DataBlock data_blocks = 1; */ public cz.proto.ingestion.v2.IngestionV2.DataBlock.Builder getDataBlocksBuilder( int index) { return getDataBlocksFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.ingestion.v2.DataBlock data_blocks = 1; */ public cz.proto.ingestion.v2.IngestionV2.DataBlockOrBuilder getDataBlocksOrBuilder( int index) { if (dataBlocksBuilder_ == null) { return dataBlocks_.get(index); } else { return dataBlocksBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.ingestion.v2.DataBlock data_blocks = 1; */ public java.util.List getDataBlocksOrBuilderList() { if (dataBlocksBuilder_ != null) { return dataBlocksBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(dataBlocks_); } } /** * repeated .cz.proto.ingestion.v2.DataBlock data_blocks = 1; */ public cz.proto.ingestion.v2.IngestionV2.DataBlock.Builder addDataBlocksBuilder() { return getDataBlocksFieldBuilder().addBuilder( cz.proto.ingestion.v2.IngestionV2.DataBlock.getDefaultInstance()); } /** * repeated .cz.proto.ingestion.v2.DataBlock data_blocks = 1; */ public cz.proto.ingestion.v2.IngestionV2.DataBlock.Builder addDataBlocksBuilder( int index) { return getDataBlocksFieldBuilder().addBuilder( index, cz.proto.ingestion.v2.IngestionV2.DataBlock.getDefaultInstance()); } /** * repeated .cz.proto.ingestion.v2.DataBlock data_blocks = 1; */ public java.util.List getDataBlocksBuilderList() { return getDataBlocksFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.DataBlock, cz.proto.ingestion.v2.IngestionV2.DataBlock.Builder, cz.proto.ingestion.v2.IngestionV2.DataBlockOrBuilder> getDataBlocksFieldBuilder() { if (dataBlocksBuilder_ == null) { dataBlocksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.DataBlock, cz.proto.ingestion.v2.IngestionV2.DataBlock.Builder, cz.proto.ingestion.v2.IngestionV2.DataBlockOrBuilder>( dataBlocks_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); dataBlocks_ = null; } return dataBlocksBuilder_; } private com.google.protobuf.Internal.IntList bucketIdList_ = emptyIntList(); private void ensureBucketIdListIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { bucketIdList_ = mutableCopy(bucketIdList_); bitField0_ |= 0x00000002; } } /** * repeated uint32 bucket_id_list = 2; * @return A list containing the bucketIdList. */ public java.util.List getBucketIdListList() { return ((bitField0_ & 0x00000002) != 0) ? java.util.Collections.unmodifiableList(bucketIdList_) : bucketIdList_; } /** * repeated uint32 bucket_id_list = 2; * @return The count of bucketIdList. */ public int getBucketIdListCount() { return bucketIdList_.size(); } /** * repeated uint32 bucket_id_list = 2; * @param index The index of the element to return. * @return The bucketIdList at the given index. */ public int getBucketIdList(int index) { return bucketIdList_.getInt(index); } /** * repeated uint32 bucket_id_list = 2; * @param index The index to set the value at. * @param value The bucketIdList to set. * @return This builder for chaining. */ public Builder setBucketIdList( int index, int value) { ensureBucketIdListIsMutable(); bucketIdList_.setInt(index, value); onChanged(); return this; } /** * repeated uint32 bucket_id_list = 2; * @param value The bucketIdList to add. * @return This builder for chaining. */ public Builder addBucketIdList(int value) { ensureBucketIdListIsMutable(); bucketIdList_.addInt(value); onChanged(); return this; } /** * repeated uint32 bucket_id_list = 2; * @param values The bucketIdList to add. * @return This builder for chaining. */ public Builder addAllBucketIdList( java.lang.Iterable values) { ensureBucketIdListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, bucketIdList_); onChanged(); return this; } /** * repeated uint32 bucket_id_list = 2; * @return This builder for chaining. */ public Builder clearBucketIdList() { bucketIdList_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.BucketedDataBlockList) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.BucketedDataBlockList) private static final cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList(); } public static cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BucketedDataBlockList parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BucketedDataBlockList(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 cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TabletDataSetOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.TabletDataSet) com.google.protobuf.MessageOrBuilder { /** * int32 tablet_id = 1; * @return The tabletId. */ int getTabletId(); /** * .cz.proto.ingestion.v2.InternalDataBlock internal_data_block = 2; * @return Whether the internalDataBlock field is set. */ boolean hasInternalDataBlock(); /** * .cz.proto.ingestion.v2.InternalDataBlock internal_data_block = 2; * @return The internalDataBlock. */ cz.proto.ingestion.v2.IngestionV2.InternalDataBlock getInternalDataBlock(); /** * .cz.proto.ingestion.v2.InternalDataBlock internal_data_block = 2; */ cz.proto.ingestion.v2.IngestionV2.InternalDataBlockOrBuilder getInternalDataBlockOrBuilder(); /** * .cz.proto.ingestion.v2.BucketedDataBlockList bucketed_data_block_list = 3; * @return Whether the bucketedDataBlockList field is set. */ boolean hasBucketedDataBlockList(); /** * .cz.proto.ingestion.v2.BucketedDataBlockList bucketed_data_block_list = 3; * @return The bucketedDataBlockList. */ cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList getBucketedDataBlockList(); /** * .cz.proto.ingestion.v2.BucketedDataBlockList bucketed_data_block_list = 3; */ cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockListOrBuilder getBucketedDataBlockListOrBuilder(); public cz.proto.ingestion.v2.IngestionV2.TabletDataSet.DataCase getDataCase(); } /** * Protobuf type {@code cz.proto.ingestion.v2.TabletDataSet} */ public static final class TabletDataSet extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.TabletDataSet) TabletDataSetOrBuilder { private static final long serialVersionUID = 0L; // Use TabletDataSet.newBuilder() to construct. private TabletDataSet(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TabletDataSet() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TabletDataSet(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TabletDataSet( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { tabletId_ = input.readInt32(); break; } case 18: { cz.proto.ingestion.v2.IngestionV2.InternalDataBlock.Builder subBuilder = null; if (dataCase_ == 2) { subBuilder = ((cz.proto.ingestion.v2.IngestionV2.InternalDataBlock) data_).toBuilder(); } data_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.InternalDataBlock.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.ingestion.v2.IngestionV2.InternalDataBlock) data_); data_ = subBuilder.buildPartial(); } dataCase_ = 2; break; } case 26: { cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList.Builder subBuilder = null; if (dataCase_ == 3) { subBuilder = ((cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList) data_).toBuilder(); } data_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList) data_); data_ = subBuilder.buildPartial(); } dataCase_ = 3; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_TabletDataSet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_TabletDataSet_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.TabletDataSet.class, cz.proto.ingestion.v2.IngestionV2.TabletDataSet.Builder.class); } private int dataCase_ = 0; private java.lang.Object data_; public enum DataCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INTERNAL_DATA_BLOCK(2), BUCKETED_DATA_BLOCK_LIST(3), DATA_NOT_SET(0); private final int value; private DataCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static DataCase valueOf(int value) { return forNumber(value); } public static DataCase forNumber(int value) { switch (value) { case 2: return INTERNAL_DATA_BLOCK; case 3: return BUCKETED_DATA_BLOCK_LIST; case 0: return DATA_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public DataCase getDataCase() { return DataCase.forNumber( dataCase_); } public static final int TABLET_ID_FIELD_NUMBER = 1; private int tabletId_; /** * int32 tablet_id = 1; * @return The tabletId. */ @java.lang.Override public int getTabletId() { return tabletId_; } public static final int INTERNAL_DATA_BLOCK_FIELD_NUMBER = 2; /** * .cz.proto.ingestion.v2.InternalDataBlock internal_data_block = 2; * @return Whether the internalDataBlock field is set. */ @java.lang.Override public boolean hasInternalDataBlock() { return dataCase_ == 2; } /** * .cz.proto.ingestion.v2.InternalDataBlock internal_data_block = 2; * @return The internalDataBlock. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.InternalDataBlock getInternalDataBlock() { if (dataCase_ == 2) { return (cz.proto.ingestion.v2.IngestionV2.InternalDataBlock) data_; } return cz.proto.ingestion.v2.IngestionV2.InternalDataBlock.getDefaultInstance(); } /** * .cz.proto.ingestion.v2.InternalDataBlock internal_data_block = 2; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.InternalDataBlockOrBuilder getInternalDataBlockOrBuilder() { if (dataCase_ == 2) { return (cz.proto.ingestion.v2.IngestionV2.InternalDataBlock) data_; } return cz.proto.ingestion.v2.IngestionV2.InternalDataBlock.getDefaultInstance(); } public static final int BUCKETED_DATA_BLOCK_LIST_FIELD_NUMBER = 3; /** * .cz.proto.ingestion.v2.BucketedDataBlockList bucketed_data_block_list = 3; * @return Whether the bucketedDataBlockList field is set. */ @java.lang.Override public boolean hasBucketedDataBlockList() { return dataCase_ == 3; } /** * .cz.proto.ingestion.v2.BucketedDataBlockList bucketed_data_block_list = 3; * @return The bucketedDataBlockList. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList getBucketedDataBlockList() { if (dataCase_ == 3) { return (cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList) data_; } return cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList.getDefaultInstance(); } /** * .cz.proto.ingestion.v2.BucketedDataBlockList bucketed_data_block_list = 3; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockListOrBuilder getBucketedDataBlockListOrBuilder() { if (dataCase_ == 3) { return (cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList) data_; } return cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList.getDefaultInstance(); } 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 (tabletId_ != 0) { output.writeInt32(1, tabletId_); } if (dataCase_ == 2) { output.writeMessage(2, (cz.proto.ingestion.v2.IngestionV2.InternalDataBlock) data_); } if (dataCase_ == 3) { output.writeMessage(3, (cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList) data_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (tabletId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, tabletId_); } if (dataCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (cz.proto.ingestion.v2.IngestionV2.InternalDataBlock) data_); } if (dataCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList) data_); } 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 cz.proto.ingestion.v2.IngestionV2.TabletDataSet)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.TabletDataSet other = (cz.proto.ingestion.v2.IngestionV2.TabletDataSet) obj; if (getTabletId() != other.getTabletId()) return false; if (!getDataCase().equals(other.getDataCase())) return false; switch (dataCase_) { case 2: if (!getInternalDataBlock() .equals(other.getInternalDataBlock())) return false; break; case 3: if (!getBucketedDataBlockList() .equals(other.getBucketedDataBlockList())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + TABLET_ID_FIELD_NUMBER; hash = (53 * hash) + getTabletId(); switch (dataCase_) { case 2: hash = (37 * hash) + INTERNAL_DATA_BLOCK_FIELD_NUMBER; hash = (53 * hash) + getInternalDataBlock().hashCode(); break; case 3: hash = (37 * hash) + BUCKETED_DATA_BLOCK_LIST_FIELD_NUMBER; hash = (53 * hash) + getBucketedDataBlockList().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.TabletDataSet parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.TabletDataSet parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.TabletDataSet parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.TabletDataSet parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.TabletDataSet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.TabletDataSet parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.TabletDataSet parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.TabletDataSet 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 cz.proto.ingestion.v2.IngestionV2.TabletDataSet parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.TabletDataSet 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 cz.proto.ingestion.v2.IngestionV2.TabletDataSet parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.TabletDataSet 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(cz.proto.ingestion.v2.IngestionV2.TabletDataSet 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 cz.proto.ingestion.v2.TabletDataSet} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.TabletDataSet) cz.proto.ingestion.v2.IngestionV2.TabletDataSetOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_TabletDataSet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_TabletDataSet_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.TabletDataSet.class, cz.proto.ingestion.v2.IngestionV2.TabletDataSet.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.TabletDataSet.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); tabletId_ = 0; dataCase_ = 0; data_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_TabletDataSet_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TabletDataSet getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.TabletDataSet.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TabletDataSet build() { cz.proto.ingestion.v2.IngestionV2.TabletDataSet result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TabletDataSet buildPartial() { cz.proto.ingestion.v2.IngestionV2.TabletDataSet result = new cz.proto.ingestion.v2.IngestionV2.TabletDataSet(this); result.tabletId_ = tabletId_; if (dataCase_ == 2) { if (internalDataBlockBuilder_ == null) { result.data_ = data_; } else { result.data_ = internalDataBlockBuilder_.build(); } } if (dataCase_ == 3) { if (bucketedDataBlockListBuilder_ == null) { result.data_ = data_; } else { result.data_ = bucketedDataBlockListBuilder_.build(); } } result.dataCase_ = dataCase_; 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 cz.proto.ingestion.v2.IngestionV2.TabletDataSet) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.TabletDataSet)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.TabletDataSet other) { if (other == cz.proto.ingestion.v2.IngestionV2.TabletDataSet.getDefaultInstance()) return this; if (other.getTabletId() != 0) { setTabletId(other.getTabletId()); } switch (other.getDataCase()) { case INTERNAL_DATA_BLOCK: { mergeInternalDataBlock(other.getInternalDataBlock()); break; } case BUCKETED_DATA_BLOCK_LIST: { mergeBucketedDataBlockList(other.getBucketedDataBlockList()); break; } case DATA_NOT_SET: { break; } } 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 { cz.proto.ingestion.v2.IngestionV2.TabletDataSet parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.TabletDataSet) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int dataCase_ = 0; private java.lang.Object data_; public DataCase getDataCase() { return DataCase.forNumber( dataCase_); } public Builder clearData() { dataCase_ = 0; data_ = null; onChanged(); return this; } private int tabletId_ ; /** * int32 tablet_id = 1; * @return The tabletId. */ @java.lang.Override public int getTabletId() { return tabletId_; } /** * int32 tablet_id = 1; * @param value The tabletId to set. * @return This builder for chaining. */ public Builder setTabletId(int value) { tabletId_ = value; onChanged(); return this; } /** * int32 tablet_id = 1; * @return This builder for chaining. */ public Builder clearTabletId() { tabletId_ = 0; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.InternalDataBlock, cz.proto.ingestion.v2.IngestionV2.InternalDataBlock.Builder, cz.proto.ingestion.v2.IngestionV2.InternalDataBlockOrBuilder> internalDataBlockBuilder_; /** * .cz.proto.ingestion.v2.InternalDataBlock internal_data_block = 2; * @return Whether the internalDataBlock field is set. */ @java.lang.Override public boolean hasInternalDataBlock() { return dataCase_ == 2; } /** * .cz.proto.ingestion.v2.InternalDataBlock internal_data_block = 2; * @return The internalDataBlock. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.InternalDataBlock getInternalDataBlock() { if (internalDataBlockBuilder_ == null) { if (dataCase_ == 2) { return (cz.proto.ingestion.v2.IngestionV2.InternalDataBlock) data_; } return cz.proto.ingestion.v2.IngestionV2.InternalDataBlock.getDefaultInstance(); } else { if (dataCase_ == 2) { return internalDataBlockBuilder_.getMessage(); } return cz.proto.ingestion.v2.IngestionV2.InternalDataBlock.getDefaultInstance(); } } /** * .cz.proto.ingestion.v2.InternalDataBlock internal_data_block = 2; */ public Builder setInternalDataBlock(cz.proto.ingestion.v2.IngestionV2.InternalDataBlock value) { if (internalDataBlockBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { internalDataBlockBuilder_.setMessage(value); } dataCase_ = 2; return this; } /** * .cz.proto.ingestion.v2.InternalDataBlock internal_data_block = 2; */ public Builder setInternalDataBlock( cz.proto.ingestion.v2.IngestionV2.InternalDataBlock.Builder builderForValue) { if (internalDataBlockBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { internalDataBlockBuilder_.setMessage(builderForValue.build()); } dataCase_ = 2; return this; } /** * .cz.proto.ingestion.v2.InternalDataBlock internal_data_block = 2; */ public Builder mergeInternalDataBlock(cz.proto.ingestion.v2.IngestionV2.InternalDataBlock value) { if (internalDataBlockBuilder_ == null) { if (dataCase_ == 2 && data_ != cz.proto.ingestion.v2.IngestionV2.InternalDataBlock.getDefaultInstance()) { data_ = cz.proto.ingestion.v2.IngestionV2.InternalDataBlock.newBuilder((cz.proto.ingestion.v2.IngestionV2.InternalDataBlock) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 2) { internalDataBlockBuilder_.mergeFrom(value); } internalDataBlockBuilder_.setMessage(value); } dataCase_ = 2; return this; } /** * .cz.proto.ingestion.v2.InternalDataBlock internal_data_block = 2; */ public Builder clearInternalDataBlock() { if (internalDataBlockBuilder_ == null) { if (dataCase_ == 2) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 2) { dataCase_ = 0; data_ = null; } internalDataBlockBuilder_.clear(); } return this; } /** * .cz.proto.ingestion.v2.InternalDataBlock internal_data_block = 2; */ public cz.proto.ingestion.v2.IngestionV2.InternalDataBlock.Builder getInternalDataBlockBuilder() { return getInternalDataBlockFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.InternalDataBlock internal_data_block = 2; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.InternalDataBlockOrBuilder getInternalDataBlockOrBuilder() { if ((dataCase_ == 2) && (internalDataBlockBuilder_ != null)) { return internalDataBlockBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 2) { return (cz.proto.ingestion.v2.IngestionV2.InternalDataBlock) data_; } return cz.proto.ingestion.v2.IngestionV2.InternalDataBlock.getDefaultInstance(); } } /** * .cz.proto.ingestion.v2.InternalDataBlock internal_data_block = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.InternalDataBlock, cz.proto.ingestion.v2.IngestionV2.InternalDataBlock.Builder, cz.proto.ingestion.v2.IngestionV2.InternalDataBlockOrBuilder> getInternalDataBlockFieldBuilder() { if (internalDataBlockBuilder_ == null) { if (!(dataCase_ == 2)) { data_ = cz.proto.ingestion.v2.IngestionV2.InternalDataBlock.getDefaultInstance(); } internalDataBlockBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.InternalDataBlock, cz.proto.ingestion.v2.IngestionV2.InternalDataBlock.Builder, cz.proto.ingestion.v2.IngestionV2.InternalDataBlockOrBuilder>( (cz.proto.ingestion.v2.IngestionV2.InternalDataBlock) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 2; onChanged();; return internalDataBlockBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList, cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList.Builder, cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockListOrBuilder> bucketedDataBlockListBuilder_; /** * .cz.proto.ingestion.v2.BucketedDataBlockList bucketed_data_block_list = 3; * @return Whether the bucketedDataBlockList field is set. */ @java.lang.Override public boolean hasBucketedDataBlockList() { return dataCase_ == 3; } /** * .cz.proto.ingestion.v2.BucketedDataBlockList bucketed_data_block_list = 3; * @return The bucketedDataBlockList. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList getBucketedDataBlockList() { if (bucketedDataBlockListBuilder_ == null) { if (dataCase_ == 3) { return (cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList) data_; } return cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList.getDefaultInstance(); } else { if (dataCase_ == 3) { return bucketedDataBlockListBuilder_.getMessage(); } return cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList.getDefaultInstance(); } } /** * .cz.proto.ingestion.v2.BucketedDataBlockList bucketed_data_block_list = 3; */ public Builder setBucketedDataBlockList(cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList value) { if (bucketedDataBlockListBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { bucketedDataBlockListBuilder_.setMessage(value); } dataCase_ = 3; return this; } /** * .cz.proto.ingestion.v2.BucketedDataBlockList bucketed_data_block_list = 3; */ public Builder setBucketedDataBlockList( cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList.Builder builderForValue) { if (bucketedDataBlockListBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { bucketedDataBlockListBuilder_.setMessage(builderForValue.build()); } dataCase_ = 3; return this; } /** * .cz.proto.ingestion.v2.BucketedDataBlockList bucketed_data_block_list = 3; */ public Builder mergeBucketedDataBlockList(cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList value) { if (bucketedDataBlockListBuilder_ == null) { if (dataCase_ == 3 && data_ != cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList.getDefaultInstance()) { data_ = cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList.newBuilder((cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList) data_) .mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { if (dataCase_ == 3) { bucketedDataBlockListBuilder_.mergeFrom(value); } bucketedDataBlockListBuilder_.setMessage(value); } dataCase_ = 3; return this; } /** * .cz.proto.ingestion.v2.BucketedDataBlockList bucketed_data_block_list = 3; */ public Builder clearBucketedDataBlockList() { if (bucketedDataBlockListBuilder_ == null) { if (dataCase_ == 3) { dataCase_ = 0; data_ = null; onChanged(); } } else { if (dataCase_ == 3) { dataCase_ = 0; data_ = null; } bucketedDataBlockListBuilder_.clear(); } return this; } /** * .cz.proto.ingestion.v2.BucketedDataBlockList bucketed_data_block_list = 3; */ public cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList.Builder getBucketedDataBlockListBuilder() { return getBucketedDataBlockListFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.BucketedDataBlockList bucketed_data_block_list = 3; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockListOrBuilder getBucketedDataBlockListOrBuilder() { if ((dataCase_ == 3) && (bucketedDataBlockListBuilder_ != null)) { return bucketedDataBlockListBuilder_.getMessageOrBuilder(); } else { if (dataCase_ == 3) { return (cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList) data_; } return cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList.getDefaultInstance(); } } /** * .cz.proto.ingestion.v2.BucketedDataBlockList bucketed_data_block_list = 3; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList, cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList.Builder, cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockListOrBuilder> getBucketedDataBlockListFieldBuilder() { if (bucketedDataBlockListBuilder_ == null) { if (!(dataCase_ == 3)) { data_ = cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList.getDefaultInstance(); } bucketedDataBlockListBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList, cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList.Builder, cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockListOrBuilder>( (cz.proto.ingestion.v2.IngestionV2.BucketedDataBlockList) data_, getParentForChildren(), isClean()); data_ = null; } dataCase_ = 3; onChanged();; return bucketedDataBlockListBuilder_; } @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:cz.proto.ingestion.v2.TabletDataSet) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.TabletDataSet) private static final cz.proto.ingestion.v2.IngestionV2.TabletDataSet DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.TabletDataSet(); } public static cz.proto.ingestion.v2.IngestionV2.TabletDataSet getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TabletDataSet parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TabletDataSet(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 cz.proto.ingestion.v2.IngestionV2.TabletDataSet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MutateInternalRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.MutateInternalRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; * @return Whether the tableIdent field is set. */ boolean hasTableIdent(); /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; * @return The tableIdent. */ cz.proto.ingestion.v2.IngestionV2.TableIdentifier getTableIdent(); /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; */ cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getTableIdentOrBuilder(); /** * int64 batch_id = 2; * @return The batchId. */ long getBatchId(); /** * int64 write_timestamp = 3; * @return The writeTimestamp. */ long getWriteTimestamp(); /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 4; */ java.util.List getDataFieldsList(); /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 4; */ cz.proto.ingestion.v2.IngestionV2.DataField getDataFields(int index); /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 4; */ int getDataFieldsCount(); /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 4; */ java.util.List getDataFieldsOrBuilderList(); /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 4; */ cz.proto.ingestion.v2.IngestionV2.DataFieldOrBuilder getDataFieldsOrBuilder( int index); /** * repeated .cz.proto.ingestion.v2.TabletDataSet tablet_data_sets = 5; */ java.util.List getTabletDataSetsList(); /** * repeated .cz.proto.ingestion.v2.TabletDataSet tablet_data_sets = 5; */ cz.proto.ingestion.v2.IngestionV2.TabletDataSet getTabletDataSets(int index); /** * repeated .cz.proto.ingestion.v2.TabletDataSet tablet_data_sets = 5; */ int getTabletDataSetsCount(); /** * repeated .cz.proto.ingestion.v2.TabletDataSet tablet_data_sets = 5; */ java.util.List getTabletDataSetsOrBuilderList(); /** * repeated .cz.proto.ingestion.v2.TabletDataSet tablet_data_sets = 5; */ cz.proto.ingestion.v2.IngestionV2.TabletDataSetOrBuilder getTabletDataSetsOrBuilder( int index); /** *
     * Optional for the 1st request, required for the following requests.
     * 
* * string server_token = 6; * @return The serverToken. */ java.lang.String getServerToken(); /** *
     * Optional for the 1st request, required for the following requests.
     * 
* * string server_token = 6; * @return The bytes for serverToken. */ com.google.protobuf.ByteString getServerTokenBytes(); } /** * Protobuf type {@code cz.proto.ingestion.v2.MutateInternalRequest} */ public static final class MutateInternalRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.MutateInternalRequest) MutateInternalRequestOrBuilder { private static final long serialVersionUID = 0L; // Use MutateInternalRequest.newBuilder() to construct. private MutateInternalRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MutateInternalRequest() { dataFields_ = java.util.Collections.emptyList(); tabletDataSets_ = java.util.Collections.emptyList(); serverToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MutateInternalRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MutateInternalRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder subBuilder = null; if (tableIdent_ != null) { subBuilder = tableIdent_.toBuilder(); } tableIdent_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.TableIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(tableIdent_); tableIdent_ = subBuilder.buildPartial(); } break; } case 16: { batchId_ = input.readInt64(); break; } case 24: { writeTimestamp_ = input.readInt64(); break; } case 34: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { dataFields_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } dataFields_.add( input.readMessage(cz.proto.ingestion.v2.IngestionV2.DataField.parser(), extensionRegistry)); break; } case 42: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { tabletDataSets_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } tabletDataSets_.add( input.readMessage(cz.proto.ingestion.v2.IngestionV2.TabletDataSet.parser(), extensionRegistry)); break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); serverToken_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { dataFields_ = java.util.Collections.unmodifiableList(dataFields_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { tabletDataSets_ = java.util.Collections.unmodifiableList(tabletDataSets_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_MutateInternalRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_MutateInternalRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest.class, cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest.Builder.class); } public static final int TABLE_IDENT_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.TableIdentifier tableIdent_; /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; * @return Whether the tableIdent field is set. */ @java.lang.Override public boolean hasTableIdent() { return tableIdent_ != null; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; * @return The tableIdent. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TableIdentifier getTableIdent() { return tableIdent_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : tableIdent_; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getTableIdentOrBuilder() { return getTableIdent(); } public static final int BATCH_ID_FIELD_NUMBER = 2; private long batchId_; /** * int64 batch_id = 2; * @return The batchId. */ @java.lang.Override public long getBatchId() { return batchId_; } public static final int WRITE_TIMESTAMP_FIELD_NUMBER = 3; private long writeTimestamp_; /** * int64 write_timestamp = 3; * @return The writeTimestamp. */ @java.lang.Override public long getWriteTimestamp() { return writeTimestamp_; } public static final int DATA_FIELDS_FIELD_NUMBER = 4; private java.util.List dataFields_; /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 4; */ @java.lang.Override public java.util.List getDataFieldsList() { return dataFields_; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 4; */ @java.lang.Override public java.util.List getDataFieldsOrBuilderList() { return dataFields_; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 4; */ @java.lang.Override public int getDataFieldsCount() { return dataFields_.size(); } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 4; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.DataField getDataFields(int index) { return dataFields_.get(index); } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 4; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.DataFieldOrBuilder getDataFieldsOrBuilder( int index) { return dataFields_.get(index); } public static final int TABLET_DATA_SETS_FIELD_NUMBER = 5; private java.util.List tabletDataSets_; /** * repeated .cz.proto.ingestion.v2.TabletDataSet tablet_data_sets = 5; */ @java.lang.Override public java.util.List getTabletDataSetsList() { return tabletDataSets_; } /** * repeated .cz.proto.ingestion.v2.TabletDataSet tablet_data_sets = 5; */ @java.lang.Override public java.util.List getTabletDataSetsOrBuilderList() { return tabletDataSets_; } /** * repeated .cz.proto.ingestion.v2.TabletDataSet tablet_data_sets = 5; */ @java.lang.Override public int getTabletDataSetsCount() { return tabletDataSets_.size(); } /** * repeated .cz.proto.ingestion.v2.TabletDataSet tablet_data_sets = 5; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TabletDataSet getTabletDataSets(int index) { return tabletDataSets_.get(index); } /** * repeated .cz.proto.ingestion.v2.TabletDataSet tablet_data_sets = 5; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TabletDataSetOrBuilder getTabletDataSetsOrBuilder( int index) { return tabletDataSets_.get(index); } public static final int SERVER_TOKEN_FIELD_NUMBER = 6; private volatile java.lang.Object serverToken_; /** *
     * Optional for the 1st request, required for the following requests.
     * 
* * string server_token = 6; * @return The serverToken. */ @java.lang.Override public java.lang.String getServerToken() { java.lang.Object ref = serverToken_; 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(); serverToken_ = s; return s; } } /** *
     * Optional for the 1st request, required for the following requests.
     * 
* * string server_token = 6; * @return The bytes for serverToken. */ @java.lang.Override public com.google.protobuf.ByteString getServerTokenBytes() { java.lang.Object ref = serverToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serverToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (tableIdent_ != null) { output.writeMessage(1, getTableIdent()); } if (batchId_ != 0L) { output.writeInt64(2, batchId_); } if (writeTimestamp_ != 0L) { output.writeInt64(3, writeTimestamp_); } for (int i = 0; i < dataFields_.size(); i++) { output.writeMessage(4, dataFields_.get(i)); } for (int i = 0; i < tabletDataSets_.size(); i++) { output.writeMessage(5, tabletDataSets_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serverToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, serverToken_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (tableIdent_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getTableIdent()); } if (batchId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, batchId_); } if (writeTimestamp_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, writeTimestamp_); } for (int i = 0; i < dataFields_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, dataFields_.get(i)); } for (int i = 0; i < tabletDataSets_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, tabletDataSets_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serverToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, serverToken_); } 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 cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest other = (cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest) obj; if (hasTableIdent() != other.hasTableIdent()) return false; if (hasTableIdent()) { if (!getTableIdent() .equals(other.getTableIdent())) return false; } if (getBatchId() != other.getBatchId()) return false; if (getWriteTimestamp() != other.getWriteTimestamp()) return false; if (!getDataFieldsList() .equals(other.getDataFieldsList())) return false; if (!getTabletDataSetsList() .equals(other.getTabletDataSetsList())) return false; if (!getServerToken() .equals(other.getServerToken())) 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 (hasTableIdent()) { hash = (37 * hash) + TABLE_IDENT_FIELD_NUMBER; hash = (53 * hash) + getTableIdent().hashCode(); } hash = (37 * hash) + BATCH_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getBatchId()); hash = (37 * hash) + WRITE_TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getWriteTimestamp()); if (getDataFieldsCount() > 0) { hash = (37 * hash) + DATA_FIELDS_FIELD_NUMBER; hash = (53 * hash) + getDataFieldsList().hashCode(); } if (getTabletDataSetsCount() > 0) { hash = (37 * hash) + TABLET_DATA_SETS_FIELD_NUMBER; hash = (53 * hash) + getTabletDataSetsList().hashCode(); } hash = (37 * hash) + SERVER_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getServerToken().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest 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 cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest 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 cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest 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(cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest 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 cz.proto.ingestion.v2.MutateInternalRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.MutateInternalRequest) cz.proto.ingestion.v2.IngestionV2.MutateInternalRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_MutateInternalRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_MutateInternalRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest.class, cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDataFieldsFieldBuilder(); getTabletDataSetsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (tableIdentBuilder_ == null) { tableIdent_ = null; } else { tableIdent_ = null; tableIdentBuilder_ = null; } batchId_ = 0L; writeTimestamp_ = 0L; if (dataFieldsBuilder_ == null) { dataFields_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { dataFieldsBuilder_.clear(); } if (tabletDataSetsBuilder_ == null) { tabletDataSets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { tabletDataSetsBuilder_.clear(); } serverToken_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_MutateInternalRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest build() { cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest buildPartial() { cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest result = new cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest(this); int from_bitField0_ = bitField0_; if (tableIdentBuilder_ == null) { result.tableIdent_ = tableIdent_; } else { result.tableIdent_ = tableIdentBuilder_.build(); } result.batchId_ = batchId_; result.writeTimestamp_ = writeTimestamp_; if (dataFieldsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { dataFields_ = java.util.Collections.unmodifiableList(dataFields_); bitField0_ = (bitField0_ & ~0x00000001); } result.dataFields_ = dataFields_; } else { result.dataFields_ = dataFieldsBuilder_.build(); } if (tabletDataSetsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { tabletDataSets_ = java.util.Collections.unmodifiableList(tabletDataSets_); bitField0_ = (bitField0_ & ~0x00000002); } result.tabletDataSets_ = tabletDataSets_; } else { result.tabletDataSets_ = tabletDataSetsBuilder_.build(); } result.serverToken_ = serverToken_; 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 cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest other) { if (other == cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest.getDefaultInstance()) return this; if (other.hasTableIdent()) { mergeTableIdent(other.getTableIdent()); } if (other.getBatchId() != 0L) { setBatchId(other.getBatchId()); } if (other.getWriteTimestamp() != 0L) { setWriteTimestamp(other.getWriteTimestamp()); } if (dataFieldsBuilder_ == null) { if (!other.dataFields_.isEmpty()) { if (dataFields_.isEmpty()) { dataFields_ = other.dataFields_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDataFieldsIsMutable(); dataFields_.addAll(other.dataFields_); } onChanged(); } } else { if (!other.dataFields_.isEmpty()) { if (dataFieldsBuilder_.isEmpty()) { dataFieldsBuilder_.dispose(); dataFieldsBuilder_ = null; dataFields_ = other.dataFields_; bitField0_ = (bitField0_ & ~0x00000001); dataFieldsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDataFieldsFieldBuilder() : null; } else { dataFieldsBuilder_.addAllMessages(other.dataFields_); } } } if (tabletDataSetsBuilder_ == null) { if (!other.tabletDataSets_.isEmpty()) { if (tabletDataSets_.isEmpty()) { tabletDataSets_ = other.tabletDataSets_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureTabletDataSetsIsMutable(); tabletDataSets_.addAll(other.tabletDataSets_); } onChanged(); } } else { if (!other.tabletDataSets_.isEmpty()) { if (tabletDataSetsBuilder_.isEmpty()) { tabletDataSetsBuilder_.dispose(); tabletDataSetsBuilder_ = null; tabletDataSets_ = other.tabletDataSets_; bitField0_ = (bitField0_ & ~0x00000002); tabletDataSetsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTabletDataSetsFieldBuilder() : null; } else { tabletDataSetsBuilder_.addAllMessages(other.tabletDataSets_); } } } if (!other.getServerToken().isEmpty()) { serverToken_ = other.serverToken_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.ingestion.v2.IngestionV2.TableIdentifier tableIdent_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder> tableIdentBuilder_; /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; * @return Whether the tableIdent field is set. */ public boolean hasTableIdent() { return tableIdentBuilder_ != null || tableIdent_ != null; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; * @return The tableIdent. */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier getTableIdent() { if (tableIdentBuilder_ == null) { return tableIdent_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : tableIdent_; } else { return tableIdentBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; */ public Builder setTableIdent(cz.proto.ingestion.v2.IngestionV2.TableIdentifier value) { if (tableIdentBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tableIdent_ = value; onChanged(); } else { tableIdentBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; */ public Builder setTableIdent( cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder builderForValue) { if (tableIdentBuilder_ == null) { tableIdent_ = builderForValue.build(); onChanged(); } else { tableIdentBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; */ public Builder mergeTableIdent(cz.proto.ingestion.v2.IngestionV2.TableIdentifier value) { if (tableIdentBuilder_ == null) { if (tableIdent_ != null) { tableIdent_ = cz.proto.ingestion.v2.IngestionV2.TableIdentifier.newBuilder(tableIdent_).mergeFrom(value).buildPartial(); } else { tableIdent_ = value; } onChanged(); } else { tableIdentBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; */ public Builder clearTableIdent() { if (tableIdentBuilder_ == null) { tableIdent_ = null; onChanged(); } else { tableIdent_ = null; tableIdentBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder getTableIdentBuilder() { onChanged(); return getTableIdentFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getTableIdentOrBuilder() { if (tableIdentBuilder_ != null) { return tableIdentBuilder_.getMessageOrBuilder(); } else { return tableIdent_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : tableIdent_; } } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder> getTableIdentFieldBuilder() { if (tableIdentBuilder_ == null) { tableIdentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder>( getTableIdent(), getParentForChildren(), isClean()); tableIdent_ = null; } return tableIdentBuilder_; } private long batchId_ ; /** * int64 batch_id = 2; * @return The batchId. */ @java.lang.Override public long getBatchId() { return batchId_; } /** * int64 batch_id = 2; * @param value The batchId to set. * @return This builder for chaining. */ public Builder setBatchId(long value) { batchId_ = value; onChanged(); return this; } /** * int64 batch_id = 2; * @return This builder for chaining. */ public Builder clearBatchId() { batchId_ = 0L; onChanged(); return this; } private long writeTimestamp_ ; /** * int64 write_timestamp = 3; * @return The writeTimestamp. */ @java.lang.Override public long getWriteTimestamp() { return writeTimestamp_; } /** * int64 write_timestamp = 3; * @param value The writeTimestamp to set. * @return This builder for chaining. */ public Builder setWriteTimestamp(long value) { writeTimestamp_ = value; onChanged(); return this; } /** * int64 write_timestamp = 3; * @return This builder for chaining. */ public Builder clearWriteTimestamp() { writeTimestamp_ = 0L; onChanged(); return this; } private java.util.List dataFields_ = java.util.Collections.emptyList(); private void ensureDataFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { dataFields_ = new java.util.ArrayList(dataFields_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.DataField, cz.proto.ingestion.v2.IngestionV2.DataField.Builder, cz.proto.ingestion.v2.IngestionV2.DataFieldOrBuilder> dataFieldsBuilder_; /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 4; */ public java.util.List getDataFieldsList() { if (dataFieldsBuilder_ == null) { return java.util.Collections.unmodifiableList(dataFields_); } else { return dataFieldsBuilder_.getMessageList(); } } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 4; */ public int getDataFieldsCount() { if (dataFieldsBuilder_ == null) { return dataFields_.size(); } else { return dataFieldsBuilder_.getCount(); } } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 4; */ public cz.proto.ingestion.v2.IngestionV2.DataField getDataFields(int index) { if (dataFieldsBuilder_ == null) { return dataFields_.get(index); } else { return dataFieldsBuilder_.getMessage(index); } } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 4; */ public Builder setDataFields( int index, cz.proto.ingestion.v2.IngestionV2.DataField value) { if (dataFieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDataFieldsIsMutable(); dataFields_.set(index, value); onChanged(); } else { dataFieldsBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 4; */ public Builder setDataFields( int index, cz.proto.ingestion.v2.IngestionV2.DataField.Builder builderForValue) { if (dataFieldsBuilder_ == null) { ensureDataFieldsIsMutable(); dataFields_.set(index, builderForValue.build()); onChanged(); } else { dataFieldsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 4; */ public Builder addDataFields(cz.proto.ingestion.v2.IngestionV2.DataField value) { if (dataFieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDataFieldsIsMutable(); dataFields_.add(value); onChanged(); } else { dataFieldsBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 4; */ public Builder addDataFields( int index, cz.proto.ingestion.v2.IngestionV2.DataField value) { if (dataFieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDataFieldsIsMutable(); dataFields_.add(index, value); onChanged(); } else { dataFieldsBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 4; */ public Builder addDataFields( cz.proto.ingestion.v2.IngestionV2.DataField.Builder builderForValue) { if (dataFieldsBuilder_ == null) { ensureDataFieldsIsMutable(); dataFields_.add(builderForValue.build()); onChanged(); } else { dataFieldsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 4; */ public Builder addDataFields( int index, cz.proto.ingestion.v2.IngestionV2.DataField.Builder builderForValue) { if (dataFieldsBuilder_ == null) { ensureDataFieldsIsMutable(); dataFields_.add(index, builderForValue.build()); onChanged(); } else { dataFieldsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 4; */ public Builder addAllDataFields( java.lang.Iterable values) { if (dataFieldsBuilder_ == null) { ensureDataFieldsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, dataFields_); onChanged(); } else { dataFieldsBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 4; */ public Builder clearDataFields() { if (dataFieldsBuilder_ == null) { dataFields_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { dataFieldsBuilder_.clear(); } return this; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 4; */ public Builder removeDataFields(int index) { if (dataFieldsBuilder_ == null) { ensureDataFieldsIsMutable(); dataFields_.remove(index); onChanged(); } else { dataFieldsBuilder_.remove(index); } return this; } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 4; */ public cz.proto.ingestion.v2.IngestionV2.DataField.Builder getDataFieldsBuilder( int index) { return getDataFieldsFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 4; */ public cz.proto.ingestion.v2.IngestionV2.DataFieldOrBuilder getDataFieldsOrBuilder( int index) { if (dataFieldsBuilder_ == null) { return dataFields_.get(index); } else { return dataFieldsBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 4; */ public java.util.List getDataFieldsOrBuilderList() { if (dataFieldsBuilder_ != null) { return dataFieldsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(dataFields_); } } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 4; */ public cz.proto.ingestion.v2.IngestionV2.DataField.Builder addDataFieldsBuilder() { return getDataFieldsFieldBuilder().addBuilder( cz.proto.ingestion.v2.IngestionV2.DataField.getDefaultInstance()); } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 4; */ public cz.proto.ingestion.v2.IngestionV2.DataField.Builder addDataFieldsBuilder( int index) { return getDataFieldsFieldBuilder().addBuilder( index, cz.proto.ingestion.v2.IngestionV2.DataField.getDefaultInstance()); } /** * repeated .cz.proto.ingestion.v2.DataField data_fields = 4; */ public java.util.List getDataFieldsBuilderList() { return getDataFieldsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.DataField, cz.proto.ingestion.v2.IngestionV2.DataField.Builder, cz.proto.ingestion.v2.IngestionV2.DataFieldOrBuilder> getDataFieldsFieldBuilder() { if (dataFieldsBuilder_ == null) { dataFieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.DataField, cz.proto.ingestion.v2.IngestionV2.DataField.Builder, cz.proto.ingestion.v2.IngestionV2.DataFieldOrBuilder>( dataFields_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); dataFields_ = null; } return dataFieldsBuilder_; } private java.util.List tabletDataSets_ = java.util.Collections.emptyList(); private void ensureTabletDataSetsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { tabletDataSets_ = new java.util.ArrayList(tabletDataSets_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TabletDataSet, cz.proto.ingestion.v2.IngestionV2.TabletDataSet.Builder, cz.proto.ingestion.v2.IngestionV2.TabletDataSetOrBuilder> tabletDataSetsBuilder_; /** * repeated .cz.proto.ingestion.v2.TabletDataSet tablet_data_sets = 5; */ public java.util.List getTabletDataSetsList() { if (tabletDataSetsBuilder_ == null) { return java.util.Collections.unmodifiableList(tabletDataSets_); } else { return tabletDataSetsBuilder_.getMessageList(); } } /** * repeated .cz.proto.ingestion.v2.TabletDataSet tablet_data_sets = 5; */ public int getTabletDataSetsCount() { if (tabletDataSetsBuilder_ == null) { return tabletDataSets_.size(); } else { return tabletDataSetsBuilder_.getCount(); } } /** * repeated .cz.proto.ingestion.v2.TabletDataSet tablet_data_sets = 5; */ public cz.proto.ingestion.v2.IngestionV2.TabletDataSet getTabletDataSets(int index) { if (tabletDataSetsBuilder_ == null) { return tabletDataSets_.get(index); } else { return tabletDataSetsBuilder_.getMessage(index); } } /** * repeated .cz.proto.ingestion.v2.TabletDataSet tablet_data_sets = 5; */ public Builder setTabletDataSets( int index, cz.proto.ingestion.v2.IngestionV2.TabletDataSet value) { if (tabletDataSetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTabletDataSetsIsMutable(); tabletDataSets_.set(index, value); onChanged(); } else { tabletDataSetsBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.ingestion.v2.TabletDataSet tablet_data_sets = 5; */ public Builder setTabletDataSets( int index, cz.proto.ingestion.v2.IngestionV2.TabletDataSet.Builder builderForValue) { if (tabletDataSetsBuilder_ == null) { ensureTabletDataSetsIsMutable(); tabletDataSets_.set(index, builderForValue.build()); onChanged(); } else { tabletDataSetsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.v2.TabletDataSet tablet_data_sets = 5; */ public Builder addTabletDataSets(cz.proto.ingestion.v2.IngestionV2.TabletDataSet value) { if (tabletDataSetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTabletDataSetsIsMutable(); tabletDataSets_.add(value); onChanged(); } else { tabletDataSetsBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.ingestion.v2.TabletDataSet tablet_data_sets = 5; */ public Builder addTabletDataSets( int index, cz.proto.ingestion.v2.IngestionV2.TabletDataSet value) { if (tabletDataSetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTabletDataSetsIsMutable(); tabletDataSets_.add(index, value); onChanged(); } else { tabletDataSetsBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.ingestion.v2.TabletDataSet tablet_data_sets = 5; */ public Builder addTabletDataSets( cz.proto.ingestion.v2.IngestionV2.TabletDataSet.Builder builderForValue) { if (tabletDataSetsBuilder_ == null) { ensureTabletDataSetsIsMutable(); tabletDataSets_.add(builderForValue.build()); onChanged(); } else { tabletDataSetsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.v2.TabletDataSet tablet_data_sets = 5; */ public Builder addTabletDataSets( int index, cz.proto.ingestion.v2.IngestionV2.TabletDataSet.Builder builderForValue) { if (tabletDataSetsBuilder_ == null) { ensureTabletDataSetsIsMutable(); tabletDataSets_.add(index, builderForValue.build()); onChanged(); } else { tabletDataSetsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.v2.TabletDataSet tablet_data_sets = 5; */ public Builder addAllTabletDataSets( java.lang.Iterable values) { if (tabletDataSetsBuilder_ == null) { ensureTabletDataSetsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tabletDataSets_); onChanged(); } else { tabletDataSetsBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.ingestion.v2.TabletDataSet tablet_data_sets = 5; */ public Builder clearTabletDataSets() { if (tabletDataSetsBuilder_ == null) { tabletDataSets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { tabletDataSetsBuilder_.clear(); } return this; } /** * repeated .cz.proto.ingestion.v2.TabletDataSet tablet_data_sets = 5; */ public Builder removeTabletDataSets(int index) { if (tabletDataSetsBuilder_ == null) { ensureTabletDataSetsIsMutable(); tabletDataSets_.remove(index); onChanged(); } else { tabletDataSetsBuilder_.remove(index); } return this; } /** * repeated .cz.proto.ingestion.v2.TabletDataSet tablet_data_sets = 5; */ public cz.proto.ingestion.v2.IngestionV2.TabletDataSet.Builder getTabletDataSetsBuilder( int index) { return getTabletDataSetsFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.ingestion.v2.TabletDataSet tablet_data_sets = 5; */ public cz.proto.ingestion.v2.IngestionV2.TabletDataSetOrBuilder getTabletDataSetsOrBuilder( int index) { if (tabletDataSetsBuilder_ == null) { return tabletDataSets_.get(index); } else { return tabletDataSetsBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.ingestion.v2.TabletDataSet tablet_data_sets = 5; */ public java.util.List getTabletDataSetsOrBuilderList() { if (tabletDataSetsBuilder_ != null) { return tabletDataSetsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(tabletDataSets_); } } /** * repeated .cz.proto.ingestion.v2.TabletDataSet tablet_data_sets = 5; */ public cz.proto.ingestion.v2.IngestionV2.TabletDataSet.Builder addTabletDataSetsBuilder() { return getTabletDataSetsFieldBuilder().addBuilder( cz.proto.ingestion.v2.IngestionV2.TabletDataSet.getDefaultInstance()); } /** * repeated .cz.proto.ingestion.v2.TabletDataSet tablet_data_sets = 5; */ public cz.proto.ingestion.v2.IngestionV2.TabletDataSet.Builder addTabletDataSetsBuilder( int index) { return getTabletDataSetsFieldBuilder().addBuilder( index, cz.proto.ingestion.v2.IngestionV2.TabletDataSet.getDefaultInstance()); } /** * repeated .cz.proto.ingestion.v2.TabletDataSet tablet_data_sets = 5; */ public java.util.List getTabletDataSetsBuilderList() { return getTabletDataSetsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TabletDataSet, cz.proto.ingestion.v2.IngestionV2.TabletDataSet.Builder, cz.proto.ingestion.v2.IngestionV2.TabletDataSetOrBuilder> getTabletDataSetsFieldBuilder() { if (tabletDataSetsBuilder_ == null) { tabletDataSetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TabletDataSet, cz.proto.ingestion.v2.IngestionV2.TabletDataSet.Builder, cz.proto.ingestion.v2.IngestionV2.TabletDataSetOrBuilder>( tabletDataSets_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); tabletDataSets_ = null; } return tabletDataSetsBuilder_; } private java.lang.Object serverToken_ = ""; /** *
       * Optional for the 1st request, required for the following requests.
       * 
* * string server_token = 6; * @return The serverToken. */ public java.lang.String getServerToken() { java.lang.Object ref = serverToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serverToken_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Optional for the 1st request, required for the following requests.
       * 
* * string server_token = 6; * @return The bytes for serverToken. */ public com.google.protobuf.ByteString getServerTokenBytes() { java.lang.Object ref = serverToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serverToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Optional for the 1st request, required for the following requests.
       * 
* * string server_token = 6; * @param value The serverToken to set. * @return This builder for chaining. */ public Builder setServerToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } serverToken_ = value; onChanged(); return this; } /** *
       * Optional for the 1st request, required for the following requests.
       * 
* * string server_token = 6; * @return This builder for chaining. */ public Builder clearServerToken() { serverToken_ = getDefaultInstance().getServerToken(); onChanged(); return this; } /** *
       * Optional for the 1st request, required for the following requests.
       * 
* * string server_token = 6; * @param value The bytes for serverToken to set. * @return This builder for chaining. */ public Builder setServerTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serverToken_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.MutateInternalRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.MutateInternalRequest) private static final cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest(); } public static cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MutateInternalRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MutateInternalRequest(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 cz.proto.ingestion.v2.IngestionV2.MutateInternalRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SchemaChangeRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.SchemaChangeRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ cz.proto.ingestion.v2.IngestionV2.Account getAccount(); /** * .cz.proto.ingestion.v2.Account account = 1; */ cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder(); /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; * @return Whether the tableIdent field is set. */ boolean hasTableIdent(); /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; * @return The tableIdent. */ cz.proto.ingestion.v2.IngestionV2.TableIdentifier getTableIdent(); /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getTableIdentOrBuilder(); /** * repeated .cz.proto.access.TableChange updates = 3; */ java.util.List getUpdatesList(); /** * repeated .cz.proto.access.TableChange updates = 3; */ cz.proto.access.Ddl.TableChange getUpdates(int index); /** * repeated .cz.proto.access.TableChange updates = 3; */ int getUpdatesCount(); /** * repeated .cz.proto.access.TableChange updates = 3; */ java.util.List getUpdatesOrBuilderList(); /** * repeated .cz.proto.access.TableChange updates = 3; */ cz.proto.access.Ddl.TableChangeOrBuilder getUpdatesOrBuilder( int index); /** * repeated string ddlSql = 4; * @return A list containing the ddlSql. */ java.util.List getDdlSqlList(); /** * repeated string ddlSql = 4; * @return The count of ddlSql. */ int getDdlSqlCount(); /** * repeated string ddlSql = 4; * @param index The index of the element to return. * @return The ddlSql at the given index. */ java.lang.String getDdlSql(int index); /** * repeated string ddlSql = 4; * @param index The index of the value to return. * @return The bytes of the ddlSql at the given index. */ com.google.protobuf.ByteString getDdlSqlBytes(int index); /** * string server_token = 5; * @return The serverToken. */ java.lang.String getServerToken(); /** * string server_token = 5; * @return The bytes for serverToken. */ com.google.protobuf.ByteString getServerTokenBytes(); } /** *
   * Schema Change
   * 
* * Protobuf type {@code cz.proto.ingestion.v2.SchemaChangeRequest} */ public static final class SchemaChangeRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.SchemaChangeRequest) SchemaChangeRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SchemaChangeRequest.newBuilder() to construct. private SchemaChangeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SchemaChangeRequest() { updates_ = java.util.Collections.emptyList(); ddlSql_ = com.google.protobuf.LazyStringArrayList.EMPTY; serverToken_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SchemaChangeRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SchemaChangeRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder subBuilder = null; if (tableIdent_ != null) { subBuilder = tableIdent_.toBuilder(); } tableIdent_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.TableIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(tableIdent_); tableIdent_ = subBuilder.buildPartial(); } break; } case 26: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { updates_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } updates_.add( input.readMessage(cz.proto.access.Ddl.TableChange.parser(), extensionRegistry)); break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { ddlSql_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } ddlSql_.add(s); break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); serverToken_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { updates_ = java.util.Collections.unmodifiableList(updates_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { ddlSql_ = ddlSql_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_SchemaChangeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_SchemaChangeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest.class, cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.Account account_; /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.Account getAccount() { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } /** * .cz.proto.ingestion.v2.Account account = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int TABLE_IDENT_FIELD_NUMBER = 2; private cz.proto.ingestion.v2.IngestionV2.TableIdentifier tableIdent_; /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; * @return Whether the tableIdent field is set. */ @java.lang.Override public boolean hasTableIdent() { return tableIdent_ != null; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; * @return The tableIdent. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TableIdentifier getTableIdent() { return tableIdent_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : tableIdent_; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getTableIdentOrBuilder() { return getTableIdent(); } public static final int UPDATES_FIELD_NUMBER = 3; private java.util.List updates_; /** * repeated .cz.proto.access.TableChange updates = 3; */ @java.lang.Override public java.util.List getUpdatesList() { return updates_; } /** * repeated .cz.proto.access.TableChange updates = 3; */ @java.lang.Override public java.util.List getUpdatesOrBuilderList() { return updates_; } /** * repeated .cz.proto.access.TableChange updates = 3; */ @java.lang.Override public int getUpdatesCount() { return updates_.size(); } /** * repeated .cz.proto.access.TableChange updates = 3; */ @java.lang.Override public cz.proto.access.Ddl.TableChange getUpdates(int index) { return updates_.get(index); } /** * repeated .cz.proto.access.TableChange updates = 3; */ @java.lang.Override public cz.proto.access.Ddl.TableChangeOrBuilder getUpdatesOrBuilder( int index) { return updates_.get(index); } public static final int DDLSQL_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList ddlSql_; /** * repeated string ddlSql = 4; * @return A list containing the ddlSql. */ public com.google.protobuf.ProtocolStringList getDdlSqlList() { return ddlSql_; } /** * repeated string ddlSql = 4; * @return The count of ddlSql. */ public int getDdlSqlCount() { return ddlSql_.size(); } /** * repeated string ddlSql = 4; * @param index The index of the element to return. * @return The ddlSql at the given index. */ public java.lang.String getDdlSql(int index) { return ddlSql_.get(index); } /** * repeated string ddlSql = 4; * @param index The index of the value to return. * @return The bytes of the ddlSql at the given index. */ public com.google.protobuf.ByteString getDdlSqlBytes(int index) { return ddlSql_.getByteString(index); } public static final int SERVER_TOKEN_FIELD_NUMBER = 5; private volatile java.lang.Object serverToken_; /** * string server_token = 5; * @return The serverToken. */ @java.lang.Override public java.lang.String getServerToken() { java.lang.Object ref = serverToken_; 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(); serverToken_ = s; return s; } } /** * string server_token = 5; * @return The bytes for serverToken. */ @java.lang.Override public com.google.protobuf.ByteString getServerTokenBytes() { java.lang.Object ref = serverToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serverToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (account_ != null) { output.writeMessage(1, getAccount()); } if (tableIdent_ != null) { output.writeMessage(2, getTableIdent()); } for (int i = 0; i < updates_.size(); i++) { output.writeMessage(3, updates_.get(i)); } for (int i = 0; i < ddlSql_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, ddlSql_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serverToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, serverToken_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAccount()); } if (tableIdent_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getTableIdent()); } for (int i = 0; i < updates_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, updates_.get(i)); } { int dataSize = 0; for (int i = 0; i < ddlSql_.size(); i++) { dataSize += computeStringSizeNoTag(ddlSql_.getRaw(i)); } size += dataSize; size += 1 * getDdlSqlList().size(); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serverToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, serverToken_); } 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 cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest other = (cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (hasTableIdent() != other.hasTableIdent()) return false; if (hasTableIdent()) { if (!getTableIdent() .equals(other.getTableIdent())) return false; } if (!getUpdatesList() .equals(other.getUpdatesList())) return false; if (!getDdlSqlList() .equals(other.getDdlSqlList())) return false; if (!getServerToken() .equals(other.getServerToken())) 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 (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } if (hasTableIdent()) { hash = (37 * hash) + TABLE_IDENT_FIELD_NUMBER; hash = (53 * hash) + getTableIdent().hashCode(); } if (getUpdatesCount() > 0) { hash = (37 * hash) + UPDATES_FIELD_NUMBER; hash = (53 * hash) + getUpdatesList().hashCode(); } if (getDdlSqlCount() > 0) { hash = (37 * hash) + DDLSQL_FIELD_NUMBER; hash = (53 * hash) + getDdlSqlList().hashCode(); } hash = (37 * hash) + SERVER_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getServerToken().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest 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 cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest 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 cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest 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(cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest 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; } /** *
     * Schema Change
     * 
* * Protobuf type {@code cz.proto.ingestion.v2.SchemaChangeRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.SchemaChangeRequest) cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_SchemaChangeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_SchemaChangeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest.class, cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getUpdatesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } if (tableIdentBuilder_ == null) { tableIdent_ = null; } else { tableIdent_ = null; tableIdentBuilder_ = null; } if (updatesBuilder_ == null) { updates_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { updatesBuilder_.clear(); } ddlSql_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); serverToken_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_SchemaChangeRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest build() { cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest buildPartial() { cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest result = new cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest(this); int from_bitField0_ = bitField0_; if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } if (tableIdentBuilder_ == null) { result.tableIdent_ = tableIdent_; } else { result.tableIdent_ = tableIdentBuilder_.build(); } if (updatesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { updates_ = java.util.Collections.unmodifiableList(updates_); bitField0_ = (bitField0_ & ~0x00000001); } result.updates_ = updates_; } else { result.updates_ = updatesBuilder_.build(); } if (((bitField0_ & 0x00000002) != 0)) { ddlSql_ = ddlSql_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.ddlSql_ = ddlSql_; result.serverToken_ = serverToken_; 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 cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest other) { if (other == cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (other.hasTableIdent()) { mergeTableIdent(other.getTableIdent()); } if (updatesBuilder_ == null) { if (!other.updates_.isEmpty()) { if (updates_.isEmpty()) { updates_ = other.updates_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureUpdatesIsMutable(); updates_.addAll(other.updates_); } onChanged(); } } else { if (!other.updates_.isEmpty()) { if (updatesBuilder_.isEmpty()) { updatesBuilder_.dispose(); updatesBuilder_ = null; updates_ = other.updates_; bitField0_ = (bitField0_ & ~0x00000001); updatesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getUpdatesFieldBuilder() : null; } else { updatesBuilder_.addAllMessages(other.updates_); } } } if (!other.ddlSql_.isEmpty()) { if (ddlSql_.isEmpty()) { ddlSql_ = other.ddlSql_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureDdlSqlIsMutable(); ddlSql_.addAll(other.ddlSql_); } onChanged(); } if (!other.getServerToken().isEmpty()) { serverToken_ = other.serverToken_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.ingestion.v2.IngestionV2.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder> accountBuilder_; /** * .cz.proto.ingestion.v2.Account account = 1; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.ingestion.v2.Account account = 1; * @return The account. */ public cz.proto.ingestion.v2.IngestionV2.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder setAccount(cz.proto.ingestion.v2.IngestionV2.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder setAccount( cz.proto.ingestion.v2.IngestionV2.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder mergeAccount(cz.proto.ingestion.v2.IngestionV2.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.ingestion.v2.IngestionV2.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.Account account = 1; */ public cz.proto.ingestion.v2.IngestionV2.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.Account account = 1; */ public cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.ingestion.v2.IngestionV2.Account.getDefaultInstance() : account_; } } /** * .cz.proto.ingestion.v2.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.Account, cz.proto.ingestion.v2.IngestionV2.Account.Builder, cz.proto.ingestion.v2.IngestionV2.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private cz.proto.ingestion.v2.IngestionV2.TableIdentifier tableIdent_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder> tableIdentBuilder_; /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; * @return Whether the tableIdent field is set. */ public boolean hasTableIdent() { return tableIdentBuilder_ != null || tableIdent_ != null; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; * @return The tableIdent. */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier getTableIdent() { if (tableIdentBuilder_ == null) { return tableIdent_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : tableIdent_; } else { return tableIdentBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public Builder setTableIdent(cz.proto.ingestion.v2.IngestionV2.TableIdentifier value) { if (tableIdentBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tableIdent_ = value; onChanged(); } else { tableIdentBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public Builder setTableIdent( cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder builderForValue) { if (tableIdentBuilder_ == null) { tableIdent_ = builderForValue.build(); onChanged(); } else { tableIdentBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public Builder mergeTableIdent(cz.proto.ingestion.v2.IngestionV2.TableIdentifier value) { if (tableIdentBuilder_ == null) { if (tableIdent_ != null) { tableIdent_ = cz.proto.ingestion.v2.IngestionV2.TableIdentifier.newBuilder(tableIdent_).mergeFrom(value).buildPartial(); } else { tableIdent_ = value; } onChanged(); } else { tableIdentBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public Builder clearTableIdent() { if (tableIdentBuilder_ == null) { tableIdent_ = null; onChanged(); } else { tableIdent_ = null; tableIdentBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder getTableIdentBuilder() { onChanged(); return getTableIdentFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ public cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder getTableIdentOrBuilder() { if (tableIdentBuilder_ != null) { return tableIdentBuilder_.getMessageOrBuilder(); } else { return tableIdent_ == null ? cz.proto.ingestion.v2.IngestionV2.TableIdentifier.getDefaultInstance() : tableIdent_; } } /** * .cz.proto.ingestion.v2.TableIdentifier table_ident = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder> getTableIdentFieldBuilder() { if (tableIdentBuilder_ == null) { tableIdentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.TableIdentifier, cz.proto.ingestion.v2.IngestionV2.TableIdentifier.Builder, cz.proto.ingestion.v2.IngestionV2.TableIdentifierOrBuilder>( getTableIdent(), getParentForChildren(), isClean()); tableIdent_ = null; } return tableIdentBuilder_; } private java.util.List updates_ = java.util.Collections.emptyList(); private void ensureUpdatesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { updates_ = new java.util.ArrayList(updates_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.access.Ddl.TableChange, cz.proto.access.Ddl.TableChange.Builder, cz.proto.access.Ddl.TableChangeOrBuilder> updatesBuilder_; /** * repeated .cz.proto.access.TableChange updates = 3; */ public java.util.List getUpdatesList() { if (updatesBuilder_ == null) { return java.util.Collections.unmodifiableList(updates_); } else { return updatesBuilder_.getMessageList(); } } /** * repeated .cz.proto.access.TableChange updates = 3; */ public int getUpdatesCount() { if (updatesBuilder_ == null) { return updates_.size(); } else { return updatesBuilder_.getCount(); } } /** * repeated .cz.proto.access.TableChange updates = 3; */ public cz.proto.access.Ddl.TableChange getUpdates(int index) { if (updatesBuilder_ == null) { return updates_.get(index); } else { return updatesBuilder_.getMessage(index); } } /** * repeated .cz.proto.access.TableChange updates = 3; */ public Builder setUpdates( int index, cz.proto.access.Ddl.TableChange value) { if (updatesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUpdatesIsMutable(); updates_.set(index, value); onChanged(); } else { updatesBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.access.TableChange updates = 3; */ public Builder setUpdates( int index, cz.proto.access.Ddl.TableChange.Builder builderForValue) { if (updatesBuilder_ == null) { ensureUpdatesIsMutable(); updates_.set(index, builderForValue.build()); onChanged(); } else { updatesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.access.TableChange updates = 3; */ public Builder addUpdates(cz.proto.access.Ddl.TableChange value) { if (updatesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUpdatesIsMutable(); updates_.add(value); onChanged(); } else { updatesBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.access.TableChange updates = 3; */ public Builder addUpdates( int index, cz.proto.access.Ddl.TableChange value) { if (updatesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUpdatesIsMutable(); updates_.add(index, value); onChanged(); } else { updatesBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.access.TableChange updates = 3; */ public Builder addUpdates( cz.proto.access.Ddl.TableChange.Builder builderForValue) { if (updatesBuilder_ == null) { ensureUpdatesIsMutable(); updates_.add(builderForValue.build()); onChanged(); } else { updatesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.access.TableChange updates = 3; */ public Builder addUpdates( int index, cz.proto.access.Ddl.TableChange.Builder builderForValue) { if (updatesBuilder_ == null) { ensureUpdatesIsMutable(); updates_.add(index, builderForValue.build()); onChanged(); } else { updatesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.access.TableChange updates = 3; */ public Builder addAllUpdates( java.lang.Iterable values) { if (updatesBuilder_ == null) { ensureUpdatesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, updates_); onChanged(); } else { updatesBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.access.TableChange updates = 3; */ public Builder clearUpdates() { if (updatesBuilder_ == null) { updates_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { updatesBuilder_.clear(); } return this; } /** * repeated .cz.proto.access.TableChange updates = 3; */ public Builder removeUpdates(int index) { if (updatesBuilder_ == null) { ensureUpdatesIsMutable(); updates_.remove(index); onChanged(); } else { updatesBuilder_.remove(index); } return this; } /** * repeated .cz.proto.access.TableChange updates = 3; */ public cz.proto.access.Ddl.TableChange.Builder getUpdatesBuilder( int index) { return getUpdatesFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.access.TableChange updates = 3; */ public cz.proto.access.Ddl.TableChangeOrBuilder getUpdatesOrBuilder( int index) { if (updatesBuilder_ == null) { return updates_.get(index); } else { return updatesBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.access.TableChange updates = 3; */ public java.util.List getUpdatesOrBuilderList() { if (updatesBuilder_ != null) { return updatesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(updates_); } } /** * repeated .cz.proto.access.TableChange updates = 3; */ public cz.proto.access.Ddl.TableChange.Builder addUpdatesBuilder() { return getUpdatesFieldBuilder().addBuilder( cz.proto.access.Ddl.TableChange.getDefaultInstance()); } /** * repeated .cz.proto.access.TableChange updates = 3; */ public cz.proto.access.Ddl.TableChange.Builder addUpdatesBuilder( int index) { return getUpdatesFieldBuilder().addBuilder( index, cz.proto.access.Ddl.TableChange.getDefaultInstance()); } /** * repeated .cz.proto.access.TableChange updates = 3; */ public java.util.List getUpdatesBuilderList() { return getUpdatesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.access.Ddl.TableChange, cz.proto.access.Ddl.TableChange.Builder, cz.proto.access.Ddl.TableChangeOrBuilder> getUpdatesFieldBuilder() { if (updatesBuilder_ == null) { updatesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.access.Ddl.TableChange, cz.proto.access.Ddl.TableChange.Builder, cz.proto.access.Ddl.TableChangeOrBuilder>( updates_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); updates_ = null; } return updatesBuilder_; } private com.google.protobuf.LazyStringList ddlSql_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureDdlSqlIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { ddlSql_ = new com.google.protobuf.LazyStringArrayList(ddlSql_); bitField0_ |= 0x00000002; } } /** * repeated string ddlSql = 4; * @return A list containing the ddlSql. */ public com.google.protobuf.ProtocolStringList getDdlSqlList() { return ddlSql_.getUnmodifiableView(); } /** * repeated string ddlSql = 4; * @return The count of ddlSql. */ public int getDdlSqlCount() { return ddlSql_.size(); } /** * repeated string ddlSql = 4; * @param index The index of the element to return. * @return The ddlSql at the given index. */ public java.lang.String getDdlSql(int index) { return ddlSql_.get(index); } /** * repeated string ddlSql = 4; * @param index The index of the value to return. * @return The bytes of the ddlSql at the given index. */ public com.google.protobuf.ByteString getDdlSqlBytes(int index) { return ddlSql_.getByteString(index); } /** * repeated string ddlSql = 4; * @param index The index to set the value at. * @param value The ddlSql to set. * @return This builder for chaining. */ public Builder setDdlSql( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDdlSqlIsMutable(); ddlSql_.set(index, value); onChanged(); return this; } /** * repeated string ddlSql = 4; * @param value The ddlSql to add. * @return This builder for chaining. */ public Builder addDdlSql( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureDdlSqlIsMutable(); ddlSql_.add(value); onChanged(); return this; } /** * repeated string ddlSql = 4; * @param values The ddlSql to add. * @return This builder for chaining. */ public Builder addAllDdlSql( java.lang.Iterable values) { ensureDdlSqlIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, ddlSql_); onChanged(); return this; } /** * repeated string ddlSql = 4; * @return This builder for chaining. */ public Builder clearDdlSql() { ddlSql_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * repeated string ddlSql = 4; * @param value The bytes of the ddlSql to add. * @return This builder for chaining. */ public Builder addDdlSqlBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureDdlSqlIsMutable(); ddlSql_.add(value); onChanged(); return this; } private java.lang.Object serverToken_ = ""; /** * string server_token = 5; * @return The serverToken. */ public java.lang.String getServerToken() { java.lang.Object ref = serverToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serverToken_ = s; return s; } else { return (java.lang.String) ref; } } /** * string server_token = 5; * @return The bytes for serverToken. */ public com.google.protobuf.ByteString getServerTokenBytes() { java.lang.Object ref = serverToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serverToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string server_token = 5; * @param value The serverToken to set. * @return This builder for chaining. */ public Builder setServerToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } serverToken_ = value; onChanged(); return this; } /** * string server_token = 5; * @return This builder for chaining. */ public Builder clearServerToken() { serverToken_ = getDefaultInstance().getServerToken(); onChanged(); return this; } /** * string server_token = 5; * @param value The bytes for serverToken to set. * @return This builder for chaining. */ public Builder setServerTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serverToken_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.SchemaChangeRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.SchemaChangeRequest) private static final cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest(); } public static cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SchemaChangeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SchemaChangeRequest(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 cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SchemaChangeResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.SchemaChangeResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.v2.SchemaChangeResponse} */ public static final class SchemaChangeResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.SchemaChangeResponse) SchemaChangeResponseOrBuilder { private static final long serialVersionUID = 0L; // Use SchemaChangeResponse.newBuilder() to construct. private SchemaChangeResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SchemaChangeResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SchemaChangeResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SchemaChangeResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(status_); status_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_SchemaChangeResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_SchemaChangeResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse.class, cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { return getStatus(); } 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 (status_ != null) { output.writeMessage(1, getStatus()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getStatus()); } 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 cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse other = (cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse) obj; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) 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 (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse 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 cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse 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 cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse 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(cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse 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 cz.proto.ingestion.v2.SchemaChangeResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.SchemaChangeResponse) cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_SchemaChangeResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_SchemaChangeResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse.class, cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (statusBuilder_ == null) { status_ = null; } else { status_ = null; statusBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_SchemaChangeResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse build() { cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse buildPartial() { cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse result = new cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse(this); if (statusBuilder_ == null) { result.status_ = status_; } else { result.status_ = statusBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse other) { if (other == cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse.getDefaultInstance()) return this; if (other.hasStatus()) { mergeStatus(other.getStatus()); } 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 { cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus( cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder mergeStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.v2.IngestionV2.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder>( getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } @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:cz.proto.ingestion.v2.SchemaChangeResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.SchemaChangeResponse) private static final cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse(); } public static cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SchemaChangeResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SchemaChangeResponse(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 cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetControllerAddressRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.GetControllerAddressRequest) com.google.protobuf.MessageOrBuilder { /** * int64 instance_id = 1; * @return The instanceId. */ long getInstanceId(); /** * string workspace = 2; * @return The workspace. */ java.lang.String getWorkspace(); /** * string workspace = 2; * @return The bytes for workspace. */ com.google.protobuf.ByteString getWorkspaceBytes(); /** * string schema = 3; * @return The schema. */ java.lang.String getSchema(); /** * string schema = 3; * @return The bytes for schema. */ com.google.protobuf.ByteString getSchemaBytes(); /** * string table = 4; * @return The table. */ java.lang.String getTable(); /** * string table = 4; * @return The bytes for table. */ com.google.protobuf.ByteString getTableBytes(); } /** *
   * Router
   * 
* * Protobuf type {@code cz.proto.ingestion.v2.GetControllerAddressRequest} */ public static final class GetControllerAddressRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.GetControllerAddressRequest) GetControllerAddressRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetControllerAddressRequest.newBuilder() to construct. private GetControllerAddressRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetControllerAddressRequest() { workspace_ = ""; schema_ = ""; table_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetControllerAddressRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetControllerAddressRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { instanceId_ = input.readInt64(); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); workspace_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); schema_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); table_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetControllerAddressRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetControllerAddressRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest.class, cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest.Builder.class); } public static final int INSTANCE_ID_FIELD_NUMBER = 1; private long instanceId_; /** * int64 instance_id = 1; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } public static final int WORKSPACE_FIELD_NUMBER = 2; private volatile java.lang.Object workspace_; /** * string workspace = 2; * @return The workspace. */ @java.lang.Override public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; 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(); workspace_ = s; return s; } } /** * string workspace = 2; * @return The bytes for workspace. */ @java.lang.Override public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workspace_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SCHEMA_FIELD_NUMBER = 3; private volatile java.lang.Object schema_; /** * string schema = 3; * @return The schema. */ @java.lang.Override public java.lang.String getSchema() { java.lang.Object ref = schema_; 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(); schema_ = s; return s; } } /** * string schema = 3; * @return The bytes for schema. */ @java.lang.Override public com.google.protobuf.ByteString getSchemaBytes() { java.lang.Object ref = schema_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); schema_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TABLE_FIELD_NUMBER = 4; private volatile java.lang.Object table_; /** * string table = 4; * @return The table. */ @java.lang.Override public java.lang.String getTable() { java.lang.Object ref = table_; 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(); table_ = s; return s; } } /** * string table = 4; * @return The bytes for table. */ @java.lang.Override public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); table_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (instanceId_ != 0L) { output.writeInt64(1, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, workspace_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, schema_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, table_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (instanceId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, workspace_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schema_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, schema_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, table_); } 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 cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest other = (cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest) obj; if (getInstanceId() != other.getInstanceId()) return false; if (!getWorkspace() .equals(other.getWorkspace())) return false; if (!getSchema() .equals(other.getSchema())) return false; if (!getTable() .equals(other.getTable())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + INSTANCE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getInstanceId()); hash = (37 * hash) + WORKSPACE_FIELD_NUMBER; hash = (53 * hash) + getWorkspace().hashCode(); hash = (37 * hash) + SCHEMA_FIELD_NUMBER; hash = (53 * hash) + getSchema().hashCode(); hash = (37 * hash) + TABLE_FIELD_NUMBER; hash = (53 * hash) + getTable().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest 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 cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest 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 cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest 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(cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest 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; } /** *
     * Router
     * 
* * Protobuf type {@code cz.proto.ingestion.v2.GetControllerAddressRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.GetControllerAddressRequest) cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetControllerAddressRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetControllerAddressRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest.class, cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); instanceId_ = 0L; workspace_ = ""; schema_ = ""; table_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetControllerAddressRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest build() { cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest buildPartial() { cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest result = new cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest(this); result.instanceId_ = instanceId_; result.workspace_ = workspace_; result.schema_ = schema_; result.table_ = table_; 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 cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest other) { if (other == cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest.getDefaultInstance()) return this; if (other.getInstanceId() != 0L) { setInstanceId(other.getInstanceId()); } if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); } if (!other.getSchema().isEmpty()) { schema_ = other.schema_; onChanged(); } if (!other.getTable().isEmpty()) { table_ = other.table_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long instanceId_ ; /** * int64 instance_id = 1; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } /** * int64 instance_id = 1; * @param value The instanceId to set. * @return This builder for chaining. */ public Builder setInstanceId(long value) { instanceId_ = value; onChanged(); return this; } /** * int64 instance_id = 1; * @return This builder for chaining. */ public Builder clearInstanceId() { instanceId_ = 0L; onChanged(); return this; } private java.lang.Object workspace_ = ""; /** * string workspace = 2; * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } else { return (java.lang.String) ref; } } /** * string workspace = 2; * @return The bytes for workspace. */ public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workspace_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string workspace = 2; * @param value The workspace to set. * @return This builder for chaining. */ public Builder setWorkspace( java.lang.String value) { if (value == null) { throw new NullPointerException(); } workspace_ = value; onChanged(); return this; } /** * string workspace = 2; * @return This builder for chaining. */ public Builder clearWorkspace() { workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** * string workspace = 2; * @param value The bytes for workspace to set. * @return This builder for chaining. */ public Builder setWorkspaceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); workspace_ = value; onChanged(); return this; } private java.lang.Object schema_ = ""; /** * string schema = 3; * @return The schema. */ public java.lang.String getSchema() { java.lang.Object ref = schema_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); schema_ = s; return s; } else { return (java.lang.String) ref; } } /** * string schema = 3; * @return The bytes for schema. */ public com.google.protobuf.ByteString getSchemaBytes() { java.lang.Object ref = schema_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); schema_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string schema = 3; * @param value The schema to set. * @return This builder for chaining. */ public Builder setSchema( java.lang.String value) { if (value == null) { throw new NullPointerException(); } schema_ = value; onChanged(); return this; } /** * string schema = 3; * @return This builder for chaining. */ public Builder clearSchema() { schema_ = getDefaultInstance().getSchema(); onChanged(); return this; } /** * string schema = 3; * @param value The bytes for schema to set. * @return This builder for chaining. */ public Builder setSchemaBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); schema_ = value; onChanged(); return this; } private java.lang.Object table_ = ""; /** * string table = 4; * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } else { return (java.lang.String) ref; } } /** * string table = 4; * @return The bytes for table. */ public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); table_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string table = 4; * @param value The table to set. * @return This builder for chaining. */ public Builder setTable( java.lang.String value) { if (value == null) { throw new NullPointerException(); } table_ = value; onChanged(); return this; } /** * string table = 4; * @return This builder for chaining. */ public Builder clearTable() { table_ = getDefaultInstance().getTable(); onChanged(); return this; } /** * string table = 4; * @param value The bytes for table to set. * @return This builder for chaining. */ public Builder setTableBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); table_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.GetControllerAddressRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.GetControllerAddressRequest) private static final cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest(); } public static cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetControllerAddressRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetControllerAddressRequest(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 cz.proto.ingestion.v2.IngestionV2.GetControllerAddressRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetControllerAddressResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.GetControllerAddressResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder(); /** * string service_address = 2; * @return The serviceAddress. */ java.lang.String getServiceAddress(); /** * string service_address = 2; * @return The bytes for serviceAddress. */ com.google.protobuf.ByteString getServiceAddressBytes(); } /** * Protobuf type {@code cz.proto.ingestion.v2.GetControllerAddressResponse} */ public static final class GetControllerAddressResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.GetControllerAddressResponse) GetControllerAddressResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetControllerAddressResponse.newBuilder() to construct. private GetControllerAddressResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetControllerAddressResponse() { serviceAddress_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetControllerAddressResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetControllerAddressResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(status_); status_ = subBuilder.buildPartial(); } break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); serviceAddress_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetControllerAddressResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetControllerAddressResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse.class, cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { return getStatus(); } public static final int SERVICE_ADDRESS_FIELD_NUMBER = 2; private volatile java.lang.Object serviceAddress_; /** * string service_address = 2; * @return The serviceAddress. */ @java.lang.Override public java.lang.String getServiceAddress() { java.lang.Object ref = serviceAddress_; 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(); serviceAddress_ = s; return s; } } /** * string service_address = 2; * @return The bytes for serviceAddress. */ @java.lang.Override public com.google.protobuf.ByteString getServiceAddressBytes() { java.lang.Object ref = serviceAddress_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serviceAddress_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (status_ != null) { output.writeMessage(1, getStatus()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAddress_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, serviceAddress_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getStatus()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAddress_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, serviceAddress_); } 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 cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse other = (cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse) obj; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) return false; } if (!getServiceAddress() .equals(other.getServiceAddress())) 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 (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } hash = (37 * hash) + SERVICE_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getServiceAddress().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse 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 cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse 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 cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse 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(cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse 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 cz.proto.ingestion.v2.GetControllerAddressResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.GetControllerAddressResponse) cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetControllerAddressResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetControllerAddressResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse.class, cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (statusBuilder_ == null) { status_ = null; } else { status_ = null; statusBuilder_ = null; } serviceAddress_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_GetControllerAddressResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse build() { cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse buildPartial() { cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse result = new cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse(this); if (statusBuilder_ == null) { result.status_ = status_; } else { result.status_ = statusBuilder_.build(); } result.serviceAddress_ = serviceAddress_; 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 cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse other) { if (other == cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse.getDefaultInstance()) return this; if (other.hasStatus()) { mergeStatus(other.getStatus()); } if (!other.getServiceAddress().isEmpty()) { serviceAddress_ = other.serviceAddress_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus( cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder mergeStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.v2.IngestionV2.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder>( getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } private java.lang.Object serviceAddress_ = ""; /** * string service_address = 2; * @return The serviceAddress. */ public java.lang.String getServiceAddress() { java.lang.Object ref = serviceAddress_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAddress_ = s; return s; } else { return (java.lang.String) ref; } } /** * string service_address = 2; * @return The bytes for serviceAddress. */ public com.google.protobuf.ByteString getServiceAddressBytes() { java.lang.Object ref = serviceAddress_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serviceAddress_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string service_address = 2; * @param value The serviceAddress to set. * @return This builder for chaining. */ public Builder setServiceAddress( java.lang.String value) { if (value == null) { throw new NullPointerException(); } serviceAddress_ = value; onChanged(); return this; } /** * string service_address = 2; * @return This builder for chaining. */ public Builder clearServiceAddress() { serviceAddress_ = getDefaultInstance().getServiceAddress(); onChanged(); return this; } /** * string service_address = 2; * @param value The bytes for serviceAddress to set. * @return This builder for chaining. */ public Builder setServiceAddressBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serviceAddress_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.GetControllerAddressResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.GetControllerAddressResponse) private static final cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse(); } public static cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetControllerAddressResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetControllerAddressResponse(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 cz.proto.ingestion.v2.IngestionV2.GetControllerAddressResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UpdateRouteRuleRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.UpdateRouteRuleRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.RouteRule rule = 1; * @return Whether the rule field is set. */ boolean hasRule(); /** * .cz.proto.ingestion.v2.RouteRule rule = 1; * @return The rule. */ cz.proto.ingestion.v2.IngestionV2.RouteRule getRule(); /** * .cz.proto.ingestion.v2.RouteRule rule = 1; */ cz.proto.ingestion.v2.IngestionV2.RouteRuleOrBuilder getRuleOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.v2.UpdateRouteRuleRequest} */ public static final class UpdateRouteRuleRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.UpdateRouteRuleRequest) UpdateRouteRuleRequestOrBuilder { private static final long serialVersionUID = 0L; // Use UpdateRouteRuleRequest.newBuilder() to construct. private UpdateRouteRuleRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UpdateRouteRuleRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UpdateRouteRuleRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UpdateRouteRuleRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.RouteRule.Builder subBuilder = null; if (rule_ != null) { subBuilder = rule_.toBuilder(); } rule_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.RouteRule.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(rule_); rule_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_UpdateRouteRuleRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_UpdateRouteRuleRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest.class, cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest.Builder.class); } public static final int RULE_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.RouteRule rule_; /** * .cz.proto.ingestion.v2.RouteRule rule = 1; * @return Whether the rule field is set. */ @java.lang.Override public boolean hasRule() { return rule_ != null; } /** * .cz.proto.ingestion.v2.RouteRule rule = 1; * @return The rule. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.RouteRule getRule() { return rule_ == null ? cz.proto.ingestion.v2.IngestionV2.RouteRule.getDefaultInstance() : rule_; } /** * .cz.proto.ingestion.v2.RouteRule rule = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.RouteRuleOrBuilder getRuleOrBuilder() { return getRule(); } 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 (rule_ != null) { output.writeMessage(1, getRule()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (rule_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRule()); } 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 cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest other = (cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest) obj; if (hasRule() != other.hasRule()) return false; if (hasRule()) { if (!getRule() .equals(other.getRule())) 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 (hasRule()) { hash = (37 * hash) + RULE_FIELD_NUMBER; hash = (53 * hash) + getRule().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest 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 cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest 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 cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest 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(cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest 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 cz.proto.ingestion.v2.UpdateRouteRuleRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.UpdateRouteRuleRequest) cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_UpdateRouteRuleRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_UpdateRouteRuleRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest.class, cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (ruleBuilder_ == null) { rule_ = null; } else { rule_ = null; ruleBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_UpdateRouteRuleRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest build() { cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest buildPartial() { cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest result = new cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest(this); if (ruleBuilder_ == null) { result.rule_ = rule_; } else { result.rule_ = ruleBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest other) { if (other == cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest.getDefaultInstance()) return this; if (other.hasRule()) { mergeRule(other.getRule()); } 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 { cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.v2.IngestionV2.RouteRule rule_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.RouteRule, cz.proto.ingestion.v2.IngestionV2.RouteRule.Builder, cz.proto.ingestion.v2.IngestionV2.RouteRuleOrBuilder> ruleBuilder_; /** * .cz.proto.ingestion.v2.RouteRule rule = 1; * @return Whether the rule field is set. */ public boolean hasRule() { return ruleBuilder_ != null || rule_ != null; } /** * .cz.proto.ingestion.v2.RouteRule rule = 1; * @return The rule. */ public cz.proto.ingestion.v2.IngestionV2.RouteRule getRule() { if (ruleBuilder_ == null) { return rule_ == null ? cz.proto.ingestion.v2.IngestionV2.RouteRule.getDefaultInstance() : rule_; } else { return ruleBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.RouteRule rule = 1; */ public Builder setRule(cz.proto.ingestion.v2.IngestionV2.RouteRule value) { if (ruleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } rule_ = value; onChanged(); } else { ruleBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.RouteRule rule = 1; */ public Builder setRule( cz.proto.ingestion.v2.IngestionV2.RouteRule.Builder builderForValue) { if (ruleBuilder_ == null) { rule_ = builderForValue.build(); onChanged(); } else { ruleBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.RouteRule rule = 1; */ public Builder mergeRule(cz.proto.ingestion.v2.IngestionV2.RouteRule value) { if (ruleBuilder_ == null) { if (rule_ != null) { rule_ = cz.proto.ingestion.v2.IngestionV2.RouteRule.newBuilder(rule_).mergeFrom(value).buildPartial(); } else { rule_ = value; } onChanged(); } else { ruleBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.RouteRule rule = 1; */ public Builder clearRule() { if (ruleBuilder_ == null) { rule_ = null; onChanged(); } else { rule_ = null; ruleBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.RouteRule rule = 1; */ public cz.proto.ingestion.v2.IngestionV2.RouteRule.Builder getRuleBuilder() { onChanged(); return getRuleFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.RouteRule rule = 1; */ public cz.proto.ingestion.v2.IngestionV2.RouteRuleOrBuilder getRuleOrBuilder() { if (ruleBuilder_ != null) { return ruleBuilder_.getMessageOrBuilder(); } else { return rule_ == null ? cz.proto.ingestion.v2.IngestionV2.RouteRule.getDefaultInstance() : rule_; } } /** * .cz.proto.ingestion.v2.RouteRule rule = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.RouteRule, cz.proto.ingestion.v2.IngestionV2.RouteRule.Builder, cz.proto.ingestion.v2.IngestionV2.RouteRuleOrBuilder> getRuleFieldBuilder() { if (ruleBuilder_ == null) { ruleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.RouteRule, cz.proto.ingestion.v2.IngestionV2.RouteRule.Builder, cz.proto.ingestion.v2.IngestionV2.RouteRuleOrBuilder>( getRule(), getParentForChildren(), isClean()); rule_ = null; } return ruleBuilder_; } @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:cz.proto.ingestion.v2.UpdateRouteRuleRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.UpdateRouteRuleRequest) private static final cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest(); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UpdateRouteRuleRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UpdateRouteRuleRequest(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 cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UpdateRouteRuleResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.UpdateRouteRuleResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.v2.UpdateRouteRuleResponse} */ public static final class UpdateRouteRuleResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.UpdateRouteRuleResponse) UpdateRouteRuleResponseOrBuilder { private static final long serialVersionUID = 0L; // Use UpdateRouteRuleResponse.newBuilder() to construct. private UpdateRouteRuleResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UpdateRouteRuleResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UpdateRouteRuleResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UpdateRouteRuleResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(status_); status_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_UpdateRouteRuleResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_UpdateRouteRuleResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse.class, cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { return getStatus(); } 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 (status_ != null) { output.writeMessage(1, getStatus()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getStatus()); } 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 cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse other = (cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse) obj; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) 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 (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse 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 cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse 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 cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse 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(cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse 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 cz.proto.ingestion.v2.UpdateRouteRuleResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.UpdateRouteRuleResponse) cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_UpdateRouteRuleResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_UpdateRouteRuleResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse.class, cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (statusBuilder_ == null) { status_ = null; } else { status_ = null; statusBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_UpdateRouteRuleResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse build() { cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse buildPartial() { cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse result = new cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse(this); if (statusBuilder_ == null) { result.status_ = status_; } else { result.status_ = statusBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse other) { if (other == cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse.getDefaultInstance()) return this; if (other.hasStatus()) { mergeStatus(other.getStatus()); } 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 { cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus( cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder mergeStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.v2.IngestionV2.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder>( getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } @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:cz.proto.ingestion.v2.UpdateRouteRuleResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.UpdateRouteRuleResponse) private static final cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse(); } public static cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UpdateRouteRuleResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UpdateRouteRuleResponse(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 cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RemoveRouteRuleRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.RemoveRouteRuleRequest) com.google.protobuf.MessageOrBuilder { /** * string resource_id = 1; * @return The resourceId. */ java.lang.String getResourceId(); /** * string resource_id = 1; * @return The bytes for resourceId. */ com.google.protobuf.ByteString getResourceIdBytes(); /** * int64 resource_type = 2; * @return The resourceType. */ long getResourceType(); } /** * Protobuf type {@code cz.proto.ingestion.v2.RemoveRouteRuleRequest} */ public static final class RemoveRouteRuleRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.RemoveRouteRuleRequest) RemoveRouteRuleRequestOrBuilder { private static final long serialVersionUID = 0L; // Use RemoveRouteRuleRequest.newBuilder() to construct. private RemoveRouteRuleRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RemoveRouteRuleRequest() { resourceId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RemoveRouteRuleRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RemoveRouteRuleRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); resourceId_ = s; break; } case 16: { resourceType_ = input.readInt64(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_RemoveRouteRuleRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_RemoveRouteRuleRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest.class, cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest.Builder.class); } public static final int RESOURCE_ID_FIELD_NUMBER = 1; private volatile java.lang.Object resourceId_; /** * string resource_id = 1; * @return The resourceId. */ @java.lang.Override public java.lang.String getResourceId() { java.lang.Object ref = resourceId_; 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(); resourceId_ = s; return s; } } /** * string resource_id = 1; * @return The bytes for resourceId. */ @java.lang.Override public com.google.protobuf.ByteString getResourceIdBytes() { java.lang.Object ref = resourceId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RESOURCE_TYPE_FIELD_NUMBER = 2; private long resourceType_; /** * int64 resource_type = 2; * @return The resourceType. */ @java.lang.Override public long getResourceType() { return resourceType_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceId_); } if (resourceType_ != 0L) { output.writeInt64(2, resourceType_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resourceId_); } if (resourceType_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, resourceType_); } 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 cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest other = (cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest) obj; if (!getResourceId() .equals(other.getResourceId())) return false; if (getResourceType() != other.getResourceType()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + RESOURCE_ID_FIELD_NUMBER; hash = (53 * hash) + getResourceId().hashCode(); hash = (37 * hash) + RESOURCE_TYPE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getResourceType()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest 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 cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest 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 cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest 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(cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest 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 cz.proto.ingestion.v2.RemoveRouteRuleRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.RemoveRouteRuleRequest) cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_RemoveRouteRuleRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_RemoveRouteRuleRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest.class, cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); resourceId_ = ""; resourceType_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_RemoveRouteRuleRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest build() { cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest buildPartial() { cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest result = new cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest(this); result.resourceId_ = resourceId_; result.resourceType_ = resourceType_; 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 cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest other) { if (other == cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest.getDefaultInstance()) return this; if (!other.getResourceId().isEmpty()) { resourceId_ = other.resourceId_; onChanged(); } if (other.getResourceType() != 0L) { setResourceType(other.getResourceType()); } 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 { cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object resourceId_ = ""; /** * string resource_id = 1; * @return The resourceId. */ public java.lang.String getResourceId() { java.lang.Object ref = resourceId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); resourceId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string resource_id = 1; * @return The bytes for resourceId. */ public com.google.protobuf.ByteString getResourceIdBytes() { java.lang.Object ref = resourceId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); resourceId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string resource_id = 1; * @param value The resourceId to set. * @return This builder for chaining. */ public Builder setResourceId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } resourceId_ = value; onChanged(); return this; } /** * string resource_id = 1; * @return This builder for chaining. */ public Builder clearResourceId() { resourceId_ = getDefaultInstance().getResourceId(); onChanged(); return this; } /** * string resource_id = 1; * @param value The bytes for resourceId to set. * @return This builder for chaining. */ public Builder setResourceIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceId_ = value; onChanged(); return this; } private long resourceType_ ; /** * int64 resource_type = 2; * @return The resourceType. */ @java.lang.Override public long getResourceType() { return resourceType_; } /** * int64 resource_type = 2; * @param value The resourceType to set. * @return This builder for chaining. */ public Builder setResourceType(long value) { resourceType_ = value; onChanged(); return this; } /** * int64 resource_type = 2; * @return This builder for chaining. */ public Builder clearResourceType() { resourceType_ = 0L; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.RemoveRouteRuleRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.RemoveRouteRuleRequest) private static final cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest(); } public static cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RemoveRouteRuleRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RemoveRouteRuleRequest(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 cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RemoveRouteRuleResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.RemoveRouteRuleResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.v2.RemoveRouteRuleResponse} */ public static final class RemoveRouteRuleResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.RemoveRouteRuleResponse) RemoveRouteRuleResponseOrBuilder { private static final long serialVersionUID = 0L; // Use RemoveRouteRuleResponse.newBuilder() to construct. private RemoveRouteRuleResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RemoveRouteRuleResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RemoveRouteRuleResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RemoveRouteRuleResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(status_); status_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_RemoveRouteRuleResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_RemoveRouteRuleResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse.class, cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { return getStatus(); } 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 (status_ != null) { output.writeMessage(1, getStatus()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getStatus()); } 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 cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse other = (cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse) obj; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) 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 (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse 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 cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse 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 cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse 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(cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse 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 cz.proto.ingestion.v2.RemoveRouteRuleResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.RemoveRouteRuleResponse) cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_RemoveRouteRuleResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_RemoveRouteRuleResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse.class, cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (statusBuilder_ == null) { status_ = null; } else { status_ = null; statusBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_RemoveRouteRuleResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse build() { cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse buildPartial() { cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse result = new cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse(this); if (statusBuilder_ == null) { result.status_ = status_; } else { result.status_ = statusBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse other) { if (other == cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse.getDefaultInstance()) return this; if (other.hasStatus()) { mergeStatus(other.getStatus()); } 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 { cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus( cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder mergeStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.v2.IngestionV2.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder>( getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } @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:cz.proto.ingestion.v2.RemoveRouteRuleResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.RemoveRouteRuleResponse) private static final cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse(); } public static cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RemoveRouteRuleResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RemoveRouteRuleResponse(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 cz.proto.ingestion.v2.IngestionV2.RemoveRouteRuleResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ChangeDefaultServiceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.ChangeDefaultServiceRequest) com.google.protobuf.MessageOrBuilder { /** * string service_tag = 1; * @return The serviceTag. */ java.lang.String getServiceTag(); /** * string service_tag = 1; * @return The bytes for serviceTag. */ com.google.protobuf.ByteString getServiceTagBytes(); } /** * Protobuf type {@code cz.proto.ingestion.v2.ChangeDefaultServiceRequest} */ public static final class ChangeDefaultServiceRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.ChangeDefaultServiceRequest) ChangeDefaultServiceRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ChangeDefaultServiceRequest.newBuilder() to construct. private ChangeDefaultServiceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ChangeDefaultServiceRequest() { serviceTag_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ChangeDefaultServiceRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ChangeDefaultServiceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); serviceTag_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_ChangeDefaultServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_ChangeDefaultServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest.class, cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest.Builder.class); } public static final int SERVICE_TAG_FIELD_NUMBER = 1; private volatile java.lang.Object serviceTag_; /** * string service_tag = 1; * @return The serviceTag. */ @java.lang.Override public java.lang.String getServiceTag() { java.lang.Object ref = serviceTag_; 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(); serviceTag_ = s; return s; } } /** * string service_tag = 1; * @return The bytes for serviceTag. */ @java.lang.Override public com.google.protobuf.ByteString getServiceTagBytes() { java.lang.Object ref = serviceTag_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serviceTag_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceTag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceTag_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceTag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, serviceTag_); } 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 cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest other = (cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest) obj; if (!getServiceTag() .equals(other.getServiceTag())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SERVICE_TAG_FIELD_NUMBER; hash = (53 * hash) + getServiceTag().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest 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 cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest 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 cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest 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(cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest 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 cz.proto.ingestion.v2.ChangeDefaultServiceRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.ChangeDefaultServiceRequest) cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_ChangeDefaultServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_ChangeDefaultServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest.class, cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); serviceTag_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_ChangeDefaultServiceRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest build() { cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest buildPartial() { cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest result = new cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest(this); result.serviceTag_ = serviceTag_; 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 cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest other) { if (other == cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest.getDefaultInstance()) return this; if (!other.getServiceTag().isEmpty()) { serviceTag_ = other.serviceTag_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object serviceTag_ = ""; /** * string service_tag = 1; * @return The serviceTag. */ public java.lang.String getServiceTag() { java.lang.Object ref = serviceTag_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceTag_ = s; return s; } else { return (java.lang.String) ref; } } /** * string service_tag = 1; * @return The bytes for serviceTag. */ public com.google.protobuf.ByteString getServiceTagBytes() { java.lang.Object ref = serviceTag_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serviceTag_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string service_tag = 1; * @param value The serviceTag to set. * @return This builder for chaining. */ public Builder setServiceTag( java.lang.String value) { if (value == null) { throw new NullPointerException(); } serviceTag_ = value; onChanged(); return this; } /** * string service_tag = 1; * @return This builder for chaining. */ public Builder clearServiceTag() { serviceTag_ = getDefaultInstance().getServiceTag(); onChanged(); return this; } /** * string service_tag = 1; * @param value The bytes for serviceTag to set. * @return This builder for chaining. */ public Builder setServiceTagBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serviceTag_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.ChangeDefaultServiceRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.ChangeDefaultServiceRequest) private static final cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest(); } public static cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ChangeDefaultServiceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ChangeDefaultServiceRequest(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 cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ChangeDefaultServiceResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.ChangeDefaultServiceResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.v2.ChangeDefaultServiceResponse} */ public static final class ChangeDefaultServiceResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.ChangeDefaultServiceResponse) ChangeDefaultServiceResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ChangeDefaultServiceResponse.newBuilder() to construct. private ChangeDefaultServiceResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ChangeDefaultServiceResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ChangeDefaultServiceResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ChangeDefaultServiceResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(status_); status_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_ChangeDefaultServiceResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_ChangeDefaultServiceResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse.class, cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { return getStatus(); } 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 (status_ != null) { output.writeMessage(1, getStatus()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getStatus()); } 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 cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse other = (cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse) obj; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) 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 (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse 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 cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse 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 cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse 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(cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse 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 cz.proto.ingestion.v2.ChangeDefaultServiceResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.ChangeDefaultServiceResponse) cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_ChangeDefaultServiceResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_ChangeDefaultServiceResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse.class, cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (statusBuilder_ == null) { status_ = null; } else { status_ = null; statusBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_ChangeDefaultServiceResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse build() { cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse buildPartial() { cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse result = new cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse(this); if (statusBuilder_ == null) { result.status_ = status_; } else { result.status_ = statusBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse other) { if (other == cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse.getDefaultInstance()) return this; if (other.hasStatus()) { mergeStatus(other.getStatus()); } 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 { cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus( cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder mergeStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.v2.IngestionV2.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder>( getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } @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:cz.proto.ingestion.v2.ChangeDefaultServiceResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.ChangeDefaultServiceResponse) private static final cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse(); } public static cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ChangeDefaultServiceResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ChangeDefaultServiceResponse(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 cz.proto.ingestion.v2.IngestionV2.ChangeDefaultServiceResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ControllerServiceInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.ControllerServiceInfo) com.google.protobuf.MessageOrBuilder { /** * string service_tag = 1; * @return The serviceTag. */ java.lang.String getServiceTag(); /** * string service_tag = 1; * @return The bytes for serviceTag. */ com.google.protobuf.ByteString getServiceTagBytes(); /** * string service_address = 2; * @return The serviceAddress. */ java.lang.String getServiceAddress(); /** * string service_address = 2; * @return The bytes for serviceAddress. */ com.google.protobuf.ByteString getServiceAddressBytes(); /** * bool default_service = 3; * @return The defaultService. */ boolean getDefaultService(); /** * string build_info = 4; * @return The buildInfo. */ java.lang.String getBuildInfo(); /** * string build_info = 4; * @return The bytes for buildInfo. */ com.google.protobuf.ByteString getBuildInfoBytes(); } /** * Protobuf type {@code cz.proto.ingestion.v2.ControllerServiceInfo} */ public static final class ControllerServiceInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.ControllerServiceInfo) ControllerServiceInfoOrBuilder { private static final long serialVersionUID = 0L; // Use ControllerServiceInfo.newBuilder() to construct. private ControllerServiceInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ControllerServiceInfo() { serviceTag_ = ""; serviceAddress_ = ""; buildInfo_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ControllerServiceInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ControllerServiceInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); serviceTag_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); serviceAddress_ = s; break; } case 24: { defaultService_ = input.readBool(); break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); buildInfo_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_ControllerServiceInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_ControllerServiceInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo.class, cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo.Builder.class); } public static final int SERVICE_TAG_FIELD_NUMBER = 1; private volatile java.lang.Object serviceTag_; /** * string service_tag = 1; * @return The serviceTag. */ @java.lang.Override public java.lang.String getServiceTag() { java.lang.Object ref = serviceTag_; 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(); serviceTag_ = s; return s; } } /** * string service_tag = 1; * @return The bytes for serviceTag. */ @java.lang.Override public com.google.protobuf.ByteString getServiceTagBytes() { java.lang.Object ref = serviceTag_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serviceTag_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SERVICE_ADDRESS_FIELD_NUMBER = 2; private volatile java.lang.Object serviceAddress_; /** * string service_address = 2; * @return The serviceAddress. */ @java.lang.Override public java.lang.String getServiceAddress() { java.lang.Object ref = serviceAddress_; 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(); serviceAddress_ = s; return s; } } /** * string service_address = 2; * @return The bytes for serviceAddress. */ @java.lang.Override public com.google.protobuf.ByteString getServiceAddressBytes() { java.lang.Object ref = serviceAddress_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serviceAddress_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DEFAULT_SERVICE_FIELD_NUMBER = 3; private boolean defaultService_; /** * bool default_service = 3; * @return The defaultService. */ @java.lang.Override public boolean getDefaultService() { return defaultService_; } public static final int BUILD_INFO_FIELD_NUMBER = 4; private volatile java.lang.Object buildInfo_; /** * string build_info = 4; * @return The buildInfo. */ @java.lang.Override public java.lang.String getBuildInfo() { java.lang.Object ref = buildInfo_; 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(); buildInfo_ = s; return s; } } /** * string build_info = 4; * @return The bytes for buildInfo. */ @java.lang.Override public com.google.protobuf.ByteString getBuildInfoBytes() { java.lang.Object ref = buildInfo_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); buildInfo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceTag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceTag_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAddress_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, serviceAddress_); } if (defaultService_ != false) { output.writeBool(3, defaultService_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(buildInfo_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, buildInfo_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceTag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, serviceTag_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAddress_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, serviceAddress_); } if (defaultService_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, defaultService_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(buildInfo_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, buildInfo_); } 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 cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo other = (cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo) obj; if (!getServiceTag() .equals(other.getServiceTag())) return false; if (!getServiceAddress() .equals(other.getServiceAddress())) return false; if (getDefaultService() != other.getDefaultService()) return false; if (!getBuildInfo() .equals(other.getBuildInfo())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SERVICE_TAG_FIELD_NUMBER; hash = (53 * hash) + getServiceTag().hashCode(); hash = (37 * hash) + SERVICE_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getServiceAddress().hashCode(); hash = (37 * hash) + DEFAULT_SERVICE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDefaultService()); hash = (37 * hash) + BUILD_INFO_FIELD_NUMBER; hash = (53 * hash) + getBuildInfo().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo 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 cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo 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 cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo 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(cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo 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 cz.proto.ingestion.v2.ControllerServiceInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.ControllerServiceInfo) cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_ControllerServiceInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_ControllerServiceInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo.class, cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); serviceTag_ = ""; serviceAddress_ = ""; defaultService_ = false; buildInfo_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_ControllerServiceInfo_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo build() { cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo buildPartial() { cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo result = new cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo(this); result.serviceTag_ = serviceTag_; result.serviceAddress_ = serviceAddress_; result.defaultService_ = defaultService_; result.buildInfo_ = buildInfo_; 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 cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo other) { if (other == cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo.getDefaultInstance()) return this; if (!other.getServiceTag().isEmpty()) { serviceTag_ = other.serviceTag_; onChanged(); } if (!other.getServiceAddress().isEmpty()) { serviceAddress_ = other.serviceAddress_; onChanged(); } if (other.getDefaultService() != false) { setDefaultService(other.getDefaultService()); } if (!other.getBuildInfo().isEmpty()) { buildInfo_ = other.buildInfo_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object serviceTag_ = ""; /** * string service_tag = 1; * @return The serviceTag. */ public java.lang.String getServiceTag() { java.lang.Object ref = serviceTag_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceTag_ = s; return s; } else { return (java.lang.String) ref; } } /** * string service_tag = 1; * @return The bytes for serviceTag. */ public com.google.protobuf.ByteString getServiceTagBytes() { java.lang.Object ref = serviceTag_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serviceTag_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string service_tag = 1; * @param value The serviceTag to set. * @return This builder for chaining. */ public Builder setServiceTag( java.lang.String value) { if (value == null) { throw new NullPointerException(); } serviceTag_ = value; onChanged(); return this; } /** * string service_tag = 1; * @return This builder for chaining. */ public Builder clearServiceTag() { serviceTag_ = getDefaultInstance().getServiceTag(); onChanged(); return this; } /** * string service_tag = 1; * @param value The bytes for serviceTag to set. * @return This builder for chaining. */ public Builder setServiceTagBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serviceTag_ = value; onChanged(); return this; } private java.lang.Object serviceAddress_ = ""; /** * string service_address = 2; * @return The serviceAddress. */ public java.lang.String getServiceAddress() { java.lang.Object ref = serviceAddress_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serviceAddress_ = s; return s; } else { return (java.lang.String) ref; } } /** * string service_address = 2; * @return The bytes for serviceAddress. */ public com.google.protobuf.ByteString getServiceAddressBytes() { java.lang.Object ref = serviceAddress_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serviceAddress_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string service_address = 2; * @param value The serviceAddress to set. * @return This builder for chaining. */ public Builder setServiceAddress( java.lang.String value) { if (value == null) { throw new NullPointerException(); } serviceAddress_ = value; onChanged(); return this; } /** * string service_address = 2; * @return This builder for chaining. */ public Builder clearServiceAddress() { serviceAddress_ = getDefaultInstance().getServiceAddress(); onChanged(); return this; } /** * string service_address = 2; * @param value The bytes for serviceAddress to set. * @return This builder for chaining. */ public Builder setServiceAddressBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serviceAddress_ = value; onChanged(); return this; } private boolean defaultService_ ; /** * bool default_service = 3; * @return The defaultService. */ @java.lang.Override public boolean getDefaultService() { return defaultService_; } /** * bool default_service = 3; * @param value The defaultService to set. * @return This builder for chaining. */ public Builder setDefaultService(boolean value) { defaultService_ = value; onChanged(); return this; } /** * bool default_service = 3; * @return This builder for chaining. */ public Builder clearDefaultService() { defaultService_ = false; onChanged(); return this; } private java.lang.Object buildInfo_ = ""; /** * string build_info = 4; * @return The buildInfo. */ public java.lang.String getBuildInfo() { java.lang.Object ref = buildInfo_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); buildInfo_ = s; return s; } else { return (java.lang.String) ref; } } /** * string build_info = 4; * @return The bytes for buildInfo. */ public com.google.protobuf.ByteString getBuildInfoBytes() { java.lang.Object ref = buildInfo_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); buildInfo_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string build_info = 4; * @param value The buildInfo to set. * @return This builder for chaining. */ public Builder setBuildInfo( java.lang.String value) { if (value == null) { throw new NullPointerException(); } buildInfo_ = value; onChanged(); return this; } /** * string build_info = 4; * @return This builder for chaining. */ public Builder clearBuildInfo() { buildInfo_ = getDefaultInstance().getBuildInfo(); onChanged(); return this; } /** * string build_info = 4; * @param value The bytes for buildInfo to set. * @return This builder for chaining. */ public Builder setBuildInfoBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); buildInfo_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.ingestion.v2.ControllerServiceInfo) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.ControllerServiceInfo) private static final cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo(); } public static cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ControllerServiceInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ControllerServiceInfo(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 cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RegisterNewServiceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.RegisterNewServiceRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.ControllerServiceInfo service = 1; * @return Whether the service field is set. */ boolean hasService(); /** * .cz.proto.ingestion.v2.ControllerServiceInfo service = 1; * @return The service. */ cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo getService(); /** * .cz.proto.ingestion.v2.ControllerServiceInfo service = 1; */ cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfoOrBuilder getServiceOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.v2.RegisterNewServiceRequest} */ public static final class RegisterNewServiceRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.RegisterNewServiceRequest) RegisterNewServiceRequestOrBuilder { private static final long serialVersionUID = 0L; // Use RegisterNewServiceRequest.newBuilder() to construct. private RegisterNewServiceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RegisterNewServiceRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RegisterNewServiceRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RegisterNewServiceRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo.Builder subBuilder = null; if (service_ != null) { subBuilder = service_.toBuilder(); } service_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(service_); service_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_RegisterNewServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_RegisterNewServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest.class, cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest.Builder.class); } public static final int SERVICE_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo service_; /** * .cz.proto.ingestion.v2.ControllerServiceInfo service = 1; * @return Whether the service field is set. */ @java.lang.Override public boolean hasService() { return service_ != null; } /** * .cz.proto.ingestion.v2.ControllerServiceInfo service = 1; * @return The service. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo getService() { return service_ == null ? cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo.getDefaultInstance() : service_; } /** * .cz.proto.ingestion.v2.ControllerServiceInfo service = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfoOrBuilder getServiceOrBuilder() { return getService(); } 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 (service_ != null) { output.writeMessage(1, getService()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (service_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getService()); } 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 cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest other = (cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest) obj; if (hasService() != other.hasService()) return false; if (hasService()) { if (!getService() .equals(other.getService())) 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 (hasService()) { hash = (37 * hash) + SERVICE_FIELD_NUMBER; hash = (53 * hash) + getService().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest 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 cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest 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 cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest 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(cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest 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 cz.proto.ingestion.v2.RegisterNewServiceRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.RegisterNewServiceRequest) cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_RegisterNewServiceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_RegisterNewServiceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest.class, cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (serviceBuilder_ == null) { service_ = null; } else { service_ = null; serviceBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_RegisterNewServiceRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest build() { cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest buildPartial() { cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest result = new cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest(this); if (serviceBuilder_ == null) { result.service_ = service_; } else { result.service_ = serviceBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest other) { if (other == cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest.getDefaultInstance()) return this; if (other.hasService()) { mergeService(other.getService()); } 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 { cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo service_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo, cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo.Builder, cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfoOrBuilder> serviceBuilder_; /** * .cz.proto.ingestion.v2.ControllerServiceInfo service = 1; * @return Whether the service field is set. */ public boolean hasService() { return serviceBuilder_ != null || service_ != null; } /** * .cz.proto.ingestion.v2.ControllerServiceInfo service = 1; * @return The service. */ public cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo getService() { if (serviceBuilder_ == null) { return service_ == null ? cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo.getDefaultInstance() : service_; } else { return serviceBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.ControllerServiceInfo service = 1; */ public Builder setService(cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo value) { if (serviceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } service_ = value; onChanged(); } else { serviceBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.ControllerServiceInfo service = 1; */ public Builder setService( cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo.Builder builderForValue) { if (serviceBuilder_ == null) { service_ = builderForValue.build(); onChanged(); } else { serviceBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.ControllerServiceInfo service = 1; */ public Builder mergeService(cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo value) { if (serviceBuilder_ == null) { if (service_ != null) { service_ = cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo.newBuilder(service_).mergeFrom(value).buildPartial(); } else { service_ = value; } onChanged(); } else { serviceBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.ControllerServiceInfo service = 1; */ public Builder clearService() { if (serviceBuilder_ == null) { service_ = null; onChanged(); } else { service_ = null; serviceBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.ControllerServiceInfo service = 1; */ public cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo.Builder getServiceBuilder() { onChanged(); return getServiceFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.ControllerServiceInfo service = 1; */ public cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfoOrBuilder getServiceOrBuilder() { if (serviceBuilder_ != null) { return serviceBuilder_.getMessageOrBuilder(); } else { return service_ == null ? cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo.getDefaultInstance() : service_; } } /** * .cz.proto.ingestion.v2.ControllerServiceInfo service = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo, cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo.Builder, cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfoOrBuilder> getServiceFieldBuilder() { if (serviceBuilder_ == null) { serviceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo, cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfo.Builder, cz.proto.ingestion.v2.IngestionV2.ControllerServiceInfoOrBuilder>( getService(), getParentForChildren(), isClean()); service_ = null; } return serviceBuilder_; } @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:cz.proto.ingestion.v2.RegisterNewServiceRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.RegisterNewServiceRequest) private static final cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest(); } public static cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RegisterNewServiceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RegisterNewServiceRequest(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 cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RegisterNewServiceResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.v2.RegisterNewServiceResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus(); /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.v2.RegisterNewServiceResponse} */ public static final class RegisterNewServiceResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.v2.RegisterNewServiceResponse) RegisterNewServiceResponseOrBuilder { private static final long serialVersionUID = 0L; // Use RegisterNewServiceResponse.newBuilder() to construct. private RegisterNewServiceResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RegisterNewServiceResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RegisterNewServiceResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RegisterNewServiceResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.v2.IngestionV2.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(status_); status_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_RegisterNewServiceResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_RegisterNewServiceResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse.class, cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { return getStatus(); } 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 (status_ != null) { output.writeMessage(1, getStatus()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (status_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getStatus()); } 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 cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse)) { return super.equals(obj); } cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse other = (cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse) obj; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) 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 (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse 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 cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse 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 cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse 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(cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse 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 cz.proto.ingestion.v2.RegisterNewServiceResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.v2.RegisterNewServiceResponse) cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_RegisterNewServiceResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_RegisterNewServiceResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse.class, cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse.Builder.class); } // Construct using cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (statusBuilder_ == null) { status_ = null; } else { status_ = null; statusBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.v2.IngestionV2.internal_static_cz_proto_ingestion_v2_RegisterNewServiceResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse getDefaultInstanceForType() { return cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse build() { cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse buildPartial() { cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse result = new cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse(this); if (statusBuilder_ == null) { result.status_ = status_; } else { result.status_ = statusBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse) { return mergeFrom((cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse other) { if (other == cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse.getDefaultInstance()) return this; if (other.hasStatus()) { mergeStatus(other.getStatus()); } 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 { cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.v2.IngestionV2.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; * @return The status. */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder setStatus( cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder mergeStatus(cz.proto.ingestion.v2.IngestionV2.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.v2.IngestionV2.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ public cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.v2.IngestionV2.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.v2.ResponseStatus status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.v2.IngestionV2.ResponseStatus, cz.proto.ingestion.v2.IngestionV2.ResponseStatus.Builder, cz.proto.ingestion.v2.IngestionV2.ResponseStatusOrBuilder>( getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } @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:cz.proto.ingestion.v2.RegisterNewServiceResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.v2.RegisterNewServiceResponse) private static final cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse(); } public static cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RegisterNewServiceResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RegisterNewServiceResponse(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 cz.proto.ingestion.v2.IngestionV2.RegisterNewServiceResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_UserIdentifier_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_UserIdentifier_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_Account_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_Account_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_TableIdentifier_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_TableIdentifier_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_ResponseStatus_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_ResponseStatus_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_DataField_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_DataField_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_DistributionSpec_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_DistributionSpec_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_PrimaryKeySpec_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_PrimaryKeySpec_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_PartitionSpec_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_PartitionSpec_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_StreamSchema_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_StreamSchema_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_CreateOrGetStreamRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_CreateOrGetStreamRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_CreateOrGetStreamResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_CreateOrGetStreamResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_CloseStreamRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_CloseStreamRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_CloseStreamResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_CloseStreamResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_OssStagingPathInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_OssStagingPathInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_CosStagingPathInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_CosStagingPathInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_S3StagingPathInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_S3StagingPathInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_GcsStagingPathInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_GcsStagingPathInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_LocalStagingPathInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_LocalStagingPathInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_StagingPathInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_StagingPathInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_BulkLoadStreamInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_BulkLoadStreamInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_BulkLoadStreamInfo_EncryptionOptionsEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_BulkLoadStreamInfo_EncryptionOptionsEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_BulkLoadStreamWriterConfig_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_BulkLoadStreamWriterConfig_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_CreateBulkLoadStreamRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_CreateBulkLoadStreamRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_CreateBulkLoadStreamResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_CreateBulkLoadStreamResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_CommitBulkLoadStreamRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_CommitBulkLoadStreamRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_CommitBulkLoadStreamResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_CommitBulkLoadStreamResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamStsTokenRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamStsTokenRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamStsTokenResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamStsTokenResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_OpenBulkLoadStreamWriterRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_OpenBulkLoadStreamWriterRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_OpenBulkLoadStreamWriterResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_OpenBulkLoadStreamWriterResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_FinishBulkLoadStreamWriterRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_FinishBulkLoadStreamWriterRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_FinishBulkLoadStreamWriterResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_FinishBulkLoadStreamWriterResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_GetRouteWorkersRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_GetRouteWorkersRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_HostPortTuple_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_HostPortTuple_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_GetRouteWorkersResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_GetRouteWorkersResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_ServerTokenList_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_ServerTokenList_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_CommitRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_CommitRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_CommitResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_CommitResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_CheckCommitResultRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_CheckCommitResultRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_CheckCommitResultResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_CheckCommitResultResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_RouteRule_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_RouteRule_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_UpdateRouteRuleBroadcastRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_UpdateRouteRuleBroadcastRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_UpdateRouteRuleBroadcastResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_UpdateRouteRuleBroadcastResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_OperationTypeList_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_OperationTypeList_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_DataBlock_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_DataBlock_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_MutateRowStatus_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_MutateRowStatus_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_MutateRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_MutateRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_MutateResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_MutateResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_MultiMutateRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_MultiMutateRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_MultiMutateResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_MultiMutateResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_InternalDataBlock_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_InternalDataBlock_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_BucketedDataBlockList_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_BucketedDataBlockList_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_TabletDataSet_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_TabletDataSet_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_MutateInternalRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_MutateInternalRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_SchemaChangeRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_SchemaChangeRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_SchemaChangeResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_SchemaChangeResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_GetControllerAddressRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_GetControllerAddressRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_GetControllerAddressResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_GetControllerAddressResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_UpdateRouteRuleRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_UpdateRouteRuleRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_UpdateRouteRuleResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_UpdateRouteRuleResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_RemoveRouteRuleRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_RemoveRouteRuleRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_RemoveRouteRuleResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_RemoveRouteRuleResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_ChangeDefaultServiceRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_ChangeDefaultServiceRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_ChangeDefaultServiceResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_ChangeDefaultServiceResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_ControllerServiceInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_ControllerServiceInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_RegisterNewServiceRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_RegisterNewServiceRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_v2_RegisterNewServiceResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_v2_RegisterNewServiceResponse_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\022ingestion_v2.proto\022\025cz.proto.ingestion" + ".v2\032\tddl.proto\032\017data_type.proto\032\026file_fo" + "rmat_type.proto\"\\\n\016UserIdentifier\022\023\n\013ins" + "tance_id\030\001 \001(\003\022\021\n\tworkspace\030\002 \001(\t\022\021\n\tuse" + "r_name\030\003 \001(\t\022\017\n\007user_id\030\004 \001(\003\"S\n\007Account" + "\0229\n\nuser_ident\030\001 \001(\0132%.cz.proto.ingestio" + "n.v2.UserIdentifier\022\r\n\005token\030\002 \001(\t\"b\n\017Ta" + "bleIdentifier\022\023\n\013instance_id\030\001 \001(\003\022\021\n\two" + "rkspace\030\002 \001(\t\022\023\n\013schema_name\030\003 \001(\t\022\022\n\nta" + "ble_name\030\004 \001(\t\"f\n\016ResponseStatus\022)\n\004code" + "\030\001 \001(\0162\033.cz.proto.ingestion.v2.Code\022\025\n\re" + "rror_message\030\002 \001(\t\022\022\n\nrequest_id\030\003 \001(\t\";" + "\n\tDataField\022\014\n\004name\030\001 \001(\t\022 \n\004type\030\002 \001(\0132" + "\022.cz.proto.DataType\"R\n\020DistributionSpec\022" + "\021\n\tfield_ids\030\001 \003(\r\022\026\n\016hash_functions\030\002 \003" + "(\t\022\023\n\013num_buckets\030\003 \001(\r\"#\n\016PrimaryKeySpe" + "c\022\021\n\tfield_ids\030\001 \003(\r\"&\n\rPartitionSpec\022\025\n" + "\rsrc_field_ids\030\001 \003(\r\"\200\002\n\014StreamSchema\0225\n" + "\013data_fields\030\001 \003(\0132 .cz.proto.ingestion." + "v2.DataField\022:\n\tdist_spec\030\002 \001(\0132\'.cz.pro" + "to.ingestion.v2.DistributionSpec\022?\n\020prim" + "ary_key_spec\030\003 \001(\0132%.cz.proto.ingestion." + "v2.PrimaryKeySpec\022<\n\016partition_spec\030\004 \001(" + "\0132$.cz.proto.ingestion.v2.PartitionSpec\"" + "\235\001\n\030CreateOrGetStreamRequest\022/\n\007account\030" + "\001 \001(\0132\036.cz.proto.ingestion.v2.Account\022;\n" + "\013table_ident\030\002 \001(\0132&.cz.proto.ingestion." + "v2.TableIdentifier\022\023\n\013num_tablets\030\003 \001(\r\"" + "\371\001\n\031CreateOrGetStreamResponse\022;\n\013table_i" + "dent\030\001 \001(\0132&.cz.proto.ingestion.v2.Table" + "Identifier\0228\n\013data_schema\030\002 \001(\0132#.cz.pro" + "to.ingestion.v2.StreamSchema\022\026\n\016already_" + "exists\030\003 \001(\010\0225\n\006status\030\004 \001(\0132%.cz.proto." + "ingestion.v2.ResponseStatus\022\026\n\016require_c" + "ommit\030\005 \001(\010\"\202\001\n\022CloseStreamRequest\022/\n\007ac" + "count\030\001 \001(\0132\036.cz.proto.ingestion.v2.Acco" + "unt\022;\n\013table_ident\030\002 \001(\0132&.cz.proto.inge" + "stion.v2.TableIdentifier\"L\n\023CloseStreamR" + "esponse\0225\n\006status\030\001 \001(\0132%.cz.proto.inges" + "tion.v2.ResponseStatus\"\255\001\n\022OssStagingPat" + "hInfo\022\014\n\004path\030\001 \001(\t\022\021\n\tsts_ak_id\030\003 \001(\t\022\025" + "\n\rsts_ak_secret\030\004 \001(\t\022\021\n\tsts_token\030\005 \001(\t" + "\022\024\n\014oss_endpoint\030\006 \001(\t\022\035\n\025oss_internal_e" + "ndpoint\030\007 \001(\t\022\027\n\017oss_expire_time\030\010 \001(\004\"\214" + "\001\n\022CosStagingPathInfo\022\014\n\004path\030\001 \001(\t\022\021\n\ts" + "ts_ak_id\030\002 \001(\t\022\025\n\rsts_ak_secret\030\003 \001(\t\022\021\n" + "\tsts_token\030\004 \001(\t\022\022\n\ncos_region\030\005 \001(\t\022\027\n\017" + "cos_expire_time\030\006 \001(\004\"\211\001\n\021S3StagingPathI" + "nfo\022\014\n\004path\030\001 \001(\t\022\021\n\tsts_ak_id\030\002 \001(\t\022\025\n\r" + "sts_ak_secret\030\003 \001(\t\022\021\n\tsts_token\030\004 \001(\t\022\021" + "\n\ts3_region\030\005 \001(\t\022\026\n\016s3_expire_time\030\006 \001(" + "\004\"\214\001\n\022GcsStagingPathInfo\022\014\n\004path\030\001 \001(\t\022\021" + "\n\tsts_ak_id\030\002 \001(\t\022\025\n\rsts_ak_secret\030\003 \001(\t" + "\022\021\n\tsts_token\030\004 \001(\t\022\022\n\ngcs_region\030\005 \001(\t\022" + "\027\n\017gcs_expire_time\030\006 \001(\004\"$\n\024LocalStaging" + "PathInfo\022\014\n\004path\030\001 \001(\t\"\333\002\n\017StagingPathIn" + "fo\022=\n\010oss_path\030\001 \001(\0132).cz.proto.ingestio" + "n.v2.OssStagingPathInfoH\000\022=\n\010cos_path\030\002 " + "\001(\0132).cz.proto.ingestion.v2.CosStagingPa" + "thInfoH\000\022A\n\nlocal_path\030\003 \001(\0132+.cz.proto." + "ingestion.v2.LocalStagingPathInfoH\000\022;\n\007s" + "3_path\030\004 \001(\0132(.cz.proto.ingestion.v2.S3S" + "tagingPathInfoH\000\022=\n\010gcs_path\030\005 \001(\0132).cz." + "proto.ingestion.v2.GcsStagingPathInfoH\000B" + "\013\n\tpath_info\"\266\004\n\022BulkLoadStreamInfo\022\021\n\ts" + "tream_id\030\001 \001(\t\022@\n\014stream_state\030\002 \001(\0162*.c" + "z.proto.ingestion.v2.BulkLoadStreamState" + "\022\022\n\nsql_job_id\030\003 \001(\t\022:\n\nidentifier\030\004 \001(\013" + "2&.cz.proto.ingestion.v2.TableIdentifier" + "\022A\n\toperation\030\005 \001(\0162..cz.proto.ingestion" + ".v2.BulkLoadStreamOperation\022\026\n\016partition" + "_spec\030\006 \001(\t\022\023\n\013record_keys\030\007 \003(\t\022:\n\rstre" + "am_schema\030\010 \001(\0132#.cz.proto.ingestion.v2." + "StreamSchema\022\025\n\rsql_error_msg\030\t \001(\t\022 \n\030p" + "refer_internal_endpoint\030\n \001(\010\022\\\n\022encrypt" + "ion_options\030\013 \003(\[email protected]" + "2.BulkLoadStreamInfo.EncryptionOptionsEn" + "try\0328\n\026EncryptionOptionsEntry\022\013\n\003key\030\001 \001" + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\314\001\n\032BulkLoadStream" + "WriterConfig\022<\n\014staging_path\030\001 \001(\0132&.cz." + "proto.ingestion.v2.StagingPathInfo\022-\n\013fi" + "le_format\030\002 \001(\0162\030.cz.proto.FileFormatTyp" + "e\022\035\n\025max_num_rows_per_file\030\003 \001(\003\022\"\n\032max_" + "size_in_bytes_per_file\030\004 \001(\003\"\234\002\n\033CreateB" + "ulkLoadStreamRequest\022/\n\007account\030\001 \001(\0132\036." + "cz.proto.ingestion.v2.Account\022:\n\nidentif" + "ier\030\002 \001(\0132&.cz.proto.ingestion.v2.TableI" + "dentifier\022A\n\toperation\030\003 \001(\0162..cz.proto." + "ingestion.v2.BulkLoadStreamOperation\022\026\n\016" + "partition_spec\030\004 \001(\t\022\023\n\013record_keys\030\005 \003(" + "\t\022 \n\030prefer_internal_endpoint\030\006 \001(\010\"\216\001\n\034" + "CreateBulkLoadStreamResponse\0225\n\006status\030\001" + " \001(\0132%.cz.proto.ingestion.v2.ResponseSta" + "tus\0227\n\004info\030\002 \001(\0132).cz.proto.ingestion.v" + "2.BulkLoadStreamInfo\"\263\001\n\030GetBulkLoadStre" + "amRequest\022/\n\007account\030\001 \001(\0132\036.cz.proto.in" + "gestion.v2.Account\022:\n\nidentifier\030\002 \001(\0132&" + ".cz.proto.ingestion.v2.TableIdentifier\022\021" + "\n\tstream_id\030\003 \001(\t\022\027\n\017need_table_meta\030\004 \001" + "(\010\"\213\001\n\031GetBulkLoadStreamResponse\0225\n\006stat" + "us\030\001 \001(\0132%.cz.proto.ingestion.v2.Respons" + "eStatus\0227\n\004info\030\002 \001(\0132).cz.proto.ingesti" + "on.v2.BulkLoadStreamInfo\"\364\002\n\033CommitBulkL" + "oadStreamRequest\022/\n\007account\030\001 \001(\0132\036.cz.p" + "roto.ingestion.v2.Account\022:\n\nidentifier\030" + "\002 \001(\0132&.cz.proto.ingestion.v2.TableIdent" + "ifier\022\021\n\tstream_id\030\003 \001(\t\022\031\n\021execute_work" + "space\030\004 \001(\t\022\027\n\017execute_vc_name\030\005 \001(\t\022R\n\013" + "commit_mode\030\006 \001(\0162=.cz.proto.ingestion.v" + "2.CommitBulkLoadStreamRequest.CommitMode" + "\022\032\n\022spec_partition_ids\030\007 \003(\r\"1\n\nCommitMo" + "de\022\021\n\rCOMMIT_STREAM\020\000\022\020\n\014ABORT_STREAM\020\001\"" + "\216\001\n\034CommitBulkLoadStreamResponse\0225\n\006stat" + "us\030\001 \001(\0132%.cz.proto.ingestion.v2.Respons" + "eStatus\0227\n\004info\030\002 \001(\0132).cz.proto.ingesti" + "on.v2.BulkLoadStreamInfo\"\242\001\n GetBulkLoad" + "StreamStsTokenRequest\022/\n\007account\030\001 \001(\0132\036" + ".cz.proto.ingestion.v2.Account\022:\n\nidenti" + "fier\030\002 \001(\0132&.cz.proto.ingestion.v2.Table" + "Identifier\022\021\n\tstream_id\030\003 \001(\t\"\230\001\n!GetBul" + "kLoadStreamStsTokenResponse\0225\n\006status\030\001 " + "\001(\0132%.cz.proto.ingestion.v2.ResponseStat" + "us\022<\n\014staging_path\030\002 \001(\0132&.cz.proto.inge" + "stion.v2.StagingPathInfo\"\267\001\n\037OpenBulkLoa" + "dStreamWriterRequest\022/\n\007account\030\001 \001(\0132\036." + "cz.proto.ingestion.v2.Account\022:\n\nidentif" + "ier\030\002 \001(\0132&.cz.proto.ingestion.v2.TableI" + "dentifier\022\021\n\tstream_id\030\003 \001(\t\022\024\n\014partitio" + "n_id\030\004 \001(\r\"\234\001\n OpenBulkLoadStreamWriterR" + "esponse\0225\n\006status\030\001 \001(\0132%.cz.proto.inges" + "tion.v2.ResponseStatus\022A\n\006config\030\002 \001(\01321" + ".cz.proto.ingestion.v2.BulkLoadStreamWri" + "terConfig\"\351\001\n!FinishBulkLoadStreamWriter" + "Request\022/\n\007account\030\001 \001(\0132\036.cz.proto.inge" + "stion.v2.Account\022:\n\nidentifier\030\002 \001(\0132&.c" + "z.proto.ingestion.v2.TableIdentifier\022\021\n\t" + "stream_id\030\003 \001(\t\022\024\n\014partition_id\030\004 \001(\r\022\025\n" + "\rwritten_files\030\005 \003(\t\022\027\n\017written_lengths\030" + "\006 \003(\004\"[\n\"FinishBulkLoadStreamWriterRespo" + "nse\0225\n\006status\030\001 \001(\0132%.cz.proto.ingestion" + ".v2.ResponseStatus\"\242\001\n\026GetRouteWorkersRe" + "quest\022;\n\013table_ident\030\001 \001(\0132&.cz.proto.in" + "gestion.v2.TableIdentifier\0228\n\014connect_mo" + "de\030\002 \001(\0162\".cz.proto.ingestion.v2.Connect" + "Mode\022\021\n\ttablet_id\030\003 \003(\003\"+\n\rHostPortTuple" + "\022\014\n\004host\030\001 \001(\t\022\014\n\004port\030\002 \001(\005\"\230\001\n\027GetRout" + "eWorkersResponse\0223\n\005tuple\030\001 \003(\0132$.cz.pro" + "to.ingestion.v2.HostPortTuple\022\021\n\ttablet_" + "id\030\002 \003(\003\0225\n\006status\030\003 \001(\0132%.cz.proto.inge" + "stion.v2.ResponseStatus\"\'\n\017ServerTokenLi" + "st\022\024\n\014server_token\030\001 \003(\t\"\333\001\n\rCommitReque" + "st\022/\n\007account\030\001 \001(\0132\036.cz.proto.ingestion" + ".v2.Account\022;\n\013table_ident\030\002 \003(\0132&.cz.pr" + "oto.ingestion.v2.TableIdentifier\022F\n\021serv" + "er_token_list\030\003 \001(\0132&.cz.proto.ingestion" + ".v2.ServerTokenListH\000\210\001\001B\024\n\022_server_toke" + "n_list\"Z\n\016CommitResponse\0225\n\006status\030\001 \001(\013" + "2%.cz.proto.ingestion.v2.ResponseStatus\022" + "\021\n\tcommit_id\030\002 \001(\003\"^\n\030CheckCommitResultR" + "equest\022/\n\007account\030\001 \001(\0132\036.cz.proto.inges" + "tion.v2.Account\022\021\n\tcommit_id\030\002 \001(\003\"d\n\031Ch" + "eckCommitResultResponse\0225\n\006status\030\001 \001(\0132" + "%.cz.proto.ingestion.v2.ResponseStatus\022\020" + "\n\010finished\030\002 \001(\010\"L\n\tRouteRule\022\023\n\013resourc" + "e_id\030\001 \001(\t\022\025\n\rresource_type\030\002 \001(\003\022\023\n\013ser" + "vice_tag\030\003 \001(\t\"Q\n\037UpdateRouteRuleBroadca" + "stRequest\022.\n\004rule\030\001 \001(\0132 .cz.proto.inges" + "tion.v2.RouteRule\"Y\n UpdateRouteRuleBroa" + "dcastResponse\0225\n\006status\030\001 \001(\0132%.cz.proto" + ".ingestion.v2.ResponseStatus\"K\n\021Operatio" + "nTypeList\0226\n\010op_types\030\001 \003(\0162$.cz.proto.i" + "ngestion.v2.OperationType\"\351\001\n\tDataBlock\022" + "\025\n\rarrow_payload\030\001 \001(\014\022\036\n\026is_set_bitmaps" + "_payload\030\002 \001(\014\022D\n\020row_op_type_list\030\003 \001(\013" + "2(.cz.proto.ingestion.v2.OperationTypeLi" + "stH\000\022=\n\rblock_op_type\030\004 \001(\0162$.cz.proto.i" + "ngestion.v2.OperationTypeH\000\022\020\n\010num_rows\030" + "\005 \001(\rB\016\n\014op_type_info\"f\n\017MutateRowStatus" + "\022)\n\004code\030\001 \001(\0162\033.cz.proto.ingestion.v2.C" + "ode\022\025\n\rerror_message\030\002 \001(\t\022\021\n\trow_index\030" + "\003 \001(\005\"\253\002\n\rMutateRequest\022/\n\007account\030\001 \001(\013" + "2\036.cz.proto.ingestion.v2.Account\022;\n\013tabl" + "e_ident\030\002 \001(\0132&.cz.proto.ingestion.v2.Ta" + "bleIdentifier\022\020\n\010batch_id\030\003 \001(\003\022\027\n\017write" + "_timestamp\030\004 \001(\003\0225\n\013data_fields\030\005 \003(\0132 ." + "cz.proto.ingestion.v2.DataField\0224\n\ndata_" + "block\030\006 \001(\0132 .cz.proto.ingestion.v2.Data" + "Block\022\024\n\014server_token\030\007 \001(\t\"\302\001\n\016MutateRe" + "sponse\022\020\n\010batch_id\030\001 \001(\003\022\020\n\010num_rows\030\002 \001" + "(\003\0225\n\006status\030\003 \001(\0132%.cz.proto.ingestion." + "v2.ResponseStatus\022?\n\017row_status_list\030\004 \003" + "(\0132&.cz.proto.ingestion.v2.MutateRowStat" + "us\022\024\n\014server_token\030\005 \001(\t\"~\n\022MultiMutateR" + "equest\022\020\n\010batch_id\030\002 \001(\003\022\027\n\017write_timest" + "amp\030\003 \001(\003\022=\n\017mutate_requests\030\004 \003(\0132$.cz." + "proto.ingestion.v2.MutateRequest\"\261\001\n\023Mul" + "tiMutateResponse\022\020\n\010batch_id\030\001 \001(\003\022\020\n\010nu" + "m_rows\030\002 \001(\003\0225\n\006status\030\003 \001(\0132%.cz.proto." + "ingestion.v2.ResponseStatus\022?\n\020mutate_re" + "sponses\030\004 \003(\0132%.cz.proto.ingestion.v2.Mu" + "tateResponse\"a\n\021InternalDataBlock\0224\n\ndat" + "a_block\030\001 \001(\0132 .cz.proto.ingestion.v2.Da" + "taBlock\022\026\n\016bucket_id_list\030\002 \003(\r\"f\n\025Bucke" + "tedDataBlockList\0225\n\013data_blocks\030\001 \003(\0132 ." + "cz.proto.ingestion.v2.DataBlock\022\026\n\016bucke" + "t_id_list\030\002 \003(\r\"\305\001\n\rTabletDataSet\022\021\n\ttab" + "let_id\030\001 \001(\005\022G\n\023internal_data_block\030\002 \001(" + "\0132(.cz.proto.ingestion.v2.InternalDataBl" + "ockH\000\022P\n\030bucketed_data_block_list\030\003 \001(\0132" + ",.cz.proto.ingestion.v2.BucketedDataBloc" + "kListH\000B\006\n\004data\"\214\002\n\025MutateInternalReques" + "t\022;\n\013table_ident\030\001 \001(\0132&.cz.proto.ingest" + "ion.v2.TableIdentifier\022\020\n\010batch_id\030\002 \001(\003" + "\022\027\n\017write_timestamp\030\003 \001(\003\0225\n\013data_fields" + "\030\004 \003(\0132 .cz.proto.ingestion.v2.DataField" + "\022>\n\020tablet_data_sets\030\005 \003(\0132$.cz.proto.in" + "gestion.v2.TabletDataSet\022\024\n\014server_token" + "\030\006 \001(\t\"\330\001\n\023SchemaChangeRequest\022/\n\007accoun" + "t\030\001 \001(\0132\036.cz.proto.ingestion.v2.Account\022" + ";\n\013table_ident\030\002 \001(\0132&.cz.proto.ingestio" + "n.v2.TableIdentifier\022-\n\007updates\030\003 \003(\0132\034." + "cz.proto.access.TableChange\022\016\n\006ddlSql\030\004 " + "\003(\t\022\024\n\014server_token\030\005 \001(\t\"M\n\024SchemaChang" + "eResponse\0225\n\006status\030\001 \001(\0132%.cz.proto.ing" + "estion.v2.ResponseStatus\"d\n\033GetControlle" + "rAddressRequest\022\023\n\013instance_id\030\001 \001(\003\022\021\n\t" + "workspace\030\002 \001(\t\022\016\n\006schema\030\003 \001(\t\022\r\n\005table" + "\030\004 \001(\t\"n\n\034GetControllerAddressResponse\0225" + "\n\006status\030\001 \001(\0132%.cz.proto.ingestion.v2.R" + "esponseStatus\022\027\n\017service_address\030\002 \001(\t\"H" + "\n\026UpdateRouteRuleRequest\022.\n\004rule\030\001 \001(\0132 " + ".cz.proto.ingestion.v2.RouteRule\"P\n\027Upda" + "teRouteRuleResponse\0225\n\006status\030\001 \001(\0132%.cz" + ".proto.ingestion.v2.ResponseStatus\"D\n\026Re" + "moveRouteRuleRequest\022\023\n\013resource_id\030\001 \001(" + "\t\022\025\n\rresource_type\030\002 \001(\003\"P\n\027RemoveRouteR" + "uleResponse\0225\n\006status\030\001 \001(\0132%.cz.proto.i" + "ngestion.v2.ResponseStatus\"2\n\033ChangeDefa" + "ultServiceRequest\022\023\n\013service_tag\030\001 \001(\t\"U" + "\n\034ChangeDefaultServiceResponse\0225\n\006status" + "\030\001 \001(\0132%.cz.proto.ingestion.v2.ResponseS" + "tatus\"r\n\025ControllerServiceInfo\022\023\n\013servic" + "e_tag\030\001 \001(\t\022\027\n\017service_address\030\002 \001(\t\022\027\n\017" + "default_service\030\003 \001(\010\022\022\n\nbuild_info\030\004 \001(" + "\t\"Z\n\031RegisterNewServiceRequest\022=\n\007servic" + "e\030\001 \001(\0132,.cz.proto.ingestion.v2.Controll" + "erServiceInfo\"S\n\032RegisterNewServiceRespo" + "nse\0225\n\006status\030\001 \001(\0132%.cz.proto.ingestion" + ".v2.ResponseStatus*\231\001\n\004Code\022\013\n\007SUCCESS\020\000" + "\022\n\n\006FAILED\020\001\022\r\n\tTHROTTLED\020\002\022\022\n\016INTERNAL_" + "ERROR\020\003\022\023\n\017PRECHECK_FAILED\020\004\022\025\n\021PARTIALL" + "Y_SUCCESS\020\005\022\026\n\022STREAM_UNAVAILABLE\020\006\022\021\n\rN" + "EED_REDIRECT\020\007*\214\001\n\023BulkLoadStreamState\022\016" + "\n\nBL_CREATED\020\000\022\r\n\tBL_SEALED\020\001\022\027\n\023BL_COMM" + "IT_SUBMITTED\020\002\022\025\n\021BL_COMMIT_SUCCESS\020\003\022\024\n" + "\020BL_COMMIT_FAILED\020\004\022\020\n\014BL_CANCELLED\020\005*I\n" + "\027BulkLoadStreamOperation\022\r\n\tBL_APPEND\020\000\022" + "\020\n\014BL_OVERWRITE\020\001\022\r\n\tBL_UPSERT\020\002*P\n\013Conn" + "ectMode\022\n\n\006DIRECT\020\000\022\013\n\007GATEWAY\020\001\022\024\n\020GATE" + "WAY_INTERNAL\020\002\022\022\n\016GATEWAY_DIRECT\020\003*\205\001\n\rO" + "perationType\022\013\n\007UNKNOWN\020\000\022\n\n\006INSERT\020\001\022\n\n" + "\006UPDATE\020\002\022\n\n\006DELETE\020\003\022\n\n\006UPSERT\020\004\022\021\n\rINS" + "ERT_IGNORE\020\005\022\021\n\rUPDATE_IGNORE\020\006\022\021\n\rDELET" + "E_IGNORE\020\0072\301\r\n\032IngestionControllerServic" + "e\022v\n\021CreateOrGetStream\022/.cz.proto.ingest" + "ion.v2.CreateOrGetStreamRequest\0320.cz.pro" + "to.ingestion.v2.CreateOrGetStreamRespons" + "e\022d\n\013CloseStream\022).cz.proto.ingestion.v2" + ".CloseStreamRequest\032*.cz.proto.ingestion" + ".v2.CloseStreamResponse\022p\n\017GetRouteWorke" + "rs\022-.cz.proto.ingestion.v2.GetRouteWorke" + "rsRequest\032..cz.proto.ingestion.v2.GetRou" + "teWorkersResponse\022U\n\006Commit\022$.cz.proto.i" + "ngestion.v2.CommitRequest\032%.cz.proto.ing" + "estion.v2.CommitResponse\022Z\n\013AsyncCommit\022" + "$.cz.proto.ingestion.v2.CommitRequest\032%." + "cz.proto.ingestion.v2.CommitResponse\022v\n\021" + "CheckCommitResult\022/.cz.proto.ingestion.v" + "2.CheckCommitResultRequest\0320.cz.proto.in" + "gestion.v2.CheckCommitResultResponse\022\177\n\024" + "CreateBulkLoadStream\0222.cz.proto.ingestio" + "n.v2.CreateBulkLoadStreamRequest\0323.cz.pr" + "oto.ingestion.v2.CreateBulkLoadStreamRes" + "ponse\022v\n\021GetBulkLoadStream\022/.cz.proto.in" + "gestion.v2.GetBulkLoadStreamRequest\0320.cz" + ".proto.ingestion.v2.GetBulkLoadStreamRes" + "ponse\022\177\n\024CommitBulkLoadStream\0222.cz.proto" + ".ingestion.v2.CommitBulkLoadStreamReques" + "t\0323.cz.proto.ingestion.v2.CommitBulkLoad" + "StreamResponse\022\213\001\n\030OpenBulkLoadStreamWri" + "ter\0226.cz.proto.ingestion.v2.OpenBulkLoad" + "StreamWriterRequest\0327.cz.proto.ingestion" + ".v2.OpenBulkLoadStreamWriterResponse\022\221\001\n" + "\032FinishBulkLoadStreamWriter\0228.cz.proto.i" + "ngestion.v2.FinishBulkLoadStreamWriterRe" + "quest\0329.cz.proto.ingestion.v2.FinishBulk" + "LoadStreamWriterResponse\022\216\001\n\031GetBulkLoad" + "StreamStsToken\0227.cz.proto.ingestion.v2.G" + "etBulkLoadStreamStsTokenRequest\0328.cz.pro" + "to.ingestion.v2.GetBulkLoadStreamStsToke" + "nResponse\022\213\001\n\030UpdateRouteRuleBroadcast\0226" + ".cz.proto.ingestion.v2.UpdateRouteRuleBr" + "oadcastRequest\0327.cz.proto.ingestion.v2.U" + "pdateRouteRuleBroadcastResponse\022m\n\022Handl" + "eSchemaChange\022*.cz.proto.ingestion.v2.Sc" + "hemaChangeRequest\032+.cz.proto.ingestion.v" + "2.SchemaChangeResponse2\335\001\n\026IngestionWork" + "erService\022Y\n\006Mutate\022$.cz.proto.ingestion" + ".v2.MutateRequest\032%.cz.proto.ingestion.v" + "2.MutateResponse(\0010\001\022h\n\013MultiMutate\022).cz" + ".proto.ingestion.v2.MultiMutateRequest\032*" + ".cz.proto.ingestion.v2.MultiMutateRespon" + "se(\0010\0012\207\001\n\036IngestionWorkerInternalServic" + "e\022e\n\016MutateInternal\022,.cz.proto.ingestion" + ".v2.MutateInternalRequest\032%.cz.proto.ing" + "estion.v2.MutateResponse2\363\004\n\020IGSRouterSe" + "rvice\022\177\n\024GetControllerAddress\0222.cz.proto" + ".ingestion.v2.GetControllerAddressReques" + "t\0323.cz.proto.ingestion.v2.GetControllerA" + "ddressResponse\022p\n\017UpdateRouteRule\022-.cz.p" + "roto.ingestion.v2.UpdateRouteRuleRequest" + "\032..cz.proto.ingestion.v2.UpdateRouteRule" + "Response\022p\n\017RemoveRouteRule\022-.cz.proto.i" + "ngestion.v2.RemoveRouteRuleRequest\032..cz." + "proto.ingestion.v2.RemoveRouteRuleRespon" + "se\022\177\n\024ChangeDefaultService\0222.cz.proto.in" + "gestion.v2.ChangeDefaultServiceRequest\0323" + ".cz.proto.ingestion.v2.ChangeDefaultServ" + "iceResponse\022y\n\022RegisterNewService\0220.cz.p" + "roto.ingestion.v2.RegisterNewServiceRequ" + "est\0321.cz.proto.ingestion.v2.RegisterNewS" + "erviceResponseB\027\n\025cz.proto.ingestion.v2b" + "\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { cz.proto.access.Ddl.getDescriptor(), cz.proto.DataTypeOuterClass.getDescriptor(), cz.proto.FileFormatTypeOuterClass.getDescriptor(), }); internal_static_cz_proto_ingestion_v2_UserIdentifier_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_cz_proto_ingestion_v2_UserIdentifier_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_UserIdentifier_descriptor, new java.lang.String[] { "InstanceId", "Workspace", "UserName", "UserId", }); internal_static_cz_proto_ingestion_v2_Account_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_cz_proto_ingestion_v2_Account_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_Account_descriptor, new java.lang.String[] { "UserIdent", "Token", }); internal_static_cz_proto_ingestion_v2_TableIdentifier_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_cz_proto_ingestion_v2_TableIdentifier_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_TableIdentifier_descriptor, new java.lang.String[] { "InstanceId", "Workspace", "SchemaName", "TableName", }); internal_static_cz_proto_ingestion_v2_ResponseStatus_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_cz_proto_ingestion_v2_ResponseStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_ResponseStatus_descriptor, new java.lang.String[] { "Code", "ErrorMessage", "RequestId", }); internal_static_cz_proto_ingestion_v2_DataField_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_cz_proto_ingestion_v2_DataField_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_DataField_descriptor, new java.lang.String[] { "Name", "Type", }); internal_static_cz_proto_ingestion_v2_DistributionSpec_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_cz_proto_ingestion_v2_DistributionSpec_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_DistributionSpec_descriptor, new java.lang.String[] { "FieldIds", "HashFunctions", "NumBuckets", }); internal_static_cz_proto_ingestion_v2_PrimaryKeySpec_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_cz_proto_ingestion_v2_PrimaryKeySpec_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_PrimaryKeySpec_descriptor, new java.lang.String[] { "FieldIds", }); internal_static_cz_proto_ingestion_v2_PartitionSpec_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_cz_proto_ingestion_v2_PartitionSpec_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_PartitionSpec_descriptor, new java.lang.String[] { "SrcFieldIds", }); internal_static_cz_proto_ingestion_v2_StreamSchema_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_cz_proto_ingestion_v2_StreamSchema_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_StreamSchema_descriptor, new java.lang.String[] { "DataFields", "DistSpec", "PrimaryKeySpec", "PartitionSpec", }); internal_static_cz_proto_ingestion_v2_CreateOrGetStreamRequest_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_cz_proto_ingestion_v2_CreateOrGetStreamRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_CreateOrGetStreamRequest_descriptor, new java.lang.String[] { "Account", "TableIdent", "NumTablets", }); internal_static_cz_proto_ingestion_v2_CreateOrGetStreamResponse_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_cz_proto_ingestion_v2_CreateOrGetStreamResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_CreateOrGetStreamResponse_descriptor, new java.lang.String[] { "TableIdent", "DataSchema", "AlreadyExists", "Status", "RequireCommit", }); internal_static_cz_proto_ingestion_v2_CloseStreamRequest_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_cz_proto_ingestion_v2_CloseStreamRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_CloseStreamRequest_descriptor, new java.lang.String[] { "Account", "TableIdent", }); internal_static_cz_proto_ingestion_v2_CloseStreamResponse_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_cz_proto_ingestion_v2_CloseStreamResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_CloseStreamResponse_descriptor, new java.lang.String[] { "Status", }); internal_static_cz_proto_ingestion_v2_OssStagingPathInfo_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_cz_proto_ingestion_v2_OssStagingPathInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_OssStagingPathInfo_descriptor, new java.lang.String[] { "Path", "StsAkId", "StsAkSecret", "StsToken", "OssEndpoint", "OssInternalEndpoint", "OssExpireTime", }); internal_static_cz_proto_ingestion_v2_CosStagingPathInfo_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_cz_proto_ingestion_v2_CosStagingPathInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_CosStagingPathInfo_descriptor, new java.lang.String[] { "Path", "StsAkId", "StsAkSecret", "StsToken", "CosRegion", "CosExpireTime", }); internal_static_cz_proto_ingestion_v2_S3StagingPathInfo_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_cz_proto_ingestion_v2_S3StagingPathInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_S3StagingPathInfo_descriptor, new java.lang.String[] { "Path", "StsAkId", "StsAkSecret", "StsToken", "S3Region", "S3ExpireTime", }); internal_static_cz_proto_ingestion_v2_GcsStagingPathInfo_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_cz_proto_ingestion_v2_GcsStagingPathInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_GcsStagingPathInfo_descriptor, new java.lang.String[] { "Path", "StsAkId", "StsAkSecret", "StsToken", "GcsRegion", "GcsExpireTime", }); internal_static_cz_proto_ingestion_v2_LocalStagingPathInfo_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_cz_proto_ingestion_v2_LocalStagingPathInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_LocalStagingPathInfo_descriptor, new java.lang.String[] { "Path", }); internal_static_cz_proto_ingestion_v2_StagingPathInfo_descriptor = getDescriptor().getMessageTypes().get(18); internal_static_cz_proto_ingestion_v2_StagingPathInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_StagingPathInfo_descriptor, new java.lang.String[] { "OssPath", "CosPath", "LocalPath", "S3Path", "GcsPath", "PathInfo", }); internal_static_cz_proto_ingestion_v2_BulkLoadStreamInfo_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_cz_proto_ingestion_v2_BulkLoadStreamInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_BulkLoadStreamInfo_descriptor, new java.lang.String[] { "StreamId", "StreamState", "SqlJobId", "Identifier", "Operation", "PartitionSpec", "RecordKeys", "StreamSchema", "SqlErrorMsg", "PreferInternalEndpoint", "EncryptionOptions", }); internal_static_cz_proto_ingestion_v2_BulkLoadStreamInfo_EncryptionOptionsEntry_descriptor = internal_static_cz_proto_ingestion_v2_BulkLoadStreamInfo_descriptor.getNestedTypes().get(0); internal_static_cz_proto_ingestion_v2_BulkLoadStreamInfo_EncryptionOptionsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_BulkLoadStreamInfo_EncryptionOptionsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_cz_proto_ingestion_v2_BulkLoadStreamWriterConfig_descriptor = getDescriptor().getMessageTypes().get(20); internal_static_cz_proto_ingestion_v2_BulkLoadStreamWriterConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_BulkLoadStreamWriterConfig_descriptor, new java.lang.String[] { "StagingPath", "FileFormat", "MaxNumRowsPerFile", "MaxSizeInBytesPerFile", }); internal_static_cz_proto_ingestion_v2_CreateBulkLoadStreamRequest_descriptor = getDescriptor().getMessageTypes().get(21); internal_static_cz_proto_ingestion_v2_CreateBulkLoadStreamRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_CreateBulkLoadStreamRequest_descriptor, new java.lang.String[] { "Account", "Identifier", "Operation", "PartitionSpec", "RecordKeys", "PreferInternalEndpoint", }); internal_static_cz_proto_ingestion_v2_CreateBulkLoadStreamResponse_descriptor = getDescriptor().getMessageTypes().get(22); internal_static_cz_proto_ingestion_v2_CreateBulkLoadStreamResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_CreateBulkLoadStreamResponse_descriptor, new java.lang.String[] { "Status", "Info", }); internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamRequest_descriptor = getDescriptor().getMessageTypes().get(23); internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamRequest_descriptor, new java.lang.String[] { "Account", "Identifier", "StreamId", "NeedTableMeta", }); internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamResponse_descriptor = getDescriptor().getMessageTypes().get(24); internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamResponse_descriptor, new java.lang.String[] { "Status", "Info", }); internal_static_cz_proto_ingestion_v2_CommitBulkLoadStreamRequest_descriptor = getDescriptor().getMessageTypes().get(25); internal_static_cz_proto_ingestion_v2_CommitBulkLoadStreamRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_CommitBulkLoadStreamRequest_descriptor, new java.lang.String[] { "Account", "Identifier", "StreamId", "ExecuteWorkspace", "ExecuteVcName", "CommitMode", "SpecPartitionIds", }); internal_static_cz_proto_ingestion_v2_CommitBulkLoadStreamResponse_descriptor = getDescriptor().getMessageTypes().get(26); internal_static_cz_proto_ingestion_v2_CommitBulkLoadStreamResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_CommitBulkLoadStreamResponse_descriptor, new java.lang.String[] { "Status", "Info", }); internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamStsTokenRequest_descriptor = getDescriptor().getMessageTypes().get(27); internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamStsTokenRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamStsTokenRequest_descriptor, new java.lang.String[] { "Account", "Identifier", "StreamId", }); internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamStsTokenResponse_descriptor = getDescriptor().getMessageTypes().get(28); internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamStsTokenResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_GetBulkLoadStreamStsTokenResponse_descriptor, new java.lang.String[] { "Status", "StagingPath", }); internal_static_cz_proto_ingestion_v2_OpenBulkLoadStreamWriterRequest_descriptor = getDescriptor().getMessageTypes().get(29); internal_static_cz_proto_ingestion_v2_OpenBulkLoadStreamWriterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_OpenBulkLoadStreamWriterRequest_descriptor, new java.lang.String[] { "Account", "Identifier", "StreamId", "PartitionId", }); internal_static_cz_proto_ingestion_v2_OpenBulkLoadStreamWriterResponse_descriptor = getDescriptor().getMessageTypes().get(30); internal_static_cz_proto_ingestion_v2_OpenBulkLoadStreamWriterResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_OpenBulkLoadStreamWriterResponse_descriptor, new java.lang.String[] { "Status", "Config", }); internal_static_cz_proto_ingestion_v2_FinishBulkLoadStreamWriterRequest_descriptor = getDescriptor().getMessageTypes().get(31); internal_static_cz_proto_ingestion_v2_FinishBulkLoadStreamWriterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_FinishBulkLoadStreamWriterRequest_descriptor, new java.lang.String[] { "Account", "Identifier", "StreamId", "PartitionId", "WrittenFiles", "WrittenLengths", }); internal_static_cz_proto_ingestion_v2_FinishBulkLoadStreamWriterResponse_descriptor = getDescriptor().getMessageTypes().get(32); internal_static_cz_proto_ingestion_v2_FinishBulkLoadStreamWriterResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_FinishBulkLoadStreamWriterResponse_descriptor, new java.lang.String[] { "Status", }); internal_static_cz_proto_ingestion_v2_GetRouteWorkersRequest_descriptor = getDescriptor().getMessageTypes().get(33); internal_static_cz_proto_ingestion_v2_GetRouteWorkersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_GetRouteWorkersRequest_descriptor, new java.lang.String[] { "TableIdent", "ConnectMode", "TabletId", }); internal_static_cz_proto_ingestion_v2_HostPortTuple_descriptor = getDescriptor().getMessageTypes().get(34); internal_static_cz_proto_ingestion_v2_HostPortTuple_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_HostPortTuple_descriptor, new java.lang.String[] { "Host", "Port", }); internal_static_cz_proto_ingestion_v2_GetRouteWorkersResponse_descriptor = getDescriptor().getMessageTypes().get(35); internal_static_cz_proto_ingestion_v2_GetRouteWorkersResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_GetRouteWorkersResponse_descriptor, new java.lang.String[] { "Tuple", "TabletId", "Status", }); internal_static_cz_proto_ingestion_v2_ServerTokenList_descriptor = getDescriptor().getMessageTypes().get(36); internal_static_cz_proto_ingestion_v2_ServerTokenList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_ServerTokenList_descriptor, new java.lang.String[] { "ServerToken", }); internal_static_cz_proto_ingestion_v2_CommitRequest_descriptor = getDescriptor().getMessageTypes().get(37); internal_static_cz_proto_ingestion_v2_CommitRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_CommitRequest_descriptor, new java.lang.String[] { "Account", "TableIdent", "ServerTokenList", "ServerTokenList", }); internal_static_cz_proto_ingestion_v2_CommitResponse_descriptor = getDescriptor().getMessageTypes().get(38); internal_static_cz_proto_ingestion_v2_CommitResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_CommitResponse_descriptor, new java.lang.String[] { "Status", "CommitId", }); internal_static_cz_proto_ingestion_v2_CheckCommitResultRequest_descriptor = getDescriptor().getMessageTypes().get(39); internal_static_cz_proto_ingestion_v2_CheckCommitResultRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_CheckCommitResultRequest_descriptor, new java.lang.String[] { "Account", "CommitId", }); internal_static_cz_proto_ingestion_v2_CheckCommitResultResponse_descriptor = getDescriptor().getMessageTypes().get(40); internal_static_cz_proto_ingestion_v2_CheckCommitResultResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_CheckCommitResultResponse_descriptor, new java.lang.String[] { "Status", "Finished", }); internal_static_cz_proto_ingestion_v2_RouteRule_descriptor = getDescriptor().getMessageTypes().get(41); internal_static_cz_proto_ingestion_v2_RouteRule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_RouteRule_descriptor, new java.lang.String[] { "ResourceId", "ResourceType", "ServiceTag", }); internal_static_cz_proto_ingestion_v2_UpdateRouteRuleBroadcastRequest_descriptor = getDescriptor().getMessageTypes().get(42); internal_static_cz_proto_ingestion_v2_UpdateRouteRuleBroadcastRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_UpdateRouteRuleBroadcastRequest_descriptor, new java.lang.String[] { "Rule", }); internal_static_cz_proto_ingestion_v2_UpdateRouteRuleBroadcastResponse_descriptor = getDescriptor().getMessageTypes().get(43); internal_static_cz_proto_ingestion_v2_UpdateRouteRuleBroadcastResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_UpdateRouteRuleBroadcastResponse_descriptor, new java.lang.String[] { "Status", }); internal_static_cz_proto_ingestion_v2_OperationTypeList_descriptor = getDescriptor().getMessageTypes().get(44); internal_static_cz_proto_ingestion_v2_OperationTypeList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_OperationTypeList_descriptor, new java.lang.String[] { "OpTypes", }); internal_static_cz_proto_ingestion_v2_DataBlock_descriptor = getDescriptor().getMessageTypes().get(45); internal_static_cz_proto_ingestion_v2_DataBlock_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_DataBlock_descriptor, new java.lang.String[] { "ArrowPayload", "IsSetBitmapsPayload", "RowOpTypeList", "BlockOpType", "NumRows", "OpTypeInfo", }); internal_static_cz_proto_ingestion_v2_MutateRowStatus_descriptor = getDescriptor().getMessageTypes().get(46); internal_static_cz_proto_ingestion_v2_MutateRowStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_MutateRowStatus_descriptor, new java.lang.String[] { "Code", "ErrorMessage", "RowIndex", }); internal_static_cz_proto_ingestion_v2_MutateRequest_descriptor = getDescriptor().getMessageTypes().get(47); internal_static_cz_proto_ingestion_v2_MutateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_MutateRequest_descriptor, new java.lang.String[] { "Account", "TableIdent", "BatchId", "WriteTimestamp", "DataFields", "DataBlock", "ServerToken", }); internal_static_cz_proto_ingestion_v2_MutateResponse_descriptor = getDescriptor().getMessageTypes().get(48); internal_static_cz_proto_ingestion_v2_MutateResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_MutateResponse_descriptor, new java.lang.String[] { "BatchId", "NumRows", "Status", "RowStatusList", "ServerToken", }); internal_static_cz_proto_ingestion_v2_MultiMutateRequest_descriptor = getDescriptor().getMessageTypes().get(49); internal_static_cz_proto_ingestion_v2_MultiMutateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_MultiMutateRequest_descriptor, new java.lang.String[] { "BatchId", "WriteTimestamp", "MutateRequests", }); internal_static_cz_proto_ingestion_v2_MultiMutateResponse_descriptor = getDescriptor().getMessageTypes().get(50); internal_static_cz_proto_ingestion_v2_MultiMutateResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_MultiMutateResponse_descriptor, new java.lang.String[] { "BatchId", "NumRows", "Status", "MutateResponses", }); internal_static_cz_proto_ingestion_v2_InternalDataBlock_descriptor = getDescriptor().getMessageTypes().get(51); internal_static_cz_proto_ingestion_v2_InternalDataBlock_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_InternalDataBlock_descriptor, new java.lang.String[] { "DataBlock", "BucketIdList", }); internal_static_cz_proto_ingestion_v2_BucketedDataBlockList_descriptor = getDescriptor().getMessageTypes().get(52); internal_static_cz_proto_ingestion_v2_BucketedDataBlockList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_BucketedDataBlockList_descriptor, new java.lang.String[] { "DataBlocks", "BucketIdList", }); internal_static_cz_proto_ingestion_v2_TabletDataSet_descriptor = getDescriptor().getMessageTypes().get(53); internal_static_cz_proto_ingestion_v2_TabletDataSet_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_TabletDataSet_descriptor, new java.lang.String[] { "TabletId", "InternalDataBlock", "BucketedDataBlockList", "Data", }); internal_static_cz_proto_ingestion_v2_MutateInternalRequest_descriptor = getDescriptor().getMessageTypes().get(54); internal_static_cz_proto_ingestion_v2_MutateInternalRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_MutateInternalRequest_descriptor, new java.lang.String[] { "TableIdent", "BatchId", "WriteTimestamp", "DataFields", "TabletDataSets", "ServerToken", }); internal_static_cz_proto_ingestion_v2_SchemaChangeRequest_descriptor = getDescriptor().getMessageTypes().get(55); internal_static_cz_proto_ingestion_v2_SchemaChangeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_SchemaChangeRequest_descriptor, new java.lang.String[] { "Account", "TableIdent", "Updates", "DdlSql", "ServerToken", }); internal_static_cz_proto_ingestion_v2_SchemaChangeResponse_descriptor = getDescriptor().getMessageTypes().get(56); internal_static_cz_proto_ingestion_v2_SchemaChangeResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_SchemaChangeResponse_descriptor, new java.lang.String[] { "Status", }); internal_static_cz_proto_ingestion_v2_GetControllerAddressRequest_descriptor = getDescriptor().getMessageTypes().get(57); internal_static_cz_proto_ingestion_v2_GetControllerAddressRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_GetControllerAddressRequest_descriptor, new java.lang.String[] { "InstanceId", "Workspace", "Schema", "Table", }); internal_static_cz_proto_ingestion_v2_GetControllerAddressResponse_descriptor = getDescriptor().getMessageTypes().get(58); internal_static_cz_proto_ingestion_v2_GetControllerAddressResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_GetControllerAddressResponse_descriptor, new java.lang.String[] { "Status", "ServiceAddress", }); internal_static_cz_proto_ingestion_v2_UpdateRouteRuleRequest_descriptor = getDescriptor().getMessageTypes().get(59); internal_static_cz_proto_ingestion_v2_UpdateRouteRuleRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_UpdateRouteRuleRequest_descriptor, new java.lang.String[] { "Rule", }); internal_static_cz_proto_ingestion_v2_UpdateRouteRuleResponse_descriptor = getDescriptor().getMessageTypes().get(60); internal_static_cz_proto_ingestion_v2_UpdateRouteRuleResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_UpdateRouteRuleResponse_descriptor, new java.lang.String[] { "Status", }); internal_static_cz_proto_ingestion_v2_RemoveRouteRuleRequest_descriptor = getDescriptor().getMessageTypes().get(61); internal_static_cz_proto_ingestion_v2_RemoveRouteRuleRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_RemoveRouteRuleRequest_descriptor, new java.lang.String[] { "ResourceId", "ResourceType", }); internal_static_cz_proto_ingestion_v2_RemoveRouteRuleResponse_descriptor = getDescriptor().getMessageTypes().get(62); internal_static_cz_proto_ingestion_v2_RemoveRouteRuleResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_RemoveRouteRuleResponse_descriptor, new java.lang.String[] { "Status", }); internal_static_cz_proto_ingestion_v2_ChangeDefaultServiceRequest_descriptor = getDescriptor().getMessageTypes().get(63); internal_static_cz_proto_ingestion_v2_ChangeDefaultServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_ChangeDefaultServiceRequest_descriptor, new java.lang.String[] { "ServiceTag", }); internal_static_cz_proto_ingestion_v2_ChangeDefaultServiceResponse_descriptor = getDescriptor().getMessageTypes().get(64); internal_static_cz_proto_ingestion_v2_ChangeDefaultServiceResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_ChangeDefaultServiceResponse_descriptor, new java.lang.String[] { "Status", }); internal_static_cz_proto_ingestion_v2_ControllerServiceInfo_descriptor = getDescriptor().getMessageTypes().get(65); internal_static_cz_proto_ingestion_v2_ControllerServiceInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_ControllerServiceInfo_descriptor, new java.lang.String[] { "ServiceTag", "ServiceAddress", "DefaultService", "BuildInfo", }); internal_static_cz_proto_ingestion_v2_RegisterNewServiceRequest_descriptor = getDescriptor().getMessageTypes().get(66); internal_static_cz_proto_ingestion_v2_RegisterNewServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_RegisterNewServiceRequest_descriptor, new java.lang.String[] { "Service", }); internal_static_cz_proto_ingestion_v2_RegisterNewServiceResponse_descriptor = getDescriptor().getMessageTypes().get(67); internal_static_cz_proto_ingestion_v2_RegisterNewServiceResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_v2_RegisterNewServiceResponse_descriptor, new java.lang.String[] { "Status", }); cz.proto.access.Ddl.getDescriptor(); cz.proto.DataTypeOuterClass.getDescriptor(); cz.proto.FileFormatTypeOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }