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

cz.proto.ingestion.Ingestion 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.proto

package cz.proto.ingestion;

public final class Ingestion {
  private Ingestion() {}
  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.IGSTableType}
   */
  public enum IGSTableType
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * NORMAL = 0;
     */
    NORMAL(0),
    /**
     * CLUSTER = 1;
     */
    CLUSTER(1),
    /**
     * ACID = 2;
     */
    ACID(2),
    /**
     * UNKNOWN = 3;
     */
    UNKNOWN(3),
    UNRECOGNIZED(-1),
    ;

    /**
     * NORMAL = 0;
     */
    public static final int NORMAL_VALUE = 0;
    /**
     * CLUSTER = 1;
     */
    public static final int CLUSTER_VALUE = 1;
    /**
     * ACID = 2;
     */
    public static final int ACID_VALUE = 2;
    /**
     * UNKNOWN = 3;
     */
    public static final int UNKNOWN_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 IGSTableType 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 IGSTableType forNumber(int value) {
      switch (value) {
        case 0: return NORMAL;
        case 1: return CLUSTER;
        case 2: return ACID;
        case 3: return UNKNOWN;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        IGSTableType> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            public IGSTableType findValueByNumber(int number) {
              return IGSTableType.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.Ingestion.getDescriptor().getEnumTypes().get(0);
    }

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

    public static IGSTableType 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 IGSTableType(int value) {
      this.value = value;
    }

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

  /**
   * Protobuf enum {@code cz.proto.ingestion.Code}
   */
  public enum Code
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * SUCCESS = 0;
     */
    SUCCESS(0),
    /**
     * FAILED = 1;
     */
    FAILED(1),
    /**
     * IGS_WORKER_REGISTED = 2;
     */
    IGS_WORKER_REGISTED(2),
    /**
     * THROTTLED = 3;
     */
    THROTTLED(3),
    /**
     * NOT_FOUND = 4;
     */
    NOT_FOUND(4),
    /**
     * ALREADY_PRESENT = 5;
     */
    ALREADY_PRESENT(5),
    /**
     * TABLE_EXIST = 6;
     */
    TABLE_EXIST(6),
    /**
     * TABLE_DROPPED = 7;
     */
    TABLE_DROPPED(7),
    /**
     * CORRUPTION = 8;
     */
    CORRUPTION(8),
    UNRECOGNIZED(-1),
    ;

    /**
     * SUCCESS = 0;
     */
    public static final int SUCCESS_VALUE = 0;
    /**
     * FAILED = 1;
     */
    public static final int FAILED_VALUE = 1;
    /**
     * IGS_WORKER_REGISTED = 2;
     */
    public static final int IGS_WORKER_REGISTED_VALUE = 2;
    /**
     * THROTTLED = 3;
     */
    public static final int THROTTLED_VALUE = 3;
    /**
     * NOT_FOUND = 4;
     */
    public static final int NOT_FOUND_VALUE = 4;
    /**
     * ALREADY_PRESENT = 5;
     */
    public static final int ALREADY_PRESENT_VALUE = 5;
    /**
     * TABLE_EXIST = 6;
     */
    public static final int TABLE_EXIST_VALUE = 6;
    /**
     * TABLE_DROPPED = 7;
     */
    public static final int TABLE_DROPPED_VALUE = 7;
    /**
     * CORRUPTION = 8;
     */
    public static final int CORRUPTION_VALUE = 8;


    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 IGS_WORKER_REGISTED;
        case 3: return THROTTLED;
        case 4: return NOT_FOUND;
        case 5: return ALREADY_PRESENT;
        case 6: return TABLE_EXIST;
        case 7: return TABLE_DROPPED;
        case 8: return CORRUPTION;
        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.Ingestion.getDescriptor().getEnumTypes().get(1);
    }

    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.Code)
  }

  /**
   * Protobuf enum {@code cz.proto.ingestion.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.Ingestion.getDescriptor().getEnumTypes().get(2);
    }

    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.ConnectMode)
  }

  /**
   * 
   **
   * all gateway method list.
   * 
* * Protobuf enum {@code cz.proto.ingestion.MethodEnum} */ public enum MethodEnum implements com.google.protobuf.ProtocolMessageEnum { /** * GATEWAY_RPC_CALL = 0; */ GATEWAY_RPC_CALL(0), /** * GET_TABLE_META = 1; */ GET_TABLE_META(1), /** * CREATE_TABLET = 2; */ CREATE_TABLET(2), /** * GET_MUTATE_WORKER = 3; */ GET_MUTATE_WORKER(3), /** * COMMIT_TABLET = 4; */ COMMIT_TABLET(4), /** * DROP_TABLET = 5; */ DROP_TABLET(5), /** * CHECK_TABLE_EXISTS = 6; */ CHECK_TABLE_EXISTS(6), /** *
     *** BULKLOAD ENUMS **
     * 
* * CREATE_BULK_LOAD_STREAM = 11; */ CREATE_BULK_LOAD_STREAM(11), /** * GET_BULK_LOAD_STREAM = 12; */ GET_BULK_LOAD_STREAM(12), /** * COMMIT_BULK_LOAD_STREAM = 13; */ COMMIT_BULK_LOAD_STREAM(13), /** * OPEN_BULK_LOAD_STREAM_WRITER = 14; */ OPEN_BULK_LOAD_STREAM_WRITER(14), /** * FINISH_BULK_LOAD_STREAM_WRITER = 15; */ FINISH_BULK_LOAD_STREAM_WRITER(15), /** *
     *** V2 INTERFACE ENUMS **
     * 
* * CREATE_OR_GET_STREAM_V2 = 16; */ CREATE_OR_GET_STREAM_V2(16), /** * CLOSE_STREAM_V2 = 17; */ CLOSE_STREAM_V2(17), /** * GET_ROUTE_WORKER_V2 = 18; */ GET_ROUTE_WORKER_V2(18), /** * CREATE_BULK_LOAD_STREAM_V2 = 19; */ CREATE_BULK_LOAD_STREAM_V2(19), /** * GET_BULK_LOAD_STREAM_V2 = 20; */ GET_BULK_LOAD_STREAM_V2(20), /** * COMMIT_BULK_LOAD_STREAM_V2 = 21; */ COMMIT_BULK_LOAD_STREAM_V2(21), /** * OPEN_BULK_LOAD_STREAM_WRITER_V2 = 22; */ OPEN_BULK_LOAD_STREAM_WRITER_V2(22), /** * FINISH_BULK_LOAD_STREAM_WRITER_V2 = 23; */ FINISH_BULK_LOAD_STREAM_WRITER_V2(23), /** * GET_BULK_LOAD_STREAM_STS_TOKEN_V2 = 24; */ GET_BULK_LOAD_STREAM_STS_TOKEN_V2(24), /** * COMMIT_V2 = 25; */ COMMIT_V2(25), /** * ASYNC_COMMIT_V2 = 26; */ ASYNC_COMMIT_V2(26), /** * CHECK_COMMIT_RESULT_V2 = 27; */ CHECK_COMMIT_RESULT_V2(27), /** *
     *** ROUTER SERVICE INTERFACE ENUMS **
     * 
* * GET_ROUTER_CONTROLLER_ADDRESS = 28; */ GET_ROUTER_CONTROLLER_ADDRESS(28), /** *
     *** Schema Change **
     * 
* * SCHEMA_CHANGE = 29; */ SCHEMA_CHANGE(29), UNRECOGNIZED(-1), ; /** * GATEWAY_RPC_CALL = 0; */ public static final int GATEWAY_RPC_CALL_VALUE = 0; /** * GET_TABLE_META = 1; */ public static final int GET_TABLE_META_VALUE = 1; /** * CREATE_TABLET = 2; */ public static final int CREATE_TABLET_VALUE = 2; /** * GET_MUTATE_WORKER = 3; */ public static final int GET_MUTATE_WORKER_VALUE = 3; /** * COMMIT_TABLET = 4; */ public static final int COMMIT_TABLET_VALUE = 4; /** * DROP_TABLET = 5; */ public static final int DROP_TABLET_VALUE = 5; /** * CHECK_TABLE_EXISTS = 6; */ public static final int CHECK_TABLE_EXISTS_VALUE = 6; /** *
     *** BULKLOAD ENUMS **
     * 
* * CREATE_BULK_LOAD_STREAM = 11; */ public static final int CREATE_BULK_LOAD_STREAM_VALUE = 11; /** * GET_BULK_LOAD_STREAM = 12; */ public static final int GET_BULK_LOAD_STREAM_VALUE = 12; /** * COMMIT_BULK_LOAD_STREAM = 13; */ public static final int COMMIT_BULK_LOAD_STREAM_VALUE = 13; /** * OPEN_BULK_LOAD_STREAM_WRITER = 14; */ public static final int OPEN_BULK_LOAD_STREAM_WRITER_VALUE = 14; /** * FINISH_BULK_LOAD_STREAM_WRITER = 15; */ public static final int FINISH_BULK_LOAD_STREAM_WRITER_VALUE = 15; /** *
     *** V2 INTERFACE ENUMS **
     * 
* * CREATE_OR_GET_STREAM_V2 = 16; */ public static final int CREATE_OR_GET_STREAM_V2_VALUE = 16; /** * CLOSE_STREAM_V2 = 17; */ public static final int CLOSE_STREAM_V2_VALUE = 17; /** * GET_ROUTE_WORKER_V2 = 18; */ public static final int GET_ROUTE_WORKER_V2_VALUE = 18; /** * CREATE_BULK_LOAD_STREAM_V2 = 19; */ public static final int CREATE_BULK_LOAD_STREAM_V2_VALUE = 19; /** * GET_BULK_LOAD_STREAM_V2 = 20; */ public static final int GET_BULK_LOAD_STREAM_V2_VALUE = 20; /** * COMMIT_BULK_LOAD_STREAM_V2 = 21; */ public static final int COMMIT_BULK_LOAD_STREAM_V2_VALUE = 21; /** * OPEN_BULK_LOAD_STREAM_WRITER_V2 = 22; */ public static final int OPEN_BULK_LOAD_STREAM_WRITER_V2_VALUE = 22; /** * FINISH_BULK_LOAD_STREAM_WRITER_V2 = 23; */ public static final int FINISH_BULK_LOAD_STREAM_WRITER_V2_VALUE = 23; /** * GET_BULK_LOAD_STREAM_STS_TOKEN_V2 = 24; */ public static final int GET_BULK_LOAD_STREAM_STS_TOKEN_V2_VALUE = 24; /** * COMMIT_V2 = 25; */ public static final int COMMIT_V2_VALUE = 25; /** * ASYNC_COMMIT_V2 = 26; */ public static final int ASYNC_COMMIT_V2_VALUE = 26; /** * CHECK_COMMIT_RESULT_V2 = 27; */ public static final int CHECK_COMMIT_RESULT_V2_VALUE = 27; /** *
     *** ROUTER SERVICE INTERFACE ENUMS **
     * 
* * GET_ROUTER_CONTROLLER_ADDRESS = 28; */ public static final int GET_ROUTER_CONTROLLER_ADDRESS_VALUE = 28; /** *
     *** Schema Change **
     * 
* * SCHEMA_CHANGE = 29; */ public static final int SCHEMA_CHANGE_VALUE = 29; 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 MethodEnum 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 MethodEnum forNumber(int value) { switch (value) { case 0: return GATEWAY_RPC_CALL; case 1: return GET_TABLE_META; case 2: return CREATE_TABLET; case 3: return GET_MUTATE_WORKER; case 4: return COMMIT_TABLET; case 5: return DROP_TABLET; case 6: return CHECK_TABLE_EXISTS; case 11: return CREATE_BULK_LOAD_STREAM; case 12: return GET_BULK_LOAD_STREAM; case 13: return COMMIT_BULK_LOAD_STREAM; case 14: return OPEN_BULK_LOAD_STREAM_WRITER; case 15: return FINISH_BULK_LOAD_STREAM_WRITER; case 16: return CREATE_OR_GET_STREAM_V2; case 17: return CLOSE_STREAM_V2; case 18: return GET_ROUTE_WORKER_V2; case 19: return CREATE_BULK_LOAD_STREAM_V2; case 20: return GET_BULK_LOAD_STREAM_V2; case 21: return COMMIT_BULK_LOAD_STREAM_V2; case 22: return OPEN_BULK_LOAD_STREAM_WRITER_V2; case 23: return FINISH_BULK_LOAD_STREAM_WRITER_V2; case 24: return GET_BULK_LOAD_STREAM_STS_TOKEN_V2; case 25: return COMMIT_V2; case 26: return ASYNC_COMMIT_V2; case 27: return CHECK_COMMIT_RESULT_V2; case 28: return GET_ROUTER_CONTROLLER_ADDRESS; case 29: return SCHEMA_CHANGE; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< MethodEnum> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public MethodEnum findValueByNumber(int number) { return MethodEnum.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.Ingestion.getDescriptor().getEnumTypes().get(3); } private static final MethodEnum[] VALUES = values(); public static MethodEnum 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 MethodEnum(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:cz.proto.ingestion.MethodEnum) } public interface GetTableMetaRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.GetTableMetaRequest) com.google.protobuf.MessageOrBuilder { /** * string client_id = 1; * @return The clientId. */ java.lang.String getClientId(); /** * string client_id = 1; * @return The bytes for clientId. */ com.google.protobuf.ByteString getClientIdBytes(); /** * string schema_name = 2; * @return The schemaName. */ java.lang.String getSchemaName(); /** * string schema_name = 2; * @return The bytes for schemaName. */ com.google.protobuf.ByteString getSchemaNameBytes(); /** * string table_name = 3; * @return The tableName. */ java.lang.String getTableName(); /** * string table_name = 3; * @return The bytes for tableName. */ com.google.protobuf.ByteString getTableNameBytes(); /** * string workspace = 4; * @return The workspace. */ java.lang.String getWorkspace(); /** * string workspace = 4; * @return The bytes for workspace. */ com.google.protobuf.ByteString getWorkspaceBytes(); /** * int64 instance_id = 5; * @return The instanceId. */ long getInstanceId(); /** * .cz.proto.ingestion.Account account = 6; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.ingestion.Account account = 6; * @return The account. */ cz.proto.ingestion.Ingestion.Account getAccount(); /** * .cz.proto.ingestion.Account account = 6; */ cz.proto.ingestion.Ingestion.AccountOrBuilder getAccountOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.GetTableMetaRequest} */ public static final class GetTableMetaRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.GetTableMetaRequest) GetTableMetaRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetTableMetaRequest.newBuilder() to construct. private GetTableMetaRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetTableMetaRequest() { clientId_ = ""; schemaName_ = ""; tableName_ = ""; workspace_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetTableMetaRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetTableMetaRequest( 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(); clientId_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); schemaName_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); tableName_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); workspace_ = s; break; } case 40: { instanceId_ = input.readInt64(); break; } case 50: { cz.proto.ingestion.Ingestion.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.ingestion.Ingestion.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = 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.Ingestion.internal_static_cz_proto_ingestion_GetTableMetaRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetTableMetaRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.GetTableMetaRequest.class, cz.proto.ingestion.Ingestion.GetTableMetaRequest.Builder.class); } public static final int CLIENT_ID_FIELD_NUMBER = 1; private volatile java.lang.Object clientId_; /** * string client_id = 1; * @return The clientId. */ @java.lang.Override public java.lang.String getClientId() { java.lang.Object ref = clientId_; 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(); clientId_ = s; return s; } } /** * string client_id = 1; * @return The bytes for clientId. */ @java.lang.Override public com.google.protobuf.ByteString getClientIdBytes() { java.lang.Object ref = clientId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SCHEMA_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object schemaName_; /** * string schema_name = 2; * @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 = 2; * @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 = 3; private volatile java.lang.Object tableName_; /** * string table_name = 3; * @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 = 3; * @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; } } public static final int WORKSPACE_FIELD_NUMBER = 4; private volatile java.lang.Object workspace_; /** * string workspace = 4; * @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 = 4; * @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 INSTANCE_ID_FIELD_NUMBER = 5; private long instanceId_; /** * int64 instance_id = 5; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } public static final int ACCOUNT_FIELD_NUMBER = 6; private cz.proto.ingestion.Ingestion.Account account_; /** * .cz.proto.ingestion.Account account = 6; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.ingestion.Account account = 6; * @return The account. */ @java.lang.Override public cz.proto.ingestion.Ingestion.Account getAccount() { return account_ == null ? cz.proto.ingestion.Ingestion.Account.getDefaultInstance() : account_; } /** * .cz.proto.ingestion.Account account = 6; */ @java.lang.Override public cz.proto.ingestion.Ingestion.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } 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(clientId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, clientId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, schemaName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tableName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, workspace_); } if (instanceId_ != 0L) { output.writeInt64(5, instanceId_); } if (account_ != null) { output.writeMessage(6, getAccount()); } 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(clientId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, clientId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, schemaName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tableName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, workspace_); } if (instanceId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, instanceId_); } if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getAccount()); } 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.Ingestion.GetTableMetaRequest)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.GetTableMetaRequest other = (cz.proto.ingestion.Ingestion.GetTableMetaRequest) obj; if (!getClientId() .equals(other.getClientId())) return false; if (!getSchemaName() .equals(other.getSchemaName())) return false; if (!getTableName() .equals(other.getTableName())) return false; if (!getWorkspace() .equals(other.getWorkspace())) return false; if (getInstanceId() != other.getInstanceId()) return false; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) 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) + CLIENT_ID_FIELD_NUMBER; hash = (53 * hash) + getClientId().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 = (37 * hash) + WORKSPACE_FIELD_NUMBER; hash = (53 * hash) + getWorkspace().hashCode(); hash = (37 * hash) + INSTANCE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getInstanceId()); if (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.Ingestion.GetTableMetaRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetTableMetaRequest 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.Ingestion.GetTableMetaRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetTableMetaRequest 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.Ingestion.GetTableMetaRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetTableMetaRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.GetTableMetaRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetTableMetaRequest 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.Ingestion.GetTableMetaRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetTableMetaRequest 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.Ingestion.GetTableMetaRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetTableMetaRequest 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.Ingestion.GetTableMetaRequest 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.GetTableMetaRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.GetTableMetaRequest) cz.proto.ingestion.Ingestion.GetTableMetaRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetTableMetaRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetTableMetaRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.GetTableMetaRequest.class, cz.proto.ingestion.Ingestion.GetTableMetaRequest.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.GetTableMetaRequest.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(); clientId_ = ""; schemaName_ = ""; tableName_ = ""; workspace_ = ""; instanceId_ = 0L; if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetTableMetaRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.GetTableMetaRequest getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.GetTableMetaRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.GetTableMetaRequest build() { cz.proto.ingestion.Ingestion.GetTableMetaRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.GetTableMetaRequest buildPartial() { cz.proto.ingestion.Ingestion.GetTableMetaRequest result = new cz.proto.ingestion.Ingestion.GetTableMetaRequest(this); result.clientId_ = clientId_; result.schemaName_ = schemaName_; result.tableName_ = tableName_; result.workspace_ = workspace_; result.instanceId_ = instanceId_; if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.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.Ingestion.GetTableMetaRequest) { return mergeFrom((cz.proto.ingestion.Ingestion.GetTableMetaRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.GetTableMetaRequest other) { if (other == cz.proto.ingestion.Ingestion.GetTableMetaRequest.getDefaultInstance()) return this; if (!other.getClientId().isEmpty()) { clientId_ = other.clientId_; onChanged(); } if (!other.getSchemaName().isEmpty()) { schemaName_ = other.schemaName_; onChanged(); } if (!other.getTableName().isEmpty()) { tableName_ = other.tableName_; onChanged(); } if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); } if (other.getInstanceId() != 0L) { setInstanceId(other.getInstanceId()); } if (other.hasAccount()) { mergeAccount(other.getAccount()); } 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.Ingestion.GetTableMetaRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.GetTableMetaRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object clientId_ = ""; /** * string client_id = 1; * @return The clientId. */ public java.lang.String getClientId() { java.lang.Object ref = clientId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); clientId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string client_id = 1; * @return The bytes for clientId. */ public com.google.protobuf.ByteString getClientIdBytes() { java.lang.Object ref = clientId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); clientId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string client_id = 1; * @param value The clientId to set. * @return This builder for chaining. */ public Builder setClientId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } clientId_ = value; onChanged(); return this; } /** * string client_id = 1; * @return This builder for chaining. */ public Builder clearClientId() { clientId_ = getDefaultInstance().getClientId(); onChanged(); return this; } /** * string client_id = 1; * @param value The bytes for clientId to set. * @return This builder for chaining. */ public Builder setClientIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); clientId_ = value; onChanged(); return this; } private java.lang.Object schemaName_ = ""; /** * string schema_name = 2; * @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 = 2; * @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 = 2; * @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 = 2; * @return This builder for chaining. */ public Builder clearSchemaName() { schemaName_ = getDefaultInstance().getSchemaName(); onChanged(); return this; } /** * string schema_name = 2; * @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 = 3; * @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 = 3; * @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 = 3; * @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 = 3; * @return This builder for chaining. */ public Builder clearTableName() { tableName_ = getDefaultInstance().getTableName(); onChanged(); return this; } /** * string table_name = 3; * @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; } private java.lang.Object workspace_ = ""; /** * string workspace = 4; * @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 = 4; * @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 = 4; * @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 = 4; * @return This builder for chaining. */ public Builder clearWorkspace() { workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** * string workspace = 4; * @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 long instanceId_ ; /** * int64 instance_id = 5; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } /** * int64 instance_id = 5; * @param value The instanceId to set. * @return This builder for chaining. */ public Builder setInstanceId(long value) { instanceId_ = value; onChanged(); return this; } /** * int64 instance_id = 5; * @return This builder for chaining. */ public Builder clearInstanceId() { instanceId_ = 0L; onChanged(); return this; } private cz.proto.ingestion.Ingestion.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.Account, cz.proto.ingestion.Ingestion.Account.Builder, cz.proto.ingestion.Ingestion.AccountOrBuilder> accountBuilder_; /** * .cz.proto.ingestion.Account account = 6; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.ingestion.Account account = 6; * @return The account. */ public cz.proto.ingestion.Ingestion.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.ingestion.Ingestion.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.ingestion.Account account = 6; */ public Builder setAccount(cz.proto.ingestion.Ingestion.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.Account account = 6; */ public Builder setAccount( cz.proto.ingestion.Ingestion.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.Account account = 6; */ public Builder mergeAccount(cz.proto.ingestion.Ingestion.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.ingestion.Ingestion.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.Account account = 6; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.ingestion.Account account = 6; */ public cz.proto.ingestion.Ingestion.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.Account account = 6; */ public cz.proto.ingestion.Ingestion.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.ingestion.Ingestion.Account.getDefaultInstance() : account_; } } /** * .cz.proto.ingestion.Account account = 6; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.Account, cz.proto.ingestion.Ingestion.Account.Builder, cz.proto.ingestion.Ingestion.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.Account, cz.proto.ingestion.Ingestion.Account.Builder, cz.proto.ingestion.Ingestion.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } @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.GetTableMetaRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.GetTableMetaRequest) private static final cz.proto.ingestion.Ingestion.GetTableMetaRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.GetTableMetaRequest(); } public static cz.proto.ingestion.Ingestion.GetTableMetaRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetTableMetaRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetTableMetaRequest(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.Ingestion.GetTableMetaRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetTableMetaResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.GetTableMetaResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.Entity table_meta = 1; * @return Whether the tableMeta field is set. */ boolean hasTableMeta(); /** * .cz.proto.Entity table_meta = 1; * @return The tableMeta. */ cz.proto.MetadataEntity.Entity getTableMeta(); /** * .cz.proto.Entity table_meta = 1; */ cz.proto.MetadataEntity.EntityOrBuilder getTableMetaOrBuilder(); /** * .cz.proto.ingestion.IGSTableType table_type = 2; * @return The enum numeric value on the wire for tableType. */ int getTableTypeValue(); /** * .cz.proto.ingestion.IGSTableType table_type = 2; * @return The tableType. */ cz.proto.ingestion.Ingestion.IGSTableType getTableType(); /** * int64 instance_id = 3; * @return The instanceId. */ long getInstanceId(); /** * .cz.proto.ingestion.ResponseStatus status = 4; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 4; * @return The status. */ cz.proto.ingestion.Ingestion.ResponseStatus getStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 4; */ cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.GetTableMetaResponse} */ public static final class GetTableMetaResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.GetTableMetaResponse) GetTableMetaResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetTableMetaResponse.newBuilder() to construct. private GetTableMetaResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetTableMetaResponse() { tableType_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetTableMetaResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetTableMetaResponse( 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.MetadataEntity.Entity.Builder subBuilder = null; if (tableMeta_ != null) { subBuilder = tableMeta_.toBuilder(); } tableMeta_ = input.readMessage(cz.proto.MetadataEntity.Entity.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(tableMeta_); tableMeta_ = subBuilder.buildPartial(); } break; } case 16: { int rawValue = input.readEnum(); tableType_ = rawValue; break; } case 24: { instanceId_ = input.readInt64(); break; } case 34: { cz.proto.ingestion.Ingestion.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.Ingestion.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.Ingestion.internal_static_cz_proto_ingestion_GetTableMetaResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetTableMetaResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.GetTableMetaResponse.class, cz.proto.ingestion.Ingestion.GetTableMetaResponse.Builder.class); } public static final int TABLE_META_FIELD_NUMBER = 1; private cz.proto.MetadataEntity.Entity tableMeta_; /** * .cz.proto.Entity table_meta = 1; * @return Whether the tableMeta field is set. */ @java.lang.Override public boolean hasTableMeta() { return tableMeta_ != null; } /** * .cz.proto.Entity table_meta = 1; * @return The tableMeta. */ @java.lang.Override public cz.proto.MetadataEntity.Entity getTableMeta() { return tableMeta_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : tableMeta_; } /** * .cz.proto.Entity table_meta = 1; */ @java.lang.Override public cz.proto.MetadataEntity.EntityOrBuilder getTableMetaOrBuilder() { return getTableMeta(); } public static final int TABLE_TYPE_FIELD_NUMBER = 2; private int tableType_; /** * .cz.proto.ingestion.IGSTableType table_type = 2; * @return The enum numeric value on the wire for tableType. */ @java.lang.Override public int getTableTypeValue() { return tableType_; } /** * .cz.proto.ingestion.IGSTableType table_type = 2; * @return The tableType. */ @java.lang.Override public cz.proto.ingestion.Ingestion.IGSTableType getTableType() { @SuppressWarnings("deprecation") cz.proto.ingestion.Ingestion.IGSTableType result = cz.proto.ingestion.Ingestion.IGSTableType.valueOf(tableType_); return result == null ? cz.proto.ingestion.Ingestion.IGSTableType.UNRECOGNIZED : result; } public static final int INSTANCE_ID_FIELD_NUMBER = 3; private long instanceId_; /** * int64 instance_id = 3; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } public static final int STATUS_FIELD_NUMBER = 4; private cz.proto.ingestion.Ingestion.ResponseStatus status_; /** * .cz.proto.ingestion.ResponseStatus status = 4; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 4; * @return The status. */ @java.lang.Override public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.ResponseStatus status = 4; */ @java.lang.Override public cz.proto.ingestion.Ingestion.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 (tableMeta_ != null) { output.writeMessage(1, getTableMeta()); } if (tableType_ != cz.proto.ingestion.Ingestion.IGSTableType.NORMAL.getNumber()) { output.writeEnum(2, tableType_); } if (instanceId_ != 0L) { output.writeInt64(3, instanceId_); } if (status_ != null) { output.writeMessage(4, getStatus()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (tableMeta_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getTableMeta()); } if (tableType_ != cz.proto.ingestion.Ingestion.IGSTableType.NORMAL.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, tableType_); } if (instanceId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, instanceId_); } if (status_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, 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.Ingestion.GetTableMetaResponse)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.GetTableMetaResponse other = (cz.proto.ingestion.Ingestion.GetTableMetaResponse) obj; if (hasTableMeta() != other.hasTableMeta()) return false; if (hasTableMeta()) { if (!getTableMeta() .equals(other.getTableMeta())) return false; } if (tableType_ != other.tableType_) return false; if (getInstanceId() != other.getInstanceId()) 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 (hasTableMeta()) { hash = (37 * hash) + TABLE_META_FIELD_NUMBER; hash = (53 * hash) + getTableMeta().hashCode(); } hash = (37 * hash) + TABLE_TYPE_FIELD_NUMBER; hash = (53 * hash) + tableType_; hash = (37 * hash) + INSTANCE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getInstanceId()); 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.Ingestion.GetTableMetaResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetTableMetaResponse 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.Ingestion.GetTableMetaResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetTableMetaResponse 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.Ingestion.GetTableMetaResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetTableMetaResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.GetTableMetaResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetTableMetaResponse 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.Ingestion.GetTableMetaResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetTableMetaResponse 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.Ingestion.GetTableMetaResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetTableMetaResponse 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.Ingestion.GetTableMetaResponse 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.GetTableMetaResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.GetTableMetaResponse) cz.proto.ingestion.Ingestion.GetTableMetaResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetTableMetaResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetTableMetaResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.GetTableMetaResponse.class, cz.proto.ingestion.Ingestion.GetTableMetaResponse.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.GetTableMetaResponse.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 (tableMetaBuilder_ == null) { tableMeta_ = null; } else { tableMeta_ = null; tableMetaBuilder_ = null; } tableType_ = 0; instanceId_ = 0L; 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.Ingestion.internal_static_cz_proto_ingestion_GetTableMetaResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.GetTableMetaResponse getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.GetTableMetaResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.GetTableMetaResponse build() { cz.proto.ingestion.Ingestion.GetTableMetaResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.GetTableMetaResponse buildPartial() { cz.proto.ingestion.Ingestion.GetTableMetaResponse result = new cz.proto.ingestion.Ingestion.GetTableMetaResponse(this); if (tableMetaBuilder_ == null) { result.tableMeta_ = tableMeta_; } else { result.tableMeta_ = tableMetaBuilder_.build(); } result.tableType_ = tableType_; result.instanceId_ = instanceId_; 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.Ingestion.GetTableMetaResponse) { return mergeFrom((cz.proto.ingestion.Ingestion.GetTableMetaResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.GetTableMetaResponse other) { if (other == cz.proto.ingestion.Ingestion.GetTableMetaResponse.getDefaultInstance()) return this; if (other.hasTableMeta()) { mergeTableMeta(other.getTableMeta()); } if (other.tableType_ != 0) { setTableTypeValue(other.getTableTypeValue()); } if (other.getInstanceId() != 0L) { setInstanceId(other.getInstanceId()); } 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.Ingestion.GetTableMetaResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.GetTableMetaResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.MetadataEntity.Entity tableMeta_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder> tableMetaBuilder_; /** * .cz.proto.Entity table_meta = 1; * @return Whether the tableMeta field is set. */ public boolean hasTableMeta() { return tableMetaBuilder_ != null || tableMeta_ != null; } /** * .cz.proto.Entity table_meta = 1; * @return The tableMeta. */ public cz.proto.MetadataEntity.Entity getTableMeta() { if (tableMetaBuilder_ == null) { return tableMeta_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : tableMeta_; } else { return tableMetaBuilder_.getMessage(); } } /** * .cz.proto.Entity table_meta = 1; */ public Builder setTableMeta(cz.proto.MetadataEntity.Entity value) { if (tableMetaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tableMeta_ = value; onChanged(); } else { tableMetaBuilder_.setMessage(value); } return this; } /** * .cz.proto.Entity table_meta = 1; */ public Builder setTableMeta( cz.proto.MetadataEntity.Entity.Builder builderForValue) { if (tableMetaBuilder_ == null) { tableMeta_ = builderForValue.build(); onChanged(); } else { tableMetaBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.Entity table_meta = 1; */ public Builder mergeTableMeta(cz.proto.MetadataEntity.Entity value) { if (tableMetaBuilder_ == null) { if (tableMeta_ != null) { tableMeta_ = cz.proto.MetadataEntity.Entity.newBuilder(tableMeta_).mergeFrom(value).buildPartial(); } else { tableMeta_ = value; } onChanged(); } else { tableMetaBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.Entity table_meta = 1; */ public Builder clearTableMeta() { if (tableMetaBuilder_ == null) { tableMeta_ = null; onChanged(); } else { tableMeta_ = null; tableMetaBuilder_ = null; } return this; } /** * .cz.proto.Entity table_meta = 1; */ public cz.proto.MetadataEntity.Entity.Builder getTableMetaBuilder() { onChanged(); return getTableMetaFieldBuilder().getBuilder(); } /** * .cz.proto.Entity table_meta = 1; */ public cz.proto.MetadataEntity.EntityOrBuilder getTableMetaOrBuilder() { if (tableMetaBuilder_ != null) { return tableMetaBuilder_.getMessageOrBuilder(); } else { return tableMeta_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : tableMeta_; } } /** * .cz.proto.Entity table_meta = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder> getTableMetaFieldBuilder() { if (tableMetaBuilder_ == null) { tableMetaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder>( getTableMeta(), getParentForChildren(), isClean()); tableMeta_ = null; } return tableMetaBuilder_; } private int tableType_ = 0; /** * .cz.proto.ingestion.IGSTableType table_type = 2; * @return The enum numeric value on the wire for tableType. */ @java.lang.Override public int getTableTypeValue() { return tableType_; } /** * .cz.proto.ingestion.IGSTableType table_type = 2; * @param value The enum numeric value on the wire for tableType to set. * @return This builder for chaining. */ public Builder setTableTypeValue(int value) { tableType_ = value; onChanged(); return this; } /** * .cz.proto.ingestion.IGSTableType table_type = 2; * @return The tableType. */ @java.lang.Override public cz.proto.ingestion.Ingestion.IGSTableType getTableType() { @SuppressWarnings("deprecation") cz.proto.ingestion.Ingestion.IGSTableType result = cz.proto.ingestion.Ingestion.IGSTableType.valueOf(tableType_); return result == null ? cz.proto.ingestion.Ingestion.IGSTableType.UNRECOGNIZED : result; } /** * .cz.proto.ingestion.IGSTableType table_type = 2; * @param value The tableType to set. * @return This builder for chaining. */ public Builder setTableType(cz.proto.ingestion.Ingestion.IGSTableType value) { if (value == null) { throw new NullPointerException(); } tableType_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.ingestion.IGSTableType table_type = 2; * @return This builder for chaining. */ public Builder clearTableType() { tableType_ = 0; onChanged(); return this; } private long instanceId_ ; /** * int64 instance_id = 3; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } /** * int64 instance_id = 3; * @param value The instanceId to set. * @return This builder for chaining. */ public Builder setInstanceId(long value) { instanceId_ = value; onChanged(); return this; } /** * int64 instance_id = 3; * @return This builder for chaining. */ public Builder clearInstanceId() { instanceId_ = 0L; onChanged(); return this; } private cz.proto.ingestion.Ingestion.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.ResponseStatus status = 4; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 4; * @return The status. */ public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.ResponseStatus status = 4; */ public Builder setStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 4; */ public Builder setStatus( cz.proto.ingestion.Ingestion.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 4; */ public Builder mergeStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.Ingestion.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 4; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 4; */ public cz.proto.ingestion.Ingestion.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.ResponseStatus status = 4; */ public cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.ResponseStatus status = 4; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.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.GetTableMetaResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.GetTableMetaResponse) private static final cz.proto.ingestion.Ingestion.GetTableMetaResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.GetTableMetaResponse(); } public static cz.proto.ingestion.Ingestion.GetTableMetaResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetTableMetaResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetTableMetaResponse(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.Ingestion.GetTableMetaResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ControllerCreateTabletRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.ControllerCreateTabletRequest) com.google.protobuf.MessageOrBuilder { /** * string schema_name = 1; * @return The schemaName. */ java.lang.String getSchemaName(); /** * string schema_name = 1; * @return The bytes for schemaName. */ com.google.protobuf.ByteString getSchemaNameBytes(); /** * string table_name = 2; * @return The tableName. */ java.lang.String getTableName(); /** * string table_name = 2; * @return The bytes for tableName. */ com.google.protobuf.ByteString getTableNameBytes(); /** * .cz.proto.Entity table_meta = 3; * @return Whether the tableMeta field is set. */ boolean hasTableMeta(); /** * .cz.proto.Entity table_meta = 3; * @return The tableMeta. */ cz.proto.MetadataEntity.Entity getTableMeta(); /** * .cz.proto.Entity table_meta = 3; */ cz.proto.MetadataEntity.EntityOrBuilder getTableMetaOrBuilder(); /** * int64 tablet_nums = 4; * @return The tabletNums. */ long getTabletNums(); /** * .cz.proto.ingestion.IGSTableType table_type = 5; * @return The enum numeric value on the wire for tableType. */ int getTableTypeValue(); /** * .cz.proto.ingestion.IGSTableType table_type = 5; * @return The tableType. */ cz.proto.ingestion.Ingestion.IGSTableType getTableType(); /** * repeated string key_names = 6; * @return A list containing the keyNames. */ java.util.List getKeyNamesList(); /** * repeated string key_names = 6; * @return The count of keyNames. */ int getKeyNamesCount(); /** * repeated string key_names = 6; * @param index The index of the element to return. * @return The keyNames at the given index. */ java.lang.String getKeyNames(int index); /** * repeated string key_names = 6; * @param index The index of the value to return. * @return The bytes of the keyNames at the given index. */ com.google.protobuf.ByteString getKeyNamesBytes(int index); /** * uint64 buckets_count = 7; * @return The bucketsCount. */ long getBucketsCount(); /** * repeated string sort_names = 8; * @return A list containing the sortNames. */ java.util.List getSortNamesList(); /** * repeated string sort_names = 8; * @return The count of sortNames. */ int getSortNamesCount(); /** * repeated string sort_names = 8; * @param index The index of the element to return. * @return The sortNames at the given index. */ java.lang.String getSortNames(int index); /** * repeated string sort_names = 8; * @param index The index of the value to return. * @return The bytes of the sortNames at the given index. */ com.google.protobuf.ByteString getSortNamesBytes(int index); /** * string workspace = 9; * @return The workspace. */ java.lang.String getWorkspace(); /** * string workspace = 9; * @return The bytes for workspace. */ com.google.protobuf.ByteString getWorkspaceBytes(); /** * int64 instance_id = 10; * @return The instanceId. */ long getInstanceId(); /** * .cz.proto.ingestion.Account account = 11; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.ingestion.Account account = 11; * @return The account. */ cz.proto.ingestion.Ingestion.Account getAccount(); /** * .cz.proto.ingestion.Account account = 11; */ cz.proto.ingestion.Ingestion.AccountOrBuilder getAccountOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.ControllerCreateTabletRequest} */ public static final class ControllerCreateTabletRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.ControllerCreateTabletRequest) ControllerCreateTabletRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ControllerCreateTabletRequest.newBuilder() to construct. private ControllerCreateTabletRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ControllerCreateTabletRequest() { schemaName_ = ""; tableName_ = ""; tableType_ = 0; keyNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; sortNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; workspace_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ControllerCreateTabletRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ControllerCreateTabletRequest( 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(); schemaName_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); tableName_ = s; break; } case 26: { cz.proto.MetadataEntity.Entity.Builder subBuilder = null; if (tableMeta_ != null) { subBuilder = tableMeta_.toBuilder(); } tableMeta_ = input.readMessage(cz.proto.MetadataEntity.Entity.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(tableMeta_); tableMeta_ = subBuilder.buildPartial(); } break; } case 32: { tabletNums_ = input.readInt64(); break; } case 40: { int rawValue = input.readEnum(); tableType_ = rawValue; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { keyNames_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } keyNames_.add(s); break; } case 56: { bucketsCount_ = input.readUInt64(); break; } case 66: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { sortNames_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } sortNames_.add(s); break; } case 74: { java.lang.String s = input.readStringRequireUtf8(); workspace_ = s; break; } case 80: { instanceId_ = input.readInt64(); break; } case 90: { cz.proto.ingestion.Ingestion.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.ingestion.Ingestion.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = 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)) { keyNames_ = keyNames_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000002) != 0)) { sortNames_ = sortNames_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_ControllerCreateTabletRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_ControllerCreateTabletRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest.class, cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest.Builder.class); } public static final int SCHEMA_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object schemaName_; /** * string schema_name = 1; * @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 = 1; * @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 = 2; private volatile java.lang.Object tableName_; /** * string table_name = 2; * @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 = 2; * @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; } } public static final int TABLE_META_FIELD_NUMBER = 3; private cz.proto.MetadataEntity.Entity tableMeta_; /** * .cz.proto.Entity table_meta = 3; * @return Whether the tableMeta field is set. */ @java.lang.Override public boolean hasTableMeta() { return tableMeta_ != null; } /** * .cz.proto.Entity table_meta = 3; * @return The tableMeta. */ @java.lang.Override public cz.proto.MetadataEntity.Entity getTableMeta() { return tableMeta_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : tableMeta_; } /** * .cz.proto.Entity table_meta = 3; */ @java.lang.Override public cz.proto.MetadataEntity.EntityOrBuilder getTableMetaOrBuilder() { return getTableMeta(); } public static final int TABLET_NUMS_FIELD_NUMBER = 4; private long tabletNums_; /** * int64 tablet_nums = 4; * @return The tabletNums. */ @java.lang.Override public long getTabletNums() { return tabletNums_; } public static final int TABLE_TYPE_FIELD_NUMBER = 5; private int tableType_; /** * .cz.proto.ingestion.IGSTableType table_type = 5; * @return The enum numeric value on the wire for tableType. */ @java.lang.Override public int getTableTypeValue() { return tableType_; } /** * .cz.proto.ingestion.IGSTableType table_type = 5; * @return The tableType. */ @java.lang.Override public cz.proto.ingestion.Ingestion.IGSTableType getTableType() { @SuppressWarnings("deprecation") cz.proto.ingestion.Ingestion.IGSTableType result = cz.proto.ingestion.Ingestion.IGSTableType.valueOf(tableType_); return result == null ? cz.proto.ingestion.Ingestion.IGSTableType.UNRECOGNIZED : result; } public static final int KEY_NAMES_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList keyNames_; /** * repeated string key_names = 6; * @return A list containing the keyNames. */ public com.google.protobuf.ProtocolStringList getKeyNamesList() { return keyNames_; } /** * repeated string key_names = 6; * @return The count of keyNames. */ public int getKeyNamesCount() { return keyNames_.size(); } /** * repeated string key_names = 6; * @param index The index of the element to return. * @return The keyNames at the given index. */ public java.lang.String getKeyNames(int index) { return keyNames_.get(index); } /** * repeated string key_names = 6; * @param index The index of the value to return. * @return The bytes of the keyNames at the given index. */ public com.google.protobuf.ByteString getKeyNamesBytes(int index) { return keyNames_.getByteString(index); } public static final int BUCKETS_COUNT_FIELD_NUMBER = 7; private long bucketsCount_; /** * uint64 buckets_count = 7; * @return The bucketsCount. */ @java.lang.Override public long getBucketsCount() { return bucketsCount_; } public static final int SORT_NAMES_FIELD_NUMBER = 8; private com.google.protobuf.LazyStringList sortNames_; /** * repeated string sort_names = 8; * @return A list containing the sortNames. */ public com.google.protobuf.ProtocolStringList getSortNamesList() { return sortNames_; } /** * repeated string sort_names = 8; * @return The count of sortNames. */ public int getSortNamesCount() { return sortNames_.size(); } /** * repeated string sort_names = 8; * @param index The index of the element to return. * @return The sortNames at the given index. */ public java.lang.String getSortNames(int index) { return sortNames_.get(index); } /** * repeated string sort_names = 8; * @param index The index of the value to return. * @return The bytes of the sortNames at the given index. */ public com.google.protobuf.ByteString getSortNamesBytes(int index) { return sortNames_.getByteString(index); } public static final int WORKSPACE_FIELD_NUMBER = 9; private volatile java.lang.Object workspace_; /** * string workspace = 9; * @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 = 9; * @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 INSTANCE_ID_FIELD_NUMBER = 10; private long instanceId_; /** * int64 instance_id = 10; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } public static final int ACCOUNT_FIELD_NUMBER = 11; private cz.proto.ingestion.Ingestion.Account account_; /** * .cz.proto.ingestion.Account account = 11; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.ingestion.Account account = 11; * @return The account. */ @java.lang.Override public cz.proto.ingestion.Ingestion.Account getAccount() { return account_ == null ? cz.proto.ingestion.Ingestion.Account.getDefaultInstance() : account_; } /** * .cz.proto.ingestion.Account account = 11; */ @java.lang.Override public cz.proto.ingestion.Ingestion.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } 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(schemaName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, schemaName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, tableName_); } if (tableMeta_ != null) { output.writeMessage(3, getTableMeta()); } if (tabletNums_ != 0L) { output.writeInt64(4, tabletNums_); } if (tableType_ != cz.proto.ingestion.Ingestion.IGSTableType.NORMAL.getNumber()) { output.writeEnum(5, tableType_); } for (int i = 0; i < keyNames_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, keyNames_.getRaw(i)); } if (bucketsCount_ != 0L) { output.writeUInt64(7, bucketsCount_); } for (int i = 0; i < sortNames_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, sortNames_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, workspace_); } if (instanceId_ != 0L) { output.writeInt64(10, instanceId_); } if (account_ != null) { output.writeMessage(11, getAccount()); } 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(schemaName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, schemaName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tableName_); } if (tableMeta_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getTableMeta()); } if (tabletNums_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, tabletNums_); } if (tableType_ != cz.proto.ingestion.Ingestion.IGSTableType.NORMAL.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, tableType_); } { int dataSize = 0; for (int i = 0; i < keyNames_.size(); i++) { dataSize += computeStringSizeNoTag(keyNames_.getRaw(i)); } size += dataSize; size += 1 * getKeyNamesList().size(); } if (bucketsCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(7, bucketsCount_); } { int dataSize = 0; for (int i = 0; i < sortNames_.size(); i++) { dataSize += computeStringSizeNoTag(sortNames_.getRaw(i)); } size += dataSize; size += 1 * getSortNamesList().size(); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, workspace_); } if (instanceId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(10, instanceId_); } if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, getAccount()); } 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.Ingestion.ControllerCreateTabletRequest)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest other = (cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest) obj; if (!getSchemaName() .equals(other.getSchemaName())) return false; if (!getTableName() .equals(other.getTableName())) return false; if (hasTableMeta() != other.hasTableMeta()) return false; if (hasTableMeta()) { if (!getTableMeta() .equals(other.getTableMeta())) return false; } if (getTabletNums() != other.getTabletNums()) return false; if (tableType_ != other.tableType_) return false; if (!getKeyNamesList() .equals(other.getKeyNamesList())) return false; if (getBucketsCount() != other.getBucketsCount()) return false; if (!getSortNamesList() .equals(other.getSortNamesList())) return false; if (!getWorkspace() .equals(other.getWorkspace())) return false; if (getInstanceId() != other.getInstanceId()) return false; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) 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) + SCHEMA_NAME_FIELD_NUMBER; hash = (53 * hash) + getSchemaName().hashCode(); hash = (37 * hash) + TABLE_NAME_FIELD_NUMBER; hash = (53 * hash) + getTableName().hashCode(); if (hasTableMeta()) { hash = (37 * hash) + TABLE_META_FIELD_NUMBER; hash = (53 * hash) + getTableMeta().hashCode(); } hash = (37 * hash) + TABLET_NUMS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTabletNums()); hash = (37 * hash) + TABLE_TYPE_FIELD_NUMBER; hash = (53 * hash) + tableType_; if (getKeyNamesCount() > 0) { hash = (37 * hash) + KEY_NAMES_FIELD_NUMBER; hash = (53 * hash) + getKeyNamesList().hashCode(); } hash = (37 * hash) + BUCKETS_COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getBucketsCount()); if (getSortNamesCount() > 0) { hash = (37 * hash) + SORT_NAMES_FIELD_NUMBER; hash = (53 * hash) + getSortNamesList().hashCode(); } hash = (37 * hash) + WORKSPACE_FIELD_NUMBER; hash = (53 * hash) + getWorkspace().hashCode(); hash = (37 * hash) + INSTANCE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getInstanceId()); if (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest 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.Ingestion.ControllerCreateTabletRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest 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.Ingestion.ControllerCreateTabletRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest 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.Ingestion.ControllerCreateTabletRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest 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.Ingestion.ControllerCreateTabletRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest 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.Ingestion.ControllerCreateTabletRequest 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.ControllerCreateTabletRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.ControllerCreateTabletRequest) cz.proto.ingestion.Ingestion.ControllerCreateTabletRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_ControllerCreateTabletRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_ControllerCreateTabletRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest.class, cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest.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(); schemaName_ = ""; tableName_ = ""; if (tableMetaBuilder_ == null) { tableMeta_ = null; } else { tableMeta_ = null; tableMetaBuilder_ = null; } tabletNums_ = 0L; tableType_ = 0; keyNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); bucketsCount_ = 0L; sortNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); workspace_ = ""; instanceId_ = 0L; if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_ControllerCreateTabletRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest build() { cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest buildPartial() { cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest result = new cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest(this); int from_bitField0_ = bitField0_; result.schemaName_ = schemaName_; result.tableName_ = tableName_; if (tableMetaBuilder_ == null) { result.tableMeta_ = tableMeta_; } else { result.tableMeta_ = tableMetaBuilder_.build(); } result.tabletNums_ = tabletNums_; result.tableType_ = tableType_; if (((bitField0_ & 0x00000001) != 0)) { keyNames_ = keyNames_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.keyNames_ = keyNames_; result.bucketsCount_ = bucketsCount_; if (((bitField0_ & 0x00000002) != 0)) { sortNames_ = sortNames_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.sortNames_ = sortNames_; result.workspace_ = workspace_; result.instanceId_ = instanceId_; if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.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.Ingestion.ControllerCreateTabletRequest) { return mergeFrom((cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest other) { if (other == cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest.getDefaultInstance()) return this; if (!other.getSchemaName().isEmpty()) { schemaName_ = other.schemaName_; onChanged(); } if (!other.getTableName().isEmpty()) { tableName_ = other.tableName_; onChanged(); } if (other.hasTableMeta()) { mergeTableMeta(other.getTableMeta()); } if (other.getTabletNums() != 0L) { setTabletNums(other.getTabletNums()); } if (other.tableType_ != 0) { setTableTypeValue(other.getTableTypeValue()); } if (!other.keyNames_.isEmpty()) { if (keyNames_.isEmpty()) { keyNames_ = other.keyNames_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureKeyNamesIsMutable(); keyNames_.addAll(other.keyNames_); } onChanged(); } if (other.getBucketsCount() != 0L) { setBucketsCount(other.getBucketsCount()); } if (!other.sortNames_.isEmpty()) { if (sortNames_.isEmpty()) { sortNames_ = other.sortNames_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureSortNamesIsMutable(); sortNames_.addAll(other.sortNames_); } onChanged(); } if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); } if (other.getInstanceId() != 0L) { setInstanceId(other.getInstanceId()); } if (other.hasAccount()) { mergeAccount(other.getAccount()); } 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.Ingestion.ControllerCreateTabletRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object schemaName_ = ""; /** * string schema_name = 1; * @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 = 1; * @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 = 1; * @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 = 1; * @return This builder for chaining. */ public Builder clearSchemaName() { schemaName_ = getDefaultInstance().getSchemaName(); onChanged(); return this; } /** * string schema_name = 1; * @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 = 2; * @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 = 2; * @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 = 2; * @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 = 2; * @return This builder for chaining. */ public Builder clearTableName() { tableName_ = getDefaultInstance().getTableName(); onChanged(); return this; } /** * string table_name = 2; * @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; } private cz.proto.MetadataEntity.Entity tableMeta_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder> tableMetaBuilder_; /** * .cz.proto.Entity table_meta = 3; * @return Whether the tableMeta field is set. */ public boolean hasTableMeta() { return tableMetaBuilder_ != null || tableMeta_ != null; } /** * .cz.proto.Entity table_meta = 3; * @return The tableMeta. */ public cz.proto.MetadataEntity.Entity getTableMeta() { if (tableMetaBuilder_ == null) { return tableMeta_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : tableMeta_; } else { return tableMetaBuilder_.getMessage(); } } /** * .cz.proto.Entity table_meta = 3; */ public Builder setTableMeta(cz.proto.MetadataEntity.Entity value) { if (tableMetaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tableMeta_ = value; onChanged(); } else { tableMetaBuilder_.setMessage(value); } return this; } /** * .cz.proto.Entity table_meta = 3; */ public Builder setTableMeta( cz.proto.MetadataEntity.Entity.Builder builderForValue) { if (tableMetaBuilder_ == null) { tableMeta_ = builderForValue.build(); onChanged(); } else { tableMetaBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.Entity table_meta = 3; */ public Builder mergeTableMeta(cz.proto.MetadataEntity.Entity value) { if (tableMetaBuilder_ == null) { if (tableMeta_ != null) { tableMeta_ = cz.proto.MetadataEntity.Entity.newBuilder(tableMeta_).mergeFrom(value).buildPartial(); } else { tableMeta_ = value; } onChanged(); } else { tableMetaBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.Entity table_meta = 3; */ public Builder clearTableMeta() { if (tableMetaBuilder_ == null) { tableMeta_ = null; onChanged(); } else { tableMeta_ = null; tableMetaBuilder_ = null; } return this; } /** * .cz.proto.Entity table_meta = 3; */ public cz.proto.MetadataEntity.Entity.Builder getTableMetaBuilder() { onChanged(); return getTableMetaFieldBuilder().getBuilder(); } /** * .cz.proto.Entity table_meta = 3; */ public cz.proto.MetadataEntity.EntityOrBuilder getTableMetaOrBuilder() { if (tableMetaBuilder_ != null) { return tableMetaBuilder_.getMessageOrBuilder(); } else { return tableMeta_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : tableMeta_; } } /** * .cz.proto.Entity table_meta = 3; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder> getTableMetaFieldBuilder() { if (tableMetaBuilder_ == null) { tableMetaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder>( getTableMeta(), getParentForChildren(), isClean()); tableMeta_ = null; } return tableMetaBuilder_; } private long tabletNums_ ; /** * int64 tablet_nums = 4; * @return The tabletNums. */ @java.lang.Override public long getTabletNums() { return tabletNums_; } /** * int64 tablet_nums = 4; * @param value The tabletNums to set. * @return This builder for chaining. */ public Builder setTabletNums(long value) { tabletNums_ = value; onChanged(); return this; } /** * int64 tablet_nums = 4; * @return This builder for chaining. */ public Builder clearTabletNums() { tabletNums_ = 0L; onChanged(); return this; } private int tableType_ = 0; /** * .cz.proto.ingestion.IGSTableType table_type = 5; * @return The enum numeric value on the wire for tableType. */ @java.lang.Override public int getTableTypeValue() { return tableType_; } /** * .cz.proto.ingestion.IGSTableType table_type = 5; * @param value The enum numeric value on the wire for tableType to set. * @return This builder for chaining. */ public Builder setTableTypeValue(int value) { tableType_ = value; onChanged(); return this; } /** * .cz.proto.ingestion.IGSTableType table_type = 5; * @return The tableType. */ @java.lang.Override public cz.proto.ingestion.Ingestion.IGSTableType getTableType() { @SuppressWarnings("deprecation") cz.proto.ingestion.Ingestion.IGSTableType result = cz.proto.ingestion.Ingestion.IGSTableType.valueOf(tableType_); return result == null ? cz.proto.ingestion.Ingestion.IGSTableType.UNRECOGNIZED : result; } /** * .cz.proto.ingestion.IGSTableType table_type = 5; * @param value The tableType to set. * @return This builder for chaining. */ public Builder setTableType(cz.proto.ingestion.Ingestion.IGSTableType value) { if (value == null) { throw new NullPointerException(); } tableType_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.ingestion.IGSTableType table_type = 5; * @return This builder for chaining. */ public Builder clearTableType() { tableType_ = 0; onChanged(); return this; } private com.google.protobuf.LazyStringList keyNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureKeyNamesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { keyNames_ = new com.google.protobuf.LazyStringArrayList(keyNames_); bitField0_ |= 0x00000001; } } /** * repeated string key_names = 6; * @return A list containing the keyNames. */ public com.google.protobuf.ProtocolStringList getKeyNamesList() { return keyNames_.getUnmodifiableView(); } /** * repeated string key_names = 6; * @return The count of keyNames. */ public int getKeyNamesCount() { return keyNames_.size(); } /** * repeated string key_names = 6; * @param index The index of the element to return. * @return The keyNames at the given index. */ public java.lang.String getKeyNames(int index) { return keyNames_.get(index); } /** * repeated string key_names = 6; * @param index The index of the value to return. * @return The bytes of the keyNames at the given index. */ public com.google.protobuf.ByteString getKeyNamesBytes(int index) { return keyNames_.getByteString(index); } /** * repeated string key_names = 6; * @param index The index to set the value at. * @param value The keyNames to set. * @return This builder for chaining. */ public Builder setKeyNames( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureKeyNamesIsMutable(); keyNames_.set(index, value); onChanged(); return this; } /** * repeated string key_names = 6; * @param value The keyNames to add. * @return This builder for chaining. */ public Builder addKeyNames( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureKeyNamesIsMutable(); keyNames_.add(value); onChanged(); return this; } /** * repeated string key_names = 6; * @param values The keyNames to add. * @return This builder for chaining. */ public Builder addAllKeyNames( java.lang.Iterable values) { ensureKeyNamesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, keyNames_); onChanged(); return this; } /** * repeated string key_names = 6; * @return This builder for chaining. */ public Builder clearKeyNames() { keyNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string key_names = 6; * @param value The bytes of the keyNames to add. * @return This builder for chaining. */ public Builder addKeyNamesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureKeyNamesIsMutable(); keyNames_.add(value); onChanged(); return this; } private long bucketsCount_ ; /** * uint64 buckets_count = 7; * @return The bucketsCount. */ @java.lang.Override public long getBucketsCount() { return bucketsCount_; } /** * uint64 buckets_count = 7; * @param value The bucketsCount to set. * @return This builder for chaining. */ public Builder setBucketsCount(long value) { bucketsCount_ = value; onChanged(); return this; } /** * uint64 buckets_count = 7; * @return This builder for chaining. */ public Builder clearBucketsCount() { bucketsCount_ = 0L; onChanged(); return this; } private com.google.protobuf.LazyStringList sortNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSortNamesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { sortNames_ = new com.google.protobuf.LazyStringArrayList(sortNames_); bitField0_ |= 0x00000002; } } /** * repeated string sort_names = 8; * @return A list containing the sortNames. */ public com.google.protobuf.ProtocolStringList getSortNamesList() { return sortNames_.getUnmodifiableView(); } /** * repeated string sort_names = 8; * @return The count of sortNames. */ public int getSortNamesCount() { return sortNames_.size(); } /** * repeated string sort_names = 8; * @param index The index of the element to return. * @return The sortNames at the given index. */ public java.lang.String getSortNames(int index) { return sortNames_.get(index); } /** * repeated string sort_names = 8; * @param index The index of the value to return. * @return The bytes of the sortNames at the given index. */ public com.google.protobuf.ByteString getSortNamesBytes(int index) { return sortNames_.getByteString(index); } /** * repeated string sort_names = 8; * @param index The index to set the value at. * @param value The sortNames to set. * @return This builder for chaining. */ public Builder setSortNames( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSortNamesIsMutable(); sortNames_.set(index, value); onChanged(); return this; } /** * repeated string sort_names = 8; * @param value The sortNames to add. * @return This builder for chaining. */ public Builder addSortNames( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSortNamesIsMutable(); sortNames_.add(value); onChanged(); return this; } /** * repeated string sort_names = 8; * @param values The sortNames to add. * @return This builder for chaining. */ public Builder addAllSortNames( java.lang.Iterable values) { ensureSortNamesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, sortNames_); onChanged(); return this; } /** * repeated string sort_names = 8; * @return This builder for chaining. */ public Builder clearSortNames() { sortNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * repeated string sort_names = 8; * @param value The bytes of the sortNames to add. * @return This builder for chaining. */ public Builder addSortNamesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureSortNamesIsMutable(); sortNames_.add(value); onChanged(); return this; } private java.lang.Object workspace_ = ""; /** * string workspace = 9; * @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 = 9; * @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 = 9; * @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 = 9; * @return This builder for chaining. */ public Builder clearWorkspace() { workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** * string workspace = 9; * @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 long instanceId_ ; /** * int64 instance_id = 10; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } /** * int64 instance_id = 10; * @param value The instanceId to set. * @return This builder for chaining. */ public Builder setInstanceId(long value) { instanceId_ = value; onChanged(); return this; } /** * int64 instance_id = 10; * @return This builder for chaining. */ public Builder clearInstanceId() { instanceId_ = 0L; onChanged(); return this; } private cz.proto.ingestion.Ingestion.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.Account, cz.proto.ingestion.Ingestion.Account.Builder, cz.proto.ingestion.Ingestion.AccountOrBuilder> accountBuilder_; /** * .cz.proto.ingestion.Account account = 11; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.ingestion.Account account = 11; * @return The account. */ public cz.proto.ingestion.Ingestion.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.ingestion.Ingestion.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.ingestion.Account account = 11; */ public Builder setAccount(cz.proto.ingestion.Ingestion.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.Account account = 11; */ public Builder setAccount( cz.proto.ingestion.Ingestion.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.Account account = 11; */ public Builder mergeAccount(cz.proto.ingestion.Ingestion.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.ingestion.Ingestion.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.Account account = 11; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.ingestion.Account account = 11; */ public cz.proto.ingestion.Ingestion.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.Account account = 11; */ public cz.proto.ingestion.Ingestion.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.ingestion.Ingestion.Account.getDefaultInstance() : account_; } } /** * .cz.proto.ingestion.Account account = 11; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.Account, cz.proto.ingestion.Ingestion.Account.Builder, cz.proto.ingestion.Ingestion.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.Account, cz.proto.ingestion.Ingestion.Account.Builder, cz.proto.ingestion.Ingestion.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } @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.ControllerCreateTabletRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.ControllerCreateTabletRequest) private static final cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest(); } public static cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ControllerCreateTabletRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ControllerCreateTabletRequest(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.Ingestion.ControllerCreateTabletRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface WorkerCreateTabletRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.WorkerCreateTabletRequest) com.google.protobuf.MessageOrBuilder { /** * int64 tablet_id = 1; * @return The tabletId. */ long getTabletId(); /** * string schema_name = 2; * @return The schemaName. */ java.lang.String getSchemaName(); /** * string schema_name = 2; * @return The bytes for schemaName. */ com.google.protobuf.ByteString getSchemaNameBytes(); /** * string table_name = 3; * @return The tableName. */ java.lang.String getTableName(); /** * string table_name = 3; * @return The bytes for tableName. */ com.google.protobuf.ByteString getTableNameBytes(); /** * .kudu.SchemaPB tablet_meta = 4; * @return Whether the tabletMeta field is set. */ boolean hasTabletMeta(); /** * .kudu.SchemaPB tablet_meta = 4; * @return The tabletMeta. */ org.apache.kudu.KuduCommon.SchemaPB getTabletMeta(); /** * .kudu.SchemaPB tablet_meta = 4; */ org.apache.kudu.KuduCommon.SchemaPBOrBuilder getTabletMetaOrBuilder(); /** * int64 worker_id = 5; * @return The workerId. */ long getWorkerId(); /** * .cz.proto.Entity table_meta = 6; * @return Whether the tableMeta field is set. */ boolean hasTableMeta(); /** * .cz.proto.Entity table_meta = 6; * @return The tableMeta. */ cz.proto.MetadataEntity.Entity getTableMeta(); /** * .cz.proto.Entity table_meta = 6; */ cz.proto.MetadataEntity.EntityOrBuilder getTableMetaOrBuilder(); /** * string table_path = 7; * @return The tablePath. */ java.lang.String getTablePath(); /** * string table_path = 7; * @return The bytes for tablePath. */ com.google.protobuf.ByteString getTablePathBytes(); /** * .cz.proto.ingestion.IGSTableType table_type = 8; * @return The enum numeric value on the wire for tableType. */ int getTableTypeValue(); /** * .cz.proto.ingestion.IGSTableType table_type = 8; * @return The tableType. */ cz.proto.ingestion.Ingestion.IGSTableType getTableType(); /** * repeated string key_names = 9; * @return A list containing the keyNames. */ java.util.List getKeyNamesList(); /** * repeated string key_names = 9; * @return The count of keyNames. */ int getKeyNamesCount(); /** * repeated string key_names = 9; * @param index The index of the element to return. * @return The keyNames at the given index. */ java.lang.String getKeyNames(int index); /** * repeated string key_names = 9; * @param index The index of the value to return. * @return The bytes of the keyNames at the given index. */ com.google.protobuf.ByteString getKeyNamesBytes(int index); /** * repeated uint64 hash_range_list = 10; * @return A list containing the hashRangeList. */ java.util.List getHashRangeListList(); /** * repeated uint64 hash_range_list = 10; * @return The count of hashRangeList. */ int getHashRangeListCount(); /** * repeated uint64 hash_range_list = 10; * @param index The index of the element to return. * @return The hashRangeList at the given index. */ long getHashRangeList(int index); /** * repeated uint32 buckets_list = 11; * @return A list containing the bucketsList. */ java.util.List getBucketsListList(); /** * repeated uint32 buckets_list = 11; * @return The count of bucketsList. */ int getBucketsListCount(); /** * repeated uint32 buckets_list = 11; * @param index The index of the element to return. * @return The bucketsList at the given index. */ int getBucketsList(int index); /** * repeated string sort_names = 12; * @return A list containing the sortNames. */ java.util.List getSortNamesList(); /** * repeated string sort_names = 12; * @return The count of sortNames. */ int getSortNamesCount(); /** * repeated string sort_names = 12; * @param index The index of the element to return. * @return The sortNames at the given index. */ java.lang.String getSortNames(int index); /** * repeated string sort_names = 12; * @param index The index of the value to return. * @return The bytes of the sortNames at the given index. */ com.google.protobuf.ByteString getSortNamesBytes(int index); /** * string workspace = 13; * @return The workspace. */ java.lang.String getWorkspace(); /** * string workspace = 13; * @return The bytes for workspace. */ com.google.protobuf.ByteString getWorkspaceBytes(); /** * int64 instance_id = 14; * @return The instanceId. */ long getInstanceId(); /** * repeated .cz.proto.ingestion.PartitionColumnInfo partition_infos = 15; */ java.util.List getPartitionInfosList(); /** * repeated .cz.proto.ingestion.PartitionColumnInfo partition_infos = 15; */ cz.proto.ingestion.Ingestion.PartitionColumnInfo getPartitionInfos(int index); /** * repeated .cz.proto.ingestion.PartitionColumnInfo partition_infos = 15; */ int getPartitionInfosCount(); /** * repeated .cz.proto.ingestion.PartitionColumnInfo partition_infos = 15; */ java.util.List getPartitionInfosOrBuilderList(); /** * repeated .cz.proto.ingestion.PartitionColumnInfo partition_infos = 15; */ cz.proto.ingestion.Ingestion.PartitionColumnInfoOrBuilder getPartitionInfosOrBuilder( int index); /** * .cz.proto.Entity table_full_meta = 16; * @return Whether the tableFullMeta field is set. */ boolean hasTableFullMeta(); /** * .cz.proto.Entity table_full_meta = 16; * @return The tableFullMeta. */ cz.proto.MetadataEntity.Entity getTableFullMeta(); /** * .cz.proto.Entity table_full_meta = 16; */ cz.proto.MetadataEntity.EntityOrBuilder getTableFullMetaOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.WorkerCreateTabletRequest} */ public static final class WorkerCreateTabletRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.WorkerCreateTabletRequest) WorkerCreateTabletRequestOrBuilder { private static final long serialVersionUID = 0L; // Use WorkerCreateTabletRequest.newBuilder() to construct. private WorkerCreateTabletRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private WorkerCreateTabletRequest() { schemaName_ = ""; tableName_ = ""; tablePath_ = ""; tableType_ = 0; keyNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; hashRangeList_ = emptyLongList(); bucketsList_ = emptyIntList(); sortNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; workspace_ = ""; partitionInfos_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new WorkerCreateTabletRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private WorkerCreateTabletRequest( 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: { tabletId_ = input.readInt64(); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); schemaName_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); tableName_ = s; break; } case 34: { org.apache.kudu.KuduCommon.SchemaPB.Builder subBuilder = null; if (tabletMeta_ != null) { subBuilder = tabletMeta_.toBuilder(); } tabletMeta_ = input.readMessage(org.apache.kudu.KuduCommon.SchemaPB.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(tabletMeta_); tabletMeta_ = subBuilder.buildPartial(); } break; } case 40: { workerId_ = input.readInt64(); break; } case 50: { cz.proto.MetadataEntity.Entity.Builder subBuilder = null; if (tableMeta_ != null) { subBuilder = tableMeta_.toBuilder(); } tableMeta_ = input.readMessage(cz.proto.MetadataEntity.Entity.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(tableMeta_); tableMeta_ = subBuilder.buildPartial(); } break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); tablePath_ = s; break; } case 64: { int rawValue = input.readEnum(); tableType_ = rawValue; break; } case 74: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { keyNames_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } keyNames_.add(s); break; } case 80: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { hashRangeList_ = newLongList(); mutable_bitField0_ |= 0x00000002; } hashRangeList_.addLong(input.readUInt64()); break; } case 82: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000002) != 0) && input.getBytesUntilLimit() > 0) { hashRangeList_ = newLongList(); mutable_bitField0_ |= 0x00000002; } while (input.getBytesUntilLimit() > 0) { hashRangeList_.addLong(input.readUInt64()); } input.popLimit(limit); break; } case 88: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { bucketsList_ = newIntList(); mutable_bitField0_ |= 0x00000004; } bucketsList_.addInt(input.readUInt32()); break; } case 90: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000004) != 0) && input.getBytesUntilLimit() > 0) { bucketsList_ = newIntList(); mutable_bitField0_ |= 0x00000004; } while (input.getBytesUntilLimit() > 0) { bucketsList_.addInt(input.readUInt32()); } input.popLimit(limit); break; } case 98: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000008) != 0)) { sortNames_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000008; } sortNames_.add(s); break; } case 106: { java.lang.String s = input.readStringRequireUtf8(); workspace_ = s; break; } case 112: { instanceId_ = input.readInt64(); break; } case 122: { if (!((mutable_bitField0_ & 0x00000010) != 0)) { partitionInfos_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } partitionInfos_.add( input.readMessage(cz.proto.ingestion.Ingestion.PartitionColumnInfo.parser(), extensionRegistry)); break; } case 130: { cz.proto.MetadataEntity.Entity.Builder subBuilder = null; if (tableFullMeta_ != null) { subBuilder = tableFullMeta_.toBuilder(); } tableFullMeta_ = input.readMessage(cz.proto.MetadataEntity.Entity.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(tableFullMeta_); tableFullMeta_ = 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)) { keyNames_ = keyNames_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000002) != 0)) { hashRangeList_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000004) != 0)) { bucketsList_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000008) != 0)) { sortNames_ = sortNames_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000010) != 0)) { partitionInfos_ = java.util.Collections.unmodifiableList(partitionInfos_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_WorkerCreateTabletRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_WorkerCreateTabletRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.WorkerCreateTabletRequest.class, cz.proto.ingestion.Ingestion.WorkerCreateTabletRequest.Builder.class); } public static final int TABLET_ID_FIELD_NUMBER = 1; private long tabletId_; /** * int64 tablet_id = 1; * @return The tabletId. */ @java.lang.Override public long getTabletId() { return tabletId_; } public static final int SCHEMA_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object schemaName_; /** * string schema_name = 2; * @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 = 2; * @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 = 3; private volatile java.lang.Object tableName_; /** * string table_name = 3; * @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 = 3; * @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; } } public static final int TABLET_META_FIELD_NUMBER = 4; private org.apache.kudu.KuduCommon.SchemaPB tabletMeta_; /** * .kudu.SchemaPB tablet_meta = 4; * @return Whether the tabletMeta field is set. */ @java.lang.Override public boolean hasTabletMeta() { return tabletMeta_ != null; } /** * .kudu.SchemaPB tablet_meta = 4; * @return The tabletMeta. */ @java.lang.Override public org.apache.kudu.KuduCommon.SchemaPB getTabletMeta() { return tabletMeta_ == null ? org.apache.kudu.KuduCommon.SchemaPB.getDefaultInstance() : tabletMeta_; } /** * .kudu.SchemaPB tablet_meta = 4; */ @java.lang.Override public org.apache.kudu.KuduCommon.SchemaPBOrBuilder getTabletMetaOrBuilder() { return getTabletMeta(); } public static final int WORKER_ID_FIELD_NUMBER = 5; private long workerId_; /** * int64 worker_id = 5; * @return The workerId. */ @java.lang.Override public long getWorkerId() { return workerId_; } public static final int TABLE_META_FIELD_NUMBER = 6; private cz.proto.MetadataEntity.Entity tableMeta_; /** * .cz.proto.Entity table_meta = 6; * @return Whether the tableMeta field is set. */ @java.lang.Override public boolean hasTableMeta() { return tableMeta_ != null; } /** * .cz.proto.Entity table_meta = 6; * @return The tableMeta. */ @java.lang.Override public cz.proto.MetadataEntity.Entity getTableMeta() { return tableMeta_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : tableMeta_; } /** * .cz.proto.Entity table_meta = 6; */ @java.lang.Override public cz.proto.MetadataEntity.EntityOrBuilder getTableMetaOrBuilder() { return getTableMeta(); } public static final int TABLE_PATH_FIELD_NUMBER = 7; private volatile java.lang.Object tablePath_; /** * string table_path = 7; * @return The tablePath. */ @java.lang.Override public java.lang.String getTablePath() { java.lang.Object ref = tablePath_; 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(); tablePath_ = s; return s; } } /** * string table_path = 7; * @return The bytes for tablePath. */ @java.lang.Override public com.google.protobuf.ByteString getTablePathBytes() { java.lang.Object ref = tablePath_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tablePath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TABLE_TYPE_FIELD_NUMBER = 8; private int tableType_; /** * .cz.proto.ingestion.IGSTableType table_type = 8; * @return The enum numeric value on the wire for tableType. */ @java.lang.Override public int getTableTypeValue() { return tableType_; } /** * .cz.proto.ingestion.IGSTableType table_type = 8; * @return The tableType. */ @java.lang.Override public cz.proto.ingestion.Ingestion.IGSTableType getTableType() { @SuppressWarnings("deprecation") cz.proto.ingestion.Ingestion.IGSTableType result = cz.proto.ingestion.Ingestion.IGSTableType.valueOf(tableType_); return result == null ? cz.proto.ingestion.Ingestion.IGSTableType.UNRECOGNIZED : result; } public static final int KEY_NAMES_FIELD_NUMBER = 9; private com.google.protobuf.LazyStringList keyNames_; /** * repeated string key_names = 9; * @return A list containing the keyNames. */ public com.google.protobuf.ProtocolStringList getKeyNamesList() { return keyNames_; } /** * repeated string key_names = 9; * @return The count of keyNames. */ public int getKeyNamesCount() { return keyNames_.size(); } /** * repeated string key_names = 9; * @param index The index of the element to return. * @return The keyNames at the given index. */ public java.lang.String getKeyNames(int index) { return keyNames_.get(index); } /** * repeated string key_names = 9; * @param index The index of the value to return. * @return The bytes of the keyNames at the given index. */ public com.google.protobuf.ByteString getKeyNamesBytes(int index) { return keyNames_.getByteString(index); } public static final int HASH_RANGE_LIST_FIELD_NUMBER = 10; private com.google.protobuf.Internal.LongList hashRangeList_; /** * repeated uint64 hash_range_list = 10; * @return A list containing the hashRangeList. */ @java.lang.Override public java.util.List getHashRangeListList() { return hashRangeList_; } /** * repeated uint64 hash_range_list = 10; * @return The count of hashRangeList. */ public int getHashRangeListCount() { return hashRangeList_.size(); } /** * repeated uint64 hash_range_list = 10; * @param index The index of the element to return. * @return The hashRangeList at the given index. */ public long getHashRangeList(int index) { return hashRangeList_.getLong(index); } private int hashRangeListMemoizedSerializedSize = -1; public static final int BUCKETS_LIST_FIELD_NUMBER = 11; private com.google.protobuf.Internal.IntList bucketsList_; /** * repeated uint32 buckets_list = 11; * @return A list containing the bucketsList. */ @java.lang.Override public java.util.List getBucketsListList() { return bucketsList_; } /** * repeated uint32 buckets_list = 11; * @return The count of bucketsList. */ public int getBucketsListCount() { return bucketsList_.size(); } /** * repeated uint32 buckets_list = 11; * @param index The index of the element to return. * @return The bucketsList at the given index. */ public int getBucketsList(int index) { return bucketsList_.getInt(index); } private int bucketsListMemoizedSerializedSize = -1; public static final int SORT_NAMES_FIELD_NUMBER = 12; private com.google.protobuf.LazyStringList sortNames_; /** * repeated string sort_names = 12; * @return A list containing the sortNames. */ public com.google.protobuf.ProtocolStringList getSortNamesList() { return sortNames_; } /** * repeated string sort_names = 12; * @return The count of sortNames. */ public int getSortNamesCount() { return sortNames_.size(); } /** * repeated string sort_names = 12; * @param index The index of the element to return. * @return The sortNames at the given index. */ public java.lang.String getSortNames(int index) { return sortNames_.get(index); } /** * repeated string sort_names = 12; * @param index The index of the value to return. * @return The bytes of the sortNames at the given index. */ public com.google.protobuf.ByteString getSortNamesBytes(int index) { return sortNames_.getByteString(index); } public static final int WORKSPACE_FIELD_NUMBER = 13; private volatile java.lang.Object workspace_; /** * string workspace = 13; * @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 = 13; * @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 INSTANCE_ID_FIELD_NUMBER = 14; private long instanceId_; /** * int64 instance_id = 14; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } public static final int PARTITION_INFOS_FIELD_NUMBER = 15; private java.util.List partitionInfos_; /** * repeated .cz.proto.ingestion.PartitionColumnInfo partition_infos = 15; */ @java.lang.Override public java.util.List getPartitionInfosList() { return partitionInfos_; } /** * repeated .cz.proto.ingestion.PartitionColumnInfo partition_infos = 15; */ @java.lang.Override public java.util.List getPartitionInfosOrBuilderList() { return partitionInfos_; } /** * repeated .cz.proto.ingestion.PartitionColumnInfo partition_infos = 15; */ @java.lang.Override public int getPartitionInfosCount() { return partitionInfos_.size(); } /** * repeated .cz.proto.ingestion.PartitionColumnInfo partition_infos = 15; */ @java.lang.Override public cz.proto.ingestion.Ingestion.PartitionColumnInfo getPartitionInfos(int index) { return partitionInfos_.get(index); } /** * repeated .cz.proto.ingestion.PartitionColumnInfo partition_infos = 15; */ @java.lang.Override public cz.proto.ingestion.Ingestion.PartitionColumnInfoOrBuilder getPartitionInfosOrBuilder( int index) { return partitionInfos_.get(index); } public static final int TABLE_FULL_META_FIELD_NUMBER = 16; private cz.proto.MetadataEntity.Entity tableFullMeta_; /** * .cz.proto.Entity table_full_meta = 16; * @return Whether the tableFullMeta field is set. */ @java.lang.Override public boolean hasTableFullMeta() { return tableFullMeta_ != null; } /** * .cz.proto.Entity table_full_meta = 16; * @return The tableFullMeta. */ @java.lang.Override public cz.proto.MetadataEntity.Entity getTableFullMeta() { return tableFullMeta_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : tableFullMeta_; } /** * .cz.proto.Entity table_full_meta = 16; */ @java.lang.Override public cz.proto.MetadataEntity.EntityOrBuilder getTableFullMetaOrBuilder() { return getTableFullMeta(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (hasTabletMeta()) { if (!getTabletMeta().isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (tabletId_ != 0L) { output.writeInt64(1, tabletId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, schemaName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tableName_); } if (tabletMeta_ != null) { output.writeMessage(4, getTabletMeta()); } if (workerId_ != 0L) { output.writeInt64(5, workerId_); } if (tableMeta_ != null) { output.writeMessage(6, getTableMeta()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tablePath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, tablePath_); } if (tableType_ != cz.proto.ingestion.Ingestion.IGSTableType.NORMAL.getNumber()) { output.writeEnum(8, tableType_); } for (int i = 0; i < keyNames_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, keyNames_.getRaw(i)); } if (getHashRangeListList().size() > 0) { output.writeUInt32NoTag(82); output.writeUInt32NoTag(hashRangeListMemoizedSerializedSize); } for (int i = 0; i < hashRangeList_.size(); i++) { output.writeUInt64NoTag(hashRangeList_.getLong(i)); } if (getBucketsListList().size() > 0) { output.writeUInt32NoTag(90); output.writeUInt32NoTag(bucketsListMemoizedSerializedSize); } for (int i = 0; i < bucketsList_.size(); i++) { output.writeUInt32NoTag(bucketsList_.getInt(i)); } for (int i = 0; i < sortNames_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, sortNames_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, workspace_); } if (instanceId_ != 0L) { output.writeInt64(14, instanceId_); } for (int i = 0; i < partitionInfos_.size(); i++) { output.writeMessage(15, partitionInfos_.get(i)); } if (tableFullMeta_ != null) { output.writeMessage(16, getTableFullMeta()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (tabletId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, tabletId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, schemaName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tableName_); } if (tabletMeta_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getTabletMeta()); } if (workerId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, workerId_); } if (tableMeta_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getTableMeta()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tablePath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, tablePath_); } if (tableType_ != cz.proto.ingestion.Ingestion.IGSTableType.NORMAL.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(8, tableType_); } { int dataSize = 0; for (int i = 0; i < keyNames_.size(); i++) { dataSize += computeStringSizeNoTag(keyNames_.getRaw(i)); } size += dataSize; size += 1 * getKeyNamesList().size(); } { int dataSize = 0; for (int i = 0; i < hashRangeList_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt64SizeNoTag(hashRangeList_.getLong(i)); } size += dataSize; if (!getHashRangeListList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } hashRangeListMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < bucketsList_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(bucketsList_.getInt(i)); } size += dataSize; if (!getBucketsListList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } bucketsListMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < sortNames_.size(); i++) { dataSize += computeStringSizeNoTag(sortNames_.getRaw(i)); } size += dataSize; size += 1 * getSortNamesList().size(); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, workspace_); } if (instanceId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(14, instanceId_); } for (int i = 0; i < partitionInfos_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, partitionInfos_.get(i)); } if (tableFullMeta_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, getTableFullMeta()); } 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.Ingestion.WorkerCreateTabletRequest)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.WorkerCreateTabletRequest other = (cz.proto.ingestion.Ingestion.WorkerCreateTabletRequest) obj; if (getTabletId() != other.getTabletId()) return false; if (!getSchemaName() .equals(other.getSchemaName())) return false; if (!getTableName() .equals(other.getTableName())) return false; if (hasTabletMeta() != other.hasTabletMeta()) return false; if (hasTabletMeta()) { if (!getTabletMeta() .equals(other.getTabletMeta())) return false; } if (getWorkerId() != other.getWorkerId()) return false; if (hasTableMeta() != other.hasTableMeta()) return false; if (hasTableMeta()) { if (!getTableMeta() .equals(other.getTableMeta())) return false; } if (!getTablePath() .equals(other.getTablePath())) return false; if (tableType_ != other.tableType_) return false; if (!getKeyNamesList() .equals(other.getKeyNamesList())) return false; if (!getHashRangeListList() .equals(other.getHashRangeListList())) return false; if (!getBucketsListList() .equals(other.getBucketsListList())) return false; if (!getSortNamesList() .equals(other.getSortNamesList())) return false; if (!getWorkspace() .equals(other.getWorkspace())) return false; if (getInstanceId() != other.getInstanceId()) return false; if (!getPartitionInfosList() .equals(other.getPartitionInfosList())) return false; if (hasTableFullMeta() != other.hasTableFullMeta()) return false; if (hasTableFullMeta()) { if (!getTableFullMeta() .equals(other.getTableFullMeta())) 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) + TABLET_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTabletId()); hash = (37 * hash) + SCHEMA_NAME_FIELD_NUMBER; hash = (53 * hash) + getSchemaName().hashCode(); hash = (37 * hash) + TABLE_NAME_FIELD_NUMBER; hash = (53 * hash) + getTableName().hashCode(); if (hasTabletMeta()) { hash = (37 * hash) + TABLET_META_FIELD_NUMBER; hash = (53 * hash) + getTabletMeta().hashCode(); } hash = (37 * hash) + WORKER_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getWorkerId()); if (hasTableMeta()) { hash = (37 * hash) + TABLE_META_FIELD_NUMBER; hash = (53 * hash) + getTableMeta().hashCode(); } hash = (37 * hash) + TABLE_PATH_FIELD_NUMBER; hash = (53 * hash) + getTablePath().hashCode(); hash = (37 * hash) + TABLE_TYPE_FIELD_NUMBER; hash = (53 * hash) + tableType_; if (getKeyNamesCount() > 0) { hash = (37 * hash) + KEY_NAMES_FIELD_NUMBER; hash = (53 * hash) + getKeyNamesList().hashCode(); } if (getHashRangeListCount() > 0) { hash = (37 * hash) + HASH_RANGE_LIST_FIELD_NUMBER; hash = (53 * hash) + getHashRangeListList().hashCode(); } if (getBucketsListCount() > 0) { hash = (37 * hash) + BUCKETS_LIST_FIELD_NUMBER; hash = (53 * hash) + getBucketsListList().hashCode(); } if (getSortNamesCount() > 0) { hash = (37 * hash) + SORT_NAMES_FIELD_NUMBER; hash = (53 * hash) + getSortNamesList().hashCode(); } hash = (37 * hash) + WORKSPACE_FIELD_NUMBER; hash = (53 * hash) + getWorkspace().hashCode(); hash = (37 * hash) + INSTANCE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getInstanceId()); if (getPartitionInfosCount() > 0) { hash = (37 * hash) + PARTITION_INFOS_FIELD_NUMBER; hash = (53 * hash) + getPartitionInfosList().hashCode(); } if (hasTableFullMeta()) { hash = (37 * hash) + TABLE_FULL_META_FIELD_NUMBER; hash = (53 * hash) + getTableFullMeta().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.Ingestion.WorkerCreateTabletRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.WorkerCreateTabletRequest 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.Ingestion.WorkerCreateTabletRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.WorkerCreateTabletRequest 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.Ingestion.WorkerCreateTabletRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.WorkerCreateTabletRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.WorkerCreateTabletRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.WorkerCreateTabletRequest 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.Ingestion.WorkerCreateTabletRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.WorkerCreateTabletRequest 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.Ingestion.WorkerCreateTabletRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.WorkerCreateTabletRequest 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.Ingestion.WorkerCreateTabletRequest 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.WorkerCreateTabletRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.WorkerCreateTabletRequest) cz.proto.ingestion.Ingestion.WorkerCreateTabletRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_WorkerCreateTabletRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_WorkerCreateTabletRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.WorkerCreateTabletRequest.class, cz.proto.ingestion.Ingestion.WorkerCreateTabletRequest.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.WorkerCreateTabletRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getPartitionInfosFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); tabletId_ = 0L; schemaName_ = ""; tableName_ = ""; if (tabletMetaBuilder_ == null) { tabletMeta_ = null; } else { tabletMeta_ = null; tabletMetaBuilder_ = null; } workerId_ = 0L; if (tableMetaBuilder_ == null) { tableMeta_ = null; } else { tableMeta_ = null; tableMetaBuilder_ = null; } tablePath_ = ""; tableType_ = 0; keyNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); hashRangeList_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000002); bucketsList_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000004); sortNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000008); workspace_ = ""; instanceId_ = 0L; if (partitionInfosBuilder_ == null) { partitionInfos_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { partitionInfosBuilder_.clear(); } if (tableFullMetaBuilder_ == null) { tableFullMeta_ = null; } else { tableFullMeta_ = null; tableFullMetaBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_WorkerCreateTabletRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.WorkerCreateTabletRequest getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.WorkerCreateTabletRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.WorkerCreateTabletRequest build() { cz.proto.ingestion.Ingestion.WorkerCreateTabletRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.WorkerCreateTabletRequest buildPartial() { cz.proto.ingestion.Ingestion.WorkerCreateTabletRequest result = new cz.proto.ingestion.Ingestion.WorkerCreateTabletRequest(this); int from_bitField0_ = bitField0_; result.tabletId_ = tabletId_; result.schemaName_ = schemaName_; result.tableName_ = tableName_; if (tabletMetaBuilder_ == null) { result.tabletMeta_ = tabletMeta_; } else { result.tabletMeta_ = tabletMetaBuilder_.build(); } result.workerId_ = workerId_; if (tableMetaBuilder_ == null) { result.tableMeta_ = tableMeta_; } else { result.tableMeta_ = tableMetaBuilder_.build(); } result.tablePath_ = tablePath_; result.tableType_ = tableType_; if (((bitField0_ & 0x00000001) != 0)) { keyNames_ = keyNames_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.keyNames_ = keyNames_; if (((bitField0_ & 0x00000002) != 0)) { hashRangeList_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000002); } result.hashRangeList_ = hashRangeList_; if (((bitField0_ & 0x00000004) != 0)) { bucketsList_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000004); } result.bucketsList_ = bucketsList_; if (((bitField0_ & 0x00000008) != 0)) { sortNames_ = sortNames_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000008); } result.sortNames_ = sortNames_; result.workspace_ = workspace_; result.instanceId_ = instanceId_; if (partitionInfosBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { partitionInfos_ = java.util.Collections.unmodifiableList(partitionInfos_); bitField0_ = (bitField0_ & ~0x00000010); } result.partitionInfos_ = partitionInfos_; } else { result.partitionInfos_ = partitionInfosBuilder_.build(); } if (tableFullMetaBuilder_ == null) { result.tableFullMeta_ = tableFullMeta_; } else { result.tableFullMeta_ = tableFullMetaBuilder_.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.Ingestion.WorkerCreateTabletRequest) { return mergeFrom((cz.proto.ingestion.Ingestion.WorkerCreateTabletRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.WorkerCreateTabletRequest other) { if (other == cz.proto.ingestion.Ingestion.WorkerCreateTabletRequest.getDefaultInstance()) return this; if (other.getTabletId() != 0L) { setTabletId(other.getTabletId()); } if (!other.getSchemaName().isEmpty()) { schemaName_ = other.schemaName_; onChanged(); } if (!other.getTableName().isEmpty()) { tableName_ = other.tableName_; onChanged(); } if (other.hasTabletMeta()) { mergeTabletMeta(other.getTabletMeta()); } if (other.getWorkerId() != 0L) { setWorkerId(other.getWorkerId()); } if (other.hasTableMeta()) { mergeTableMeta(other.getTableMeta()); } if (!other.getTablePath().isEmpty()) { tablePath_ = other.tablePath_; onChanged(); } if (other.tableType_ != 0) { setTableTypeValue(other.getTableTypeValue()); } if (!other.keyNames_.isEmpty()) { if (keyNames_.isEmpty()) { keyNames_ = other.keyNames_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureKeyNamesIsMutable(); keyNames_.addAll(other.keyNames_); } onChanged(); } if (!other.hashRangeList_.isEmpty()) { if (hashRangeList_.isEmpty()) { hashRangeList_ = other.hashRangeList_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureHashRangeListIsMutable(); hashRangeList_.addAll(other.hashRangeList_); } onChanged(); } if (!other.bucketsList_.isEmpty()) { if (bucketsList_.isEmpty()) { bucketsList_ = other.bucketsList_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureBucketsListIsMutable(); bucketsList_.addAll(other.bucketsList_); } onChanged(); } if (!other.sortNames_.isEmpty()) { if (sortNames_.isEmpty()) { sortNames_ = other.sortNames_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureSortNamesIsMutable(); sortNames_.addAll(other.sortNames_); } onChanged(); } if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); } if (other.getInstanceId() != 0L) { setInstanceId(other.getInstanceId()); } if (partitionInfosBuilder_ == null) { if (!other.partitionInfos_.isEmpty()) { if (partitionInfos_.isEmpty()) { partitionInfos_ = other.partitionInfos_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensurePartitionInfosIsMutable(); partitionInfos_.addAll(other.partitionInfos_); } onChanged(); } } else { if (!other.partitionInfos_.isEmpty()) { if (partitionInfosBuilder_.isEmpty()) { partitionInfosBuilder_.dispose(); partitionInfosBuilder_ = null; partitionInfos_ = other.partitionInfos_; bitField0_ = (bitField0_ & ~0x00000010); partitionInfosBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPartitionInfosFieldBuilder() : null; } else { partitionInfosBuilder_.addAllMessages(other.partitionInfos_); } } } if (other.hasTableFullMeta()) { mergeTableFullMeta(other.getTableFullMeta()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (hasTabletMeta()) { if (!getTabletMeta().isInitialized()) { return false; } } 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.Ingestion.WorkerCreateTabletRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.WorkerCreateTabletRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long tabletId_ ; /** * int64 tablet_id = 1; * @return The tabletId. */ @java.lang.Override public long getTabletId() { return tabletId_; } /** * int64 tablet_id = 1; * @param value The tabletId to set. * @return This builder for chaining. */ public Builder setTabletId(long value) { tabletId_ = value; onChanged(); return this; } /** * int64 tablet_id = 1; * @return This builder for chaining. */ public Builder clearTabletId() { tabletId_ = 0L; onChanged(); return this; } private java.lang.Object schemaName_ = ""; /** * string schema_name = 2; * @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 = 2; * @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 = 2; * @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 = 2; * @return This builder for chaining. */ public Builder clearSchemaName() { schemaName_ = getDefaultInstance().getSchemaName(); onChanged(); return this; } /** * string schema_name = 2; * @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 = 3; * @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 = 3; * @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 = 3; * @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 = 3; * @return This builder for chaining. */ public Builder clearTableName() { tableName_ = getDefaultInstance().getTableName(); onChanged(); return this; } /** * string table_name = 3; * @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; } private org.apache.kudu.KuduCommon.SchemaPB tabletMeta_; private com.google.protobuf.SingleFieldBuilderV3< org.apache.kudu.KuduCommon.SchemaPB, org.apache.kudu.KuduCommon.SchemaPB.Builder, org.apache.kudu.KuduCommon.SchemaPBOrBuilder> tabletMetaBuilder_; /** * .kudu.SchemaPB tablet_meta = 4; * @return Whether the tabletMeta field is set. */ public boolean hasTabletMeta() { return tabletMetaBuilder_ != null || tabletMeta_ != null; } /** * .kudu.SchemaPB tablet_meta = 4; * @return The tabletMeta. */ public org.apache.kudu.KuduCommon.SchemaPB getTabletMeta() { if (tabletMetaBuilder_ == null) { return tabletMeta_ == null ? org.apache.kudu.KuduCommon.SchemaPB.getDefaultInstance() : tabletMeta_; } else { return tabletMetaBuilder_.getMessage(); } } /** * .kudu.SchemaPB tablet_meta = 4; */ public Builder setTabletMeta(org.apache.kudu.KuduCommon.SchemaPB value) { if (tabletMetaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tabletMeta_ = value; onChanged(); } else { tabletMetaBuilder_.setMessage(value); } return this; } /** * .kudu.SchemaPB tablet_meta = 4; */ public Builder setTabletMeta( org.apache.kudu.KuduCommon.SchemaPB.Builder builderForValue) { if (tabletMetaBuilder_ == null) { tabletMeta_ = builderForValue.build(); onChanged(); } else { tabletMetaBuilder_.setMessage(builderForValue.build()); } return this; } /** * .kudu.SchemaPB tablet_meta = 4; */ public Builder mergeTabletMeta(org.apache.kudu.KuduCommon.SchemaPB value) { if (tabletMetaBuilder_ == null) { if (tabletMeta_ != null) { tabletMeta_ = org.apache.kudu.KuduCommon.SchemaPB.newBuilder(tabletMeta_).mergeFrom(value).buildPartial(); } else { tabletMeta_ = value; } onChanged(); } else { tabletMetaBuilder_.mergeFrom(value); } return this; } /** * .kudu.SchemaPB tablet_meta = 4; */ public Builder clearTabletMeta() { if (tabletMetaBuilder_ == null) { tabletMeta_ = null; onChanged(); } else { tabletMeta_ = null; tabletMetaBuilder_ = null; } return this; } /** * .kudu.SchemaPB tablet_meta = 4; */ public org.apache.kudu.KuduCommon.SchemaPB.Builder getTabletMetaBuilder() { onChanged(); return getTabletMetaFieldBuilder().getBuilder(); } /** * .kudu.SchemaPB tablet_meta = 4; */ public org.apache.kudu.KuduCommon.SchemaPBOrBuilder getTabletMetaOrBuilder() { if (tabletMetaBuilder_ != null) { return tabletMetaBuilder_.getMessageOrBuilder(); } else { return tabletMeta_ == null ? org.apache.kudu.KuduCommon.SchemaPB.getDefaultInstance() : tabletMeta_; } } /** * .kudu.SchemaPB tablet_meta = 4; */ private com.google.protobuf.SingleFieldBuilderV3< org.apache.kudu.KuduCommon.SchemaPB, org.apache.kudu.KuduCommon.SchemaPB.Builder, org.apache.kudu.KuduCommon.SchemaPBOrBuilder> getTabletMetaFieldBuilder() { if (tabletMetaBuilder_ == null) { tabletMetaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.apache.kudu.KuduCommon.SchemaPB, org.apache.kudu.KuduCommon.SchemaPB.Builder, org.apache.kudu.KuduCommon.SchemaPBOrBuilder>( getTabletMeta(), getParentForChildren(), isClean()); tabletMeta_ = null; } return tabletMetaBuilder_; } private long workerId_ ; /** * int64 worker_id = 5; * @return The workerId. */ @java.lang.Override public long getWorkerId() { return workerId_; } /** * int64 worker_id = 5; * @param value The workerId to set. * @return This builder for chaining. */ public Builder setWorkerId(long value) { workerId_ = value; onChanged(); return this; } /** * int64 worker_id = 5; * @return This builder for chaining. */ public Builder clearWorkerId() { workerId_ = 0L; onChanged(); return this; } private cz.proto.MetadataEntity.Entity tableMeta_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder> tableMetaBuilder_; /** * .cz.proto.Entity table_meta = 6; * @return Whether the tableMeta field is set. */ public boolean hasTableMeta() { return tableMetaBuilder_ != null || tableMeta_ != null; } /** * .cz.proto.Entity table_meta = 6; * @return The tableMeta. */ public cz.proto.MetadataEntity.Entity getTableMeta() { if (tableMetaBuilder_ == null) { return tableMeta_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : tableMeta_; } else { return tableMetaBuilder_.getMessage(); } } /** * .cz.proto.Entity table_meta = 6; */ public Builder setTableMeta(cz.proto.MetadataEntity.Entity value) { if (tableMetaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tableMeta_ = value; onChanged(); } else { tableMetaBuilder_.setMessage(value); } return this; } /** * .cz.proto.Entity table_meta = 6; */ public Builder setTableMeta( cz.proto.MetadataEntity.Entity.Builder builderForValue) { if (tableMetaBuilder_ == null) { tableMeta_ = builderForValue.build(); onChanged(); } else { tableMetaBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.Entity table_meta = 6; */ public Builder mergeTableMeta(cz.proto.MetadataEntity.Entity value) { if (tableMetaBuilder_ == null) { if (tableMeta_ != null) { tableMeta_ = cz.proto.MetadataEntity.Entity.newBuilder(tableMeta_).mergeFrom(value).buildPartial(); } else { tableMeta_ = value; } onChanged(); } else { tableMetaBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.Entity table_meta = 6; */ public Builder clearTableMeta() { if (tableMetaBuilder_ == null) { tableMeta_ = null; onChanged(); } else { tableMeta_ = null; tableMetaBuilder_ = null; } return this; } /** * .cz.proto.Entity table_meta = 6; */ public cz.proto.MetadataEntity.Entity.Builder getTableMetaBuilder() { onChanged(); return getTableMetaFieldBuilder().getBuilder(); } /** * .cz.proto.Entity table_meta = 6; */ public cz.proto.MetadataEntity.EntityOrBuilder getTableMetaOrBuilder() { if (tableMetaBuilder_ != null) { return tableMetaBuilder_.getMessageOrBuilder(); } else { return tableMeta_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : tableMeta_; } } /** * .cz.proto.Entity table_meta = 6; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder> getTableMetaFieldBuilder() { if (tableMetaBuilder_ == null) { tableMetaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder>( getTableMeta(), getParentForChildren(), isClean()); tableMeta_ = null; } return tableMetaBuilder_; } private java.lang.Object tablePath_ = ""; /** * string table_path = 7; * @return The tablePath. */ public java.lang.String getTablePath() { java.lang.Object ref = tablePath_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tablePath_ = s; return s; } else { return (java.lang.String) ref; } } /** * string table_path = 7; * @return The bytes for tablePath. */ public com.google.protobuf.ByteString getTablePathBytes() { java.lang.Object ref = tablePath_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); tablePath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string table_path = 7; * @param value The tablePath to set. * @return This builder for chaining. */ public Builder setTablePath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } tablePath_ = value; onChanged(); return this; } /** * string table_path = 7; * @return This builder for chaining. */ public Builder clearTablePath() { tablePath_ = getDefaultInstance().getTablePath(); onChanged(); return this; } /** * string table_path = 7; * @param value The bytes for tablePath to set. * @return This builder for chaining. */ public Builder setTablePathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tablePath_ = value; onChanged(); return this; } private int tableType_ = 0; /** * .cz.proto.ingestion.IGSTableType table_type = 8; * @return The enum numeric value on the wire for tableType. */ @java.lang.Override public int getTableTypeValue() { return tableType_; } /** * .cz.proto.ingestion.IGSTableType table_type = 8; * @param value The enum numeric value on the wire for tableType to set. * @return This builder for chaining. */ public Builder setTableTypeValue(int value) { tableType_ = value; onChanged(); return this; } /** * .cz.proto.ingestion.IGSTableType table_type = 8; * @return The tableType. */ @java.lang.Override public cz.proto.ingestion.Ingestion.IGSTableType getTableType() { @SuppressWarnings("deprecation") cz.proto.ingestion.Ingestion.IGSTableType result = cz.proto.ingestion.Ingestion.IGSTableType.valueOf(tableType_); return result == null ? cz.proto.ingestion.Ingestion.IGSTableType.UNRECOGNIZED : result; } /** * .cz.proto.ingestion.IGSTableType table_type = 8; * @param value The tableType to set. * @return This builder for chaining. */ public Builder setTableType(cz.proto.ingestion.Ingestion.IGSTableType value) { if (value == null) { throw new NullPointerException(); } tableType_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.ingestion.IGSTableType table_type = 8; * @return This builder for chaining. */ public Builder clearTableType() { tableType_ = 0; onChanged(); return this; } private com.google.protobuf.LazyStringList keyNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureKeyNamesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { keyNames_ = new com.google.protobuf.LazyStringArrayList(keyNames_); bitField0_ |= 0x00000001; } } /** * repeated string key_names = 9; * @return A list containing the keyNames. */ public com.google.protobuf.ProtocolStringList getKeyNamesList() { return keyNames_.getUnmodifiableView(); } /** * repeated string key_names = 9; * @return The count of keyNames. */ public int getKeyNamesCount() { return keyNames_.size(); } /** * repeated string key_names = 9; * @param index The index of the element to return. * @return The keyNames at the given index. */ public java.lang.String getKeyNames(int index) { return keyNames_.get(index); } /** * repeated string key_names = 9; * @param index The index of the value to return. * @return The bytes of the keyNames at the given index. */ public com.google.protobuf.ByteString getKeyNamesBytes(int index) { return keyNames_.getByteString(index); } /** * repeated string key_names = 9; * @param index The index to set the value at. * @param value The keyNames to set. * @return This builder for chaining. */ public Builder setKeyNames( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureKeyNamesIsMutable(); keyNames_.set(index, value); onChanged(); return this; } /** * repeated string key_names = 9; * @param value The keyNames to add. * @return This builder for chaining. */ public Builder addKeyNames( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureKeyNamesIsMutable(); keyNames_.add(value); onChanged(); return this; } /** * repeated string key_names = 9; * @param values The keyNames to add. * @return This builder for chaining. */ public Builder addAllKeyNames( java.lang.Iterable values) { ensureKeyNamesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, keyNames_); onChanged(); return this; } /** * repeated string key_names = 9; * @return This builder for chaining. */ public Builder clearKeyNames() { keyNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string key_names = 9; * @param value The bytes of the keyNames to add. * @return This builder for chaining. */ public Builder addKeyNamesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureKeyNamesIsMutable(); keyNames_.add(value); onChanged(); return this; } private com.google.protobuf.Internal.LongList hashRangeList_ = emptyLongList(); private void ensureHashRangeListIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { hashRangeList_ = mutableCopy(hashRangeList_); bitField0_ |= 0x00000002; } } /** * repeated uint64 hash_range_list = 10; * @return A list containing the hashRangeList. */ public java.util.List getHashRangeListList() { return ((bitField0_ & 0x00000002) != 0) ? java.util.Collections.unmodifiableList(hashRangeList_) : hashRangeList_; } /** * repeated uint64 hash_range_list = 10; * @return The count of hashRangeList. */ public int getHashRangeListCount() { return hashRangeList_.size(); } /** * repeated uint64 hash_range_list = 10; * @param index The index of the element to return. * @return The hashRangeList at the given index. */ public long getHashRangeList(int index) { return hashRangeList_.getLong(index); } /** * repeated uint64 hash_range_list = 10; * @param index The index to set the value at. * @param value The hashRangeList to set. * @return This builder for chaining. */ public Builder setHashRangeList( int index, long value) { ensureHashRangeListIsMutable(); hashRangeList_.setLong(index, value); onChanged(); return this; } /** * repeated uint64 hash_range_list = 10; * @param value The hashRangeList to add. * @return This builder for chaining. */ public Builder addHashRangeList(long value) { ensureHashRangeListIsMutable(); hashRangeList_.addLong(value); onChanged(); return this; } /** * repeated uint64 hash_range_list = 10; * @param values The hashRangeList to add. * @return This builder for chaining. */ public Builder addAllHashRangeList( java.lang.Iterable values) { ensureHashRangeListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, hashRangeList_); onChanged(); return this; } /** * repeated uint64 hash_range_list = 10; * @return This builder for chaining. */ public Builder clearHashRangeList() { hashRangeList_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } private com.google.protobuf.Internal.IntList bucketsList_ = emptyIntList(); private void ensureBucketsListIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { bucketsList_ = mutableCopy(bucketsList_); bitField0_ |= 0x00000004; } } /** * repeated uint32 buckets_list = 11; * @return A list containing the bucketsList. */ public java.util.List getBucketsListList() { return ((bitField0_ & 0x00000004) != 0) ? java.util.Collections.unmodifiableList(bucketsList_) : bucketsList_; } /** * repeated uint32 buckets_list = 11; * @return The count of bucketsList. */ public int getBucketsListCount() { return bucketsList_.size(); } /** * repeated uint32 buckets_list = 11; * @param index The index of the element to return. * @return The bucketsList at the given index. */ public int getBucketsList(int index) { return bucketsList_.getInt(index); } /** * repeated uint32 buckets_list = 11; * @param index The index to set the value at. * @param value The bucketsList to set. * @return This builder for chaining. */ public Builder setBucketsList( int index, int value) { ensureBucketsListIsMutable(); bucketsList_.setInt(index, value); onChanged(); return this; } /** * repeated uint32 buckets_list = 11; * @param value The bucketsList to add. * @return This builder for chaining. */ public Builder addBucketsList(int value) { ensureBucketsListIsMutable(); bucketsList_.addInt(value); onChanged(); return this; } /** * repeated uint32 buckets_list = 11; * @param values The bucketsList to add. * @return This builder for chaining. */ public Builder addAllBucketsList( java.lang.Iterable values) { ensureBucketsListIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, bucketsList_); onChanged(); return this; } /** * repeated uint32 buckets_list = 11; * @return This builder for chaining. */ public Builder clearBucketsList() { bucketsList_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } private com.google.protobuf.LazyStringList sortNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSortNamesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { sortNames_ = new com.google.protobuf.LazyStringArrayList(sortNames_); bitField0_ |= 0x00000008; } } /** * repeated string sort_names = 12; * @return A list containing the sortNames. */ public com.google.protobuf.ProtocolStringList getSortNamesList() { return sortNames_.getUnmodifiableView(); } /** * repeated string sort_names = 12; * @return The count of sortNames. */ public int getSortNamesCount() { return sortNames_.size(); } /** * repeated string sort_names = 12; * @param index The index of the element to return. * @return The sortNames at the given index. */ public java.lang.String getSortNames(int index) { return sortNames_.get(index); } /** * repeated string sort_names = 12; * @param index The index of the value to return. * @return The bytes of the sortNames at the given index. */ public com.google.protobuf.ByteString getSortNamesBytes(int index) { return sortNames_.getByteString(index); } /** * repeated string sort_names = 12; * @param index The index to set the value at. * @param value The sortNames to set. * @return This builder for chaining. */ public Builder setSortNames( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSortNamesIsMutable(); sortNames_.set(index, value); onChanged(); return this; } /** * repeated string sort_names = 12; * @param value The sortNames to add. * @return This builder for chaining. */ public Builder addSortNames( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSortNamesIsMutable(); sortNames_.add(value); onChanged(); return this; } /** * repeated string sort_names = 12; * @param values The sortNames to add. * @return This builder for chaining. */ public Builder addAllSortNames( java.lang.Iterable values) { ensureSortNamesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, sortNames_); onChanged(); return this; } /** * repeated string sort_names = 12; * @return This builder for chaining. */ public Builder clearSortNames() { sortNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** * repeated string sort_names = 12; * @param value The bytes of the sortNames to add. * @return This builder for chaining. */ public Builder addSortNamesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureSortNamesIsMutable(); sortNames_.add(value); onChanged(); return this; } private java.lang.Object workspace_ = ""; /** * string workspace = 13; * @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 = 13; * @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 = 13; * @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 = 13; * @return This builder for chaining. */ public Builder clearWorkspace() { workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** * string workspace = 13; * @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 long instanceId_ ; /** * int64 instance_id = 14; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } /** * int64 instance_id = 14; * @param value The instanceId to set. * @return This builder for chaining. */ public Builder setInstanceId(long value) { instanceId_ = value; onChanged(); return this; } /** * int64 instance_id = 14; * @return This builder for chaining. */ public Builder clearInstanceId() { instanceId_ = 0L; onChanged(); return this; } private java.util.List partitionInfos_ = java.util.Collections.emptyList(); private void ensurePartitionInfosIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { partitionInfos_ = new java.util.ArrayList(partitionInfos_); bitField0_ |= 0x00000010; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.Ingestion.PartitionColumnInfo, cz.proto.ingestion.Ingestion.PartitionColumnInfo.Builder, cz.proto.ingestion.Ingestion.PartitionColumnInfoOrBuilder> partitionInfosBuilder_; /** * repeated .cz.proto.ingestion.PartitionColumnInfo partition_infos = 15; */ public java.util.List getPartitionInfosList() { if (partitionInfosBuilder_ == null) { return java.util.Collections.unmodifiableList(partitionInfos_); } else { return partitionInfosBuilder_.getMessageList(); } } /** * repeated .cz.proto.ingestion.PartitionColumnInfo partition_infos = 15; */ public int getPartitionInfosCount() { if (partitionInfosBuilder_ == null) { return partitionInfos_.size(); } else { return partitionInfosBuilder_.getCount(); } } /** * repeated .cz.proto.ingestion.PartitionColumnInfo partition_infos = 15; */ public cz.proto.ingestion.Ingestion.PartitionColumnInfo getPartitionInfos(int index) { if (partitionInfosBuilder_ == null) { return partitionInfos_.get(index); } else { return partitionInfosBuilder_.getMessage(index); } } /** * repeated .cz.proto.ingestion.PartitionColumnInfo partition_infos = 15; */ public Builder setPartitionInfos( int index, cz.proto.ingestion.Ingestion.PartitionColumnInfo value) { if (partitionInfosBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePartitionInfosIsMutable(); partitionInfos_.set(index, value); onChanged(); } else { partitionInfosBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.ingestion.PartitionColumnInfo partition_infos = 15; */ public Builder setPartitionInfos( int index, cz.proto.ingestion.Ingestion.PartitionColumnInfo.Builder builderForValue) { if (partitionInfosBuilder_ == null) { ensurePartitionInfosIsMutable(); partitionInfos_.set(index, builderForValue.build()); onChanged(); } else { partitionInfosBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.PartitionColumnInfo partition_infos = 15; */ public Builder addPartitionInfos(cz.proto.ingestion.Ingestion.PartitionColumnInfo value) { if (partitionInfosBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePartitionInfosIsMutable(); partitionInfos_.add(value); onChanged(); } else { partitionInfosBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.ingestion.PartitionColumnInfo partition_infos = 15; */ public Builder addPartitionInfos( int index, cz.proto.ingestion.Ingestion.PartitionColumnInfo value) { if (partitionInfosBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePartitionInfosIsMutable(); partitionInfos_.add(index, value); onChanged(); } else { partitionInfosBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.ingestion.PartitionColumnInfo partition_infos = 15; */ public Builder addPartitionInfos( cz.proto.ingestion.Ingestion.PartitionColumnInfo.Builder builderForValue) { if (partitionInfosBuilder_ == null) { ensurePartitionInfosIsMutable(); partitionInfos_.add(builderForValue.build()); onChanged(); } else { partitionInfosBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.PartitionColumnInfo partition_infos = 15; */ public Builder addPartitionInfos( int index, cz.proto.ingestion.Ingestion.PartitionColumnInfo.Builder builderForValue) { if (partitionInfosBuilder_ == null) { ensurePartitionInfosIsMutable(); partitionInfos_.add(index, builderForValue.build()); onChanged(); } else { partitionInfosBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.PartitionColumnInfo partition_infos = 15; */ public Builder addAllPartitionInfos( java.lang.Iterable values) { if (partitionInfosBuilder_ == null) { ensurePartitionInfosIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, partitionInfos_); onChanged(); } else { partitionInfosBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.ingestion.PartitionColumnInfo partition_infos = 15; */ public Builder clearPartitionInfos() { if (partitionInfosBuilder_ == null) { partitionInfos_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { partitionInfosBuilder_.clear(); } return this; } /** * repeated .cz.proto.ingestion.PartitionColumnInfo partition_infos = 15; */ public Builder removePartitionInfos(int index) { if (partitionInfosBuilder_ == null) { ensurePartitionInfosIsMutable(); partitionInfos_.remove(index); onChanged(); } else { partitionInfosBuilder_.remove(index); } return this; } /** * repeated .cz.proto.ingestion.PartitionColumnInfo partition_infos = 15; */ public cz.proto.ingestion.Ingestion.PartitionColumnInfo.Builder getPartitionInfosBuilder( int index) { return getPartitionInfosFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.ingestion.PartitionColumnInfo partition_infos = 15; */ public cz.proto.ingestion.Ingestion.PartitionColumnInfoOrBuilder getPartitionInfosOrBuilder( int index) { if (partitionInfosBuilder_ == null) { return partitionInfos_.get(index); } else { return partitionInfosBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.ingestion.PartitionColumnInfo partition_infos = 15; */ public java.util.List getPartitionInfosOrBuilderList() { if (partitionInfosBuilder_ != null) { return partitionInfosBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(partitionInfos_); } } /** * repeated .cz.proto.ingestion.PartitionColumnInfo partition_infos = 15; */ public cz.proto.ingestion.Ingestion.PartitionColumnInfo.Builder addPartitionInfosBuilder() { return getPartitionInfosFieldBuilder().addBuilder( cz.proto.ingestion.Ingestion.PartitionColumnInfo.getDefaultInstance()); } /** * repeated .cz.proto.ingestion.PartitionColumnInfo partition_infos = 15; */ public cz.proto.ingestion.Ingestion.PartitionColumnInfo.Builder addPartitionInfosBuilder( int index) { return getPartitionInfosFieldBuilder().addBuilder( index, cz.proto.ingestion.Ingestion.PartitionColumnInfo.getDefaultInstance()); } /** * repeated .cz.proto.ingestion.PartitionColumnInfo partition_infos = 15; */ public java.util.List getPartitionInfosBuilderList() { return getPartitionInfosFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.Ingestion.PartitionColumnInfo, cz.proto.ingestion.Ingestion.PartitionColumnInfo.Builder, cz.proto.ingestion.Ingestion.PartitionColumnInfoOrBuilder> getPartitionInfosFieldBuilder() { if (partitionInfosBuilder_ == null) { partitionInfosBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.Ingestion.PartitionColumnInfo, cz.proto.ingestion.Ingestion.PartitionColumnInfo.Builder, cz.proto.ingestion.Ingestion.PartitionColumnInfoOrBuilder>( partitionInfos_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); partitionInfos_ = null; } return partitionInfosBuilder_; } private cz.proto.MetadataEntity.Entity tableFullMeta_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder> tableFullMetaBuilder_; /** * .cz.proto.Entity table_full_meta = 16; * @return Whether the tableFullMeta field is set. */ public boolean hasTableFullMeta() { return tableFullMetaBuilder_ != null || tableFullMeta_ != null; } /** * .cz.proto.Entity table_full_meta = 16; * @return The tableFullMeta. */ public cz.proto.MetadataEntity.Entity getTableFullMeta() { if (tableFullMetaBuilder_ == null) { return tableFullMeta_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : tableFullMeta_; } else { return tableFullMetaBuilder_.getMessage(); } } /** * .cz.proto.Entity table_full_meta = 16; */ public Builder setTableFullMeta(cz.proto.MetadataEntity.Entity value) { if (tableFullMetaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tableFullMeta_ = value; onChanged(); } else { tableFullMetaBuilder_.setMessage(value); } return this; } /** * .cz.proto.Entity table_full_meta = 16; */ public Builder setTableFullMeta( cz.proto.MetadataEntity.Entity.Builder builderForValue) { if (tableFullMetaBuilder_ == null) { tableFullMeta_ = builderForValue.build(); onChanged(); } else { tableFullMetaBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.Entity table_full_meta = 16; */ public Builder mergeTableFullMeta(cz.proto.MetadataEntity.Entity value) { if (tableFullMetaBuilder_ == null) { if (tableFullMeta_ != null) { tableFullMeta_ = cz.proto.MetadataEntity.Entity.newBuilder(tableFullMeta_).mergeFrom(value).buildPartial(); } else { tableFullMeta_ = value; } onChanged(); } else { tableFullMetaBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.Entity table_full_meta = 16; */ public Builder clearTableFullMeta() { if (tableFullMetaBuilder_ == null) { tableFullMeta_ = null; onChanged(); } else { tableFullMeta_ = null; tableFullMetaBuilder_ = null; } return this; } /** * .cz.proto.Entity table_full_meta = 16; */ public cz.proto.MetadataEntity.Entity.Builder getTableFullMetaBuilder() { onChanged(); return getTableFullMetaFieldBuilder().getBuilder(); } /** * .cz.proto.Entity table_full_meta = 16; */ public cz.proto.MetadataEntity.EntityOrBuilder getTableFullMetaOrBuilder() { if (tableFullMetaBuilder_ != null) { return tableFullMetaBuilder_.getMessageOrBuilder(); } else { return tableFullMeta_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : tableFullMeta_; } } /** * .cz.proto.Entity table_full_meta = 16; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder> getTableFullMetaFieldBuilder() { if (tableFullMetaBuilder_ == null) { tableFullMetaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder>( getTableFullMeta(), getParentForChildren(), isClean()); tableFullMeta_ = null; } return tableFullMetaBuilder_; } @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.WorkerCreateTabletRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.WorkerCreateTabletRequest) private static final cz.proto.ingestion.Ingestion.WorkerCreateTabletRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.WorkerCreateTabletRequest(); } public static cz.proto.ingestion.Ingestion.WorkerCreateTabletRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public WorkerCreateTabletRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new WorkerCreateTabletRequest(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.Ingestion.WorkerCreateTabletRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PartitionColumnInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.PartitionColumnInfo) com.google.protobuf.MessageOrBuilder { /** * string virtual_partition_column_name = 1; * @return The virtualPartitionColumnName. */ java.lang.String getVirtualPartitionColumnName(); /** * string virtual_partition_column_name = 1; * @return The bytes for virtualPartitionColumnName. */ com.google.protobuf.ByteString getVirtualPartitionColumnNameBytes(); /** * uint32 virtual_partition_column_id = 2; * @return The virtualPartitionColumnId. */ int getVirtualPartitionColumnId(); /** * string source_partition_column_name = 3; * @return The sourcePartitionColumnName. */ java.lang.String getSourcePartitionColumnName(); /** * string source_partition_column_name = 3; * @return The bytes for sourcePartitionColumnName. */ com.google.protobuf.ByteString getSourcePartitionColumnNameBytes(); /** * uint32 source_partition_column_id = 4; * @return The sourcePartitionColumnId. */ int getSourcePartitionColumnId(); } /** * Protobuf type {@code cz.proto.ingestion.PartitionColumnInfo} */ public static final class PartitionColumnInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.PartitionColumnInfo) PartitionColumnInfoOrBuilder { private static final long serialVersionUID = 0L; // Use PartitionColumnInfo.newBuilder() to construct. private PartitionColumnInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PartitionColumnInfo() { virtualPartitionColumnName_ = ""; sourcePartitionColumnName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PartitionColumnInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PartitionColumnInfo( 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(); virtualPartitionColumnName_ = s; break; } case 16: { virtualPartitionColumnId_ = input.readUInt32(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); sourcePartitionColumnName_ = s; break; } case 32: { sourcePartitionColumnId_ = 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.Ingestion.internal_static_cz_proto_ingestion_PartitionColumnInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_PartitionColumnInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.PartitionColumnInfo.class, cz.proto.ingestion.Ingestion.PartitionColumnInfo.Builder.class); } public static final int VIRTUAL_PARTITION_COLUMN_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object virtualPartitionColumnName_; /** * string virtual_partition_column_name = 1; * @return The virtualPartitionColumnName. */ @java.lang.Override public java.lang.String getVirtualPartitionColumnName() { java.lang.Object ref = virtualPartitionColumnName_; 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(); virtualPartitionColumnName_ = s; return s; } } /** * string virtual_partition_column_name = 1; * @return The bytes for virtualPartitionColumnName. */ @java.lang.Override public com.google.protobuf.ByteString getVirtualPartitionColumnNameBytes() { java.lang.Object ref = virtualPartitionColumnName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); virtualPartitionColumnName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VIRTUAL_PARTITION_COLUMN_ID_FIELD_NUMBER = 2; private int virtualPartitionColumnId_; /** * uint32 virtual_partition_column_id = 2; * @return The virtualPartitionColumnId. */ @java.lang.Override public int getVirtualPartitionColumnId() { return virtualPartitionColumnId_; } public static final int SOURCE_PARTITION_COLUMN_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object sourcePartitionColumnName_; /** * string source_partition_column_name = 3; * @return The sourcePartitionColumnName. */ @java.lang.Override public java.lang.String getSourcePartitionColumnName() { java.lang.Object ref = sourcePartitionColumnName_; 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(); sourcePartitionColumnName_ = s; return s; } } /** * string source_partition_column_name = 3; * @return The bytes for sourcePartitionColumnName. */ @java.lang.Override public com.google.protobuf.ByteString getSourcePartitionColumnNameBytes() { java.lang.Object ref = sourcePartitionColumnName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourcePartitionColumnName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SOURCE_PARTITION_COLUMN_ID_FIELD_NUMBER = 4; private int sourcePartitionColumnId_; /** * uint32 source_partition_column_id = 4; * @return The sourcePartitionColumnId. */ @java.lang.Override public int getSourcePartitionColumnId() { return sourcePartitionColumnId_; } 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(virtualPartitionColumnName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, virtualPartitionColumnName_); } if (virtualPartitionColumnId_ != 0) { output.writeUInt32(2, virtualPartitionColumnId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourcePartitionColumnName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, sourcePartitionColumnName_); } if (sourcePartitionColumnId_ != 0) { output.writeUInt32(4, sourcePartitionColumnId_); } 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(virtualPartitionColumnName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, virtualPartitionColumnName_); } if (virtualPartitionColumnId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, virtualPartitionColumnId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourcePartitionColumnName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, sourcePartitionColumnName_); } if (sourcePartitionColumnId_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, sourcePartitionColumnId_); } 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.Ingestion.PartitionColumnInfo)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.PartitionColumnInfo other = (cz.proto.ingestion.Ingestion.PartitionColumnInfo) obj; if (!getVirtualPartitionColumnName() .equals(other.getVirtualPartitionColumnName())) return false; if (getVirtualPartitionColumnId() != other.getVirtualPartitionColumnId()) return false; if (!getSourcePartitionColumnName() .equals(other.getSourcePartitionColumnName())) return false; if (getSourcePartitionColumnId() != other.getSourcePartitionColumnId()) 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) + VIRTUAL_PARTITION_COLUMN_NAME_FIELD_NUMBER; hash = (53 * hash) + getVirtualPartitionColumnName().hashCode(); hash = (37 * hash) + VIRTUAL_PARTITION_COLUMN_ID_FIELD_NUMBER; hash = (53 * hash) + getVirtualPartitionColumnId(); hash = (37 * hash) + SOURCE_PARTITION_COLUMN_NAME_FIELD_NUMBER; hash = (53 * hash) + getSourcePartitionColumnName().hashCode(); hash = (37 * hash) + SOURCE_PARTITION_COLUMN_ID_FIELD_NUMBER; hash = (53 * hash) + getSourcePartitionColumnId(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.Ingestion.PartitionColumnInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.PartitionColumnInfo 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.Ingestion.PartitionColumnInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.PartitionColumnInfo 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.Ingestion.PartitionColumnInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.PartitionColumnInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.PartitionColumnInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.PartitionColumnInfo 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.Ingestion.PartitionColumnInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.PartitionColumnInfo 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.Ingestion.PartitionColumnInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.PartitionColumnInfo 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.Ingestion.PartitionColumnInfo 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.PartitionColumnInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.PartitionColumnInfo) cz.proto.ingestion.Ingestion.PartitionColumnInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_PartitionColumnInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_PartitionColumnInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.PartitionColumnInfo.class, cz.proto.ingestion.Ingestion.PartitionColumnInfo.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.PartitionColumnInfo.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(); virtualPartitionColumnName_ = ""; virtualPartitionColumnId_ = 0; sourcePartitionColumnName_ = ""; sourcePartitionColumnId_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_PartitionColumnInfo_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.PartitionColumnInfo getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.PartitionColumnInfo.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.PartitionColumnInfo build() { cz.proto.ingestion.Ingestion.PartitionColumnInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.PartitionColumnInfo buildPartial() { cz.proto.ingestion.Ingestion.PartitionColumnInfo result = new cz.proto.ingestion.Ingestion.PartitionColumnInfo(this); result.virtualPartitionColumnName_ = virtualPartitionColumnName_; result.virtualPartitionColumnId_ = virtualPartitionColumnId_; result.sourcePartitionColumnName_ = sourcePartitionColumnName_; result.sourcePartitionColumnId_ = sourcePartitionColumnId_; 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.Ingestion.PartitionColumnInfo) { return mergeFrom((cz.proto.ingestion.Ingestion.PartitionColumnInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.PartitionColumnInfo other) { if (other == cz.proto.ingestion.Ingestion.PartitionColumnInfo.getDefaultInstance()) return this; if (!other.getVirtualPartitionColumnName().isEmpty()) { virtualPartitionColumnName_ = other.virtualPartitionColumnName_; onChanged(); } if (other.getVirtualPartitionColumnId() != 0) { setVirtualPartitionColumnId(other.getVirtualPartitionColumnId()); } if (!other.getSourcePartitionColumnName().isEmpty()) { sourcePartitionColumnName_ = other.sourcePartitionColumnName_; onChanged(); } if (other.getSourcePartitionColumnId() != 0) { setSourcePartitionColumnId(other.getSourcePartitionColumnId()); } 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.Ingestion.PartitionColumnInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.PartitionColumnInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object virtualPartitionColumnName_ = ""; /** * string virtual_partition_column_name = 1; * @return The virtualPartitionColumnName. */ public java.lang.String getVirtualPartitionColumnName() { java.lang.Object ref = virtualPartitionColumnName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); virtualPartitionColumnName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string virtual_partition_column_name = 1; * @return The bytes for virtualPartitionColumnName. */ public com.google.protobuf.ByteString getVirtualPartitionColumnNameBytes() { java.lang.Object ref = virtualPartitionColumnName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); virtualPartitionColumnName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string virtual_partition_column_name = 1; * @param value The virtualPartitionColumnName to set. * @return This builder for chaining. */ public Builder setVirtualPartitionColumnName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } virtualPartitionColumnName_ = value; onChanged(); return this; } /** * string virtual_partition_column_name = 1; * @return This builder for chaining. */ public Builder clearVirtualPartitionColumnName() { virtualPartitionColumnName_ = getDefaultInstance().getVirtualPartitionColumnName(); onChanged(); return this; } /** * string virtual_partition_column_name = 1; * @param value The bytes for virtualPartitionColumnName to set. * @return This builder for chaining. */ public Builder setVirtualPartitionColumnNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); virtualPartitionColumnName_ = value; onChanged(); return this; } private int virtualPartitionColumnId_ ; /** * uint32 virtual_partition_column_id = 2; * @return The virtualPartitionColumnId. */ @java.lang.Override public int getVirtualPartitionColumnId() { return virtualPartitionColumnId_; } /** * uint32 virtual_partition_column_id = 2; * @param value The virtualPartitionColumnId to set. * @return This builder for chaining. */ public Builder setVirtualPartitionColumnId(int value) { virtualPartitionColumnId_ = value; onChanged(); return this; } /** * uint32 virtual_partition_column_id = 2; * @return This builder for chaining. */ public Builder clearVirtualPartitionColumnId() { virtualPartitionColumnId_ = 0; onChanged(); return this; } private java.lang.Object sourcePartitionColumnName_ = ""; /** * string source_partition_column_name = 3; * @return The sourcePartitionColumnName. */ public java.lang.String getSourcePartitionColumnName() { java.lang.Object ref = sourcePartitionColumnName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourcePartitionColumnName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string source_partition_column_name = 3; * @return The bytes for sourcePartitionColumnName. */ public com.google.protobuf.ByteString getSourcePartitionColumnNameBytes() { java.lang.Object ref = sourcePartitionColumnName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourcePartitionColumnName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string source_partition_column_name = 3; * @param value The sourcePartitionColumnName to set. * @return This builder for chaining. */ public Builder setSourcePartitionColumnName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sourcePartitionColumnName_ = value; onChanged(); return this; } /** * string source_partition_column_name = 3; * @return This builder for chaining. */ public Builder clearSourcePartitionColumnName() { sourcePartitionColumnName_ = getDefaultInstance().getSourcePartitionColumnName(); onChanged(); return this; } /** * string source_partition_column_name = 3; * @param value The bytes for sourcePartitionColumnName to set. * @return This builder for chaining. */ public Builder setSourcePartitionColumnNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourcePartitionColumnName_ = value; onChanged(); return this; } private int sourcePartitionColumnId_ ; /** * uint32 source_partition_column_id = 4; * @return The sourcePartitionColumnId. */ @java.lang.Override public int getSourcePartitionColumnId() { return sourcePartitionColumnId_; } /** * uint32 source_partition_column_id = 4; * @param value The sourcePartitionColumnId to set. * @return This builder for chaining. */ public Builder setSourcePartitionColumnId(int value) { sourcePartitionColumnId_ = value; onChanged(); return this; } /** * uint32 source_partition_column_id = 4; * @return This builder for chaining. */ public Builder clearSourcePartitionColumnId() { sourcePartitionColumnId_ = 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.PartitionColumnInfo) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.PartitionColumnInfo) private static final cz.proto.ingestion.Ingestion.PartitionColumnInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.PartitionColumnInfo(); } public static cz.proto.ingestion.Ingestion.PartitionColumnInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PartitionColumnInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PartitionColumnInfo(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.Ingestion.PartitionColumnInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CreateTabletResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.CreateTabletResponse) com.google.protobuf.MessageOrBuilder { /** * int64 created_time = 1; * @return The createdTime. */ long getCreatedTime(); /** * .cz.proto.ingestion.ResponseStatus status = 2; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 2; * @return The status. */ cz.proto.ingestion.Ingestion.ResponseStatus getStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 2; */ cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.CreateTabletResponse} */ public static final class CreateTabletResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.CreateTabletResponse) CreateTabletResponseOrBuilder { private static final long serialVersionUID = 0L; // Use CreateTabletResponse.newBuilder() to construct. private CreateTabletResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CreateTabletResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CreateTabletResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CreateTabletResponse( 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: { createdTime_ = input.readInt64(); break; } case 18: { cz.proto.ingestion.Ingestion.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.Ingestion.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.Ingestion.internal_static_cz_proto_ingestion_CreateTabletResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_CreateTabletResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.CreateTabletResponse.class, cz.proto.ingestion.Ingestion.CreateTabletResponse.Builder.class); } public static final int CREATED_TIME_FIELD_NUMBER = 1; private long createdTime_; /** * int64 created_time = 1; * @return The createdTime. */ @java.lang.Override public long getCreatedTime() { return createdTime_; } public static final int STATUS_FIELD_NUMBER = 2; private cz.proto.ingestion.Ingestion.ResponseStatus status_; /** * .cz.proto.ingestion.ResponseStatus status = 2; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 2; * @return The status. */ @java.lang.Override public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.ResponseStatus status = 2; */ @java.lang.Override public cz.proto.ingestion.Ingestion.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 (createdTime_ != 0L) { output.writeInt64(1, createdTime_); } if (status_ != null) { output.writeMessage(2, getStatus()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (createdTime_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, createdTime_); } if (status_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, 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.Ingestion.CreateTabletResponse)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.CreateTabletResponse other = (cz.proto.ingestion.Ingestion.CreateTabletResponse) obj; if (getCreatedTime() != other.getCreatedTime()) 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(); hash = (37 * hash) + CREATED_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCreatedTime()); 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.Ingestion.CreateTabletResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.CreateTabletResponse 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.Ingestion.CreateTabletResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.CreateTabletResponse 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.Ingestion.CreateTabletResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.CreateTabletResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.CreateTabletResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.CreateTabletResponse 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.Ingestion.CreateTabletResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.CreateTabletResponse 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.Ingestion.CreateTabletResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.CreateTabletResponse 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.Ingestion.CreateTabletResponse 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.CreateTabletResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.CreateTabletResponse) cz.proto.ingestion.Ingestion.CreateTabletResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_CreateTabletResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_CreateTabletResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.CreateTabletResponse.class, cz.proto.ingestion.Ingestion.CreateTabletResponse.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.CreateTabletResponse.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(); createdTime_ = 0L; 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.Ingestion.internal_static_cz_proto_ingestion_CreateTabletResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.CreateTabletResponse getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.CreateTabletResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.CreateTabletResponse build() { cz.proto.ingestion.Ingestion.CreateTabletResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.CreateTabletResponse buildPartial() { cz.proto.ingestion.Ingestion.CreateTabletResponse result = new cz.proto.ingestion.Ingestion.CreateTabletResponse(this); result.createdTime_ = createdTime_; 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.Ingestion.CreateTabletResponse) { return mergeFrom((cz.proto.ingestion.Ingestion.CreateTabletResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.CreateTabletResponse other) { if (other == cz.proto.ingestion.Ingestion.CreateTabletResponse.getDefaultInstance()) return this; if (other.getCreatedTime() != 0L) { setCreatedTime(other.getCreatedTime()); } 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.Ingestion.CreateTabletResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.CreateTabletResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long createdTime_ ; /** * int64 created_time = 1; * @return The createdTime. */ @java.lang.Override public long getCreatedTime() { return createdTime_; } /** * int64 created_time = 1; * @param value The createdTime to set. * @return This builder for chaining. */ public Builder setCreatedTime(long value) { createdTime_ = value; onChanged(); return this; } /** * int64 created_time = 1; * @return This builder for chaining. */ public Builder clearCreatedTime() { createdTime_ = 0L; onChanged(); return this; } private cz.proto.ingestion.Ingestion.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.ResponseStatus status = 2; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 2; * @return The status. */ public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.ResponseStatus status = 2; */ public Builder setStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 2; */ public Builder setStatus( cz.proto.ingestion.Ingestion.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 2; */ public Builder mergeStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.Ingestion.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 2; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 2; */ public cz.proto.ingestion.Ingestion.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.ResponseStatus status = 2; */ public cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.ResponseStatus status = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.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.CreateTabletResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.CreateTabletResponse) private static final cz.proto.ingestion.Ingestion.CreateTabletResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.CreateTabletResponse(); } public static cz.proto.ingestion.Ingestion.CreateTabletResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CreateTabletResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CreateTabletResponse(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.Ingestion.CreateTabletResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CommitTabletRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.CommitTabletRequest) 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(); /** * int64 tableId = 5; * @return The tableId. */ long getTableId(); /** * repeated int64 tablet_id = 6; * @return A list containing the tabletId. */ java.util.List getTabletIdList(); /** * repeated int64 tablet_id = 6; * @return The count of tabletId. */ int getTabletIdCount(); /** * repeated int64 tablet_id = 6; * @param index The index of the element to return. * @return The tabletId at the given index. */ long getTabletId(int index); /** * .cz.proto.ingestion.Account account = 7; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.ingestion.Account account = 7; * @return The account. */ cz.proto.ingestion.Ingestion.Account getAccount(); /** * .cz.proto.ingestion.Account account = 7; */ cz.proto.ingestion.Ingestion.AccountOrBuilder getAccountOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.CommitTabletRequest} */ public static final class CommitTabletRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.CommitTabletRequest) CommitTabletRequestOrBuilder { private static final long serialVersionUID = 0L; // Use CommitTabletRequest.newBuilder() to construct. private CommitTabletRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CommitTabletRequest() { workspace_ = ""; schemaName_ = ""; tableName_ = ""; tabletId_ = emptyLongList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CommitTabletRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CommitTabletRequest( 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: { 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; } case 40: { tableId_ = input.readInt64(); break; } case 48: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { tabletId_ = newLongList(); mutable_bitField0_ |= 0x00000001; } tabletId_.addLong(input.readInt64()); break; } case 50: { 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; } case 58: { cz.proto.ingestion.Ingestion.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.ingestion.Ingestion.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = 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)) { tabletId_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_CommitTabletRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_CommitTabletRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.CommitTabletRequest.class, cz.proto.ingestion.Ingestion.CommitTabletRequest.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; } } public static final int TABLEID_FIELD_NUMBER = 5; private long tableId_; /** * int64 tableId = 5; * @return The tableId. */ @java.lang.Override public long getTableId() { return tableId_; } public static final int TABLET_ID_FIELD_NUMBER = 6; private com.google.protobuf.Internal.LongList tabletId_; /** * repeated int64 tablet_id = 6; * @return A list containing the tabletId. */ @java.lang.Override public java.util.List getTabletIdList() { return tabletId_; } /** * repeated int64 tablet_id = 6; * @return The count of tabletId. */ public int getTabletIdCount() { return tabletId_.size(); } /** * repeated int64 tablet_id = 6; * @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 ACCOUNT_FIELD_NUMBER = 7; private cz.proto.ingestion.Ingestion.Account account_; /** * .cz.proto.ingestion.Account account = 7; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.ingestion.Account account = 7; * @return The account. */ @java.lang.Override public cz.proto.ingestion.Ingestion.Account getAccount() { return account_ == null ? cz.proto.ingestion.Ingestion.Account.getDefaultInstance() : account_; } /** * .cz.proto.ingestion.Account account = 7; */ @java.lang.Override public cz.proto.ingestion.Ingestion.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } 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 (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_); } if (tableId_ != 0L) { output.writeInt64(5, tableId_); } if (getTabletIdList().size() > 0) { output.writeUInt32NoTag(50); output.writeUInt32NoTag(tabletIdMemoizedSerializedSize); } for (int i = 0; i < tabletId_.size(); i++) { output.writeInt64NoTag(tabletId_.getLong(i)); } if (account_ != null) { output.writeMessage(7, getAccount()); } 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_); } if (tableId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, tableId_); } { 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 (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getAccount()); } 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.Ingestion.CommitTabletRequest)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.CommitTabletRequest other = (cz.proto.ingestion.Ingestion.CommitTabletRequest) 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 (getTableId() != other.getTableId()) return false; if (!getTabletIdList() .equals(other.getTabletIdList())) return false; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) 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 = (37 * hash) + TABLEID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTableId()); if (getTabletIdCount() > 0) { hash = (37 * hash) + TABLET_ID_FIELD_NUMBER; hash = (53 * hash) + getTabletIdList().hashCode(); } if (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.Ingestion.CommitTabletRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.CommitTabletRequest 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.Ingestion.CommitTabletRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.CommitTabletRequest 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.Ingestion.CommitTabletRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.CommitTabletRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.CommitTabletRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.CommitTabletRequest 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.Ingestion.CommitTabletRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.CommitTabletRequest 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.Ingestion.CommitTabletRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.CommitTabletRequest 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.Ingestion.CommitTabletRequest 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.CommitTabletRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.CommitTabletRequest) cz.proto.ingestion.Ingestion.CommitTabletRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_CommitTabletRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_CommitTabletRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.CommitTabletRequest.class, cz.proto.ingestion.Ingestion.CommitTabletRequest.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.CommitTabletRequest.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_ = ""; tableId_ = 0L; tabletId_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000001); if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_CommitTabletRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.CommitTabletRequest getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.CommitTabletRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.CommitTabletRequest build() { cz.proto.ingestion.Ingestion.CommitTabletRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.CommitTabletRequest buildPartial() { cz.proto.ingestion.Ingestion.CommitTabletRequest result = new cz.proto.ingestion.Ingestion.CommitTabletRequest(this); int from_bitField0_ = bitField0_; result.instanceId_ = instanceId_; result.workspace_ = workspace_; result.schemaName_ = schemaName_; result.tableName_ = tableName_; result.tableId_ = tableId_; if (((bitField0_ & 0x00000001) != 0)) { tabletId_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000001); } result.tabletId_ = tabletId_; if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.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.Ingestion.CommitTabletRequest) { return mergeFrom((cz.proto.ingestion.Ingestion.CommitTabletRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.CommitTabletRequest other) { if (other == cz.proto.ingestion.Ingestion.CommitTabletRequest.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(); } if (other.getTableId() != 0L) { setTableId(other.getTableId()); } if (!other.tabletId_.isEmpty()) { if (tabletId_.isEmpty()) { tabletId_ = other.tabletId_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTabletIdIsMutable(); tabletId_.addAll(other.tabletId_); } onChanged(); } if (other.hasAccount()) { mergeAccount(other.getAccount()); } 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.Ingestion.CommitTabletRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.CommitTabletRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; 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; } private long tableId_ ; /** * int64 tableId = 5; * @return The tableId. */ @java.lang.Override public long getTableId() { return tableId_; } /** * int64 tableId = 5; * @param value The tableId to set. * @return This builder for chaining. */ public Builder setTableId(long value) { tableId_ = value; onChanged(); return this; } /** * int64 tableId = 5; * @return This builder for chaining. */ public Builder clearTableId() { tableId_ = 0L; 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 = 6; * @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 = 6; * @return The count of tabletId. */ public int getTabletIdCount() { return tabletId_.size(); } /** * repeated int64 tablet_id = 6; * @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 = 6; * @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 = 6; * @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 = 6; * @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 = 6; * @return This builder for chaining. */ public Builder clearTabletId() { tabletId_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } private cz.proto.ingestion.Ingestion.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.Account, cz.proto.ingestion.Ingestion.Account.Builder, cz.proto.ingestion.Ingestion.AccountOrBuilder> accountBuilder_; /** * .cz.proto.ingestion.Account account = 7; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.ingestion.Account account = 7; * @return The account. */ public cz.proto.ingestion.Ingestion.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.ingestion.Ingestion.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.ingestion.Account account = 7; */ public Builder setAccount(cz.proto.ingestion.Ingestion.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.Account account = 7; */ public Builder setAccount( cz.proto.ingestion.Ingestion.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.Account account = 7; */ public Builder mergeAccount(cz.proto.ingestion.Ingestion.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.ingestion.Ingestion.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.Account account = 7; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.ingestion.Account account = 7; */ public cz.proto.ingestion.Ingestion.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.Account account = 7; */ public cz.proto.ingestion.Ingestion.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.ingestion.Ingestion.Account.getDefaultInstance() : account_; } } /** * .cz.proto.ingestion.Account account = 7; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.Account, cz.proto.ingestion.Ingestion.Account.Builder, cz.proto.ingestion.Ingestion.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.Account, cz.proto.ingestion.Ingestion.Account.Builder, cz.proto.ingestion.Ingestion.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } @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.CommitTabletRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.CommitTabletRequest) private static final cz.proto.ingestion.Ingestion.CommitTabletRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.CommitTabletRequest(); } public static cz.proto.ingestion.Ingestion.CommitTabletRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CommitTabletRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CommitTabletRequest(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.Ingestion.CommitTabletRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CommitTabletResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.CommitTabletResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return The status. */ cz.proto.ingestion.Ingestion.ResponseStatus getStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 1; */ cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.CommitTabletResponse} */ public static final class CommitTabletResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.CommitTabletResponse) CommitTabletResponseOrBuilder { private static final long serialVersionUID = 0L; // Use CommitTabletResponse.newBuilder() to construct. private CommitTabletResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CommitTabletResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CommitTabletResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CommitTabletResponse( 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.Ingestion.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.Ingestion.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.Ingestion.internal_static_cz_proto_ingestion_CommitTabletResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_CommitTabletResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.CommitTabletResponse.class, cz.proto.ingestion.Ingestion.CommitTabletResponse.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private cz.proto.ingestion.Ingestion.ResponseStatus status_; /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return The status. */ @java.lang.Override public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ @java.lang.Override public cz.proto.ingestion.Ingestion.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.Ingestion.CommitTabletResponse)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.CommitTabletResponse other = (cz.proto.ingestion.Ingestion.CommitTabletResponse) 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.Ingestion.CommitTabletResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.CommitTabletResponse 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.Ingestion.CommitTabletResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.CommitTabletResponse 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.Ingestion.CommitTabletResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.CommitTabletResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.CommitTabletResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.CommitTabletResponse 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.Ingestion.CommitTabletResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.CommitTabletResponse 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.Ingestion.CommitTabletResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.CommitTabletResponse 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.Ingestion.CommitTabletResponse 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.CommitTabletResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.CommitTabletResponse) cz.proto.ingestion.Ingestion.CommitTabletResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_CommitTabletResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_CommitTabletResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.CommitTabletResponse.class, cz.proto.ingestion.Ingestion.CommitTabletResponse.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.CommitTabletResponse.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.Ingestion.internal_static_cz_proto_ingestion_CommitTabletResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.CommitTabletResponse getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.CommitTabletResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.CommitTabletResponse build() { cz.proto.ingestion.Ingestion.CommitTabletResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.CommitTabletResponse buildPartial() { cz.proto.ingestion.Ingestion.CommitTabletResponse result = new cz.proto.ingestion.Ingestion.CommitTabletResponse(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.Ingestion.CommitTabletResponse) { return mergeFrom((cz.proto.ingestion.Ingestion.CommitTabletResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.CommitTabletResponse other) { if (other == cz.proto.ingestion.Ingestion.CommitTabletResponse.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.Ingestion.CommitTabletResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.CommitTabletResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.Ingestion.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return The status. */ public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder setStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder setStatus( cz.proto.ingestion.Ingestion.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder mergeStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.Ingestion.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public cz.proto.ingestion.Ingestion.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.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.CommitTabletResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.CommitTabletResponse) private static final cz.proto.ingestion.Ingestion.CommitTabletResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.CommitTabletResponse(); } public static cz.proto.ingestion.Ingestion.CommitTabletResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CommitTabletResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CommitTabletResponse(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.Ingestion.CommitTabletResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DropTabletRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.DropTabletRequest) 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(); /** * int64 tableId = 5; * @return The tableId. */ long getTableId(); /** * repeated int64 tablet_id = 6; * @return A list containing the tabletId. */ java.util.List getTabletIdList(); /** * repeated int64 tablet_id = 6; * @return The count of tabletId. */ int getTabletIdCount(); /** * repeated int64 tablet_id = 6; * @param index The index of the element to return. * @return The tabletId at the given index. */ long getTabletId(int index); /** * .cz.proto.ingestion.Account account = 7; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.ingestion.Account account = 7; * @return The account. */ cz.proto.ingestion.Ingestion.Account getAccount(); /** * .cz.proto.ingestion.Account account = 7; */ cz.proto.ingestion.Ingestion.AccountOrBuilder getAccountOrBuilder(); /** * string request_id = 8; * @return The requestId. */ java.lang.String getRequestId(); /** * string request_id = 8; * @return The bytes for requestId. */ com.google.protobuf.ByteString getRequestIdBytes(); } /** * Protobuf type {@code cz.proto.ingestion.DropTabletRequest} */ public static final class DropTabletRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.DropTabletRequest) DropTabletRequestOrBuilder { private static final long serialVersionUID = 0L; // Use DropTabletRequest.newBuilder() to construct. private DropTabletRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DropTabletRequest() { workspace_ = ""; schemaName_ = ""; tableName_ = ""; tabletId_ = emptyLongList(); requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DropTabletRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DropTabletRequest( 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: { 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; } case 40: { tableId_ = input.readInt64(); break; } case 48: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { tabletId_ = newLongList(); mutable_bitField0_ |= 0x00000001; } tabletId_.addLong(input.readInt64()); break; } case 50: { 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; } case 58: { cz.proto.ingestion.Ingestion.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.ingestion.Ingestion.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 66: { 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 { 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.Ingestion.internal_static_cz_proto_ingestion_DropTabletRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_DropTabletRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.DropTabletRequest.class, cz.proto.ingestion.Ingestion.DropTabletRequest.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; } } public static final int TABLEID_FIELD_NUMBER = 5; private long tableId_; /** * int64 tableId = 5; * @return The tableId. */ @java.lang.Override public long getTableId() { return tableId_; } public static final int TABLET_ID_FIELD_NUMBER = 6; private com.google.protobuf.Internal.LongList tabletId_; /** * repeated int64 tablet_id = 6; * @return A list containing the tabletId. */ @java.lang.Override public java.util.List getTabletIdList() { return tabletId_; } /** * repeated int64 tablet_id = 6; * @return The count of tabletId. */ public int getTabletIdCount() { return tabletId_.size(); } /** * repeated int64 tablet_id = 6; * @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 ACCOUNT_FIELD_NUMBER = 7; private cz.proto.ingestion.Ingestion.Account account_; /** * .cz.proto.ingestion.Account account = 7; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.ingestion.Account account = 7; * @return The account. */ @java.lang.Override public cz.proto.ingestion.Ingestion.Account getAccount() { return account_ == null ? cz.proto.ingestion.Ingestion.Account.getDefaultInstance() : account_; } /** * .cz.proto.ingestion.Account account = 7; */ @java.lang.Override public cz.proto.ingestion.Ingestion.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int REQUEST_ID_FIELD_NUMBER = 8; private volatile java.lang.Object requestId_; /** * string request_id = 8; * @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 = 8; * @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 { getSerializedSize(); 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_); } if (tableId_ != 0L) { output.writeInt64(5, tableId_); } if (getTabletIdList().size() > 0) { output.writeUInt32NoTag(50); output.writeUInt32NoTag(tabletIdMemoizedSerializedSize); } for (int i = 0; i < tabletId_.size(); i++) { output.writeInt64NoTag(tabletId_.getLong(i)); } if (account_ != null) { output.writeMessage(7, getAccount()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, requestId_); } 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_); } if (tableId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, tableId_); } { 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 (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getAccount()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, 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.Ingestion.DropTabletRequest)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.DropTabletRequest other = (cz.proto.ingestion.Ingestion.DropTabletRequest) 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 (getTableId() != other.getTableId()) return false; if (!getTabletIdList() .equals(other.getTabletIdList())) return false; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) 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) + 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 = (37 * hash) + TABLEID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTableId()); if (getTabletIdCount() > 0) { hash = (37 * hash) + TABLET_ID_FIELD_NUMBER; hash = (53 * hash) + getTabletIdList().hashCode(); } if (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().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.Ingestion.DropTabletRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.DropTabletRequest 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.Ingestion.DropTabletRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.DropTabletRequest 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.Ingestion.DropTabletRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.DropTabletRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.DropTabletRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.DropTabletRequest 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.Ingestion.DropTabletRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.DropTabletRequest 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.Ingestion.DropTabletRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.DropTabletRequest 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.Ingestion.DropTabletRequest 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.DropTabletRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.DropTabletRequest) cz.proto.ingestion.Ingestion.DropTabletRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_DropTabletRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_DropTabletRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.DropTabletRequest.class, cz.proto.ingestion.Ingestion.DropTabletRequest.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.DropTabletRequest.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_ = ""; tableId_ = 0L; tabletId_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000001); if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } requestId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_DropTabletRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.DropTabletRequest getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.DropTabletRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.DropTabletRequest build() { cz.proto.ingestion.Ingestion.DropTabletRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.DropTabletRequest buildPartial() { cz.proto.ingestion.Ingestion.DropTabletRequest result = new cz.proto.ingestion.Ingestion.DropTabletRequest(this); int from_bitField0_ = bitField0_; result.instanceId_ = instanceId_; result.workspace_ = workspace_; result.schemaName_ = schemaName_; result.tableName_ = tableName_; result.tableId_ = tableId_; if (((bitField0_ & 0x00000001) != 0)) { tabletId_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000001); } result.tabletId_ = tabletId_; if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } 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.Ingestion.DropTabletRequest) { return mergeFrom((cz.proto.ingestion.Ingestion.DropTabletRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.DropTabletRequest other) { if (other == cz.proto.ingestion.Ingestion.DropTabletRequest.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(); } if (other.getTableId() != 0L) { setTableId(other.getTableId()); } if (!other.tabletId_.isEmpty()) { if (tabletId_.isEmpty()) { tabletId_ = other.tabletId_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTabletIdIsMutable(); tabletId_.addAll(other.tabletId_); } onChanged(); } if (other.hasAccount()) { mergeAccount(other.getAccount()); } 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.Ingestion.DropTabletRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.DropTabletRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; 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; } private long tableId_ ; /** * int64 tableId = 5; * @return The tableId. */ @java.lang.Override public long getTableId() { return tableId_; } /** * int64 tableId = 5; * @param value The tableId to set. * @return This builder for chaining. */ public Builder setTableId(long value) { tableId_ = value; onChanged(); return this; } /** * int64 tableId = 5; * @return This builder for chaining. */ public Builder clearTableId() { tableId_ = 0L; 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 = 6; * @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 = 6; * @return The count of tabletId. */ public int getTabletIdCount() { return tabletId_.size(); } /** * repeated int64 tablet_id = 6; * @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 = 6; * @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 = 6; * @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 = 6; * @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 = 6; * @return This builder for chaining. */ public Builder clearTabletId() { tabletId_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } private cz.proto.ingestion.Ingestion.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.Account, cz.proto.ingestion.Ingestion.Account.Builder, cz.proto.ingestion.Ingestion.AccountOrBuilder> accountBuilder_; /** * .cz.proto.ingestion.Account account = 7; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.ingestion.Account account = 7; * @return The account. */ public cz.proto.ingestion.Ingestion.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.ingestion.Ingestion.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.ingestion.Account account = 7; */ public Builder setAccount(cz.proto.ingestion.Ingestion.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.Account account = 7; */ public Builder setAccount( cz.proto.ingestion.Ingestion.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.Account account = 7; */ public Builder mergeAccount(cz.proto.ingestion.Ingestion.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.ingestion.Ingestion.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.Account account = 7; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.ingestion.Account account = 7; */ public cz.proto.ingestion.Ingestion.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.Account account = 7; */ public cz.proto.ingestion.Ingestion.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.ingestion.Ingestion.Account.getDefaultInstance() : account_; } } /** * .cz.proto.ingestion.Account account = 7; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.Account, cz.proto.ingestion.Ingestion.Account.Builder, cz.proto.ingestion.Ingestion.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.Account, cz.proto.ingestion.Ingestion.Account.Builder, cz.proto.ingestion.Ingestion.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private java.lang.Object requestId_ = ""; /** * string request_id = 8; * @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 = 8; * @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 = 8; * @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 = 8; * @return This builder for chaining. */ public Builder clearRequestId() { requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** * string request_id = 8; * @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.DropTabletRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.DropTabletRequest) private static final cz.proto.ingestion.Ingestion.DropTabletRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.DropTabletRequest(); } public static cz.proto.ingestion.Ingestion.DropTabletRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DropTabletRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DropTabletRequest(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.Ingestion.DropTabletRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DropTabletResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.DropTabletResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return The status. */ cz.proto.ingestion.Ingestion.ResponseStatus getStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 1; */ cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.DropTabletResponse} */ public static final class DropTabletResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.DropTabletResponse) DropTabletResponseOrBuilder { private static final long serialVersionUID = 0L; // Use DropTabletResponse.newBuilder() to construct. private DropTabletResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DropTabletResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DropTabletResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DropTabletResponse( 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.Ingestion.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.Ingestion.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.Ingestion.internal_static_cz_proto_ingestion_DropTabletResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_DropTabletResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.DropTabletResponse.class, cz.proto.ingestion.Ingestion.DropTabletResponse.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private cz.proto.ingestion.Ingestion.ResponseStatus status_; /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return The status. */ @java.lang.Override public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ @java.lang.Override public cz.proto.ingestion.Ingestion.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.Ingestion.DropTabletResponse)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.DropTabletResponse other = (cz.proto.ingestion.Ingestion.DropTabletResponse) 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.Ingestion.DropTabletResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.DropTabletResponse 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.Ingestion.DropTabletResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.DropTabletResponse 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.Ingestion.DropTabletResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.DropTabletResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.DropTabletResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.DropTabletResponse 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.Ingestion.DropTabletResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.DropTabletResponse 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.Ingestion.DropTabletResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.DropTabletResponse 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.Ingestion.DropTabletResponse 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.DropTabletResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.DropTabletResponse) cz.proto.ingestion.Ingestion.DropTabletResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_DropTabletResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_DropTabletResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.DropTabletResponse.class, cz.proto.ingestion.Ingestion.DropTabletResponse.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.DropTabletResponse.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.Ingestion.internal_static_cz_proto_ingestion_DropTabletResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.DropTabletResponse getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.DropTabletResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.DropTabletResponse build() { cz.proto.ingestion.Ingestion.DropTabletResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.DropTabletResponse buildPartial() { cz.proto.ingestion.Ingestion.DropTabletResponse result = new cz.proto.ingestion.Ingestion.DropTabletResponse(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.Ingestion.DropTabletResponse) { return mergeFrom((cz.proto.ingestion.Ingestion.DropTabletResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.DropTabletResponse other) { if (other == cz.proto.ingestion.Ingestion.DropTabletResponse.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.Ingestion.DropTabletResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.DropTabletResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.Ingestion.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return The status. */ public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder setStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder setStatus( cz.proto.ingestion.Ingestion.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder mergeStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.Ingestion.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public cz.proto.ingestion.Ingestion.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.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.DropTabletResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.DropTabletResponse) private static final cz.proto.ingestion.Ingestion.DropTabletResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.DropTabletResponse(); } public static cz.proto.ingestion.Ingestion.DropTabletResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DropTabletResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DropTabletResponse(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.Ingestion.DropTabletResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RestartTabletRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.RestartTabletRequest) com.google.protobuf.MessageOrBuilder { /** * int64 tablet_id = 1; * @return The tabletId. */ long getTabletId(); /** * string message = 2; * @return The message. */ java.lang.String getMessage(); /** * string message = 2; * @return The bytes for message. */ com.google.protobuf.ByteString getMessageBytes(); } /** * Protobuf type {@code cz.proto.ingestion.RestartTabletRequest} */ public static final class RestartTabletRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.RestartTabletRequest) RestartTabletRequestOrBuilder { private static final long serialVersionUID = 0L; // Use RestartTabletRequest.newBuilder() to construct. private RestartTabletRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RestartTabletRequest() { message_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RestartTabletRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RestartTabletRequest( 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.readInt64(); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); message_ = 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.Ingestion.internal_static_cz_proto_ingestion_RestartTabletRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_RestartTabletRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.RestartTabletRequest.class, cz.proto.ingestion.Ingestion.RestartTabletRequest.Builder.class); } public static final int TABLET_ID_FIELD_NUMBER = 1; private long tabletId_; /** * int64 tablet_id = 1; * @return The tabletId. */ @java.lang.Override public long getTabletId() { return tabletId_; } public static final int MESSAGE_FIELD_NUMBER = 2; private volatile java.lang.Object message_; /** * string message = 2; * @return The message. */ @java.lang.Override public java.lang.String getMessage() { java.lang.Object ref = message_; 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(); message_ = s; return s; } } /** * string message = 2; * @return The bytes for message. */ @java.lang.Override public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = 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 (tabletId_ != 0L) { output.writeInt64(1, tabletId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (tabletId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, tabletId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); } 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.Ingestion.RestartTabletRequest)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.RestartTabletRequest other = (cz.proto.ingestion.Ingestion.RestartTabletRequest) obj; if (getTabletId() != other.getTabletId()) return false; if (!getMessage() .equals(other.getMessage())) 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) + TABLET_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTabletId()); hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.Ingestion.RestartTabletRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.RestartTabletRequest 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.Ingestion.RestartTabletRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.RestartTabletRequest 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.Ingestion.RestartTabletRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.RestartTabletRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.RestartTabletRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.RestartTabletRequest 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.Ingestion.RestartTabletRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.RestartTabletRequest 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.Ingestion.RestartTabletRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.RestartTabletRequest 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.Ingestion.RestartTabletRequest 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.RestartTabletRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.RestartTabletRequest) cz.proto.ingestion.Ingestion.RestartTabletRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_RestartTabletRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_RestartTabletRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.RestartTabletRequest.class, cz.proto.ingestion.Ingestion.RestartTabletRequest.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.RestartTabletRequest.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_ = 0L; message_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_RestartTabletRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.RestartTabletRequest getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.RestartTabletRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.RestartTabletRequest build() { cz.proto.ingestion.Ingestion.RestartTabletRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.RestartTabletRequest buildPartial() { cz.proto.ingestion.Ingestion.RestartTabletRequest result = new cz.proto.ingestion.Ingestion.RestartTabletRequest(this); result.tabletId_ = tabletId_; result.message_ = message_; 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.Ingestion.RestartTabletRequest) { return mergeFrom((cz.proto.ingestion.Ingestion.RestartTabletRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.RestartTabletRequest other) { if (other == cz.proto.ingestion.Ingestion.RestartTabletRequest.getDefaultInstance()) return this; if (other.getTabletId() != 0L) { setTabletId(other.getTabletId()); } if (!other.getMessage().isEmpty()) { message_ = other.message_; 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.Ingestion.RestartTabletRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.RestartTabletRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long tabletId_ ; /** * int64 tablet_id = 1; * @return The tabletId. */ @java.lang.Override public long getTabletId() { return tabletId_; } /** * int64 tablet_id = 1; * @param value The tabletId to set. * @return This builder for chaining. */ public Builder setTabletId(long value) { tabletId_ = value; onChanged(); return this; } /** * int64 tablet_id = 1; * @return This builder for chaining. */ public Builder clearTabletId() { tabletId_ = 0L; onChanged(); return this; } private java.lang.Object message_ = ""; /** * string message = 2; * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } else { return (java.lang.String) ref; } } /** * string message = 2; * @return The bytes for message. */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string message = 2; * @param value The message to set. * @return This builder for chaining. */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); return this; } /** * string message = 2; * @return This builder for chaining. */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** * string message = 2; * @param value The bytes for message to set. * @return This builder for chaining. */ public Builder setMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = 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.RestartTabletRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.RestartTabletRequest) private static final cz.proto.ingestion.Ingestion.RestartTabletRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.RestartTabletRequest(); } public static cz.proto.ingestion.Ingestion.RestartTabletRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RestartTabletRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RestartTabletRequest(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.Ingestion.RestartTabletRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RestartTabletResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.RestartTabletResponse) com.google.protobuf.MessageOrBuilder { /** * int64 tablet_id = 1; * @return The tabletId. */ long getTabletId(); /** * string message = 2; * @return The message. */ java.lang.String getMessage(); /** * string message = 2; * @return The bytes for message. */ com.google.protobuf.ByteString getMessageBytes(); /** * .cz.proto.ingestion.ResponseStatus status = 3; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 3; * @return The status. */ cz.proto.ingestion.Ingestion.ResponseStatus getStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 3; */ cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.RestartTabletResponse} */ public static final class RestartTabletResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.RestartTabletResponse) RestartTabletResponseOrBuilder { private static final long serialVersionUID = 0L; // Use RestartTabletResponse.newBuilder() to construct. private RestartTabletResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RestartTabletResponse() { message_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RestartTabletResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RestartTabletResponse( 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.readInt64(); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); message_ = s; break; } case 26: { cz.proto.ingestion.Ingestion.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.Ingestion.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.Ingestion.internal_static_cz_proto_ingestion_RestartTabletResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_RestartTabletResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.RestartTabletResponse.class, cz.proto.ingestion.Ingestion.RestartTabletResponse.Builder.class); } public static final int TABLET_ID_FIELD_NUMBER = 1; private long tabletId_; /** * int64 tablet_id = 1; * @return The tabletId. */ @java.lang.Override public long getTabletId() { return tabletId_; } public static final int MESSAGE_FIELD_NUMBER = 2; private volatile java.lang.Object message_; /** * string message = 2; * @return The message. */ @java.lang.Override public java.lang.String getMessage() { java.lang.Object ref = message_; 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(); message_ = s; return s; } } /** * string message = 2; * @return The bytes for message. */ @java.lang.Override public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STATUS_FIELD_NUMBER = 3; private cz.proto.ingestion.Ingestion.ResponseStatus status_; /** * .cz.proto.ingestion.ResponseStatus status = 3; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 3; * @return The status. */ @java.lang.Override public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ @java.lang.Override public cz.proto.ingestion.Ingestion.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 (tabletId_ != 0L) { output.writeInt64(1, tabletId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_); } 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; if (tabletId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, tabletId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); } 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.Ingestion.RestartTabletResponse)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.RestartTabletResponse other = (cz.proto.ingestion.Ingestion.RestartTabletResponse) obj; if (getTabletId() != other.getTabletId()) return false; if (!getMessage() .equals(other.getMessage())) 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(); hash = (37 * hash) + TABLET_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTabletId()); hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().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.Ingestion.RestartTabletResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.RestartTabletResponse 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.Ingestion.RestartTabletResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.RestartTabletResponse 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.Ingestion.RestartTabletResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.RestartTabletResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.RestartTabletResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.RestartTabletResponse 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.Ingestion.RestartTabletResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.RestartTabletResponse 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.Ingestion.RestartTabletResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.RestartTabletResponse 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.Ingestion.RestartTabletResponse 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.RestartTabletResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.RestartTabletResponse) cz.proto.ingestion.Ingestion.RestartTabletResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_RestartTabletResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_RestartTabletResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.RestartTabletResponse.class, cz.proto.ingestion.Ingestion.RestartTabletResponse.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.RestartTabletResponse.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_ = 0L; message_ = ""; 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.Ingestion.internal_static_cz_proto_ingestion_RestartTabletResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.RestartTabletResponse getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.RestartTabletResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.RestartTabletResponse build() { cz.proto.ingestion.Ingestion.RestartTabletResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.RestartTabletResponse buildPartial() { cz.proto.ingestion.Ingestion.RestartTabletResponse result = new cz.proto.ingestion.Ingestion.RestartTabletResponse(this); result.tabletId_ = tabletId_; result.message_ = message_; 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.Ingestion.RestartTabletResponse) { return mergeFrom((cz.proto.ingestion.Ingestion.RestartTabletResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.RestartTabletResponse other) { if (other == cz.proto.ingestion.Ingestion.RestartTabletResponse.getDefaultInstance()) return this; if (other.getTabletId() != 0L) { setTabletId(other.getTabletId()); } if (!other.getMessage().isEmpty()) { message_ = other.message_; 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.Ingestion.RestartTabletResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.RestartTabletResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long tabletId_ ; /** * int64 tablet_id = 1; * @return The tabletId. */ @java.lang.Override public long getTabletId() { return tabletId_; } /** * int64 tablet_id = 1; * @param value The tabletId to set. * @return This builder for chaining. */ public Builder setTabletId(long value) { tabletId_ = value; onChanged(); return this; } /** * int64 tablet_id = 1; * @return This builder for chaining. */ public Builder clearTabletId() { tabletId_ = 0L; onChanged(); return this; } private java.lang.Object message_ = ""; /** * string message = 2; * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } else { return (java.lang.String) ref; } } /** * string message = 2; * @return The bytes for message. */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string message = 2; * @param value The message to set. * @return This builder for chaining. */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); return this; } /** * string message = 2; * @return This builder for chaining. */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** * string message = 2; * @param value The bytes for message to set. * @return This builder for chaining. */ public Builder setMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; onChanged(); return this; } private cz.proto.ingestion.Ingestion.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.ResponseStatus status = 3; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 3; * @return The status. */ public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ public Builder setStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ public Builder setStatus( cz.proto.ingestion.Ingestion.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ public Builder mergeStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.Ingestion.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ public cz.proto.ingestion.Ingestion.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ public cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.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.RestartTabletResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.RestartTabletResponse) private static final cz.proto.ingestion.Ingestion.RestartTabletResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.RestartTabletResponse(); } public static cz.proto.ingestion.Ingestion.RestartTabletResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RestartTabletResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RestartTabletResponse(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.Ingestion.RestartTabletResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DelTabletRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.DelTabletRequest) com.google.protobuf.MessageOrBuilder { /** * int64 tablet_id = 1; * @return The tabletId. */ long getTabletId(); /** * string message = 2; * @return The message. */ java.lang.String getMessage(); /** * string message = 2; * @return The bytes for message. */ com.google.protobuf.ByteString getMessageBytes(); } /** * Protobuf type {@code cz.proto.ingestion.DelTabletRequest} */ public static final class DelTabletRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.DelTabletRequest) DelTabletRequestOrBuilder { private static final long serialVersionUID = 0L; // Use DelTabletRequest.newBuilder() to construct. private DelTabletRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DelTabletRequest() { message_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DelTabletRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DelTabletRequest( 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.readInt64(); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); message_ = 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.Ingestion.internal_static_cz_proto_ingestion_DelTabletRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_DelTabletRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.DelTabletRequest.class, cz.proto.ingestion.Ingestion.DelTabletRequest.Builder.class); } public static final int TABLET_ID_FIELD_NUMBER = 1; private long tabletId_; /** * int64 tablet_id = 1; * @return The tabletId. */ @java.lang.Override public long getTabletId() { return tabletId_; } public static final int MESSAGE_FIELD_NUMBER = 2; private volatile java.lang.Object message_; /** * string message = 2; * @return The message. */ @java.lang.Override public java.lang.String getMessage() { java.lang.Object ref = message_; 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(); message_ = s; return s; } } /** * string message = 2; * @return The bytes for message. */ @java.lang.Override public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = 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 (tabletId_ != 0L) { output.writeInt64(1, tabletId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (tabletId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, tabletId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); } 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.Ingestion.DelTabletRequest)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.DelTabletRequest other = (cz.proto.ingestion.Ingestion.DelTabletRequest) obj; if (getTabletId() != other.getTabletId()) return false; if (!getMessage() .equals(other.getMessage())) 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) + TABLET_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTabletId()); hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.Ingestion.DelTabletRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.DelTabletRequest 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.Ingestion.DelTabletRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.DelTabletRequest 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.Ingestion.DelTabletRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.DelTabletRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.DelTabletRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.DelTabletRequest 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.Ingestion.DelTabletRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.DelTabletRequest 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.Ingestion.DelTabletRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.DelTabletRequest 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.Ingestion.DelTabletRequest 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.DelTabletRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.DelTabletRequest) cz.proto.ingestion.Ingestion.DelTabletRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_DelTabletRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_DelTabletRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.DelTabletRequest.class, cz.proto.ingestion.Ingestion.DelTabletRequest.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.DelTabletRequest.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_ = 0L; message_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_DelTabletRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.DelTabletRequest getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.DelTabletRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.DelTabletRequest build() { cz.proto.ingestion.Ingestion.DelTabletRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.DelTabletRequest buildPartial() { cz.proto.ingestion.Ingestion.DelTabletRequest result = new cz.proto.ingestion.Ingestion.DelTabletRequest(this); result.tabletId_ = tabletId_; result.message_ = message_; 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.Ingestion.DelTabletRequest) { return mergeFrom((cz.proto.ingestion.Ingestion.DelTabletRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.DelTabletRequest other) { if (other == cz.proto.ingestion.Ingestion.DelTabletRequest.getDefaultInstance()) return this; if (other.getTabletId() != 0L) { setTabletId(other.getTabletId()); } if (!other.getMessage().isEmpty()) { message_ = other.message_; 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.Ingestion.DelTabletRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.DelTabletRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long tabletId_ ; /** * int64 tablet_id = 1; * @return The tabletId. */ @java.lang.Override public long getTabletId() { return tabletId_; } /** * int64 tablet_id = 1; * @param value The tabletId to set. * @return This builder for chaining. */ public Builder setTabletId(long value) { tabletId_ = value; onChanged(); return this; } /** * int64 tablet_id = 1; * @return This builder for chaining. */ public Builder clearTabletId() { tabletId_ = 0L; onChanged(); return this; } private java.lang.Object message_ = ""; /** * string message = 2; * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } else { return (java.lang.String) ref; } } /** * string message = 2; * @return The bytes for message. */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string message = 2; * @param value The message to set. * @return This builder for chaining. */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); return this; } /** * string message = 2; * @return This builder for chaining. */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** * string message = 2; * @param value The bytes for message to set. * @return This builder for chaining. */ public Builder setMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = 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.DelTabletRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.DelTabletRequest) private static final cz.proto.ingestion.Ingestion.DelTabletRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.DelTabletRequest(); } public static cz.proto.ingestion.Ingestion.DelTabletRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DelTabletRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DelTabletRequest(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.Ingestion.DelTabletRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DelTabletResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.DelTabletResponse) com.google.protobuf.MessageOrBuilder { /** * int64 tablet_id = 1; * @return The tabletId. */ long getTabletId(); /** * string message = 2; * @return The message. */ java.lang.String getMessage(); /** * string message = 2; * @return The bytes for message. */ com.google.protobuf.ByteString getMessageBytes(); /** * .cz.proto.ingestion.ResponseStatus status = 3; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 3; * @return The status. */ cz.proto.ingestion.Ingestion.ResponseStatus getStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 3; */ cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.DelTabletResponse} */ public static final class DelTabletResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.DelTabletResponse) DelTabletResponseOrBuilder { private static final long serialVersionUID = 0L; // Use DelTabletResponse.newBuilder() to construct. private DelTabletResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DelTabletResponse() { message_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DelTabletResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DelTabletResponse( 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.readInt64(); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); message_ = s; break; } case 26: { cz.proto.ingestion.Ingestion.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.Ingestion.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.Ingestion.internal_static_cz_proto_ingestion_DelTabletResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_DelTabletResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.DelTabletResponse.class, cz.proto.ingestion.Ingestion.DelTabletResponse.Builder.class); } public static final int TABLET_ID_FIELD_NUMBER = 1; private long tabletId_; /** * int64 tablet_id = 1; * @return The tabletId. */ @java.lang.Override public long getTabletId() { return tabletId_; } public static final int MESSAGE_FIELD_NUMBER = 2; private volatile java.lang.Object message_; /** * string message = 2; * @return The message. */ @java.lang.Override public java.lang.String getMessage() { java.lang.Object ref = message_; 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(); message_ = s; return s; } } /** * string message = 2; * @return The bytes for message. */ @java.lang.Override public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STATUS_FIELD_NUMBER = 3; private cz.proto.ingestion.Ingestion.ResponseStatus status_; /** * .cz.proto.ingestion.ResponseStatus status = 3; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 3; * @return The status. */ @java.lang.Override public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ @java.lang.Override public cz.proto.ingestion.Ingestion.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 (tabletId_ != 0L) { output.writeInt64(1, tabletId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_); } 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; if (tabletId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, tabletId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); } 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.Ingestion.DelTabletResponse)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.DelTabletResponse other = (cz.proto.ingestion.Ingestion.DelTabletResponse) obj; if (getTabletId() != other.getTabletId()) return false; if (!getMessage() .equals(other.getMessage())) 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(); hash = (37 * hash) + TABLET_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTabletId()); hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().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.Ingestion.DelTabletResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.DelTabletResponse 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.Ingestion.DelTabletResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.DelTabletResponse 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.Ingestion.DelTabletResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.DelTabletResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.DelTabletResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.DelTabletResponse 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.Ingestion.DelTabletResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.DelTabletResponse 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.Ingestion.DelTabletResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.DelTabletResponse 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.Ingestion.DelTabletResponse 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.DelTabletResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.DelTabletResponse) cz.proto.ingestion.Ingestion.DelTabletResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_DelTabletResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_DelTabletResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.DelTabletResponse.class, cz.proto.ingestion.Ingestion.DelTabletResponse.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.DelTabletResponse.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_ = 0L; message_ = ""; 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.Ingestion.internal_static_cz_proto_ingestion_DelTabletResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.DelTabletResponse getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.DelTabletResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.DelTabletResponse build() { cz.proto.ingestion.Ingestion.DelTabletResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.DelTabletResponse buildPartial() { cz.proto.ingestion.Ingestion.DelTabletResponse result = new cz.proto.ingestion.Ingestion.DelTabletResponse(this); result.tabletId_ = tabletId_; result.message_ = message_; 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.Ingestion.DelTabletResponse) { return mergeFrom((cz.proto.ingestion.Ingestion.DelTabletResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.DelTabletResponse other) { if (other == cz.proto.ingestion.Ingestion.DelTabletResponse.getDefaultInstance()) return this; if (other.getTabletId() != 0L) { setTabletId(other.getTabletId()); } if (!other.getMessage().isEmpty()) { message_ = other.message_; 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.Ingestion.DelTabletResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.DelTabletResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long tabletId_ ; /** * int64 tablet_id = 1; * @return The tabletId. */ @java.lang.Override public long getTabletId() { return tabletId_; } /** * int64 tablet_id = 1; * @param value The tabletId to set. * @return This builder for chaining. */ public Builder setTabletId(long value) { tabletId_ = value; onChanged(); return this; } /** * int64 tablet_id = 1; * @return This builder for chaining. */ public Builder clearTabletId() { tabletId_ = 0L; onChanged(); return this; } private java.lang.Object message_ = ""; /** * string message = 2; * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } else { return (java.lang.String) ref; } } /** * string message = 2; * @return The bytes for message. */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string message = 2; * @param value The message to set. * @return This builder for chaining. */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); return this; } /** * string message = 2; * @return This builder for chaining. */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** * string message = 2; * @param value The bytes for message to set. * @return This builder for chaining. */ public Builder setMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; onChanged(); return this; } private cz.proto.ingestion.Ingestion.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.ResponseStatus status = 3; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 3; * @return The status. */ public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ public Builder setStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ public Builder setStatus( cz.proto.ingestion.Ingestion.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ public Builder mergeStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.Ingestion.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ public cz.proto.ingestion.Ingestion.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ public cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.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.DelTabletResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.DelTabletResponse) private static final cz.proto.ingestion.Ingestion.DelTabletResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.DelTabletResponse(); } public static cz.proto.ingestion.Ingestion.DelTabletResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DelTabletResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DelTabletResponse(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.Ingestion.DelTabletResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BroadcastRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.BroadcastRequest) com.google.protobuf.MessageOrBuilder { /** * int64 instance_id = 1; * @return The instanceId. */ long getInstanceId(); /** * int64 table_id = 2; * @return The tableId. */ long getTableId(); /** * 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); /** * bool clear_cache = 4; * @return The clearCache. */ boolean getClearCache(); } /** * Protobuf type {@code cz.proto.ingestion.BroadcastRequest} */ public static final class BroadcastRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.BroadcastRequest) BroadcastRequestOrBuilder { private static final long serialVersionUID = 0L; // Use BroadcastRequest.newBuilder() to construct. private BroadcastRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BroadcastRequest() { tabletId_ = emptyLongList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BroadcastRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BroadcastRequest( 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: { instanceId_ = input.readInt64(); break; } case 16: { tableId_ = input.readInt64(); 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; } case 32: { clearCache_ = 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)) { tabletId_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_BroadcastRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_BroadcastRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.BroadcastRequest.class, cz.proto.ingestion.Ingestion.BroadcastRequest.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 TABLE_ID_FIELD_NUMBER = 2; private long tableId_; /** * int64 table_id = 2; * @return The tableId. */ @java.lang.Override public long getTableId() { return tableId_; } 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; public static final int CLEAR_CACHE_FIELD_NUMBER = 4; private boolean clearCache_; /** * bool clear_cache = 4; * @return The clearCache. */ @java.lang.Override public boolean getClearCache() { return clearCache_; } 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 (instanceId_ != 0L) { output.writeInt64(1, instanceId_); } if (tableId_ != 0L) { output.writeInt64(2, tableId_); } if (getTabletIdList().size() > 0) { output.writeUInt32NoTag(26); output.writeUInt32NoTag(tabletIdMemoizedSerializedSize); } for (int i = 0; i < tabletId_.size(); i++) { output.writeInt64NoTag(tabletId_.getLong(i)); } if (clearCache_ != false) { output.writeBool(4, clearCache_); } 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 (tableId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, tableId_); } { 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 (clearCache_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, clearCache_); } 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.Ingestion.BroadcastRequest)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.BroadcastRequest other = (cz.proto.ingestion.Ingestion.BroadcastRequest) obj; if (getInstanceId() != other.getInstanceId()) return false; if (getTableId() != other.getTableId()) return false; if (!getTabletIdList() .equals(other.getTabletIdList())) return false; if (getClearCache() != other.getClearCache()) 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) + TABLE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTableId()); if (getTabletIdCount() > 0) { hash = (37 * hash) + TABLET_ID_FIELD_NUMBER; hash = (53 * hash) + getTabletIdList().hashCode(); } hash = (37 * hash) + CLEAR_CACHE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getClearCache()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.Ingestion.BroadcastRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.BroadcastRequest 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.Ingestion.BroadcastRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.BroadcastRequest 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.Ingestion.BroadcastRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.BroadcastRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.BroadcastRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.BroadcastRequest 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.Ingestion.BroadcastRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.BroadcastRequest 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.Ingestion.BroadcastRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.BroadcastRequest 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.Ingestion.BroadcastRequest 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.BroadcastRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.BroadcastRequest) cz.proto.ingestion.Ingestion.BroadcastRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_BroadcastRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_BroadcastRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.BroadcastRequest.class, cz.proto.ingestion.Ingestion.BroadcastRequest.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.BroadcastRequest.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; tableId_ = 0L; tabletId_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000001); clearCache_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_BroadcastRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.BroadcastRequest getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.BroadcastRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.BroadcastRequest build() { cz.proto.ingestion.Ingestion.BroadcastRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.BroadcastRequest buildPartial() { cz.proto.ingestion.Ingestion.BroadcastRequest result = new cz.proto.ingestion.Ingestion.BroadcastRequest(this); int from_bitField0_ = bitField0_; result.instanceId_ = instanceId_; result.tableId_ = tableId_; if (((bitField0_ & 0x00000001) != 0)) { tabletId_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000001); } result.tabletId_ = tabletId_; result.clearCache_ = clearCache_; 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.Ingestion.BroadcastRequest) { return mergeFrom((cz.proto.ingestion.Ingestion.BroadcastRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.BroadcastRequest other) { if (other == cz.proto.ingestion.Ingestion.BroadcastRequest.getDefaultInstance()) return this; if (other.getInstanceId() != 0L) { setInstanceId(other.getInstanceId()); } if (other.getTableId() != 0L) { setTableId(other.getTableId()); } if (!other.tabletId_.isEmpty()) { if (tabletId_.isEmpty()) { tabletId_ = other.tabletId_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTabletIdIsMutable(); tabletId_.addAll(other.tabletId_); } onChanged(); } if (other.getClearCache() != false) { setClearCache(other.getClearCache()); } 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.Ingestion.BroadcastRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.BroadcastRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; 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 long tableId_ ; /** * int64 table_id = 2; * @return The tableId. */ @java.lang.Override public long getTableId() { return tableId_; } /** * int64 table_id = 2; * @param value The tableId to set. * @return This builder for chaining. */ public Builder setTableId(long value) { tableId_ = value; onChanged(); return this; } /** * int64 table_id = 2; * @return This builder for chaining. */ public Builder clearTableId() { tableId_ = 0L; 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; } private boolean clearCache_ ; /** * bool clear_cache = 4; * @return The clearCache. */ @java.lang.Override public boolean getClearCache() { return clearCache_; } /** * bool clear_cache = 4; * @param value The clearCache to set. * @return This builder for chaining. */ public Builder setClearCache(boolean value) { clearCache_ = value; onChanged(); return this; } /** * bool clear_cache = 4; * @return This builder for chaining. */ public Builder clearClearCache() { clearCache_ = 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.BroadcastRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.BroadcastRequest) private static final cz.proto.ingestion.Ingestion.BroadcastRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.BroadcastRequest(); } public static cz.proto.ingestion.Ingestion.BroadcastRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BroadcastRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BroadcastRequest(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.Ingestion.BroadcastRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BroadcastResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.BroadcastResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return The status. */ cz.proto.ingestion.Ingestion.ResponseStatus getStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 1; */ cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.BroadcastResponse} */ public static final class BroadcastResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.BroadcastResponse) BroadcastResponseOrBuilder { private static final long serialVersionUID = 0L; // Use BroadcastResponse.newBuilder() to construct. private BroadcastResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BroadcastResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new BroadcastResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BroadcastResponse( 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.Ingestion.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.Ingestion.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.Ingestion.internal_static_cz_proto_ingestion_BroadcastResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_BroadcastResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.BroadcastResponse.class, cz.proto.ingestion.Ingestion.BroadcastResponse.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private cz.proto.ingestion.Ingestion.ResponseStatus status_; /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return The status. */ @java.lang.Override public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ @java.lang.Override public cz.proto.ingestion.Ingestion.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.Ingestion.BroadcastResponse)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.BroadcastResponse other = (cz.proto.ingestion.Ingestion.BroadcastResponse) 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.Ingestion.BroadcastResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.BroadcastResponse 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.Ingestion.BroadcastResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.BroadcastResponse 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.Ingestion.BroadcastResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.BroadcastResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.BroadcastResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.BroadcastResponse 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.Ingestion.BroadcastResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.BroadcastResponse 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.Ingestion.BroadcastResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.BroadcastResponse 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.Ingestion.BroadcastResponse 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.BroadcastResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.BroadcastResponse) cz.proto.ingestion.Ingestion.BroadcastResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_BroadcastResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_BroadcastResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.BroadcastResponse.class, cz.proto.ingestion.Ingestion.BroadcastResponse.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.BroadcastResponse.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.Ingestion.internal_static_cz_proto_ingestion_BroadcastResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.BroadcastResponse getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.BroadcastResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.BroadcastResponse build() { cz.proto.ingestion.Ingestion.BroadcastResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.BroadcastResponse buildPartial() { cz.proto.ingestion.Ingestion.BroadcastResponse result = new cz.proto.ingestion.Ingestion.BroadcastResponse(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.Ingestion.BroadcastResponse) { return mergeFrom((cz.proto.ingestion.Ingestion.BroadcastResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.BroadcastResponse other) { if (other == cz.proto.ingestion.Ingestion.BroadcastResponse.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.Ingestion.BroadcastResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.BroadcastResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.Ingestion.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return The status. */ public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder setStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder setStatus( cz.proto.ingestion.Ingestion.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder mergeStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.Ingestion.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public cz.proto.ingestion.Ingestion.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.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.BroadcastResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.BroadcastResponse) private static final cz.proto.ingestion.Ingestion.BroadcastResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.BroadcastResponse(); } public static cz.proto.ingestion.Ingestion.BroadcastResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public BroadcastResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new BroadcastResponse(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.Ingestion.BroadcastResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface WorkerHBRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.WorkerHBRequest) com.google.protobuf.MessageOrBuilder { /** * int64 worker_id = 1; * @return The workerId. */ long getWorkerId(); /** * int64 worker_port = 2; * @return The workerPort. */ long getWorkerPort(); /** * string worker_host = 3; * @return The workerHost. */ java.lang.String getWorkerHost(); /** * string worker_host = 3; * @return The bytes for workerHost. */ com.google.protobuf.ByteString getWorkerHostBytes(); /** * string message = 4; * @return The message. */ java.lang.String getMessage(); /** * string message = 4; * @return The bytes for message. */ com.google.protobuf.ByteString getMessageBytes(); } /** * Protobuf type {@code cz.proto.ingestion.WorkerHBRequest} */ public static final class WorkerHBRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.WorkerHBRequest) WorkerHBRequestOrBuilder { private static final long serialVersionUID = 0L; // Use WorkerHBRequest.newBuilder() to construct. private WorkerHBRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private WorkerHBRequest() { workerHost_ = ""; message_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new WorkerHBRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private WorkerHBRequest( 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: { workerId_ = input.readInt64(); break; } case 16: { workerPort_ = input.readInt64(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); workerHost_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); message_ = 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.Ingestion.internal_static_cz_proto_ingestion_WorkerHBRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_WorkerHBRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.WorkerHBRequest.class, cz.proto.ingestion.Ingestion.WorkerHBRequest.Builder.class); } public static final int WORKER_ID_FIELD_NUMBER = 1; private long workerId_; /** * int64 worker_id = 1; * @return The workerId. */ @java.lang.Override public long getWorkerId() { return workerId_; } public static final int WORKER_PORT_FIELD_NUMBER = 2; private long workerPort_; /** * int64 worker_port = 2; * @return The workerPort. */ @java.lang.Override public long getWorkerPort() { return workerPort_; } public static final int WORKER_HOST_FIELD_NUMBER = 3; private volatile java.lang.Object workerHost_; /** * string worker_host = 3; * @return The workerHost. */ @java.lang.Override public java.lang.String getWorkerHost() { java.lang.Object ref = workerHost_; 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(); workerHost_ = s; return s; } } /** * string worker_host = 3; * @return The bytes for workerHost. */ @java.lang.Override public com.google.protobuf.ByteString getWorkerHostBytes() { java.lang.Object ref = workerHost_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workerHost_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MESSAGE_FIELD_NUMBER = 4; private volatile java.lang.Object message_; /** * string message = 4; * @return The message. */ @java.lang.Override public java.lang.String getMessage() { java.lang.Object ref = message_; 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(); message_ = s; return s; } } /** * string message = 4; * @return The bytes for message. */ @java.lang.Override public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = 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 (workerId_ != 0L) { output.writeInt64(1, workerId_); } if (workerPort_ != 0L) { output.writeInt64(2, workerPort_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workerHost_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, workerHost_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, message_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (workerId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, workerId_); } if (workerPort_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, workerPort_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workerHost_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, workerHost_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, message_); } 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.Ingestion.WorkerHBRequest)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.WorkerHBRequest other = (cz.proto.ingestion.Ingestion.WorkerHBRequest) obj; if (getWorkerId() != other.getWorkerId()) return false; if (getWorkerPort() != other.getWorkerPort()) return false; if (!getWorkerHost() .equals(other.getWorkerHost())) return false; if (!getMessage() .equals(other.getMessage())) 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) + WORKER_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getWorkerId()); hash = (37 * hash) + WORKER_PORT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getWorkerPort()); hash = (37 * hash) + WORKER_HOST_FIELD_NUMBER; hash = (53 * hash) + getWorkerHost().hashCode(); hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.Ingestion.WorkerHBRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.WorkerHBRequest 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.Ingestion.WorkerHBRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.WorkerHBRequest 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.Ingestion.WorkerHBRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.WorkerHBRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.WorkerHBRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.WorkerHBRequest 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.Ingestion.WorkerHBRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.WorkerHBRequest 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.Ingestion.WorkerHBRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.WorkerHBRequest 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.Ingestion.WorkerHBRequest 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.WorkerHBRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.WorkerHBRequest) cz.proto.ingestion.Ingestion.WorkerHBRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_WorkerHBRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_WorkerHBRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.WorkerHBRequest.class, cz.proto.ingestion.Ingestion.WorkerHBRequest.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.WorkerHBRequest.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(); workerId_ = 0L; workerPort_ = 0L; workerHost_ = ""; message_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_WorkerHBRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.WorkerHBRequest getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.WorkerHBRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.WorkerHBRequest build() { cz.proto.ingestion.Ingestion.WorkerHBRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.WorkerHBRequest buildPartial() { cz.proto.ingestion.Ingestion.WorkerHBRequest result = new cz.proto.ingestion.Ingestion.WorkerHBRequest(this); result.workerId_ = workerId_; result.workerPort_ = workerPort_; result.workerHost_ = workerHost_; result.message_ = message_; 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.Ingestion.WorkerHBRequest) { return mergeFrom((cz.proto.ingestion.Ingestion.WorkerHBRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.WorkerHBRequest other) { if (other == cz.proto.ingestion.Ingestion.WorkerHBRequest.getDefaultInstance()) return this; if (other.getWorkerId() != 0L) { setWorkerId(other.getWorkerId()); } if (other.getWorkerPort() != 0L) { setWorkerPort(other.getWorkerPort()); } if (!other.getWorkerHost().isEmpty()) { workerHost_ = other.workerHost_; onChanged(); } if (!other.getMessage().isEmpty()) { message_ = other.message_; 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.Ingestion.WorkerHBRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.WorkerHBRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long workerId_ ; /** * int64 worker_id = 1; * @return The workerId. */ @java.lang.Override public long getWorkerId() { return workerId_; } /** * int64 worker_id = 1; * @param value The workerId to set. * @return This builder for chaining. */ public Builder setWorkerId(long value) { workerId_ = value; onChanged(); return this; } /** * int64 worker_id = 1; * @return This builder for chaining. */ public Builder clearWorkerId() { workerId_ = 0L; onChanged(); return this; } private long workerPort_ ; /** * int64 worker_port = 2; * @return The workerPort. */ @java.lang.Override public long getWorkerPort() { return workerPort_; } /** * int64 worker_port = 2; * @param value The workerPort to set. * @return This builder for chaining. */ public Builder setWorkerPort(long value) { workerPort_ = value; onChanged(); return this; } /** * int64 worker_port = 2; * @return This builder for chaining. */ public Builder clearWorkerPort() { workerPort_ = 0L; onChanged(); return this; } private java.lang.Object workerHost_ = ""; /** * string worker_host = 3; * @return The workerHost. */ public java.lang.String getWorkerHost() { java.lang.Object ref = workerHost_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workerHost_ = s; return s; } else { return (java.lang.String) ref; } } /** * string worker_host = 3; * @return The bytes for workerHost. */ public com.google.protobuf.ByteString getWorkerHostBytes() { java.lang.Object ref = workerHost_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workerHost_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string worker_host = 3; * @param value The workerHost to set. * @return This builder for chaining. */ public Builder setWorkerHost( java.lang.String value) { if (value == null) { throw new NullPointerException(); } workerHost_ = value; onChanged(); return this; } /** * string worker_host = 3; * @return This builder for chaining. */ public Builder clearWorkerHost() { workerHost_ = getDefaultInstance().getWorkerHost(); onChanged(); return this; } /** * string worker_host = 3; * @param value The bytes for workerHost to set. * @return This builder for chaining. */ public Builder setWorkerHostBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); workerHost_ = value; onChanged(); return this; } private java.lang.Object message_ = ""; /** * string message = 4; * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } else { return (java.lang.String) ref; } } /** * string message = 4; * @return The bytes for message. */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string message = 4; * @param value The message to set. * @return This builder for chaining. */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); return this; } /** * string message = 4; * @return This builder for chaining. */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** * string message = 4; * @param value The bytes for message to set. * @return This builder for chaining. */ public Builder setMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = 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.WorkerHBRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.WorkerHBRequest) private static final cz.proto.ingestion.Ingestion.WorkerHBRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.WorkerHBRequest(); } public static cz.proto.ingestion.Ingestion.WorkerHBRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public WorkerHBRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new WorkerHBRequest(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.Ingestion.WorkerHBRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface WorkerHBResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.WorkerHBResponse) com.google.protobuf.MessageOrBuilder { /** * int64 worker_id = 1; * @return The workerId. */ long getWorkerId(); /** * string message = 2; * @return The message. */ java.lang.String getMessage(); /** * string message = 2; * @return The bytes for message. */ com.google.protobuf.ByteString getMessageBytes(); /** * .cz.proto.ingestion.ResponseStatus status = 3; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 3; * @return The status. */ cz.proto.ingestion.Ingestion.ResponseStatus getStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 3; */ cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.WorkerHBResponse} */ public static final class WorkerHBResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.WorkerHBResponse) WorkerHBResponseOrBuilder { private static final long serialVersionUID = 0L; // Use WorkerHBResponse.newBuilder() to construct. private WorkerHBResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private WorkerHBResponse() { message_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new WorkerHBResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private WorkerHBResponse( 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: { workerId_ = input.readInt64(); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); message_ = s; break; } case 26: { cz.proto.ingestion.Ingestion.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.Ingestion.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.Ingestion.internal_static_cz_proto_ingestion_WorkerHBResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_WorkerHBResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.WorkerHBResponse.class, cz.proto.ingestion.Ingestion.WorkerHBResponse.Builder.class); } public static final int WORKER_ID_FIELD_NUMBER = 1; private long workerId_; /** * int64 worker_id = 1; * @return The workerId. */ @java.lang.Override public long getWorkerId() { return workerId_; } public static final int MESSAGE_FIELD_NUMBER = 2; private volatile java.lang.Object message_; /** * string message = 2; * @return The message. */ @java.lang.Override public java.lang.String getMessage() { java.lang.Object ref = message_; 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(); message_ = s; return s; } } /** * string message = 2; * @return The bytes for message. */ @java.lang.Override public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STATUS_FIELD_NUMBER = 3; private cz.proto.ingestion.Ingestion.ResponseStatus status_; /** * .cz.proto.ingestion.ResponseStatus status = 3; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 3; * @return The status. */ @java.lang.Override public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ @java.lang.Override public cz.proto.ingestion.Ingestion.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 (workerId_ != 0L) { output.writeInt64(1, workerId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_); } 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; if (workerId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, workerId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); } 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.Ingestion.WorkerHBResponse)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.WorkerHBResponse other = (cz.proto.ingestion.Ingestion.WorkerHBResponse) obj; if (getWorkerId() != other.getWorkerId()) return false; if (!getMessage() .equals(other.getMessage())) 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(); hash = (37 * hash) + WORKER_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getWorkerId()); hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().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.Ingestion.WorkerHBResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.WorkerHBResponse 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.Ingestion.WorkerHBResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.WorkerHBResponse 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.Ingestion.WorkerHBResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.WorkerHBResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.WorkerHBResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.WorkerHBResponse 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.Ingestion.WorkerHBResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.WorkerHBResponse 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.Ingestion.WorkerHBResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.WorkerHBResponse 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.Ingestion.WorkerHBResponse 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.WorkerHBResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.WorkerHBResponse) cz.proto.ingestion.Ingestion.WorkerHBResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_WorkerHBResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_WorkerHBResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.WorkerHBResponse.class, cz.proto.ingestion.Ingestion.WorkerHBResponse.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.WorkerHBResponse.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(); workerId_ = 0L; message_ = ""; 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.Ingestion.internal_static_cz_proto_ingestion_WorkerHBResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.WorkerHBResponse getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.WorkerHBResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.WorkerHBResponse build() { cz.proto.ingestion.Ingestion.WorkerHBResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.WorkerHBResponse buildPartial() { cz.proto.ingestion.Ingestion.WorkerHBResponse result = new cz.proto.ingestion.Ingestion.WorkerHBResponse(this); result.workerId_ = workerId_; result.message_ = message_; 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.Ingestion.WorkerHBResponse) { return mergeFrom((cz.proto.ingestion.Ingestion.WorkerHBResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.WorkerHBResponse other) { if (other == cz.proto.ingestion.Ingestion.WorkerHBResponse.getDefaultInstance()) return this; if (other.getWorkerId() != 0L) { setWorkerId(other.getWorkerId()); } if (!other.getMessage().isEmpty()) { message_ = other.message_; 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.Ingestion.WorkerHBResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.WorkerHBResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long workerId_ ; /** * int64 worker_id = 1; * @return The workerId. */ @java.lang.Override public long getWorkerId() { return workerId_; } /** * int64 worker_id = 1; * @param value The workerId to set. * @return This builder for chaining. */ public Builder setWorkerId(long value) { workerId_ = value; onChanged(); return this; } /** * int64 worker_id = 1; * @return This builder for chaining. */ public Builder clearWorkerId() { workerId_ = 0L; onChanged(); return this; } private java.lang.Object message_ = ""; /** * string message = 2; * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } else { return (java.lang.String) ref; } } /** * string message = 2; * @return The bytes for message. */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string message = 2; * @param value The message to set. * @return This builder for chaining. */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); return this; } /** * string message = 2; * @return This builder for chaining. */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** * string message = 2; * @param value The bytes for message to set. * @return This builder for chaining. */ public Builder setMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; onChanged(); return this; } private cz.proto.ingestion.Ingestion.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.ResponseStatus status = 3; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 3; * @return The status. */ public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ public Builder setStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ public Builder setStatus( cz.proto.ingestion.Ingestion.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ public Builder mergeStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.Ingestion.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ public cz.proto.ingestion.Ingestion.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ public cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.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.WorkerHBResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.WorkerHBResponse) private static final cz.proto.ingestion.Ingestion.WorkerHBResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.WorkerHBResponse(); } public static cz.proto.ingestion.Ingestion.WorkerHBResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public WorkerHBResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new WorkerHBResponse(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.Ingestion.WorkerHBResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetTabletsMappingRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.GetTabletsMappingRequest) com.google.protobuf.MessageOrBuilder { /** * int64 worker_id = 1; * @return The workerId. */ long getWorkerId(); /** * string schema_name = 2; * @return The schemaName. */ java.lang.String getSchemaName(); /** * string schema_name = 2; * @return The bytes for schemaName. */ com.google.protobuf.ByteString getSchemaNameBytes(); /** * string table_name = 3; * @return The tableName. */ java.lang.String getTableName(); /** * string table_name = 3; * @return The bytes for tableName. */ com.google.protobuf.ByteString getTableNameBytes(); } /** * Protobuf type {@code cz.proto.ingestion.GetTabletsMappingRequest} */ public static final class GetTabletsMappingRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.GetTabletsMappingRequest) GetTabletsMappingRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetTabletsMappingRequest.newBuilder() to construct. private GetTabletsMappingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetTabletsMappingRequest() { schemaName_ = ""; tableName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetTabletsMappingRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetTabletsMappingRequest( 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: { workerId_ = input.readInt64(); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); schemaName_ = s; break; } case 26: { 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.Ingestion.internal_static_cz_proto_ingestion_GetTabletsMappingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetTabletsMappingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.GetTabletsMappingRequest.class, cz.proto.ingestion.Ingestion.GetTabletsMappingRequest.Builder.class); } public static final int WORKER_ID_FIELD_NUMBER = 1; private long workerId_; /** * int64 worker_id = 1; * @return The workerId. */ @java.lang.Override public long getWorkerId() { return workerId_; } public static final int SCHEMA_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object schemaName_; /** * string schema_name = 2; * @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 = 2; * @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 = 3; private volatile java.lang.Object tableName_; /** * string table_name = 3; * @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 = 3; * @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 (workerId_ != 0L) { output.writeInt64(1, workerId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, schemaName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tableName_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (workerId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, workerId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, schemaName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, 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.Ingestion.GetTabletsMappingRequest)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.GetTabletsMappingRequest other = (cz.proto.ingestion.Ingestion.GetTabletsMappingRequest) obj; if (getWorkerId() != other.getWorkerId()) 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) + WORKER_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getWorkerId()); 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.Ingestion.GetTabletsMappingRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetTabletsMappingRequest 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.Ingestion.GetTabletsMappingRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetTabletsMappingRequest 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.Ingestion.GetTabletsMappingRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetTabletsMappingRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.GetTabletsMappingRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetTabletsMappingRequest 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.Ingestion.GetTabletsMappingRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetTabletsMappingRequest 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.Ingestion.GetTabletsMappingRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetTabletsMappingRequest 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.Ingestion.GetTabletsMappingRequest 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.GetTabletsMappingRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.GetTabletsMappingRequest) cz.proto.ingestion.Ingestion.GetTabletsMappingRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetTabletsMappingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetTabletsMappingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.GetTabletsMappingRequest.class, cz.proto.ingestion.Ingestion.GetTabletsMappingRequest.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.GetTabletsMappingRequest.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(); workerId_ = 0L; schemaName_ = ""; tableName_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetTabletsMappingRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.GetTabletsMappingRequest getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.GetTabletsMappingRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.GetTabletsMappingRequest build() { cz.proto.ingestion.Ingestion.GetTabletsMappingRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.GetTabletsMappingRequest buildPartial() { cz.proto.ingestion.Ingestion.GetTabletsMappingRequest result = new cz.proto.ingestion.Ingestion.GetTabletsMappingRequest(this); result.workerId_ = workerId_; 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.Ingestion.GetTabletsMappingRequest) { return mergeFrom((cz.proto.ingestion.Ingestion.GetTabletsMappingRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.GetTabletsMappingRequest other) { if (other == cz.proto.ingestion.Ingestion.GetTabletsMappingRequest.getDefaultInstance()) return this; if (other.getWorkerId() != 0L) { setWorkerId(other.getWorkerId()); } 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.Ingestion.GetTabletsMappingRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.GetTabletsMappingRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long workerId_ ; /** * int64 worker_id = 1; * @return The workerId. */ @java.lang.Override public long getWorkerId() { return workerId_; } /** * int64 worker_id = 1; * @param value The workerId to set. * @return This builder for chaining. */ public Builder setWorkerId(long value) { workerId_ = value; onChanged(); return this; } /** * int64 worker_id = 1; * @return This builder for chaining. */ public Builder clearWorkerId() { workerId_ = 0L; onChanged(); return this; } private java.lang.Object schemaName_ = ""; /** * string schema_name = 2; * @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 = 2; * @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 = 2; * @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 = 2; * @return This builder for chaining. */ public Builder clearSchemaName() { schemaName_ = getDefaultInstance().getSchemaName(); onChanged(); return this; } /** * string schema_name = 2; * @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 = 3; * @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 = 3; * @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 = 3; * @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 = 3; * @return This builder for chaining. */ public Builder clearTableName() { tableName_ = getDefaultInstance().getTableName(); onChanged(); return this; } /** * string table_name = 3; * @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.GetTabletsMappingRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.GetTabletsMappingRequest) private static final cz.proto.ingestion.Ingestion.GetTabletsMappingRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.GetTabletsMappingRequest(); } public static cz.proto.ingestion.Ingestion.GetTabletsMappingRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetTabletsMappingRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetTabletsMappingRequest(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.Ingestion.GetTabletsMappingRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetTabletsMappingResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.GetTabletsMappingResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return The status. */ cz.proto.ingestion.Ingestion.ResponseStatus getStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 1; */ cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder(); /** * map<string, .cz.proto.ingestion.TabletIdList> tablet_mapping = 2; */ int getTabletMappingCount(); /** * map<string, .cz.proto.ingestion.TabletIdList> tablet_mapping = 2; */ boolean containsTabletMapping( java.lang.String key); /** * Use {@link #getTabletMappingMap()} instead. */ @java.lang.Deprecated java.util.Map getTabletMapping(); /** * map<string, .cz.proto.ingestion.TabletIdList> tablet_mapping = 2; */ java.util.Map getTabletMappingMap(); /** * map<string, .cz.proto.ingestion.TabletIdList> tablet_mapping = 2; */ cz.proto.ingestion.Ingestion.TabletIdList getTabletMappingOrDefault( java.lang.String key, cz.proto.ingestion.Ingestion.TabletIdList defaultValue); /** * map<string, .cz.proto.ingestion.TabletIdList> tablet_mapping = 2; */ cz.proto.ingestion.Ingestion.TabletIdList getTabletMappingOrThrow( java.lang.String key); } /** * Protobuf type {@code cz.proto.ingestion.GetTabletsMappingResponse} */ public static final class GetTabletsMappingResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.GetTabletsMappingResponse) GetTabletsMappingResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetTabletsMappingResponse.newBuilder() to construct. private GetTabletsMappingResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetTabletsMappingResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetTabletsMappingResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetTabletsMappingResponse( 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.Ingestion.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.Ingestion.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(status_); status_ = subBuilder.buildPartial(); } break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { tabletMapping_ = com.google.protobuf.MapField.newMapField( TabletMappingDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry tabletMapping__ = input.readMessage( TabletMappingDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); tabletMapping_.getMutableMap().put( tabletMapping__.getKey(), tabletMapping__.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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetTabletsMappingResponse_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetTabletMapping(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetTabletsMappingResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.GetTabletsMappingResponse.class, cz.proto.ingestion.Ingestion.GetTabletsMappingResponse.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private cz.proto.ingestion.Ingestion.ResponseStatus status_; /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return The status. */ @java.lang.Override public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ @java.lang.Override public cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder() { return getStatus(); } public static final int TABLET_MAPPING_FIELD_NUMBER = 2; private static final class TabletMappingDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, cz.proto.ingestion.Ingestion.TabletIdList> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetTabletsMappingResponse_TabletMappingEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, cz.proto.ingestion.Ingestion.TabletIdList.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, cz.proto.ingestion.Ingestion.TabletIdList> tabletMapping_; private com.google.protobuf.MapField internalGetTabletMapping() { if (tabletMapping_ == null) { return com.google.protobuf.MapField.emptyMapField( TabletMappingDefaultEntryHolder.defaultEntry); } return tabletMapping_; } public int getTabletMappingCount() { return internalGetTabletMapping().getMap().size(); } /** * map<string, .cz.proto.ingestion.TabletIdList> tablet_mapping = 2; */ @java.lang.Override public boolean containsTabletMapping( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetTabletMapping().getMap().containsKey(key); } /** * Use {@link #getTabletMappingMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getTabletMapping() { return getTabletMappingMap(); } /** * map<string, .cz.proto.ingestion.TabletIdList> tablet_mapping = 2; */ @java.lang.Override public java.util.Map getTabletMappingMap() { return internalGetTabletMapping().getMap(); } /** * map<string, .cz.proto.ingestion.TabletIdList> tablet_mapping = 2; */ @java.lang.Override public cz.proto.ingestion.Ingestion.TabletIdList getTabletMappingOrDefault( java.lang.String key, cz.proto.ingestion.Ingestion.TabletIdList defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetTabletMapping().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .cz.proto.ingestion.TabletIdList> tablet_mapping = 2; */ @java.lang.Override public cz.proto.ingestion.Ingestion.TabletIdList getTabletMappingOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetTabletMapping().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 (status_ != null) { output.writeMessage(1, getStatus()); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetTabletMapping(), TabletMappingDefaultEntryHolder.defaultEntry, 2); 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()); } for (java.util.Map.Entry entry : internalGetTabletMapping().getMap().entrySet()) { com.google.protobuf.MapEntry tabletMapping__ = TabletMappingDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, tabletMapping__); } 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.Ingestion.GetTabletsMappingResponse)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.GetTabletsMappingResponse other = (cz.proto.ingestion.Ingestion.GetTabletsMappingResponse) obj; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) return false; } if (!internalGetTabletMapping().equals( other.internalGetTabletMapping())) 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 (!internalGetTabletMapping().getMap().isEmpty()) { hash = (37 * hash) + TABLET_MAPPING_FIELD_NUMBER; hash = (53 * hash) + internalGetTabletMapping().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.Ingestion.GetTabletsMappingResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetTabletsMappingResponse 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.Ingestion.GetTabletsMappingResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetTabletsMappingResponse 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.Ingestion.GetTabletsMappingResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetTabletsMappingResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.GetTabletsMappingResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetTabletsMappingResponse 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.Ingestion.GetTabletsMappingResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetTabletsMappingResponse 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.Ingestion.GetTabletsMappingResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetTabletsMappingResponse 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.Ingestion.GetTabletsMappingResponse 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.GetTabletsMappingResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.GetTabletsMappingResponse) cz.proto.ingestion.Ingestion.GetTabletsMappingResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetTabletsMappingResponse_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetTabletMapping(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 2: return internalGetMutableTabletMapping(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetTabletsMappingResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.GetTabletsMappingResponse.class, cz.proto.ingestion.Ingestion.GetTabletsMappingResponse.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.GetTabletsMappingResponse.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; } internalGetMutableTabletMapping().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetTabletsMappingResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.GetTabletsMappingResponse getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.GetTabletsMappingResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.GetTabletsMappingResponse build() { cz.proto.ingestion.Ingestion.GetTabletsMappingResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.GetTabletsMappingResponse buildPartial() { cz.proto.ingestion.Ingestion.GetTabletsMappingResponse result = new cz.proto.ingestion.Ingestion.GetTabletsMappingResponse(this); int from_bitField0_ = bitField0_; if (statusBuilder_ == null) { result.status_ = status_; } else { result.status_ = statusBuilder_.build(); } result.tabletMapping_ = internalGetTabletMapping(); result.tabletMapping_.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.Ingestion.GetTabletsMappingResponse) { return mergeFrom((cz.proto.ingestion.Ingestion.GetTabletsMappingResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.GetTabletsMappingResponse other) { if (other == cz.proto.ingestion.Ingestion.GetTabletsMappingResponse.getDefaultInstance()) return this; if (other.hasStatus()) { mergeStatus(other.getStatus()); } internalGetMutableTabletMapping().mergeFrom( other.internalGetTabletMapping()); 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.Ingestion.GetTabletsMappingResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.GetTabletsMappingResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.ingestion.Ingestion.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return The status. */ public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder setStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder setStatus( cz.proto.ingestion.Ingestion.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder mergeStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.Ingestion.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public cz.proto.ingestion.Ingestion.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder>( getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } private com.google.protobuf.MapField< java.lang.String, cz.proto.ingestion.Ingestion.TabletIdList> tabletMapping_; private com.google.protobuf.MapField internalGetTabletMapping() { if (tabletMapping_ == null) { return com.google.protobuf.MapField.emptyMapField( TabletMappingDefaultEntryHolder.defaultEntry); } return tabletMapping_; } private com.google.protobuf.MapField internalGetMutableTabletMapping() { onChanged();; if (tabletMapping_ == null) { tabletMapping_ = com.google.protobuf.MapField.newMapField( TabletMappingDefaultEntryHolder.defaultEntry); } if (!tabletMapping_.isMutable()) { tabletMapping_ = tabletMapping_.copy(); } return tabletMapping_; } public int getTabletMappingCount() { return internalGetTabletMapping().getMap().size(); } /** * map<string, .cz.proto.ingestion.TabletIdList> tablet_mapping = 2; */ @java.lang.Override public boolean containsTabletMapping( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetTabletMapping().getMap().containsKey(key); } /** * Use {@link #getTabletMappingMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getTabletMapping() { return getTabletMappingMap(); } /** * map<string, .cz.proto.ingestion.TabletIdList> tablet_mapping = 2; */ @java.lang.Override public java.util.Map getTabletMappingMap() { return internalGetTabletMapping().getMap(); } /** * map<string, .cz.proto.ingestion.TabletIdList> tablet_mapping = 2; */ @java.lang.Override public cz.proto.ingestion.Ingestion.TabletIdList getTabletMappingOrDefault( java.lang.String key, cz.proto.ingestion.Ingestion.TabletIdList defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetTabletMapping().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .cz.proto.ingestion.TabletIdList> tablet_mapping = 2; */ @java.lang.Override public cz.proto.ingestion.Ingestion.TabletIdList getTabletMappingOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetTabletMapping().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearTabletMapping() { internalGetMutableTabletMapping().getMutableMap() .clear(); return this; } /** * map<string, .cz.proto.ingestion.TabletIdList> tablet_mapping = 2; */ public Builder removeTabletMapping( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableTabletMapping().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableTabletMapping() { return internalGetMutableTabletMapping().getMutableMap(); } /** * map<string, .cz.proto.ingestion.TabletIdList> tablet_mapping = 2; */ public Builder putTabletMapping( java.lang.String key, cz.proto.ingestion.Ingestion.TabletIdList value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableTabletMapping().getMutableMap() .put(key, value); return this; } /** * map<string, .cz.proto.ingestion.TabletIdList> tablet_mapping = 2; */ public Builder putAllTabletMapping( java.util.Map values) { internalGetMutableTabletMapping().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.GetTabletsMappingResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.GetTabletsMappingResponse) private static final cz.proto.ingestion.Ingestion.GetTabletsMappingResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.GetTabletsMappingResponse(); } public static cz.proto.ingestion.Ingestion.GetTabletsMappingResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetTabletsMappingResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetTabletsMappingResponse(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.Ingestion.GetTabletsMappingResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TabletIdListOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.TabletIdList) com.google.protobuf.MessageOrBuilder { /** * repeated int64 tablet_id = 1; * @return A list containing the tabletId. */ java.util.List getTabletIdList(); /** * repeated int64 tablet_id = 1; * @return The count of tabletId. */ int getTabletIdCount(); /** * repeated int64 tablet_id = 1; * @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.TabletIdList} */ public static final class TabletIdList extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.TabletIdList) TabletIdListOrBuilder { private static final long serialVersionUID = 0L; // Use TabletIdList.newBuilder() to construct. private TabletIdList(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TabletIdList() { tabletId_ = emptyLongList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TabletIdList(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TabletIdList( 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)) { tabletId_ = newLongList(); mutable_bitField0_ |= 0x00000001; } tabletId_.addLong(input.readInt64()); break; } case 10: { 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.Ingestion.internal_static_cz_proto_ingestion_TabletIdList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_TabletIdList_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.TabletIdList.class, cz.proto.ingestion.Ingestion.TabletIdList.Builder.class); } public static final int TABLET_ID_FIELD_NUMBER = 1; private com.google.protobuf.Internal.LongList tabletId_; /** * repeated int64 tablet_id = 1; * @return A list containing the tabletId. */ @java.lang.Override public java.util.List getTabletIdList() { return tabletId_; } /** * repeated int64 tablet_id = 1; * @return The count of tabletId. */ public int getTabletIdCount() { return tabletId_.size(); } /** * repeated int64 tablet_id = 1; * @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 (getTabletIdList().size() > 0) { output.writeUInt32NoTag(10); 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; { 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.Ingestion.TabletIdList)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.TabletIdList other = (cz.proto.ingestion.Ingestion.TabletIdList) obj; 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 (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.Ingestion.TabletIdList parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.TabletIdList 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.Ingestion.TabletIdList parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.TabletIdList 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.Ingestion.TabletIdList parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.TabletIdList parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.TabletIdList parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.TabletIdList 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.Ingestion.TabletIdList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.TabletIdList 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.Ingestion.TabletIdList parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.TabletIdList 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.Ingestion.TabletIdList 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.TabletIdList} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.TabletIdList) cz.proto.ingestion.Ingestion.TabletIdListOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_TabletIdList_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_TabletIdList_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.TabletIdList.class, cz.proto.ingestion.Ingestion.TabletIdList.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.TabletIdList.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_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_TabletIdList_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.TabletIdList getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.TabletIdList.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.TabletIdList build() { cz.proto.ingestion.Ingestion.TabletIdList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.TabletIdList buildPartial() { cz.proto.ingestion.Ingestion.TabletIdList result = new cz.proto.ingestion.Ingestion.TabletIdList(this); int from_bitField0_ = bitField0_; 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.Ingestion.TabletIdList) { return mergeFrom((cz.proto.ingestion.Ingestion.TabletIdList)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.TabletIdList other) { if (other == cz.proto.ingestion.Ingestion.TabletIdList.getDefaultInstance()) return this; 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.Ingestion.TabletIdList parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.TabletIdList) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.Internal.LongList tabletId_ = emptyLongList(); private void ensureTabletIdIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tabletId_ = mutableCopy(tabletId_); bitField0_ |= 0x00000001; } } /** * repeated int64 tablet_id = 1; * @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 = 1; * @return The count of tabletId. */ public int getTabletIdCount() { return tabletId_.size(); } /** * repeated int64 tablet_id = 1; * @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 = 1; * @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 = 1; * @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 = 1; * @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 = 1; * @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.TabletIdList) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.TabletIdList) private static final cz.proto.ingestion.Ingestion.TabletIdList DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.TabletIdList(); } public static cz.proto.ingestion.Ingestion.TabletIdList getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TabletIdList parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TabletIdList(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.Ingestion.TabletIdList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface HostPortTupleOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.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.HostPortTuple} */ public static final class HostPortTuple extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.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.Ingestion.internal_static_cz_proto_ingestion_HostPortTuple_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_HostPortTuple_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.HostPortTuple.class, cz.proto.ingestion.Ingestion.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.Ingestion.HostPortTuple)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.HostPortTuple other = (cz.proto.ingestion.Ingestion.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.Ingestion.HostPortTuple parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.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.Ingestion.HostPortTuple parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.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.Ingestion.HostPortTuple parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.HostPortTuple parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.HostPortTuple parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.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.Ingestion.HostPortTuple parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.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.Ingestion.HostPortTuple parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.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.Ingestion.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.HostPortTuple} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.HostPortTuple) cz.proto.ingestion.Ingestion.HostPortTupleOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_HostPortTuple_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_HostPortTuple_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.HostPortTuple.class, cz.proto.ingestion.Ingestion.HostPortTuple.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.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.Ingestion.internal_static_cz_proto_ingestion_HostPortTuple_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.HostPortTuple getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.HostPortTuple.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.HostPortTuple build() { cz.proto.ingestion.Ingestion.HostPortTuple result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.HostPortTuple buildPartial() { cz.proto.ingestion.Ingestion.HostPortTuple result = new cz.proto.ingestion.Ingestion.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.Ingestion.HostPortTuple) { return mergeFrom((cz.proto.ingestion.Ingestion.HostPortTuple)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.HostPortTuple other) { if (other == cz.proto.ingestion.Ingestion.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.Ingestion.HostPortTuple parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.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.HostPortTuple) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.HostPortTuple) private static final cz.proto.ingestion.Ingestion.HostPortTuple DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.HostPortTuple(); } public static cz.proto.ingestion.Ingestion.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.Ingestion.HostPortTuple getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetTabletPhysicsMappingRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.GetTabletPhysicsMappingRequest) com.google.protobuf.MessageOrBuilder { /** * int64 tablet_id = 1; * @return The tabletId. */ long getTabletId(); /** * string schema_name = 2; * @return The schemaName. */ java.lang.String getSchemaName(); /** * string schema_name = 2; * @return The bytes for schemaName. */ com.google.protobuf.ByteString getSchemaNameBytes(); /** * string table_name = 3; * @return The tableName. */ java.lang.String getTableName(); /** * string table_name = 3; * @return The bytes for tableName. */ com.google.protobuf.ByteString getTableNameBytes(); } /** * Protobuf type {@code cz.proto.ingestion.GetTabletPhysicsMappingRequest} */ public static final class GetTabletPhysicsMappingRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.GetTabletPhysicsMappingRequest) GetTabletPhysicsMappingRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetTabletPhysicsMappingRequest.newBuilder() to construct. private GetTabletPhysicsMappingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetTabletPhysicsMappingRequest() { schemaName_ = ""; tableName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetTabletPhysicsMappingRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetTabletPhysicsMappingRequest( 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.readInt64(); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); schemaName_ = s; break; } case 26: { 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.Ingestion.internal_static_cz_proto_ingestion_GetTabletPhysicsMappingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetTabletPhysicsMappingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingRequest.class, cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingRequest.Builder.class); } public static final int TABLET_ID_FIELD_NUMBER = 1; private long tabletId_; /** * int64 tablet_id = 1; * @return The tabletId. */ @java.lang.Override public long getTabletId() { return tabletId_; } public static final int SCHEMA_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object schemaName_; /** * string schema_name = 2; * @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 = 2; * @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 = 3; private volatile java.lang.Object tableName_; /** * string table_name = 3; * @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 = 3; * @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 (tabletId_ != 0L) { output.writeInt64(1, tabletId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, schemaName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tableName_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (tabletId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, tabletId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, schemaName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, 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.Ingestion.GetTabletPhysicsMappingRequest)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingRequest other = (cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingRequest) obj; if (getTabletId() != other.getTabletId()) 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) + TABLET_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTabletId()); 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.Ingestion.GetTabletPhysicsMappingRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingRequest 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.Ingestion.GetTabletPhysicsMappingRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingRequest 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.Ingestion.GetTabletPhysicsMappingRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingRequest 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.Ingestion.GetTabletPhysicsMappingRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingRequest 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.Ingestion.GetTabletPhysicsMappingRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingRequest 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.Ingestion.GetTabletPhysicsMappingRequest 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.GetTabletPhysicsMappingRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.GetTabletPhysicsMappingRequest) cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetTabletPhysicsMappingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetTabletPhysicsMappingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingRequest.class, cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingRequest.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingRequest.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_ = 0L; schemaName_ = ""; tableName_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetTabletPhysicsMappingRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingRequest getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingRequest build() { cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingRequest buildPartial() { cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingRequest result = new cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingRequest(this); result.tabletId_ = tabletId_; 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.Ingestion.GetTabletPhysicsMappingRequest) { return mergeFrom((cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingRequest other) { if (other == cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingRequest.getDefaultInstance()) return this; if (other.getTabletId() != 0L) { setTabletId(other.getTabletId()); } 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.Ingestion.GetTabletPhysicsMappingRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long tabletId_ ; /** * int64 tablet_id = 1; * @return The tabletId. */ @java.lang.Override public long getTabletId() { return tabletId_; } /** * int64 tablet_id = 1; * @param value The tabletId to set. * @return This builder for chaining. */ public Builder setTabletId(long value) { tabletId_ = value; onChanged(); return this; } /** * int64 tablet_id = 1; * @return This builder for chaining. */ public Builder clearTabletId() { tabletId_ = 0L; onChanged(); return this; } private java.lang.Object schemaName_ = ""; /** * string schema_name = 2; * @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 = 2; * @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 = 2; * @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 = 2; * @return This builder for chaining. */ public Builder clearSchemaName() { schemaName_ = getDefaultInstance().getSchemaName(); onChanged(); return this; } /** * string schema_name = 2; * @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 = 3; * @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 = 3; * @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 = 3; * @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 = 3; * @return This builder for chaining. */ public Builder clearTableName() { tableName_ = getDefaultInstance().getTableName(); onChanged(); return this; } /** * string table_name = 3; * @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.GetTabletPhysicsMappingRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.GetTabletPhysicsMappingRequest) private static final cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingRequest(); } public static cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetTabletPhysicsMappingRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetTabletPhysicsMappingRequest(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.Ingestion.GetTabletPhysicsMappingRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TabletPhysicsInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.TabletPhysicsInfo) com.google.protobuf.MessageOrBuilder { /** * int64 worker_id = 1; * @return The workerId. */ long getWorkerId(); /** * int64 tablet_id = 2; * @return The tabletId. */ long getTabletId(); /** * .cz.proto.ingestion.HostPortTuple host = 3; * @return Whether the host field is set. */ boolean hasHost(); /** * .cz.proto.ingestion.HostPortTuple host = 3; * @return The host. */ cz.proto.ingestion.Ingestion.HostPortTuple getHost(); /** * .cz.proto.ingestion.HostPortTuple host = 3; */ cz.proto.ingestion.Ingestion.HostPortTupleOrBuilder getHostOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.TabletPhysicsInfo} */ public static final class TabletPhysicsInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.TabletPhysicsInfo) TabletPhysicsInfoOrBuilder { private static final long serialVersionUID = 0L; // Use TabletPhysicsInfo.newBuilder() to construct. private TabletPhysicsInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TabletPhysicsInfo() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TabletPhysicsInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TabletPhysicsInfo( 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: { workerId_ = input.readInt64(); break; } case 16: { tabletId_ = input.readInt64(); break; } case 26: { cz.proto.ingestion.Ingestion.HostPortTuple.Builder subBuilder = null; if (host_ != null) { subBuilder = host_.toBuilder(); } host_ = input.readMessage(cz.proto.ingestion.Ingestion.HostPortTuple.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(host_); host_ = 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.Ingestion.internal_static_cz_proto_ingestion_TabletPhysicsInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_TabletPhysicsInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.TabletPhysicsInfo.class, cz.proto.ingestion.Ingestion.TabletPhysicsInfo.Builder.class); } public static final int WORKER_ID_FIELD_NUMBER = 1; private long workerId_; /** * int64 worker_id = 1; * @return The workerId. */ @java.lang.Override public long getWorkerId() { return workerId_; } public static final int TABLET_ID_FIELD_NUMBER = 2; private long tabletId_; /** * int64 tablet_id = 2; * @return The tabletId. */ @java.lang.Override public long getTabletId() { return tabletId_; } public static final int HOST_FIELD_NUMBER = 3; private cz.proto.ingestion.Ingestion.HostPortTuple host_; /** * .cz.proto.ingestion.HostPortTuple host = 3; * @return Whether the host field is set. */ @java.lang.Override public boolean hasHost() { return host_ != null; } /** * .cz.proto.ingestion.HostPortTuple host = 3; * @return The host. */ @java.lang.Override public cz.proto.ingestion.Ingestion.HostPortTuple getHost() { return host_ == null ? cz.proto.ingestion.Ingestion.HostPortTuple.getDefaultInstance() : host_; } /** * .cz.proto.ingestion.HostPortTuple host = 3; */ @java.lang.Override public cz.proto.ingestion.Ingestion.HostPortTupleOrBuilder getHostOrBuilder() { return getHost(); } 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 (workerId_ != 0L) { output.writeInt64(1, workerId_); } if (tabletId_ != 0L) { output.writeInt64(2, tabletId_); } if (host_ != null) { output.writeMessage(3, getHost()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (workerId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, workerId_); } if (tabletId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, tabletId_); } if (host_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getHost()); } 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.Ingestion.TabletPhysicsInfo)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.TabletPhysicsInfo other = (cz.proto.ingestion.Ingestion.TabletPhysicsInfo) obj; if (getWorkerId() != other.getWorkerId()) return false; if (getTabletId() != other.getTabletId()) return false; if (hasHost() != other.hasHost()) return false; if (hasHost()) { if (!getHost() .equals(other.getHost())) 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) + WORKER_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getWorkerId()); hash = (37 * hash) + TABLET_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTabletId()); if (hasHost()) { hash = (37 * hash) + HOST_FIELD_NUMBER; hash = (53 * hash) + getHost().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.Ingestion.TabletPhysicsInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.TabletPhysicsInfo 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.Ingestion.TabletPhysicsInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.TabletPhysicsInfo 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.Ingestion.TabletPhysicsInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.TabletPhysicsInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.TabletPhysicsInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.TabletPhysicsInfo 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.Ingestion.TabletPhysicsInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.TabletPhysicsInfo 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.Ingestion.TabletPhysicsInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.TabletPhysicsInfo 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.Ingestion.TabletPhysicsInfo 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.TabletPhysicsInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.TabletPhysicsInfo) cz.proto.ingestion.Ingestion.TabletPhysicsInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_TabletPhysicsInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_TabletPhysicsInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.TabletPhysicsInfo.class, cz.proto.ingestion.Ingestion.TabletPhysicsInfo.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.TabletPhysicsInfo.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(); workerId_ = 0L; tabletId_ = 0L; if (hostBuilder_ == null) { host_ = null; } else { host_ = null; hostBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_TabletPhysicsInfo_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.TabletPhysicsInfo getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.TabletPhysicsInfo.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.TabletPhysicsInfo build() { cz.proto.ingestion.Ingestion.TabletPhysicsInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.TabletPhysicsInfo buildPartial() { cz.proto.ingestion.Ingestion.TabletPhysicsInfo result = new cz.proto.ingestion.Ingestion.TabletPhysicsInfo(this); result.workerId_ = workerId_; result.tabletId_ = tabletId_; if (hostBuilder_ == null) { result.host_ = host_; } else { result.host_ = hostBuilder_.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.Ingestion.TabletPhysicsInfo) { return mergeFrom((cz.proto.ingestion.Ingestion.TabletPhysicsInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.TabletPhysicsInfo other) { if (other == cz.proto.ingestion.Ingestion.TabletPhysicsInfo.getDefaultInstance()) return this; if (other.getWorkerId() != 0L) { setWorkerId(other.getWorkerId()); } if (other.getTabletId() != 0L) { setTabletId(other.getTabletId()); } if (other.hasHost()) { mergeHost(other.getHost()); } 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.Ingestion.TabletPhysicsInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.TabletPhysicsInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long workerId_ ; /** * int64 worker_id = 1; * @return The workerId. */ @java.lang.Override public long getWorkerId() { return workerId_; } /** * int64 worker_id = 1; * @param value The workerId to set. * @return This builder for chaining. */ public Builder setWorkerId(long value) { workerId_ = value; onChanged(); return this; } /** * int64 worker_id = 1; * @return This builder for chaining. */ public Builder clearWorkerId() { workerId_ = 0L; onChanged(); return this; } private long tabletId_ ; /** * int64 tablet_id = 2; * @return The tabletId. */ @java.lang.Override public long getTabletId() { return tabletId_; } /** * int64 tablet_id = 2; * @param value The tabletId to set. * @return This builder for chaining. */ public Builder setTabletId(long value) { tabletId_ = value; onChanged(); return this; } /** * int64 tablet_id = 2; * @return This builder for chaining. */ public Builder clearTabletId() { tabletId_ = 0L; onChanged(); return this; } private cz.proto.ingestion.Ingestion.HostPortTuple host_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.HostPortTuple, cz.proto.ingestion.Ingestion.HostPortTuple.Builder, cz.proto.ingestion.Ingestion.HostPortTupleOrBuilder> hostBuilder_; /** * .cz.proto.ingestion.HostPortTuple host = 3; * @return Whether the host field is set. */ public boolean hasHost() { return hostBuilder_ != null || host_ != null; } /** * .cz.proto.ingestion.HostPortTuple host = 3; * @return The host. */ public cz.proto.ingestion.Ingestion.HostPortTuple getHost() { if (hostBuilder_ == null) { return host_ == null ? cz.proto.ingestion.Ingestion.HostPortTuple.getDefaultInstance() : host_; } else { return hostBuilder_.getMessage(); } } /** * .cz.proto.ingestion.HostPortTuple host = 3; */ public Builder setHost(cz.proto.ingestion.Ingestion.HostPortTuple value) { if (hostBuilder_ == null) { if (value == null) { throw new NullPointerException(); } host_ = value; onChanged(); } else { hostBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.HostPortTuple host = 3; */ public Builder setHost( cz.proto.ingestion.Ingestion.HostPortTuple.Builder builderForValue) { if (hostBuilder_ == null) { host_ = builderForValue.build(); onChanged(); } else { hostBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.HostPortTuple host = 3; */ public Builder mergeHost(cz.proto.ingestion.Ingestion.HostPortTuple value) { if (hostBuilder_ == null) { if (host_ != null) { host_ = cz.proto.ingestion.Ingestion.HostPortTuple.newBuilder(host_).mergeFrom(value).buildPartial(); } else { host_ = value; } onChanged(); } else { hostBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.HostPortTuple host = 3; */ public Builder clearHost() { if (hostBuilder_ == null) { host_ = null; onChanged(); } else { host_ = null; hostBuilder_ = null; } return this; } /** * .cz.proto.ingestion.HostPortTuple host = 3; */ public cz.proto.ingestion.Ingestion.HostPortTuple.Builder getHostBuilder() { onChanged(); return getHostFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.HostPortTuple host = 3; */ public cz.proto.ingestion.Ingestion.HostPortTupleOrBuilder getHostOrBuilder() { if (hostBuilder_ != null) { return hostBuilder_.getMessageOrBuilder(); } else { return host_ == null ? cz.proto.ingestion.Ingestion.HostPortTuple.getDefaultInstance() : host_; } } /** * .cz.proto.ingestion.HostPortTuple host = 3; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.HostPortTuple, cz.proto.ingestion.Ingestion.HostPortTuple.Builder, cz.proto.ingestion.Ingestion.HostPortTupleOrBuilder> getHostFieldBuilder() { if (hostBuilder_ == null) { hostBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.HostPortTuple, cz.proto.ingestion.Ingestion.HostPortTuple.Builder, cz.proto.ingestion.Ingestion.HostPortTupleOrBuilder>( getHost(), getParentForChildren(), isClean()); host_ = null; } return hostBuilder_; } @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.TabletPhysicsInfo) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.TabletPhysicsInfo) private static final cz.proto.ingestion.Ingestion.TabletPhysicsInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.TabletPhysicsInfo(); } public static cz.proto.ingestion.Ingestion.TabletPhysicsInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TabletPhysicsInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TabletPhysicsInfo(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.Ingestion.TabletPhysicsInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetTabletPhysicsMappingResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.GetTabletPhysicsMappingResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .cz.proto.ingestion.TabletPhysicsInfo tablets = 1; */ java.util.List getTabletsList(); /** * repeated .cz.proto.ingestion.TabletPhysicsInfo tablets = 1; */ cz.proto.ingestion.Ingestion.TabletPhysicsInfo getTablets(int index); /** * repeated .cz.proto.ingestion.TabletPhysicsInfo tablets = 1; */ int getTabletsCount(); /** * repeated .cz.proto.ingestion.TabletPhysicsInfo tablets = 1; */ java.util.List getTabletsOrBuilderList(); /** * repeated .cz.proto.ingestion.TabletPhysicsInfo tablets = 1; */ cz.proto.ingestion.Ingestion.TabletPhysicsInfoOrBuilder getTabletsOrBuilder( int index); /** * .cz.proto.ingestion.ResponseStatus status = 2; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 2; * @return The status. */ cz.proto.ingestion.Ingestion.ResponseStatus getStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 2; */ cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.GetTabletPhysicsMappingResponse} */ public static final class GetTabletPhysicsMappingResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.GetTabletPhysicsMappingResponse) GetTabletPhysicsMappingResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetTabletPhysicsMappingResponse.newBuilder() to construct. private GetTabletPhysicsMappingResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetTabletPhysicsMappingResponse() { tablets_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetTabletPhysicsMappingResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetTabletPhysicsMappingResponse( 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)) { tablets_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } tablets_.add( input.readMessage(cz.proto.ingestion.Ingestion.TabletPhysicsInfo.parser(), extensionRegistry)); break; } case 18: { cz.proto.ingestion.Ingestion.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.Ingestion.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)) { tablets_ = java.util.Collections.unmodifiableList(tablets_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetTabletPhysicsMappingResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetTabletPhysicsMappingResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingResponse.class, cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingResponse.Builder.class); } public static final int TABLETS_FIELD_NUMBER = 1; private java.util.List tablets_; /** * repeated .cz.proto.ingestion.TabletPhysicsInfo tablets = 1; */ @java.lang.Override public java.util.List getTabletsList() { return tablets_; } /** * repeated .cz.proto.ingestion.TabletPhysicsInfo tablets = 1; */ @java.lang.Override public java.util.List getTabletsOrBuilderList() { return tablets_; } /** * repeated .cz.proto.ingestion.TabletPhysicsInfo tablets = 1; */ @java.lang.Override public int getTabletsCount() { return tablets_.size(); } /** * repeated .cz.proto.ingestion.TabletPhysicsInfo tablets = 1; */ @java.lang.Override public cz.proto.ingestion.Ingestion.TabletPhysicsInfo getTablets(int index) { return tablets_.get(index); } /** * repeated .cz.proto.ingestion.TabletPhysicsInfo tablets = 1; */ @java.lang.Override public cz.proto.ingestion.Ingestion.TabletPhysicsInfoOrBuilder getTabletsOrBuilder( int index) { return tablets_.get(index); } public static final int STATUS_FIELD_NUMBER = 2; private cz.proto.ingestion.Ingestion.ResponseStatus status_; /** * .cz.proto.ingestion.ResponseStatus status = 2; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 2; * @return The status. */ @java.lang.Override public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.ResponseStatus status = 2; */ @java.lang.Override public cz.proto.ingestion.Ingestion.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 { for (int i = 0; i < tablets_.size(); i++) { output.writeMessage(1, tablets_.get(i)); } if (status_ != null) { output.writeMessage(2, 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 < tablets_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, tablets_.get(i)); } if (status_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, 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.Ingestion.GetTabletPhysicsMappingResponse)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingResponse other = (cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingResponse) obj; if (!getTabletsList() .equals(other.getTabletsList())) 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 (getTabletsCount() > 0) { hash = (37 * hash) + TABLETS_FIELD_NUMBER; hash = (53 * hash) + getTabletsList().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.Ingestion.GetTabletPhysicsMappingResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingResponse 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.Ingestion.GetTabletPhysicsMappingResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingResponse 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.Ingestion.GetTabletPhysicsMappingResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingResponse 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.Ingestion.GetTabletPhysicsMappingResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingResponse 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.Ingestion.GetTabletPhysicsMappingResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingResponse 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.Ingestion.GetTabletPhysicsMappingResponse 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.GetTabletPhysicsMappingResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.GetTabletPhysicsMappingResponse) cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetTabletPhysicsMappingResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetTabletPhysicsMappingResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingResponse.class, cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingResponse.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTabletsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (tabletsBuilder_ == null) { tablets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { tabletsBuilder_.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.Ingestion.internal_static_cz_proto_ingestion_GetTabletPhysicsMappingResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingResponse getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingResponse build() { cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingResponse buildPartial() { cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingResponse result = new cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingResponse(this); int from_bitField0_ = bitField0_; if (tabletsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { tablets_ = java.util.Collections.unmodifiableList(tablets_); bitField0_ = (bitField0_ & ~0x00000001); } result.tablets_ = tablets_; } else { result.tablets_ = tabletsBuilder_.build(); } 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.Ingestion.GetTabletPhysicsMappingResponse) { return mergeFrom((cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingResponse other) { if (other == cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingResponse.getDefaultInstance()) return this; if (tabletsBuilder_ == null) { if (!other.tablets_.isEmpty()) { if (tablets_.isEmpty()) { tablets_ = other.tablets_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTabletsIsMutable(); tablets_.addAll(other.tablets_); } onChanged(); } } else { if (!other.tablets_.isEmpty()) { if (tabletsBuilder_.isEmpty()) { tabletsBuilder_.dispose(); tabletsBuilder_ = null; tablets_ = other.tablets_; bitField0_ = (bitField0_ & ~0x00000001); tabletsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTabletsFieldBuilder() : null; } else { tabletsBuilder_.addAllMessages(other.tablets_); } } } 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.Ingestion.GetTabletPhysicsMappingResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List tablets_ = java.util.Collections.emptyList(); private void ensureTabletsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tablets_ = new java.util.ArrayList(tablets_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.Ingestion.TabletPhysicsInfo, cz.proto.ingestion.Ingestion.TabletPhysicsInfo.Builder, cz.proto.ingestion.Ingestion.TabletPhysicsInfoOrBuilder> tabletsBuilder_; /** * repeated .cz.proto.ingestion.TabletPhysicsInfo tablets = 1; */ public java.util.List getTabletsList() { if (tabletsBuilder_ == null) { return java.util.Collections.unmodifiableList(tablets_); } else { return tabletsBuilder_.getMessageList(); } } /** * repeated .cz.proto.ingestion.TabletPhysicsInfo tablets = 1; */ public int getTabletsCount() { if (tabletsBuilder_ == null) { return tablets_.size(); } else { return tabletsBuilder_.getCount(); } } /** * repeated .cz.proto.ingestion.TabletPhysicsInfo tablets = 1; */ public cz.proto.ingestion.Ingestion.TabletPhysicsInfo getTablets(int index) { if (tabletsBuilder_ == null) { return tablets_.get(index); } else { return tabletsBuilder_.getMessage(index); } } /** * repeated .cz.proto.ingestion.TabletPhysicsInfo tablets = 1; */ public Builder setTablets( int index, cz.proto.ingestion.Ingestion.TabletPhysicsInfo value) { if (tabletsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTabletsIsMutable(); tablets_.set(index, value); onChanged(); } else { tabletsBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.ingestion.TabletPhysicsInfo tablets = 1; */ public Builder setTablets( int index, cz.proto.ingestion.Ingestion.TabletPhysicsInfo.Builder builderForValue) { if (tabletsBuilder_ == null) { ensureTabletsIsMutable(); tablets_.set(index, builderForValue.build()); onChanged(); } else { tabletsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.TabletPhysicsInfo tablets = 1; */ public Builder addTablets(cz.proto.ingestion.Ingestion.TabletPhysicsInfo value) { if (tabletsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTabletsIsMutable(); tablets_.add(value); onChanged(); } else { tabletsBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.ingestion.TabletPhysicsInfo tablets = 1; */ public Builder addTablets( int index, cz.proto.ingestion.Ingestion.TabletPhysicsInfo value) { if (tabletsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTabletsIsMutable(); tablets_.add(index, value); onChanged(); } else { tabletsBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.ingestion.TabletPhysicsInfo tablets = 1; */ public Builder addTablets( cz.proto.ingestion.Ingestion.TabletPhysicsInfo.Builder builderForValue) { if (tabletsBuilder_ == null) { ensureTabletsIsMutable(); tablets_.add(builderForValue.build()); onChanged(); } else { tabletsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.TabletPhysicsInfo tablets = 1; */ public Builder addTablets( int index, cz.proto.ingestion.Ingestion.TabletPhysicsInfo.Builder builderForValue) { if (tabletsBuilder_ == null) { ensureTabletsIsMutable(); tablets_.add(index, builderForValue.build()); onChanged(); } else { tabletsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.TabletPhysicsInfo tablets = 1; */ public Builder addAllTablets( java.lang.Iterable values) { if (tabletsBuilder_ == null) { ensureTabletsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tablets_); onChanged(); } else { tabletsBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.ingestion.TabletPhysicsInfo tablets = 1; */ public Builder clearTablets() { if (tabletsBuilder_ == null) { tablets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { tabletsBuilder_.clear(); } return this; } /** * repeated .cz.proto.ingestion.TabletPhysicsInfo tablets = 1; */ public Builder removeTablets(int index) { if (tabletsBuilder_ == null) { ensureTabletsIsMutable(); tablets_.remove(index); onChanged(); } else { tabletsBuilder_.remove(index); } return this; } /** * repeated .cz.proto.ingestion.TabletPhysicsInfo tablets = 1; */ public cz.proto.ingestion.Ingestion.TabletPhysicsInfo.Builder getTabletsBuilder( int index) { return getTabletsFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.ingestion.TabletPhysicsInfo tablets = 1; */ public cz.proto.ingestion.Ingestion.TabletPhysicsInfoOrBuilder getTabletsOrBuilder( int index) { if (tabletsBuilder_ == null) { return tablets_.get(index); } else { return tabletsBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.ingestion.TabletPhysicsInfo tablets = 1; */ public java.util.List getTabletsOrBuilderList() { if (tabletsBuilder_ != null) { return tabletsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(tablets_); } } /** * repeated .cz.proto.ingestion.TabletPhysicsInfo tablets = 1; */ public cz.proto.ingestion.Ingestion.TabletPhysicsInfo.Builder addTabletsBuilder() { return getTabletsFieldBuilder().addBuilder( cz.proto.ingestion.Ingestion.TabletPhysicsInfo.getDefaultInstance()); } /** * repeated .cz.proto.ingestion.TabletPhysicsInfo tablets = 1; */ public cz.proto.ingestion.Ingestion.TabletPhysicsInfo.Builder addTabletsBuilder( int index) { return getTabletsFieldBuilder().addBuilder( index, cz.proto.ingestion.Ingestion.TabletPhysicsInfo.getDefaultInstance()); } /** * repeated .cz.proto.ingestion.TabletPhysicsInfo tablets = 1; */ public java.util.List getTabletsBuilderList() { return getTabletsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.Ingestion.TabletPhysicsInfo, cz.proto.ingestion.Ingestion.TabletPhysicsInfo.Builder, cz.proto.ingestion.Ingestion.TabletPhysicsInfoOrBuilder> getTabletsFieldBuilder() { if (tabletsBuilder_ == null) { tabletsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.Ingestion.TabletPhysicsInfo, cz.proto.ingestion.Ingestion.TabletPhysicsInfo.Builder, cz.proto.ingestion.Ingestion.TabletPhysicsInfoOrBuilder>( tablets_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tablets_ = null; } return tabletsBuilder_; } private cz.proto.ingestion.Ingestion.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.ResponseStatus status = 2; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 2; * @return The status. */ public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.ResponseStatus status = 2; */ public Builder setStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 2; */ public Builder setStatus( cz.proto.ingestion.Ingestion.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 2; */ public Builder mergeStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.Ingestion.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 2; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 2; */ public cz.proto.ingestion.Ingestion.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.ResponseStatus status = 2; */ public cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.ResponseStatus status = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.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.GetTabletPhysicsMappingResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.GetTabletPhysicsMappingResponse) private static final cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingResponse(); } public static cz.proto.ingestion.Ingestion.GetTabletPhysicsMappingResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetTabletPhysicsMappingResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetTabletPhysicsMappingResponse(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.Ingestion.GetTabletPhysicsMappingResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetWorkersMappingRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.GetWorkersMappingRequest) com.google.protobuf.MessageOrBuilder { /** * int64 worker_id = 1; * @return The workerId. */ long getWorkerId(); } /** * Protobuf type {@code cz.proto.ingestion.GetWorkersMappingRequest} */ public static final class GetWorkersMappingRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.GetWorkersMappingRequest) GetWorkersMappingRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetWorkersMappingRequest.newBuilder() to construct. private GetWorkersMappingRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetWorkersMappingRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetWorkersMappingRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetWorkersMappingRequest( 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: { workerId_ = 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.Ingestion.internal_static_cz_proto_ingestion_GetWorkersMappingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetWorkersMappingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.GetWorkersMappingRequest.class, cz.proto.ingestion.Ingestion.GetWorkersMappingRequest.Builder.class); } public static final int WORKER_ID_FIELD_NUMBER = 1; private long workerId_; /** * int64 worker_id = 1; * @return The workerId. */ @java.lang.Override public long getWorkerId() { return workerId_; } 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 (workerId_ != 0L) { output.writeInt64(1, workerId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (workerId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, workerId_); } 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.Ingestion.GetWorkersMappingRequest)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.GetWorkersMappingRequest other = (cz.proto.ingestion.Ingestion.GetWorkersMappingRequest) obj; if (getWorkerId() != other.getWorkerId()) 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) + WORKER_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getWorkerId()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.Ingestion.GetWorkersMappingRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetWorkersMappingRequest 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.Ingestion.GetWorkersMappingRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetWorkersMappingRequest 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.Ingestion.GetWorkersMappingRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetWorkersMappingRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.GetWorkersMappingRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetWorkersMappingRequest 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.Ingestion.GetWorkersMappingRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetWorkersMappingRequest 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.Ingestion.GetWorkersMappingRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetWorkersMappingRequest 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.Ingestion.GetWorkersMappingRequest 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.GetWorkersMappingRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.GetWorkersMappingRequest) cz.proto.ingestion.Ingestion.GetWorkersMappingRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetWorkersMappingRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetWorkersMappingRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.GetWorkersMappingRequest.class, cz.proto.ingestion.Ingestion.GetWorkersMappingRequest.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.GetWorkersMappingRequest.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(); workerId_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetWorkersMappingRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.GetWorkersMappingRequest getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.GetWorkersMappingRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.GetWorkersMappingRequest build() { cz.proto.ingestion.Ingestion.GetWorkersMappingRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.GetWorkersMappingRequest buildPartial() { cz.proto.ingestion.Ingestion.GetWorkersMappingRequest result = new cz.proto.ingestion.Ingestion.GetWorkersMappingRequest(this); result.workerId_ = workerId_; 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.Ingestion.GetWorkersMappingRequest) { return mergeFrom((cz.proto.ingestion.Ingestion.GetWorkersMappingRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.GetWorkersMappingRequest other) { if (other == cz.proto.ingestion.Ingestion.GetWorkersMappingRequest.getDefaultInstance()) return this; if (other.getWorkerId() != 0L) { setWorkerId(other.getWorkerId()); } 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.Ingestion.GetWorkersMappingRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.GetWorkersMappingRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long workerId_ ; /** * int64 worker_id = 1; * @return The workerId. */ @java.lang.Override public long getWorkerId() { return workerId_; } /** * int64 worker_id = 1; * @param value The workerId to set. * @return This builder for chaining. */ public Builder setWorkerId(long value) { workerId_ = value; onChanged(); return this; } /** * int64 worker_id = 1; * @return This builder for chaining. */ public Builder clearWorkerId() { workerId_ = 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.GetWorkersMappingRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.GetWorkersMappingRequest) private static final cz.proto.ingestion.Ingestion.GetWorkersMappingRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.GetWorkersMappingRequest(); } public static cz.proto.ingestion.Ingestion.GetWorkersMappingRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetWorkersMappingRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetWorkersMappingRequest(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.Ingestion.GetWorkersMappingRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetWorkersMappingResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.GetWorkersMappingResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return The status. */ cz.proto.ingestion.Ingestion.ResponseStatus getStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 1; */ cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder(); /** * map<int64, .cz.proto.ingestion.HostPortTuple> workers_mapping = 2; */ int getWorkersMappingCount(); /** * map<int64, .cz.proto.ingestion.HostPortTuple> workers_mapping = 2; */ boolean containsWorkersMapping( long key); /** * Use {@link #getWorkersMappingMap()} instead. */ @java.lang.Deprecated java.util.Map getWorkersMapping(); /** * map<int64, .cz.proto.ingestion.HostPortTuple> workers_mapping = 2; */ java.util.Map getWorkersMappingMap(); /** * map<int64, .cz.proto.ingestion.HostPortTuple> workers_mapping = 2; */ cz.proto.ingestion.Ingestion.HostPortTuple getWorkersMappingOrDefault( long key, cz.proto.ingestion.Ingestion.HostPortTuple defaultValue); /** * map<int64, .cz.proto.ingestion.HostPortTuple> workers_mapping = 2; */ cz.proto.ingestion.Ingestion.HostPortTuple getWorkersMappingOrThrow( long key); } /** * Protobuf type {@code cz.proto.ingestion.GetWorkersMappingResponse} */ public static final class GetWorkersMappingResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.GetWorkersMappingResponse) GetWorkersMappingResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetWorkersMappingResponse.newBuilder() to construct. private GetWorkersMappingResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetWorkersMappingResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetWorkersMappingResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetWorkersMappingResponse( 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.Ingestion.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.Ingestion.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(status_); status_ = subBuilder.buildPartial(); } break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { workersMapping_ = com.google.protobuf.MapField.newMapField( WorkersMappingDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry workersMapping__ = input.readMessage( WorkersMappingDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); workersMapping_.getMutableMap().put( workersMapping__.getKey(), workersMapping__.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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetWorkersMappingResponse_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetWorkersMapping(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetWorkersMappingResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.GetWorkersMappingResponse.class, cz.proto.ingestion.Ingestion.GetWorkersMappingResponse.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private cz.proto.ingestion.Ingestion.ResponseStatus status_; /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return The status. */ @java.lang.Override public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ @java.lang.Override public cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder() { return getStatus(); } public static final int WORKERS_MAPPING_FIELD_NUMBER = 2; private static final class WorkersMappingDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.Long, cz.proto.ingestion.Ingestion.HostPortTuple> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetWorkersMappingResponse_WorkersMappingEntry_descriptor, com.google.protobuf.WireFormat.FieldType.INT64, 0L, com.google.protobuf.WireFormat.FieldType.MESSAGE, cz.proto.ingestion.Ingestion.HostPortTuple.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.Long, cz.proto.ingestion.Ingestion.HostPortTuple> workersMapping_; private com.google.protobuf.MapField internalGetWorkersMapping() { if (workersMapping_ == null) { return com.google.protobuf.MapField.emptyMapField( WorkersMappingDefaultEntryHolder.defaultEntry); } return workersMapping_; } public int getWorkersMappingCount() { return internalGetWorkersMapping().getMap().size(); } /** * map<int64, .cz.proto.ingestion.HostPortTuple> workers_mapping = 2; */ @java.lang.Override public boolean containsWorkersMapping( long key) { return internalGetWorkersMapping().getMap().containsKey(key); } /** * Use {@link #getWorkersMappingMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getWorkersMapping() { return getWorkersMappingMap(); } /** * map<int64, .cz.proto.ingestion.HostPortTuple> workers_mapping = 2; */ @java.lang.Override public java.util.Map getWorkersMappingMap() { return internalGetWorkersMapping().getMap(); } /** * map<int64, .cz.proto.ingestion.HostPortTuple> workers_mapping = 2; */ @java.lang.Override public cz.proto.ingestion.Ingestion.HostPortTuple getWorkersMappingOrDefault( long key, cz.proto.ingestion.Ingestion.HostPortTuple defaultValue) { java.util.Map map = internalGetWorkersMapping().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<int64, .cz.proto.ingestion.HostPortTuple> workers_mapping = 2; */ @java.lang.Override public cz.proto.ingestion.Ingestion.HostPortTuple getWorkersMappingOrThrow( long key) { java.util.Map map = internalGetWorkersMapping().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 (status_ != null) { output.writeMessage(1, getStatus()); } com.google.protobuf.GeneratedMessageV3 .serializeLongMapTo( output, internalGetWorkersMapping(), WorkersMappingDefaultEntryHolder.defaultEntry, 2); 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()); } for (java.util.Map.Entry entry : internalGetWorkersMapping().getMap().entrySet()) { com.google.protobuf.MapEntry workersMapping__ = WorkersMappingDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, workersMapping__); } 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.Ingestion.GetWorkersMappingResponse)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.GetWorkersMappingResponse other = (cz.proto.ingestion.Ingestion.GetWorkersMappingResponse) obj; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) return false; } if (!internalGetWorkersMapping().equals( other.internalGetWorkersMapping())) 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 (!internalGetWorkersMapping().getMap().isEmpty()) { hash = (37 * hash) + WORKERS_MAPPING_FIELD_NUMBER; hash = (53 * hash) + internalGetWorkersMapping().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.Ingestion.GetWorkersMappingResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetWorkersMappingResponse 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.Ingestion.GetWorkersMappingResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetWorkersMappingResponse 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.Ingestion.GetWorkersMappingResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetWorkersMappingResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.GetWorkersMappingResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetWorkersMappingResponse 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.Ingestion.GetWorkersMappingResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetWorkersMappingResponse 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.Ingestion.GetWorkersMappingResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetWorkersMappingResponse 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.Ingestion.GetWorkersMappingResponse 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.GetWorkersMappingResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.GetWorkersMappingResponse) cz.proto.ingestion.Ingestion.GetWorkersMappingResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetWorkersMappingResponse_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetWorkersMapping(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 2: return internalGetMutableWorkersMapping(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetWorkersMappingResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.GetWorkersMappingResponse.class, cz.proto.ingestion.Ingestion.GetWorkersMappingResponse.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.GetWorkersMappingResponse.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; } internalGetMutableWorkersMapping().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetWorkersMappingResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.GetWorkersMappingResponse getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.GetWorkersMappingResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.GetWorkersMappingResponse build() { cz.proto.ingestion.Ingestion.GetWorkersMappingResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.GetWorkersMappingResponse buildPartial() { cz.proto.ingestion.Ingestion.GetWorkersMappingResponse result = new cz.proto.ingestion.Ingestion.GetWorkersMappingResponse(this); int from_bitField0_ = bitField0_; if (statusBuilder_ == null) { result.status_ = status_; } else { result.status_ = statusBuilder_.build(); } result.workersMapping_ = internalGetWorkersMapping(); result.workersMapping_.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.Ingestion.GetWorkersMappingResponse) { return mergeFrom((cz.proto.ingestion.Ingestion.GetWorkersMappingResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.GetWorkersMappingResponse other) { if (other == cz.proto.ingestion.Ingestion.GetWorkersMappingResponse.getDefaultInstance()) return this; if (other.hasStatus()) { mergeStatus(other.getStatus()); } internalGetMutableWorkersMapping().mergeFrom( other.internalGetWorkersMapping()); 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.Ingestion.GetWorkersMappingResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.GetWorkersMappingResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.ingestion.Ingestion.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return The status. */ public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder setStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder setStatus( cz.proto.ingestion.Ingestion.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder mergeStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.Ingestion.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public cz.proto.ingestion.Ingestion.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder>( getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } private com.google.protobuf.MapField< java.lang.Long, cz.proto.ingestion.Ingestion.HostPortTuple> workersMapping_; private com.google.protobuf.MapField internalGetWorkersMapping() { if (workersMapping_ == null) { return com.google.protobuf.MapField.emptyMapField( WorkersMappingDefaultEntryHolder.defaultEntry); } return workersMapping_; } private com.google.protobuf.MapField internalGetMutableWorkersMapping() { onChanged();; if (workersMapping_ == null) { workersMapping_ = com.google.protobuf.MapField.newMapField( WorkersMappingDefaultEntryHolder.defaultEntry); } if (!workersMapping_.isMutable()) { workersMapping_ = workersMapping_.copy(); } return workersMapping_; } public int getWorkersMappingCount() { return internalGetWorkersMapping().getMap().size(); } /** * map<int64, .cz.proto.ingestion.HostPortTuple> workers_mapping = 2; */ @java.lang.Override public boolean containsWorkersMapping( long key) { return internalGetWorkersMapping().getMap().containsKey(key); } /** * Use {@link #getWorkersMappingMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getWorkersMapping() { return getWorkersMappingMap(); } /** * map<int64, .cz.proto.ingestion.HostPortTuple> workers_mapping = 2; */ @java.lang.Override public java.util.Map getWorkersMappingMap() { return internalGetWorkersMapping().getMap(); } /** * map<int64, .cz.proto.ingestion.HostPortTuple> workers_mapping = 2; */ @java.lang.Override public cz.proto.ingestion.Ingestion.HostPortTuple getWorkersMappingOrDefault( long key, cz.proto.ingestion.Ingestion.HostPortTuple defaultValue) { java.util.Map map = internalGetWorkersMapping().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<int64, .cz.proto.ingestion.HostPortTuple> workers_mapping = 2; */ @java.lang.Override public cz.proto.ingestion.Ingestion.HostPortTuple getWorkersMappingOrThrow( long key) { java.util.Map map = internalGetWorkersMapping().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearWorkersMapping() { internalGetMutableWorkersMapping().getMutableMap() .clear(); return this; } /** * map<int64, .cz.proto.ingestion.HostPortTuple> workers_mapping = 2; */ public Builder removeWorkersMapping( long key) { internalGetMutableWorkersMapping().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableWorkersMapping() { return internalGetMutableWorkersMapping().getMutableMap(); } /** * map<int64, .cz.proto.ingestion.HostPortTuple> workers_mapping = 2; */ public Builder putWorkersMapping( long key, cz.proto.ingestion.Ingestion.HostPortTuple value) { if (value == null) { throw new NullPointerException("map value"); } internalGetMutableWorkersMapping().getMutableMap() .put(key, value); return this; } /** * map<int64, .cz.proto.ingestion.HostPortTuple> workers_mapping = 2; */ public Builder putAllWorkersMapping( java.util.Map values) { internalGetMutableWorkersMapping().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.GetWorkersMappingResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.GetWorkersMappingResponse) private static final cz.proto.ingestion.Ingestion.GetWorkersMappingResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.GetWorkersMappingResponse(); } public static cz.proto.ingestion.Ingestion.GetWorkersMappingResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetWorkersMappingResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetWorkersMappingResponse(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.Ingestion.GetWorkersMappingResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CheckTableExistsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.CheckTableExistsRequest) com.google.protobuf.MessageOrBuilder { /** * int64 instance = 1; * @return The instance. */ long getInstance(); /** * 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(); /** * int64 table_id = 5; * @return The tableId. */ long getTableId(); /** * .cz.proto.ingestion.Account account = 6; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.ingestion.Account account = 6; * @return The account. */ cz.proto.ingestion.Ingestion.Account getAccount(); /** * .cz.proto.ingestion.Account account = 6; */ cz.proto.ingestion.Ingestion.AccountOrBuilder getAccountOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.CheckTableExistsRequest} */ public static final class CheckTableExistsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.CheckTableExistsRequest) CheckTableExistsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use CheckTableExistsRequest.newBuilder() to construct. private CheckTableExistsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CheckTableExistsRequest() { workspace_ = ""; schemaName_ = ""; tableName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CheckTableExistsRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CheckTableExistsRequest( 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: { instance_ = 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; } case 40: { tableId_ = input.readInt64(); break; } case 50: { cz.proto.ingestion.Ingestion.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.ingestion.Ingestion.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = 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.Ingestion.internal_static_cz_proto_ingestion_CheckTableExistsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_CheckTableExistsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.CheckTableExistsRequest.class, cz.proto.ingestion.Ingestion.CheckTableExistsRequest.Builder.class); } public static final int INSTANCE_FIELD_NUMBER = 1; private long instance_; /** * int64 instance = 1; * @return The instance. */ @java.lang.Override public long getInstance() { return instance_; } 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; } } public static final int TABLE_ID_FIELD_NUMBER = 5; private long tableId_; /** * int64 table_id = 5; * @return The tableId. */ @java.lang.Override public long getTableId() { return tableId_; } public static final int ACCOUNT_FIELD_NUMBER = 6; private cz.proto.ingestion.Ingestion.Account account_; /** * .cz.proto.ingestion.Account account = 6; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.ingestion.Account account = 6; * @return The account. */ @java.lang.Override public cz.proto.ingestion.Ingestion.Account getAccount() { return account_ == null ? cz.proto.ingestion.Ingestion.Account.getDefaultInstance() : account_; } /** * .cz.proto.ingestion.Account account = 6; */ @java.lang.Override public cz.proto.ingestion.Ingestion.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } 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 (instance_ != 0L) { output.writeInt64(1, instance_); } 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_); } if (tableId_ != 0L) { output.writeInt64(5, tableId_); } if (account_ != null) { output.writeMessage(6, getAccount()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (instance_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, instance_); } 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_); } if (tableId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, tableId_); } if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getAccount()); } 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.Ingestion.CheckTableExistsRequest)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.CheckTableExistsRequest other = (cz.proto.ingestion.Ingestion.CheckTableExistsRequest) obj; if (getInstance() != other.getInstance()) return false; if (!getWorkspace() .equals(other.getWorkspace())) return false; if (!getSchemaName() .equals(other.getSchemaName())) return false; if (!getTableName() .equals(other.getTableName())) return false; if (getTableId() != other.getTableId()) return false; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) 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_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getInstance()); 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 = (37 * hash) + TABLE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTableId()); if (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.Ingestion.CheckTableExistsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.CheckTableExistsRequest 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.Ingestion.CheckTableExistsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.CheckTableExistsRequest 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.Ingestion.CheckTableExistsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.CheckTableExistsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.CheckTableExistsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.CheckTableExistsRequest 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.Ingestion.CheckTableExistsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.CheckTableExistsRequest 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.Ingestion.CheckTableExistsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.CheckTableExistsRequest 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.Ingestion.CheckTableExistsRequest 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.CheckTableExistsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.CheckTableExistsRequest) cz.proto.ingestion.Ingestion.CheckTableExistsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_CheckTableExistsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_CheckTableExistsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.CheckTableExistsRequest.class, cz.proto.ingestion.Ingestion.CheckTableExistsRequest.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.CheckTableExistsRequest.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(); instance_ = 0L; workspace_ = ""; schemaName_ = ""; tableName_ = ""; tableId_ = 0L; if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_CheckTableExistsRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.CheckTableExistsRequest getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.CheckTableExistsRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.CheckTableExistsRequest build() { cz.proto.ingestion.Ingestion.CheckTableExistsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.CheckTableExistsRequest buildPartial() { cz.proto.ingestion.Ingestion.CheckTableExistsRequest result = new cz.proto.ingestion.Ingestion.CheckTableExistsRequest(this); result.instance_ = instance_; result.workspace_ = workspace_; result.schemaName_ = schemaName_; result.tableName_ = tableName_; result.tableId_ = tableId_; if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.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.Ingestion.CheckTableExistsRequest) { return mergeFrom((cz.proto.ingestion.Ingestion.CheckTableExistsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.CheckTableExistsRequest other) { if (other == cz.proto.ingestion.Ingestion.CheckTableExistsRequest.getDefaultInstance()) return this; if (other.getInstance() != 0L) { setInstance(other.getInstance()); } if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); } if (!other.getSchemaName().isEmpty()) { schemaName_ = other.schemaName_; onChanged(); } if (!other.getTableName().isEmpty()) { tableName_ = other.tableName_; onChanged(); } if (other.getTableId() != 0L) { setTableId(other.getTableId()); } if (other.hasAccount()) { mergeAccount(other.getAccount()); } 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.Ingestion.CheckTableExistsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.CheckTableExistsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long instance_ ; /** * int64 instance = 1; * @return The instance. */ @java.lang.Override public long getInstance() { return instance_; } /** * int64 instance = 1; * @param value The instance to set. * @return This builder for chaining. */ public Builder setInstance(long value) { instance_ = value; onChanged(); return this; } /** * int64 instance = 1; * @return This builder for chaining. */ public Builder clearInstance() { instance_ = 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; } private long tableId_ ; /** * int64 table_id = 5; * @return The tableId. */ @java.lang.Override public long getTableId() { return tableId_; } /** * int64 table_id = 5; * @param value The tableId to set. * @return This builder for chaining. */ public Builder setTableId(long value) { tableId_ = value; onChanged(); return this; } /** * int64 table_id = 5; * @return This builder for chaining. */ public Builder clearTableId() { tableId_ = 0L; onChanged(); return this; } private cz.proto.ingestion.Ingestion.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.Account, cz.proto.ingestion.Ingestion.Account.Builder, cz.proto.ingestion.Ingestion.AccountOrBuilder> accountBuilder_; /** * .cz.proto.ingestion.Account account = 6; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.ingestion.Account account = 6; * @return The account. */ public cz.proto.ingestion.Ingestion.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.ingestion.Ingestion.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.ingestion.Account account = 6; */ public Builder setAccount(cz.proto.ingestion.Ingestion.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.Account account = 6; */ public Builder setAccount( cz.proto.ingestion.Ingestion.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.Account account = 6; */ public Builder mergeAccount(cz.proto.ingestion.Ingestion.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.ingestion.Ingestion.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.Account account = 6; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.ingestion.Account account = 6; */ public cz.proto.ingestion.Ingestion.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.Account account = 6; */ public cz.proto.ingestion.Ingestion.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.ingestion.Ingestion.Account.getDefaultInstance() : account_; } } /** * .cz.proto.ingestion.Account account = 6; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.Account, cz.proto.ingestion.Ingestion.Account.Builder, cz.proto.ingestion.Ingestion.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.Account, cz.proto.ingestion.Ingestion.Account.Builder, cz.proto.ingestion.Ingestion.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } @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.CheckTableExistsRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.CheckTableExistsRequest) private static final cz.proto.ingestion.Ingestion.CheckTableExistsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.CheckTableExistsRequest(); } public static cz.proto.ingestion.Ingestion.CheckTableExistsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CheckTableExistsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CheckTableExistsRequest(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.Ingestion.CheckTableExistsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CheckTableExistsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.CheckTableExistsResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return The status. */ cz.proto.ingestion.Ingestion.ResponseStatus getStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 1; */ cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.CheckTableExistsResponse} */ public static final class CheckTableExistsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.CheckTableExistsResponse) CheckTableExistsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use CheckTableExistsResponse.newBuilder() to construct. private CheckTableExistsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CheckTableExistsResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CheckTableExistsResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CheckTableExistsResponse( 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.Ingestion.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.Ingestion.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.Ingestion.internal_static_cz_proto_ingestion_CheckTableExistsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_CheckTableExistsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.CheckTableExistsResponse.class, cz.proto.ingestion.Ingestion.CheckTableExistsResponse.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private cz.proto.ingestion.Ingestion.ResponseStatus status_; /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return The status. */ @java.lang.Override public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ @java.lang.Override public cz.proto.ingestion.Ingestion.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.Ingestion.CheckTableExistsResponse)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.CheckTableExistsResponse other = (cz.proto.ingestion.Ingestion.CheckTableExistsResponse) 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.Ingestion.CheckTableExistsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.CheckTableExistsResponse 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.Ingestion.CheckTableExistsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.CheckTableExistsResponse 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.Ingestion.CheckTableExistsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.CheckTableExistsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.CheckTableExistsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.CheckTableExistsResponse 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.Ingestion.CheckTableExistsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.CheckTableExistsResponse 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.Ingestion.CheckTableExistsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.CheckTableExistsResponse 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.Ingestion.CheckTableExistsResponse 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.CheckTableExistsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.CheckTableExistsResponse) cz.proto.ingestion.Ingestion.CheckTableExistsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_CheckTableExistsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_CheckTableExistsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.CheckTableExistsResponse.class, cz.proto.ingestion.Ingestion.CheckTableExistsResponse.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.CheckTableExistsResponse.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.Ingestion.internal_static_cz_proto_ingestion_CheckTableExistsResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.CheckTableExistsResponse getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.CheckTableExistsResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.CheckTableExistsResponse build() { cz.proto.ingestion.Ingestion.CheckTableExistsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.CheckTableExistsResponse buildPartial() { cz.proto.ingestion.Ingestion.CheckTableExistsResponse result = new cz.proto.ingestion.Ingestion.CheckTableExistsResponse(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.Ingestion.CheckTableExistsResponse) { return mergeFrom((cz.proto.ingestion.Ingestion.CheckTableExistsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.CheckTableExistsResponse other) { if (other == cz.proto.ingestion.Ingestion.CheckTableExistsResponse.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.Ingestion.CheckTableExistsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.CheckTableExistsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.Ingestion.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return The status. */ public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder setStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder setStatus( cz.proto.ingestion.Ingestion.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder mergeStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.Ingestion.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public cz.proto.ingestion.Ingestion.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.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.CheckTableExistsResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.CheckTableExistsResponse) private static final cz.proto.ingestion.Ingestion.CheckTableExistsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.CheckTableExistsResponse(); } public static cz.proto.ingestion.Ingestion.CheckTableExistsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CheckTableExistsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CheckTableExistsResponse(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.Ingestion.CheckTableExistsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DataMutateRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.DataMutateRequest) com.google.protobuf.MessageOrBuilder { /** * int64 batch_id = 1; * @return The batchId. */ long getBatchId(); /** * int64 write_timestamp = 2; * @return The writeTimestamp. */ long getWriteTimestamp(); /** * .kudu.RowOperationsPB row_operations = 3; * @return Whether the rowOperations field is set. */ boolean hasRowOperations(); /** * .kudu.RowOperationsPB row_operations = 3; * @return The rowOperations. */ org.apache.kudu.RowOperations.RowOperationsPB getRowOperations(); /** * .kudu.RowOperationsPB row_operations = 3; */ org.apache.kudu.RowOperations.RowOperationsPBOrBuilder getRowOperationsOrBuilder(); /** * string schema_name = 4; * @return The schemaName. */ java.lang.String getSchemaName(); /** * string schema_name = 4; * @return The bytes for schemaName. */ com.google.protobuf.ByteString getSchemaNameBytes(); /** * string table_name = 5; * @return The tableName. */ java.lang.String getTableName(); /** * string table_name = 5; * @return The bytes for tableName. */ com.google.protobuf.ByteString getTableNameBytes(); /** * .cz.proto.Entity schema = 6; * @return Whether the schema field is set. */ boolean hasSchema(); /** * .cz.proto.Entity schema = 6; * @return The schema. */ cz.proto.MetadataEntity.Entity getSchema(); /** * .cz.proto.Entity schema = 6; */ cz.proto.MetadataEntity.EntityOrBuilder getSchemaOrBuilder(); /** * .kudu.SchemaPB schema_pb = 7; * @return Whether the schemaPb field is set. */ boolean hasSchemaPb(); /** * .kudu.SchemaPB schema_pb = 7; * @return The schemaPb. */ org.apache.kudu.KuduCommon.SchemaPB getSchemaPb(); /** * .kudu.SchemaPB schema_pb = 7; */ org.apache.kudu.KuduCommon.SchemaPBOrBuilder getSchemaPbOrBuilder(); /** * .cz.proto.ingestion.IGSTableType table_type = 8; * @return The enum numeric value on the wire for tableType. */ int getTableTypeValue(); /** * .cz.proto.ingestion.IGSTableType table_type = 8; * @return The tableType. */ cz.proto.ingestion.Ingestion.IGSTableType getTableType(); /** * uint64 buckets_count = 9; * @return The bucketsCount. */ long getBucketsCount(); /** * bool is_dispatch = 10; * @return The isDispatch. */ boolean getIsDispatch(); /** * int64 tablet_id = 11; * @return The tabletId. */ long getTabletId(); /** * repeated string key_names = 12; * @return A list containing the keyNames. */ java.util.List getKeyNamesList(); /** * repeated string key_names = 12; * @return The count of keyNames. */ int getKeyNamesCount(); /** * repeated string key_names = 12; * @param index The index of the element to return. * @return The keyNames at the given index. */ java.lang.String getKeyNames(int index); /** * repeated string key_names = 12; * @param index The index of the value to return. * @return The bytes of the keyNames at the given index. */ com.google.protobuf.ByteString getKeyNamesBytes(int index); /** * repeated string sort_names = 13; * @return A list containing the sortNames. */ java.util.List getSortNamesList(); /** * repeated string sort_names = 13; * @return The count of sortNames. */ int getSortNamesCount(); /** * repeated string sort_names = 13; * @param index The index of the element to return. * @return The sortNames at the given index. */ java.lang.String getSortNames(int index); /** * repeated string sort_names = 13; * @param index The index of the value to return. * @return The bytes of the sortNames at the given index. */ com.google.protobuf.ByteString getSortNamesBytes(int index); /** * .kudu.RowOperationsPB key_row_operations = 14; * @return Whether the keyRowOperations field is set. */ boolean hasKeyRowOperations(); /** * .kudu.RowOperationsPB key_row_operations = 14; * @return The keyRowOperations. */ org.apache.kudu.RowOperations.RowOperationsPB getKeyRowOperations(); /** * .kudu.RowOperationsPB key_row_operations = 14; */ org.apache.kudu.RowOperations.RowOperationsPBOrBuilder getKeyRowOperationsOrBuilder(); /** * .kudu.SchemaPB key_schema_pb = 15; * @return Whether the keySchemaPb field is set. */ boolean hasKeySchemaPb(); /** * .kudu.SchemaPB key_schema_pb = 15; * @return The keySchemaPb. */ org.apache.kudu.KuduCommon.SchemaPB getKeySchemaPb(); /** * .kudu.SchemaPB key_schema_pb = 15; */ org.apache.kudu.KuduCommon.SchemaPBOrBuilder getKeySchemaPbOrBuilder(); /** * repeated uint32 bucket_ids = 16; * @return A list containing the bucketIds. */ java.util.List getBucketIdsList(); /** * repeated uint32 bucket_ids = 16; * @return The count of bucketIds. */ int getBucketIdsCount(); /** * repeated uint32 bucket_ids = 16; * @param index The index of the element to return. * @return The bucketIds at the given index. */ int getBucketIds(int index); /** * repeated int32 indexes = 17; * @return A list containing the indexes. */ java.util.List getIndexesList(); /** * repeated int32 indexes = 17; * @return The count of indexes. */ int getIndexesCount(); /** * repeated int32 indexes = 17; * @param index The index of the element to return. * @return The indexes at the given index. */ int getIndexes(int index); /** * int64 instance_id = 18; * @return The instanceId. */ long getInstanceId(); /** * string workspace = 19; * @return The workspace. */ java.lang.String getWorkspace(); /** * string workspace = 19; * @return The bytes for workspace. */ com.google.protobuf.ByteString getWorkspaceBytes(); /** * .cz.proto.ingestion.Account account = 20; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.ingestion.Account account = 20; * @return The account. */ cz.proto.ingestion.Ingestion.Account getAccount(); /** * .cz.proto.ingestion.Account account = 20; */ cz.proto.ingestion.Ingestion.AccountOrBuilder getAccountOrBuilder(); /** * string token = 21; * @return The token. */ java.lang.String getToken(); /** * string token = 21; * @return The bytes for token. */ com.google.protobuf.ByteString getTokenBytes(); /** * string request_id = 22; * @return The requestId. */ java.lang.String getRequestId(); /** * string request_id = 22; * @return The bytes for requestId. */ com.google.protobuf.ByteString getRequestIdBytes(); /** * int32 batch_count = 23; * @return The batchCount. */ int getBatchCount(); } /** * Protobuf type {@code cz.proto.ingestion.DataMutateRequest} */ public static final class DataMutateRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.DataMutateRequest) DataMutateRequestOrBuilder { private static final long serialVersionUID = 0L; // Use DataMutateRequest.newBuilder() to construct. private DataMutateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DataMutateRequest() { schemaName_ = ""; tableName_ = ""; tableType_ = 0; keyNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; sortNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; bucketIds_ = emptyIntList(); indexes_ = emptyIntList(); workspace_ = ""; token_ = ""; requestId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DataMutateRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DataMutateRequest( 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: { writeTimestamp_ = input.readInt64(); break; } case 26: { org.apache.kudu.RowOperations.RowOperationsPB.Builder subBuilder = null; if (rowOperations_ != null) { subBuilder = rowOperations_.toBuilder(); } rowOperations_ = input.readMessage(org.apache.kudu.RowOperations.RowOperationsPB.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(rowOperations_); rowOperations_ = subBuilder.buildPartial(); } break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); schemaName_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); tableName_ = s; break; } case 50: { cz.proto.MetadataEntity.Entity.Builder subBuilder = null; if (schema_ != null) { subBuilder = schema_.toBuilder(); } schema_ = input.readMessage(cz.proto.MetadataEntity.Entity.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(schema_); schema_ = subBuilder.buildPartial(); } break; } case 58: { org.apache.kudu.KuduCommon.SchemaPB.Builder subBuilder = null; if (schemaPb_ != null) { subBuilder = schemaPb_.toBuilder(); } schemaPb_ = input.readMessage(org.apache.kudu.KuduCommon.SchemaPB.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(schemaPb_); schemaPb_ = subBuilder.buildPartial(); } break; } case 64: { int rawValue = input.readEnum(); tableType_ = rawValue; break; } case 72: { bucketsCount_ = input.readUInt64(); break; } case 80: { isDispatch_ = input.readBool(); break; } case 88: { tabletId_ = input.readInt64(); break; } case 98: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { keyNames_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } keyNames_.add(s); break; } case 106: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { sortNames_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } sortNames_.add(s); break; } case 114: { org.apache.kudu.RowOperations.RowOperationsPB.Builder subBuilder = null; if (keyRowOperations_ != null) { subBuilder = keyRowOperations_.toBuilder(); } keyRowOperations_ = input.readMessage(org.apache.kudu.RowOperations.RowOperationsPB.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(keyRowOperations_); keyRowOperations_ = subBuilder.buildPartial(); } break; } case 122: { org.apache.kudu.KuduCommon.SchemaPB.Builder subBuilder = null; if (keySchemaPb_ != null) { subBuilder = keySchemaPb_.toBuilder(); } keySchemaPb_ = input.readMessage(org.apache.kudu.KuduCommon.SchemaPB.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(keySchemaPb_); keySchemaPb_ = subBuilder.buildPartial(); } break; } case 128: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { bucketIds_ = newIntList(); mutable_bitField0_ |= 0x00000004; } bucketIds_.addInt(input.readUInt32()); break; } case 130: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000004) != 0) && input.getBytesUntilLimit() > 0) { bucketIds_ = newIntList(); mutable_bitField0_ |= 0x00000004; } while (input.getBytesUntilLimit() > 0) { bucketIds_.addInt(input.readUInt32()); } input.popLimit(limit); break; } case 136: { if (!((mutable_bitField0_ & 0x00000008) != 0)) { indexes_ = newIntList(); mutable_bitField0_ |= 0x00000008; } indexes_.addInt(input.readInt32()); break; } case 138: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000008) != 0) && input.getBytesUntilLimit() > 0) { indexes_ = newIntList(); mutable_bitField0_ |= 0x00000008; } while (input.getBytesUntilLimit() > 0) { indexes_.addInt(input.readInt32()); } input.popLimit(limit); break; } case 144: { instanceId_ = input.readInt64(); break; } case 154: { java.lang.String s = input.readStringRequireUtf8(); workspace_ = s; break; } case 162: { cz.proto.ingestion.Ingestion.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.ingestion.Ingestion.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 170: { java.lang.String s = input.readStringRequireUtf8(); token_ = s; break; } case 178: { java.lang.String s = input.readStringRequireUtf8(); requestId_ = s; break; } case 184: { batchCount_ = 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 { if (((mutable_bitField0_ & 0x00000001) != 0)) { keyNames_ = keyNames_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000002) != 0)) { sortNames_ = sortNames_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000004) != 0)) { bucketIds_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000008) != 0)) { indexes_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_DataMutateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_DataMutateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.DataMutateRequest.class, cz.proto.ingestion.Ingestion.DataMutateRequest.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 WRITE_TIMESTAMP_FIELD_NUMBER = 2; private long writeTimestamp_; /** * int64 write_timestamp = 2; * @return The writeTimestamp. */ @java.lang.Override public long getWriteTimestamp() { return writeTimestamp_; } public static final int ROW_OPERATIONS_FIELD_NUMBER = 3; private org.apache.kudu.RowOperations.RowOperationsPB rowOperations_; /** * .kudu.RowOperationsPB row_operations = 3; * @return Whether the rowOperations field is set. */ @java.lang.Override public boolean hasRowOperations() { return rowOperations_ != null; } /** * .kudu.RowOperationsPB row_operations = 3; * @return The rowOperations. */ @java.lang.Override public org.apache.kudu.RowOperations.RowOperationsPB getRowOperations() { return rowOperations_ == null ? org.apache.kudu.RowOperations.RowOperationsPB.getDefaultInstance() : rowOperations_; } /** * .kudu.RowOperationsPB row_operations = 3; */ @java.lang.Override public org.apache.kudu.RowOperations.RowOperationsPBOrBuilder getRowOperationsOrBuilder() { return getRowOperations(); } public static final int SCHEMA_NAME_FIELD_NUMBER = 4; private volatile java.lang.Object schemaName_; /** * string schema_name = 4; * @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 = 4; * @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 = 5; private volatile java.lang.Object tableName_; /** * string table_name = 5; * @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 = 5; * @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; } } public static final int SCHEMA_FIELD_NUMBER = 6; private cz.proto.MetadataEntity.Entity schema_; /** * .cz.proto.Entity schema = 6; * @return Whether the schema field is set. */ @java.lang.Override public boolean hasSchema() { return schema_ != null; } /** * .cz.proto.Entity schema = 6; * @return The schema. */ @java.lang.Override public cz.proto.MetadataEntity.Entity getSchema() { return schema_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : schema_; } /** * .cz.proto.Entity schema = 6; */ @java.lang.Override public cz.proto.MetadataEntity.EntityOrBuilder getSchemaOrBuilder() { return getSchema(); } public static final int SCHEMA_PB_FIELD_NUMBER = 7; private org.apache.kudu.KuduCommon.SchemaPB schemaPb_; /** * .kudu.SchemaPB schema_pb = 7; * @return Whether the schemaPb field is set. */ @java.lang.Override public boolean hasSchemaPb() { return schemaPb_ != null; } /** * .kudu.SchemaPB schema_pb = 7; * @return The schemaPb. */ @java.lang.Override public org.apache.kudu.KuduCommon.SchemaPB getSchemaPb() { return schemaPb_ == null ? org.apache.kudu.KuduCommon.SchemaPB.getDefaultInstance() : schemaPb_; } /** * .kudu.SchemaPB schema_pb = 7; */ @java.lang.Override public org.apache.kudu.KuduCommon.SchemaPBOrBuilder getSchemaPbOrBuilder() { return getSchemaPb(); } public static final int TABLE_TYPE_FIELD_NUMBER = 8; private int tableType_; /** * .cz.proto.ingestion.IGSTableType table_type = 8; * @return The enum numeric value on the wire for tableType. */ @java.lang.Override public int getTableTypeValue() { return tableType_; } /** * .cz.proto.ingestion.IGSTableType table_type = 8; * @return The tableType. */ @java.lang.Override public cz.proto.ingestion.Ingestion.IGSTableType getTableType() { @SuppressWarnings("deprecation") cz.proto.ingestion.Ingestion.IGSTableType result = cz.proto.ingestion.Ingestion.IGSTableType.valueOf(tableType_); return result == null ? cz.proto.ingestion.Ingestion.IGSTableType.UNRECOGNIZED : result; } public static final int BUCKETS_COUNT_FIELD_NUMBER = 9; private long bucketsCount_; /** * uint64 buckets_count = 9; * @return The bucketsCount. */ @java.lang.Override public long getBucketsCount() { return bucketsCount_; } public static final int IS_DISPATCH_FIELD_NUMBER = 10; private boolean isDispatch_; /** * bool is_dispatch = 10; * @return The isDispatch. */ @java.lang.Override public boolean getIsDispatch() { return isDispatch_; } public static final int TABLET_ID_FIELD_NUMBER = 11; private long tabletId_; /** * int64 tablet_id = 11; * @return The tabletId. */ @java.lang.Override public long getTabletId() { return tabletId_; } public static final int KEY_NAMES_FIELD_NUMBER = 12; private com.google.protobuf.LazyStringList keyNames_; /** * repeated string key_names = 12; * @return A list containing the keyNames. */ public com.google.protobuf.ProtocolStringList getKeyNamesList() { return keyNames_; } /** * repeated string key_names = 12; * @return The count of keyNames. */ public int getKeyNamesCount() { return keyNames_.size(); } /** * repeated string key_names = 12; * @param index The index of the element to return. * @return The keyNames at the given index. */ public java.lang.String getKeyNames(int index) { return keyNames_.get(index); } /** * repeated string key_names = 12; * @param index The index of the value to return. * @return The bytes of the keyNames at the given index. */ public com.google.protobuf.ByteString getKeyNamesBytes(int index) { return keyNames_.getByteString(index); } public static final int SORT_NAMES_FIELD_NUMBER = 13; private com.google.protobuf.LazyStringList sortNames_; /** * repeated string sort_names = 13; * @return A list containing the sortNames. */ public com.google.protobuf.ProtocolStringList getSortNamesList() { return sortNames_; } /** * repeated string sort_names = 13; * @return The count of sortNames. */ public int getSortNamesCount() { return sortNames_.size(); } /** * repeated string sort_names = 13; * @param index The index of the element to return. * @return The sortNames at the given index. */ public java.lang.String getSortNames(int index) { return sortNames_.get(index); } /** * repeated string sort_names = 13; * @param index The index of the value to return. * @return The bytes of the sortNames at the given index. */ public com.google.protobuf.ByteString getSortNamesBytes(int index) { return sortNames_.getByteString(index); } public static final int KEY_ROW_OPERATIONS_FIELD_NUMBER = 14; private org.apache.kudu.RowOperations.RowOperationsPB keyRowOperations_; /** * .kudu.RowOperationsPB key_row_operations = 14; * @return Whether the keyRowOperations field is set. */ @java.lang.Override public boolean hasKeyRowOperations() { return keyRowOperations_ != null; } /** * .kudu.RowOperationsPB key_row_operations = 14; * @return The keyRowOperations. */ @java.lang.Override public org.apache.kudu.RowOperations.RowOperationsPB getKeyRowOperations() { return keyRowOperations_ == null ? org.apache.kudu.RowOperations.RowOperationsPB.getDefaultInstance() : keyRowOperations_; } /** * .kudu.RowOperationsPB key_row_operations = 14; */ @java.lang.Override public org.apache.kudu.RowOperations.RowOperationsPBOrBuilder getKeyRowOperationsOrBuilder() { return getKeyRowOperations(); } public static final int KEY_SCHEMA_PB_FIELD_NUMBER = 15; private org.apache.kudu.KuduCommon.SchemaPB keySchemaPb_; /** * .kudu.SchemaPB key_schema_pb = 15; * @return Whether the keySchemaPb field is set. */ @java.lang.Override public boolean hasKeySchemaPb() { return keySchemaPb_ != null; } /** * .kudu.SchemaPB key_schema_pb = 15; * @return The keySchemaPb. */ @java.lang.Override public org.apache.kudu.KuduCommon.SchemaPB getKeySchemaPb() { return keySchemaPb_ == null ? org.apache.kudu.KuduCommon.SchemaPB.getDefaultInstance() : keySchemaPb_; } /** * .kudu.SchemaPB key_schema_pb = 15; */ @java.lang.Override public org.apache.kudu.KuduCommon.SchemaPBOrBuilder getKeySchemaPbOrBuilder() { return getKeySchemaPb(); } public static final int BUCKET_IDS_FIELD_NUMBER = 16; private com.google.protobuf.Internal.IntList bucketIds_; /** * repeated uint32 bucket_ids = 16; * @return A list containing the bucketIds. */ @java.lang.Override public java.util.List getBucketIdsList() { return bucketIds_; } /** * repeated uint32 bucket_ids = 16; * @return The count of bucketIds. */ public int getBucketIdsCount() { return bucketIds_.size(); } /** * repeated uint32 bucket_ids = 16; * @param index The index of the element to return. * @return The bucketIds at the given index. */ public int getBucketIds(int index) { return bucketIds_.getInt(index); } private int bucketIdsMemoizedSerializedSize = -1; public static final int INDEXES_FIELD_NUMBER = 17; private com.google.protobuf.Internal.IntList indexes_; /** * repeated int32 indexes = 17; * @return A list containing the indexes. */ @java.lang.Override public java.util.List getIndexesList() { return indexes_; } /** * repeated int32 indexes = 17; * @return The count of indexes. */ public int getIndexesCount() { return indexes_.size(); } /** * repeated int32 indexes = 17; * @param index The index of the element to return. * @return The indexes at the given index. */ public int getIndexes(int index) { return indexes_.getInt(index); } private int indexesMemoizedSerializedSize = -1; public static final int INSTANCE_ID_FIELD_NUMBER = 18; private long instanceId_; /** * int64 instance_id = 18; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } public static final int WORKSPACE_FIELD_NUMBER = 19; private volatile java.lang.Object workspace_; /** * string workspace = 19; * @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 = 19; * @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 ACCOUNT_FIELD_NUMBER = 20; private cz.proto.ingestion.Ingestion.Account account_; /** * .cz.proto.ingestion.Account account = 20; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.ingestion.Account account = 20; * @return The account. */ @java.lang.Override public cz.proto.ingestion.Ingestion.Account getAccount() { return account_ == null ? cz.proto.ingestion.Ingestion.Account.getDefaultInstance() : account_; } /** * .cz.proto.ingestion.Account account = 20; */ @java.lang.Override public cz.proto.ingestion.Ingestion.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int TOKEN_FIELD_NUMBER = 21; private volatile java.lang.Object token_; /** * string token = 21; * @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 = 21; * @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; } } public static final int REQUEST_ID_FIELD_NUMBER = 22; private volatile java.lang.Object requestId_; /** * string request_id = 22; * @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 = 22; * @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; } } public static final int BATCH_COUNT_FIELD_NUMBER = 23; private int batchCount_; /** * int32 batch_count = 23; * @return The batchCount. */ @java.lang.Override public int getBatchCount() { return batchCount_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (hasSchemaPb()) { if (!getSchemaPb().isInitialized()) { memoizedIsInitialized = 0; return false; } } if (hasKeySchemaPb()) { if (!getKeySchemaPb().isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (batchId_ != 0L) { output.writeInt64(1, batchId_); } if (writeTimestamp_ != 0L) { output.writeInt64(2, writeTimestamp_); } if (rowOperations_ != null) { output.writeMessage(3, getRowOperations()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, schemaName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, tableName_); } if (schema_ != null) { output.writeMessage(6, getSchema()); } if (schemaPb_ != null) { output.writeMessage(7, getSchemaPb()); } if (tableType_ != cz.proto.ingestion.Ingestion.IGSTableType.NORMAL.getNumber()) { output.writeEnum(8, tableType_); } if (bucketsCount_ != 0L) { output.writeUInt64(9, bucketsCount_); } if (isDispatch_ != false) { output.writeBool(10, isDispatch_); } if (tabletId_ != 0L) { output.writeInt64(11, tabletId_); } for (int i = 0; i < keyNames_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 12, keyNames_.getRaw(i)); } for (int i = 0; i < sortNames_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 13, sortNames_.getRaw(i)); } if (keyRowOperations_ != null) { output.writeMessage(14, getKeyRowOperations()); } if (keySchemaPb_ != null) { output.writeMessage(15, getKeySchemaPb()); } if (getBucketIdsList().size() > 0) { output.writeUInt32NoTag(130); output.writeUInt32NoTag(bucketIdsMemoizedSerializedSize); } for (int i = 0; i < bucketIds_.size(); i++) { output.writeUInt32NoTag(bucketIds_.getInt(i)); } if (getIndexesList().size() > 0) { output.writeUInt32NoTag(138); output.writeUInt32NoTag(indexesMemoizedSerializedSize); } for (int i = 0; i < indexes_.size(); i++) { output.writeInt32NoTag(indexes_.getInt(i)); } if (instanceId_ != 0L) { output.writeInt64(18, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 19, workspace_); } if (account_ != null) { output.writeMessage(20, getAccount()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(token_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 21, token_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 22, requestId_); } if (batchCount_ != 0) { output.writeInt32(23, batchCount_); } 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 (writeTimestamp_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, writeTimestamp_); } if (rowOperations_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getRowOperations()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, schemaName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, tableName_); } if (schema_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getSchema()); } if (schemaPb_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getSchemaPb()); } if (tableType_ != cz.proto.ingestion.Ingestion.IGSTableType.NORMAL.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(8, tableType_); } if (bucketsCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(9, bucketsCount_); } if (isDispatch_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(10, isDispatch_); } if (tabletId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(11, tabletId_); } { int dataSize = 0; for (int i = 0; i < keyNames_.size(); i++) { dataSize += computeStringSizeNoTag(keyNames_.getRaw(i)); } size += dataSize; size += 1 * getKeyNamesList().size(); } { int dataSize = 0; for (int i = 0; i < sortNames_.size(); i++) { dataSize += computeStringSizeNoTag(sortNames_.getRaw(i)); } size += dataSize; size += 1 * getSortNamesList().size(); } if (keyRowOperations_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, getKeyRowOperations()); } if (keySchemaPb_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, getKeySchemaPb()); } { int dataSize = 0; for (int i = 0; i < bucketIds_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(bucketIds_.getInt(i)); } size += dataSize; if (!getBucketIdsList().isEmpty()) { size += 2; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } bucketIdsMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < indexes_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(indexes_.getInt(i)); } size += dataSize; if (!getIndexesList().isEmpty()) { size += 2; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } indexesMemoizedSerializedSize = dataSize; } if (instanceId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(18, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, workspace_); } if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(20, getAccount()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(token_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21, token_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, requestId_); } if (batchCount_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(23, batchCount_); } 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.Ingestion.DataMutateRequest)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.DataMutateRequest other = (cz.proto.ingestion.Ingestion.DataMutateRequest) obj; if (getBatchId() != other.getBatchId()) return false; if (getWriteTimestamp() != other.getWriteTimestamp()) return false; if (hasRowOperations() != other.hasRowOperations()) return false; if (hasRowOperations()) { if (!getRowOperations() .equals(other.getRowOperations())) return false; } if (!getSchemaName() .equals(other.getSchemaName())) return false; if (!getTableName() .equals(other.getTableName())) return false; if (hasSchema() != other.hasSchema()) return false; if (hasSchema()) { if (!getSchema() .equals(other.getSchema())) return false; } if (hasSchemaPb() != other.hasSchemaPb()) return false; if (hasSchemaPb()) { if (!getSchemaPb() .equals(other.getSchemaPb())) return false; } if (tableType_ != other.tableType_) return false; if (getBucketsCount() != other.getBucketsCount()) return false; if (getIsDispatch() != other.getIsDispatch()) return false; if (getTabletId() != other.getTabletId()) return false; if (!getKeyNamesList() .equals(other.getKeyNamesList())) return false; if (!getSortNamesList() .equals(other.getSortNamesList())) return false; if (hasKeyRowOperations() != other.hasKeyRowOperations()) return false; if (hasKeyRowOperations()) { if (!getKeyRowOperations() .equals(other.getKeyRowOperations())) return false; } if (hasKeySchemaPb() != other.hasKeySchemaPb()) return false; if (hasKeySchemaPb()) { if (!getKeySchemaPb() .equals(other.getKeySchemaPb())) return false; } if (!getBucketIdsList() .equals(other.getBucketIdsList())) return false; if (!getIndexesList() .equals(other.getIndexesList())) return false; if (getInstanceId() != other.getInstanceId()) return false; if (!getWorkspace() .equals(other.getWorkspace())) return false; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (!getToken() .equals(other.getToken())) return false; if (!getRequestId() .equals(other.getRequestId())) return false; if (getBatchCount() != other.getBatchCount()) 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 (hasRowOperations()) { hash = (37 * hash) + ROW_OPERATIONS_FIELD_NUMBER; hash = (53 * hash) + getRowOperations().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(); if (hasSchema()) { hash = (37 * hash) + SCHEMA_FIELD_NUMBER; hash = (53 * hash) + getSchema().hashCode(); } if (hasSchemaPb()) { hash = (37 * hash) + SCHEMA_PB_FIELD_NUMBER; hash = (53 * hash) + getSchemaPb().hashCode(); } hash = (37 * hash) + TABLE_TYPE_FIELD_NUMBER; hash = (53 * hash) + tableType_; hash = (37 * hash) + BUCKETS_COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getBucketsCount()); hash = (37 * hash) + IS_DISPATCH_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsDispatch()); hash = (37 * hash) + TABLET_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTabletId()); if (getKeyNamesCount() > 0) { hash = (37 * hash) + KEY_NAMES_FIELD_NUMBER; hash = (53 * hash) + getKeyNamesList().hashCode(); } if (getSortNamesCount() > 0) { hash = (37 * hash) + SORT_NAMES_FIELD_NUMBER; hash = (53 * hash) + getSortNamesList().hashCode(); } if (hasKeyRowOperations()) { hash = (37 * hash) + KEY_ROW_OPERATIONS_FIELD_NUMBER; hash = (53 * hash) + getKeyRowOperations().hashCode(); } if (hasKeySchemaPb()) { hash = (37 * hash) + KEY_SCHEMA_PB_FIELD_NUMBER; hash = (53 * hash) + getKeySchemaPb().hashCode(); } if (getBucketIdsCount() > 0) { hash = (37 * hash) + BUCKET_IDS_FIELD_NUMBER; hash = (53 * hash) + getBucketIdsList().hashCode(); } if (getIndexesCount() > 0) { hash = (37 * hash) + INDEXES_FIELD_NUMBER; hash = (53 * hash) + getIndexesList().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(); if (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } hash = (37 * hash) + TOKEN_FIELD_NUMBER; hash = (53 * hash) + getToken().hashCode(); hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); hash = (37 * hash) + BATCH_COUNT_FIELD_NUMBER; hash = (53 * hash) + getBatchCount(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.Ingestion.DataMutateRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.DataMutateRequest 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.Ingestion.DataMutateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.DataMutateRequest 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.Ingestion.DataMutateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.DataMutateRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.DataMutateRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.DataMutateRequest 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.Ingestion.DataMutateRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.DataMutateRequest 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.Ingestion.DataMutateRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.DataMutateRequest 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.Ingestion.DataMutateRequest 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.DataMutateRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.DataMutateRequest) cz.proto.ingestion.Ingestion.DataMutateRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_DataMutateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_DataMutateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.DataMutateRequest.class, cz.proto.ingestion.Ingestion.DataMutateRequest.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.DataMutateRequest.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(); batchId_ = 0L; writeTimestamp_ = 0L; if (rowOperationsBuilder_ == null) { rowOperations_ = null; } else { rowOperations_ = null; rowOperationsBuilder_ = null; } schemaName_ = ""; tableName_ = ""; if (schemaBuilder_ == null) { schema_ = null; } else { schema_ = null; schemaBuilder_ = null; } if (schemaPbBuilder_ == null) { schemaPb_ = null; } else { schemaPb_ = null; schemaPbBuilder_ = null; } tableType_ = 0; bucketsCount_ = 0L; isDispatch_ = false; tabletId_ = 0L; keyNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); sortNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); if (keyRowOperationsBuilder_ == null) { keyRowOperations_ = null; } else { keyRowOperations_ = null; keyRowOperationsBuilder_ = null; } if (keySchemaPbBuilder_ == null) { keySchemaPb_ = null; } else { keySchemaPb_ = null; keySchemaPbBuilder_ = null; } bucketIds_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000004); indexes_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000008); instanceId_ = 0L; workspace_ = ""; if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } token_ = ""; requestId_ = ""; batchCount_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_DataMutateRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.DataMutateRequest getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.DataMutateRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.DataMutateRequest build() { cz.proto.ingestion.Ingestion.DataMutateRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.DataMutateRequest buildPartial() { cz.proto.ingestion.Ingestion.DataMutateRequest result = new cz.proto.ingestion.Ingestion.DataMutateRequest(this); int from_bitField0_ = bitField0_; result.batchId_ = batchId_; result.writeTimestamp_ = writeTimestamp_; if (rowOperationsBuilder_ == null) { result.rowOperations_ = rowOperations_; } else { result.rowOperations_ = rowOperationsBuilder_.build(); } result.schemaName_ = schemaName_; result.tableName_ = tableName_; if (schemaBuilder_ == null) { result.schema_ = schema_; } else { result.schema_ = schemaBuilder_.build(); } if (schemaPbBuilder_ == null) { result.schemaPb_ = schemaPb_; } else { result.schemaPb_ = schemaPbBuilder_.build(); } result.tableType_ = tableType_; result.bucketsCount_ = bucketsCount_; result.isDispatch_ = isDispatch_; result.tabletId_ = tabletId_; if (((bitField0_ & 0x00000001) != 0)) { keyNames_ = keyNames_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.keyNames_ = keyNames_; if (((bitField0_ & 0x00000002) != 0)) { sortNames_ = sortNames_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.sortNames_ = sortNames_; if (keyRowOperationsBuilder_ == null) { result.keyRowOperations_ = keyRowOperations_; } else { result.keyRowOperations_ = keyRowOperationsBuilder_.build(); } if (keySchemaPbBuilder_ == null) { result.keySchemaPb_ = keySchemaPb_; } else { result.keySchemaPb_ = keySchemaPbBuilder_.build(); } if (((bitField0_ & 0x00000004) != 0)) { bucketIds_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000004); } result.bucketIds_ = bucketIds_; if (((bitField0_ & 0x00000008) != 0)) { indexes_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000008); } result.indexes_ = indexes_; result.instanceId_ = instanceId_; result.workspace_ = workspace_; if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } result.token_ = token_; result.requestId_ = requestId_; result.batchCount_ = batchCount_; 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.Ingestion.DataMutateRequest) { return mergeFrom((cz.proto.ingestion.Ingestion.DataMutateRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.DataMutateRequest other) { if (other == cz.proto.ingestion.Ingestion.DataMutateRequest.getDefaultInstance()) return this; if (other.getBatchId() != 0L) { setBatchId(other.getBatchId()); } if (other.getWriteTimestamp() != 0L) { setWriteTimestamp(other.getWriteTimestamp()); } if (other.hasRowOperations()) { mergeRowOperations(other.getRowOperations()); } if (!other.getSchemaName().isEmpty()) { schemaName_ = other.schemaName_; onChanged(); } if (!other.getTableName().isEmpty()) { tableName_ = other.tableName_; onChanged(); } if (other.hasSchema()) { mergeSchema(other.getSchema()); } if (other.hasSchemaPb()) { mergeSchemaPb(other.getSchemaPb()); } if (other.tableType_ != 0) { setTableTypeValue(other.getTableTypeValue()); } if (other.getBucketsCount() != 0L) { setBucketsCount(other.getBucketsCount()); } if (other.getIsDispatch() != false) { setIsDispatch(other.getIsDispatch()); } if (other.getTabletId() != 0L) { setTabletId(other.getTabletId()); } if (!other.keyNames_.isEmpty()) { if (keyNames_.isEmpty()) { keyNames_ = other.keyNames_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureKeyNamesIsMutable(); keyNames_.addAll(other.keyNames_); } onChanged(); } if (!other.sortNames_.isEmpty()) { if (sortNames_.isEmpty()) { sortNames_ = other.sortNames_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureSortNamesIsMutable(); sortNames_.addAll(other.sortNames_); } onChanged(); } if (other.hasKeyRowOperations()) { mergeKeyRowOperations(other.getKeyRowOperations()); } if (other.hasKeySchemaPb()) { mergeKeySchemaPb(other.getKeySchemaPb()); } if (!other.bucketIds_.isEmpty()) { if (bucketIds_.isEmpty()) { bucketIds_ = other.bucketIds_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureBucketIdsIsMutable(); bucketIds_.addAll(other.bucketIds_); } onChanged(); } if (!other.indexes_.isEmpty()) { if (indexes_.isEmpty()) { indexes_ = other.indexes_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureIndexesIsMutable(); indexes_.addAll(other.indexes_); } onChanged(); } if (other.getInstanceId() != 0L) { setInstanceId(other.getInstanceId()); } if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); } if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (!other.getToken().isEmpty()) { token_ = other.token_; onChanged(); } if (!other.getRequestId().isEmpty()) { requestId_ = other.requestId_; onChanged(); } if (other.getBatchCount() != 0) { setBatchCount(other.getBatchCount()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (hasSchemaPb()) { if (!getSchemaPb().isInitialized()) { return false; } } if (hasKeySchemaPb()) { if (!getKeySchemaPb().isInitialized()) { return false; } } 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.Ingestion.DataMutateRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.DataMutateRequest) 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 writeTimestamp_ ; /** * int64 write_timestamp = 2; * @return The writeTimestamp. */ @java.lang.Override public long getWriteTimestamp() { return writeTimestamp_; } /** * int64 write_timestamp = 2; * @param value The writeTimestamp to set. * @return This builder for chaining. */ public Builder setWriteTimestamp(long value) { writeTimestamp_ = value; onChanged(); return this; } /** * int64 write_timestamp = 2; * @return This builder for chaining. */ public Builder clearWriteTimestamp() { writeTimestamp_ = 0L; onChanged(); return this; } private org.apache.kudu.RowOperations.RowOperationsPB rowOperations_; private com.google.protobuf.SingleFieldBuilderV3< org.apache.kudu.RowOperations.RowOperationsPB, org.apache.kudu.RowOperations.RowOperationsPB.Builder, org.apache.kudu.RowOperations.RowOperationsPBOrBuilder> rowOperationsBuilder_; /** * .kudu.RowOperationsPB row_operations = 3; * @return Whether the rowOperations field is set. */ public boolean hasRowOperations() { return rowOperationsBuilder_ != null || rowOperations_ != null; } /** * .kudu.RowOperationsPB row_operations = 3; * @return The rowOperations. */ public org.apache.kudu.RowOperations.RowOperationsPB getRowOperations() { if (rowOperationsBuilder_ == null) { return rowOperations_ == null ? org.apache.kudu.RowOperations.RowOperationsPB.getDefaultInstance() : rowOperations_; } else { return rowOperationsBuilder_.getMessage(); } } /** * .kudu.RowOperationsPB row_operations = 3; */ public Builder setRowOperations(org.apache.kudu.RowOperations.RowOperationsPB value) { if (rowOperationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } rowOperations_ = value; onChanged(); } else { rowOperationsBuilder_.setMessage(value); } return this; } /** * .kudu.RowOperationsPB row_operations = 3; */ public Builder setRowOperations( org.apache.kudu.RowOperations.RowOperationsPB.Builder builderForValue) { if (rowOperationsBuilder_ == null) { rowOperations_ = builderForValue.build(); onChanged(); } else { rowOperationsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .kudu.RowOperationsPB row_operations = 3; */ public Builder mergeRowOperations(org.apache.kudu.RowOperations.RowOperationsPB value) { if (rowOperationsBuilder_ == null) { if (rowOperations_ != null) { rowOperations_ = org.apache.kudu.RowOperations.RowOperationsPB.newBuilder(rowOperations_).mergeFrom(value).buildPartial(); } else { rowOperations_ = value; } onChanged(); } else { rowOperationsBuilder_.mergeFrom(value); } return this; } /** * .kudu.RowOperationsPB row_operations = 3; */ public Builder clearRowOperations() { if (rowOperationsBuilder_ == null) { rowOperations_ = null; onChanged(); } else { rowOperations_ = null; rowOperationsBuilder_ = null; } return this; } /** * .kudu.RowOperationsPB row_operations = 3; */ public org.apache.kudu.RowOperations.RowOperationsPB.Builder getRowOperationsBuilder() { onChanged(); return getRowOperationsFieldBuilder().getBuilder(); } /** * .kudu.RowOperationsPB row_operations = 3; */ public org.apache.kudu.RowOperations.RowOperationsPBOrBuilder getRowOperationsOrBuilder() { if (rowOperationsBuilder_ != null) { return rowOperationsBuilder_.getMessageOrBuilder(); } else { return rowOperations_ == null ? org.apache.kudu.RowOperations.RowOperationsPB.getDefaultInstance() : rowOperations_; } } /** * .kudu.RowOperationsPB row_operations = 3; */ private com.google.protobuf.SingleFieldBuilderV3< org.apache.kudu.RowOperations.RowOperationsPB, org.apache.kudu.RowOperations.RowOperationsPB.Builder, org.apache.kudu.RowOperations.RowOperationsPBOrBuilder> getRowOperationsFieldBuilder() { if (rowOperationsBuilder_ == null) { rowOperationsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.apache.kudu.RowOperations.RowOperationsPB, org.apache.kudu.RowOperations.RowOperationsPB.Builder, org.apache.kudu.RowOperations.RowOperationsPBOrBuilder>( getRowOperations(), getParentForChildren(), isClean()); rowOperations_ = null; } return rowOperationsBuilder_; } private java.lang.Object schemaName_ = ""; /** * string schema_name = 4; * @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 = 4; * @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 = 4; * @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 = 4; * @return This builder for chaining. */ public Builder clearSchemaName() { schemaName_ = getDefaultInstance().getSchemaName(); onChanged(); return this; } /** * string schema_name = 4; * @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 = 5; * @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 = 5; * @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 = 5; * @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 = 5; * @return This builder for chaining. */ public Builder clearTableName() { tableName_ = getDefaultInstance().getTableName(); onChanged(); return this; } /** * string table_name = 5; * @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; } private cz.proto.MetadataEntity.Entity schema_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder> schemaBuilder_; /** * .cz.proto.Entity schema = 6; * @return Whether the schema field is set. */ public boolean hasSchema() { return schemaBuilder_ != null || schema_ != null; } /** * .cz.proto.Entity schema = 6; * @return The schema. */ public cz.proto.MetadataEntity.Entity getSchema() { if (schemaBuilder_ == null) { return schema_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : schema_; } else { return schemaBuilder_.getMessage(); } } /** * .cz.proto.Entity schema = 6; */ public Builder setSchema(cz.proto.MetadataEntity.Entity value) { if (schemaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } schema_ = value; onChanged(); } else { schemaBuilder_.setMessage(value); } return this; } /** * .cz.proto.Entity schema = 6; */ public Builder setSchema( cz.proto.MetadataEntity.Entity.Builder builderForValue) { if (schemaBuilder_ == null) { schema_ = builderForValue.build(); onChanged(); } else { schemaBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.Entity schema = 6; */ public Builder mergeSchema(cz.proto.MetadataEntity.Entity value) { if (schemaBuilder_ == null) { if (schema_ != null) { schema_ = cz.proto.MetadataEntity.Entity.newBuilder(schema_).mergeFrom(value).buildPartial(); } else { schema_ = value; } onChanged(); } else { schemaBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.Entity schema = 6; */ public Builder clearSchema() { if (schemaBuilder_ == null) { schema_ = null; onChanged(); } else { schema_ = null; schemaBuilder_ = null; } return this; } /** * .cz.proto.Entity schema = 6; */ public cz.proto.MetadataEntity.Entity.Builder getSchemaBuilder() { onChanged(); return getSchemaFieldBuilder().getBuilder(); } /** * .cz.proto.Entity schema = 6; */ public cz.proto.MetadataEntity.EntityOrBuilder getSchemaOrBuilder() { if (schemaBuilder_ != null) { return schemaBuilder_.getMessageOrBuilder(); } else { return schema_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : schema_; } } /** * .cz.proto.Entity schema = 6; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder> getSchemaFieldBuilder() { if (schemaBuilder_ == null) { schemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder>( getSchema(), getParentForChildren(), isClean()); schema_ = null; } return schemaBuilder_; } private org.apache.kudu.KuduCommon.SchemaPB schemaPb_; private com.google.protobuf.SingleFieldBuilderV3< org.apache.kudu.KuduCommon.SchemaPB, org.apache.kudu.KuduCommon.SchemaPB.Builder, org.apache.kudu.KuduCommon.SchemaPBOrBuilder> schemaPbBuilder_; /** * .kudu.SchemaPB schema_pb = 7; * @return Whether the schemaPb field is set. */ public boolean hasSchemaPb() { return schemaPbBuilder_ != null || schemaPb_ != null; } /** * .kudu.SchemaPB schema_pb = 7; * @return The schemaPb. */ public org.apache.kudu.KuduCommon.SchemaPB getSchemaPb() { if (schemaPbBuilder_ == null) { return schemaPb_ == null ? org.apache.kudu.KuduCommon.SchemaPB.getDefaultInstance() : schemaPb_; } else { return schemaPbBuilder_.getMessage(); } } /** * .kudu.SchemaPB schema_pb = 7; */ public Builder setSchemaPb(org.apache.kudu.KuduCommon.SchemaPB value) { if (schemaPbBuilder_ == null) { if (value == null) { throw new NullPointerException(); } schemaPb_ = value; onChanged(); } else { schemaPbBuilder_.setMessage(value); } return this; } /** * .kudu.SchemaPB schema_pb = 7; */ public Builder setSchemaPb( org.apache.kudu.KuduCommon.SchemaPB.Builder builderForValue) { if (schemaPbBuilder_ == null) { schemaPb_ = builderForValue.build(); onChanged(); } else { schemaPbBuilder_.setMessage(builderForValue.build()); } return this; } /** * .kudu.SchemaPB schema_pb = 7; */ public Builder mergeSchemaPb(org.apache.kudu.KuduCommon.SchemaPB value) { if (schemaPbBuilder_ == null) { if (schemaPb_ != null) { schemaPb_ = org.apache.kudu.KuduCommon.SchemaPB.newBuilder(schemaPb_).mergeFrom(value).buildPartial(); } else { schemaPb_ = value; } onChanged(); } else { schemaPbBuilder_.mergeFrom(value); } return this; } /** * .kudu.SchemaPB schema_pb = 7; */ public Builder clearSchemaPb() { if (schemaPbBuilder_ == null) { schemaPb_ = null; onChanged(); } else { schemaPb_ = null; schemaPbBuilder_ = null; } return this; } /** * .kudu.SchemaPB schema_pb = 7; */ public org.apache.kudu.KuduCommon.SchemaPB.Builder getSchemaPbBuilder() { onChanged(); return getSchemaPbFieldBuilder().getBuilder(); } /** * .kudu.SchemaPB schema_pb = 7; */ public org.apache.kudu.KuduCommon.SchemaPBOrBuilder getSchemaPbOrBuilder() { if (schemaPbBuilder_ != null) { return schemaPbBuilder_.getMessageOrBuilder(); } else { return schemaPb_ == null ? org.apache.kudu.KuduCommon.SchemaPB.getDefaultInstance() : schemaPb_; } } /** * .kudu.SchemaPB schema_pb = 7; */ private com.google.protobuf.SingleFieldBuilderV3< org.apache.kudu.KuduCommon.SchemaPB, org.apache.kudu.KuduCommon.SchemaPB.Builder, org.apache.kudu.KuduCommon.SchemaPBOrBuilder> getSchemaPbFieldBuilder() { if (schemaPbBuilder_ == null) { schemaPbBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.apache.kudu.KuduCommon.SchemaPB, org.apache.kudu.KuduCommon.SchemaPB.Builder, org.apache.kudu.KuduCommon.SchemaPBOrBuilder>( getSchemaPb(), getParentForChildren(), isClean()); schemaPb_ = null; } return schemaPbBuilder_; } private int tableType_ = 0; /** * .cz.proto.ingestion.IGSTableType table_type = 8; * @return The enum numeric value on the wire for tableType. */ @java.lang.Override public int getTableTypeValue() { return tableType_; } /** * .cz.proto.ingestion.IGSTableType table_type = 8; * @param value The enum numeric value on the wire for tableType to set. * @return This builder for chaining. */ public Builder setTableTypeValue(int value) { tableType_ = value; onChanged(); return this; } /** * .cz.proto.ingestion.IGSTableType table_type = 8; * @return The tableType. */ @java.lang.Override public cz.proto.ingestion.Ingestion.IGSTableType getTableType() { @SuppressWarnings("deprecation") cz.proto.ingestion.Ingestion.IGSTableType result = cz.proto.ingestion.Ingestion.IGSTableType.valueOf(tableType_); return result == null ? cz.proto.ingestion.Ingestion.IGSTableType.UNRECOGNIZED : result; } /** * .cz.proto.ingestion.IGSTableType table_type = 8; * @param value The tableType to set. * @return This builder for chaining. */ public Builder setTableType(cz.proto.ingestion.Ingestion.IGSTableType value) { if (value == null) { throw new NullPointerException(); } tableType_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.ingestion.IGSTableType table_type = 8; * @return This builder for chaining. */ public Builder clearTableType() { tableType_ = 0; onChanged(); return this; } private long bucketsCount_ ; /** * uint64 buckets_count = 9; * @return The bucketsCount. */ @java.lang.Override public long getBucketsCount() { return bucketsCount_; } /** * uint64 buckets_count = 9; * @param value The bucketsCount to set. * @return This builder for chaining. */ public Builder setBucketsCount(long value) { bucketsCount_ = value; onChanged(); return this; } /** * uint64 buckets_count = 9; * @return This builder for chaining. */ public Builder clearBucketsCount() { bucketsCount_ = 0L; onChanged(); return this; } private boolean isDispatch_ ; /** * bool is_dispatch = 10; * @return The isDispatch. */ @java.lang.Override public boolean getIsDispatch() { return isDispatch_; } /** * bool is_dispatch = 10; * @param value The isDispatch to set. * @return This builder for chaining. */ public Builder setIsDispatch(boolean value) { isDispatch_ = value; onChanged(); return this; } /** * bool is_dispatch = 10; * @return This builder for chaining. */ public Builder clearIsDispatch() { isDispatch_ = false; onChanged(); return this; } private long tabletId_ ; /** * int64 tablet_id = 11; * @return The tabletId. */ @java.lang.Override public long getTabletId() { return tabletId_; } /** * int64 tablet_id = 11; * @param value The tabletId to set. * @return This builder for chaining. */ public Builder setTabletId(long value) { tabletId_ = value; onChanged(); return this; } /** * int64 tablet_id = 11; * @return This builder for chaining. */ public Builder clearTabletId() { tabletId_ = 0L; onChanged(); return this; } private com.google.protobuf.LazyStringList keyNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureKeyNamesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { keyNames_ = new com.google.protobuf.LazyStringArrayList(keyNames_); bitField0_ |= 0x00000001; } } /** * repeated string key_names = 12; * @return A list containing the keyNames. */ public com.google.protobuf.ProtocolStringList getKeyNamesList() { return keyNames_.getUnmodifiableView(); } /** * repeated string key_names = 12; * @return The count of keyNames. */ public int getKeyNamesCount() { return keyNames_.size(); } /** * repeated string key_names = 12; * @param index The index of the element to return. * @return The keyNames at the given index. */ public java.lang.String getKeyNames(int index) { return keyNames_.get(index); } /** * repeated string key_names = 12; * @param index The index of the value to return. * @return The bytes of the keyNames at the given index. */ public com.google.protobuf.ByteString getKeyNamesBytes(int index) { return keyNames_.getByteString(index); } /** * repeated string key_names = 12; * @param index The index to set the value at. * @param value The keyNames to set. * @return This builder for chaining. */ public Builder setKeyNames( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureKeyNamesIsMutable(); keyNames_.set(index, value); onChanged(); return this; } /** * repeated string key_names = 12; * @param value The keyNames to add. * @return This builder for chaining. */ public Builder addKeyNames( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureKeyNamesIsMutable(); keyNames_.add(value); onChanged(); return this; } /** * repeated string key_names = 12; * @param values The keyNames to add. * @return This builder for chaining. */ public Builder addAllKeyNames( java.lang.Iterable values) { ensureKeyNamesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, keyNames_); onChanged(); return this; } /** * repeated string key_names = 12; * @return This builder for chaining. */ public Builder clearKeyNames() { keyNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string key_names = 12; * @param value The bytes of the keyNames to add. * @return This builder for chaining. */ public Builder addKeyNamesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureKeyNamesIsMutable(); keyNames_.add(value); onChanged(); return this; } private com.google.protobuf.LazyStringList sortNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSortNamesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { sortNames_ = new com.google.protobuf.LazyStringArrayList(sortNames_); bitField0_ |= 0x00000002; } } /** * repeated string sort_names = 13; * @return A list containing the sortNames. */ public com.google.protobuf.ProtocolStringList getSortNamesList() { return sortNames_.getUnmodifiableView(); } /** * repeated string sort_names = 13; * @return The count of sortNames. */ public int getSortNamesCount() { return sortNames_.size(); } /** * repeated string sort_names = 13; * @param index The index of the element to return. * @return The sortNames at the given index. */ public java.lang.String getSortNames(int index) { return sortNames_.get(index); } /** * repeated string sort_names = 13; * @param index The index of the value to return. * @return The bytes of the sortNames at the given index. */ public com.google.protobuf.ByteString getSortNamesBytes(int index) { return sortNames_.getByteString(index); } /** * repeated string sort_names = 13; * @param index The index to set the value at. * @param value The sortNames to set. * @return This builder for chaining. */ public Builder setSortNames( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSortNamesIsMutable(); sortNames_.set(index, value); onChanged(); return this; } /** * repeated string sort_names = 13; * @param value The sortNames to add. * @return This builder for chaining. */ public Builder addSortNames( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureSortNamesIsMutable(); sortNames_.add(value); onChanged(); return this; } /** * repeated string sort_names = 13; * @param values The sortNames to add. * @return This builder for chaining. */ public Builder addAllSortNames( java.lang.Iterable values) { ensureSortNamesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, sortNames_); onChanged(); return this; } /** * repeated string sort_names = 13; * @return This builder for chaining. */ public Builder clearSortNames() { sortNames_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * repeated string sort_names = 13; * @param value The bytes of the sortNames to add. * @return This builder for chaining. */ public Builder addSortNamesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureSortNamesIsMutable(); sortNames_.add(value); onChanged(); return this; } private org.apache.kudu.RowOperations.RowOperationsPB keyRowOperations_; private com.google.protobuf.SingleFieldBuilderV3< org.apache.kudu.RowOperations.RowOperationsPB, org.apache.kudu.RowOperations.RowOperationsPB.Builder, org.apache.kudu.RowOperations.RowOperationsPBOrBuilder> keyRowOperationsBuilder_; /** * .kudu.RowOperationsPB key_row_operations = 14; * @return Whether the keyRowOperations field is set. */ public boolean hasKeyRowOperations() { return keyRowOperationsBuilder_ != null || keyRowOperations_ != null; } /** * .kudu.RowOperationsPB key_row_operations = 14; * @return The keyRowOperations. */ public org.apache.kudu.RowOperations.RowOperationsPB getKeyRowOperations() { if (keyRowOperationsBuilder_ == null) { return keyRowOperations_ == null ? org.apache.kudu.RowOperations.RowOperationsPB.getDefaultInstance() : keyRowOperations_; } else { return keyRowOperationsBuilder_.getMessage(); } } /** * .kudu.RowOperationsPB key_row_operations = 14; */ public Builder setKeyRowOperations(org.apache.kudu.RowOperations.RowOperationsPB value) { if (keyRowOperationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } keyRowOperations_ = value; onChanged(); } else { keyRowOperationsBuilder_.setMessage(value); } return this; } /** * .kudu.RowOperationsPB key_row_operations = 14; */ public Builder setKeyRowOperations( org.apache.kudu.RowOperations.RowOperationsPB.Builder builderForValue) { if (keyRowOperationsBuilder_ == null) { keyRowOperations_ = builderForValue.build(); onChanged(); } else { keyRowOperationsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .kudu.RowOperationsPB key_row_operations = 14; */ public Builder mergeKeyRowOperations(org.apache.kudu.RowOperations.RowOperationsPB value) { if (keyRowOperationsBuilder_ == null) { if (keyRowOperations_ != null) { keyRowOperations_ = org.apache.kudu.RowOperations.RowOperationsPB.newBuilder(keyRowOperations_).mergeFrom(value).buildPartial(); } else { keyRowOperations_ = value; } onChanged(); } else { keyRowOperationsBuilder_.mergeFrom(value); } return this; } /** * .kudu.RowOperationsPB key_row_operations = 14; */ public Builder clearKeyRowOperations() { if (keyRowOperationsBuilder_ == null) { keyRowOperations_ = null; onChanged(); } else { keyRowOperations_ = null; keyRowOperationsBuilder_ = null; } return this; } /** * .kudu.RowOperationsPB key_row_operations = 14; */ public org.apache.kudu.RowOperations.RowOperationsPB.Builder getKeyRowOperationsBuilder() { onChanged(); return getKeyRowOperationsFieldBuilder().getBuilder(); } /** * .kudu.RowOperationsPB key_row_operations = 14; */ public org.apache.kudu.RowOperations.RowOperationsPBOrBuilder getKeyRowOperationsOrBuilder() { if (keyRowOperationsBuilder_ != null) { return keyRowOperationsBuilder_.getMessageOrBuilder(); } else { return keyRowOperations_ == null ? org.apache.kudu.RowOperations.RowOperationsPB.getDefaultInstance() : keyRowOperations_; } } /** * .kudu.RowOperationsPB key_row_operations = 14; */ private com.google.protobuf.SingleFieldBuilderV3< org.apache.kudu.RowOperations.RowOperationsPB, org.apache.kudu.RowOperations.RowOperationsPB.Builder, org.apache.kudu.RowOperations.RowOperationsPBOrBuilder> getKeyRowOperationsFieldBuilder() { if (keyRowOperationsBuilder_ == null) { keyRowOperationsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.apache.kudu.RowOperations.RowOperationsPB, org.apache.kudu.RowOperations.RowOperationsPB.Builder, org.apache.kudu.RowOperations.RowOperationsPBOrBuilder>( getKeyRowOperations(), getParentForChildren(), isClean()); keyRowOperations_ = null; } return keyRowOperationsBuilder_; } private org.apache.kudu.KuduCommon.SchemaPB keySchemaPb_; private com.google.protobuf.SingleFieldBuilderV3< org.apache.kudu.KuduCommon.SchemaPB, org.apache.kudu.KuduCommon.SchemaPB.Builder, org.apache.kudu.KuduCommon.SchemaPBOrBuilder> keySchemaPbBuilder_; /** * .kudu.SchemaPB key_schema_pb = 15; * @return Whether the keySchemaPb field is set. */ public boolean hasKeySchemaPb() { return keySchemaPbBuilder_ != null || keySchemaPb_ != null; } /** * .kudu.SchemaPB key_schema_pb = 15; * @return The keySchemaPb. */ public org.apache.kudu.KuduCommon.SchemaPB getKeySchemaPb() { if (keySchemaPbBuilder_ == null) { return keySchemaPb_ == null ? org.apache.kudu.KuduCommon.SchemaPB.getDefaultInstance() : keySchemaPb_; } else { return keySchemaPbBuilder_.getMessage(); } } /** * .kudu.SchemaPB key_schema_pb = 15; */ public Builder setKeySchemaPb(org.apache.kudu.KuduCommon.SchemaPB value) { if (keySchemaPbBuilder_ == null) { if (value == null) { throw new NullPointerException(); } keySchemaPb_ = value; onChanged(); } else { keySchemaPbBuilder_.setMessage(value); } return this; } /** * .kudu.SchemaPB key_schema_pb = 15; */ public Builder setKeySchemaPb( org.apache.kudu.KuduCommon.SchemaPB.Builder builderForValue) { if (keySchemaPbBuilder_ == null) { keySchemaPb_ = builderForValue.build(); onChanged(); } else { keySchemaPbBuilder_.setMessage(builderForValue.build()); } return this; } /** * .kudu.SchemaPB key_schema_pb = 15; */ public Builder mergeKeySchemaPb(org.apache.kudu.KuduCommon.SchemaPB value) { if (keySchemaPbBuilder_ == null) { if (keySchemaPb_ != null) { keySchemaPb_ = org.apache.kudu.KuduCommon.SchemaPB.newBuilder(keySchemaPb_).mergeFrom(value).buildPartial(); } else { keySchemaPb_ = value; } onChanged(); } else { keySchemaPbBuilder_.mergeFrom(value); } return this; } /** * .kudu.SchemaPB key_schema_pb = 15; */ public Builder clearKeySchemaPb() { if (keySchemaPbBuilder_ == null) { keySchemaPb_ = null; onChanged(); } else { keySchemaPb_ = null; keySchemaPbBuilder_ = null; } return this; } /** * .kudu.SchemaPB key_schema_pb = 15; */ public org.apache.kudu.KuduCommon.SchemaPB.Builder getKeySchemaPbBuilder() { onChanged(); return getKeySchemaPbFieldBuilder().getBuilder(); } /** * .kudu.SchemaPB key_schema_pb = 15; */ public org.apache.kudu.KuduCommon.SchemaPBOrBuilder getKeySchemaPbOrBuilder() { if (keySchemaPbBuilder_ != null) { return keySchemaPbBuilder_.getMessageOrBuilder(); } else { return keySchemaPb_ == null ? org.apache.kudu.KuduCommon.SchemaPB.getDefaultInstance() : keySchemaPb_; } } /** * .kudu.SchemaPB key_schema_pb = 15; */ private com.google.protobuf.SingleFieldBuilderV3< org.apache.kudu.KuduCommon.SchemaPB, org.apache.kudu.KuduCommon.SchemaPB.Builder, org.apache.kudu.KuduCommon.SchemaPBOrBuilder> getKeySchemaPbFieldBuilder() { if (keySchemaPbBuilder_ == null) { keySchemaPbBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.apache.kudu.KuduCommon.SchemaPB, org.apache.kudu.KuduCommon.SchemaPB.Builder, org.apache.kudu.KuduCommon.SchemaPBOrBuilder>( getKeySchemaPb(), getParentForChildren(), isClean()); keySchemaPb_ = null; } return keySchemaPbBuilder_; } private com.google.protobuf.Internal.IntList bucketIds_ = emptyIntList(); private void ensureBucketIdsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { bucketIds_ = mutableCopy(bucketIds_); bitField0_ |= 0x00000004; } } /** * repeated uint32 bucket_ids = 16; * @return A list containing the bucketIds. */ public java.util.List getBucketIdsList() { return ((bitField0_ & 0x00000004) != 0) ? java.util.Collections.unmodifiableList(bucketIds_) : bucketIds_; } /** * repeated uint32 bucket_ids = 16; * @return The count of bucketIds. */ public int getBucketIdsCount() { return bucketIds_.size(); } /** * repeated uint32 bucket_ids = 16; * @param index The index of the element to return. * @return The bucketIds at the given index. */ public int getBucketIds(int index) { return bucketIds_.getInt(index); } /** * repeated uint32 bucket_ids = 16; * @param index The index to set the value at. * @param value The bucketIds to set. * @return This builder for chaining. */ public Builder setBucketIds( int index, int value) { ensureBucketIdsIsMutable(); bucketIds_.setInt(index, value); onChanged(); return this; } /** * repeated uint32 bucket_ids = 16; * @param value The bucketIds to add. * @return This builder for chaining. */ public Builder addBucketIds(int value) { ensureBucketIdsIsMutable(); bucketIds_.addInt(value); onChanged(); return this; } /** * repeated uint32 bucket_ids = 16; * @param values The bucketIds to add. * @return This builder for chaining. */ public Builder addAllBucketIds( java.lang.Iterable values) { ensureBucketIdsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, bucketIds_); onChanged(); return this; } /** * repeated uint32 bucket_ids = 16; * @return This builder for chaining. */ public Builder clearBucketIds() { bucketIds_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } private com.google.protobuf.Internal.IntList indexes_ = emptyIntList(); private void ensureIndexesIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { indexes_ = mutableCopy(indexes_); bitField0_ |= 0x00000008; } } /** * repeated int32 indexes = 17; * @return A list containing the indexes. */ public java.util.List getIndexesList() { return ((bitField0_ & 0x00000008) != 0) ? java.util.Collections.unmodifiableList(indexes_) : indexes_; } /** * repeated int32 indexes = 17; * @return The count of indexes. */ public int getIndexesCount() { return indexes_.size(); } /** * repeated int32 indexes = 17; * @param index The index of the element to return. * @return The indexes at the given index. */ public int getIndexes(int index) { return indexes_.getInt(index); } /** * repeated int32 indexes = 17; * @param index The index to set the value at. * @param value The indexes to set. * @return This builder for chaining. */ public Builder setIndexes( int index, int value) { ensureIndexesIsMutable(); indexes_.setInt(index, value); onChanged(); return this; } /** * repeated int32 indexes = 17; * @param value The indexes to add. * @return This builder for chaining. */ public Builder addIndexes(int value) { ensureIndexesIsMutable(); indexes_.addInt(value); onChanged(); return this; } /** * repeated int32 indexes = 17; * @param values The indexes to add. * @return This builder for chaining. */ public Builder addAllIndexes( java.lang.Iterable values) { ensureIndexesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, indexes_); onChanged(); return this; } /** * repeated int32 indexes = 17; * @return This builder for chaining. */ public Builder clearIndexes() { indexes_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } private long instanceId_ ; /** * int64 instance_id = 18; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } /** * int64 instance_id = 18; * @param value The instanceId to set. * @return This builder for chaining. */ public Builder setInstanceId(long value) { instanceId_ = value; onChanged(); return this; } /** * int64 instance_id = 18; * @return This builder for chaining. */ public Builder clearInstanceId() { instanceId_ = 0L; onChanged(); return this; } private java.lang.Object workspace_ = ""; /** * string workspace = 19; * @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 = 19; * @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 = 19; * @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 = 19; * @return This builder for chaining. */ public Builder clearWorkspace() { workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** * string workspace = 19; * @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 cz.proto.ingestion.Ingestion.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.Account, cz.proto.ingestion.Ingestion.Account.Builder, cz.proto.ingestion.Ingestion.AccountOrBuilder> accountBuilder_; /** * .cz.proto.ingestion.Account account = 20; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.ingestion.Account account = 20; * @return The account. */ public cz.proto.ingestion.Ingestion.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.ingestion.Ingestion.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.ingestion.Account account = 20; */ public Builder setAccount(cz.proto.ingestion.Ingestion.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.Account account = 20; */ public Builder setAccount( cz.proto.ingestion.Ingestion.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.Account account = 20; */ public Builder mergeAccount(cz.proto.ingestion.Ingestion.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.ingestion.Ingestion.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.Account account = 20; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.ingestion.Account account = 20; */ public cz.proto.ingestion.Ingestion.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.Account account = 20; */ public cz.proto.ingestion.Ingestion.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.ingestion.Ingestion.Account.getDefaultInstance() : account_; } } /** * .cz.proto.ingestion.Account account = 20; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.Account, cz.proto.ingestion.Ingestion.Account.Builder, cz.proto.ingestion.Ingestion.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.Account, cz.proto.ingestion.Ingestion.Account.Builder, cz.proto.ingestion.Ingestion.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private java.lang.Object token_ = ""; /** * string token = 21; * @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 = 21; * @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 = 21; * @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 = 21; * @return This builder for chaining. */ public Builder clearToken() { token_ = getDefaultInstance().getToken(); onChanged(); return this; } /** * string token = 21; * @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; } private java.lang.Object requestId_ = ""; /** * string request_id = 22; * @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 = 22; * @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 = 22; * @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 = 22; * @return This builder for chaining. */ public Builder clearRequestId() { requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** * string request_id = 22; * @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; } private int batchCount_ ; /** * int32 batch_count = 23; * @return The batchCount. */ @java.lang.Override public int getBatchCount() { return batchCount_; } /** * int32 batch_count = 23; * @param value The batchCount to set. * @return This builder for chaining. */ public Builder setBatchCount(int value) { batchCount_ = value; onChanged(); return this; } /** * int32 batch_count = 23; * @return This builder for chaining. */ public Builder clearBatchCount() { batchCount_ = 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.DataMutateRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.DataMutateRequest) private static final cz.proto.ingestion.Ingestion.DataMutateRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.DataMutateRequest(); } public static cz.proto.ingestion.Ingestion.DataMutateRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DataMutateRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DataMutateRequest(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.Ingestion.DataMutateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DataMutateRequestInternalOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.DataMutateRequestInternal) com.google.protobuf.MessageOrBuilder { /** * int64 batch_id = 1; * @return The batchId. */ long getBatchId(); /** * string schema_name = 2; * @return The schemaName. */ java.lang.String getSchemaName(); /** * string schema_name = 2; * @return The bytes for schemaName. */ com.google.protobuf.ByteString getSchemaNameBytes(); /** * string table_name = 3; * @return The tableName. */ java.lang.String getTableName(); /** * string table_name = 3; * @return The bytes for tableName. */ com.google.protobuf.ByteString getTableNameBytes(); /** * .cz.proto.Entity schema = 4; * @return Whether the schema field is set. */ boolean hasSchema(); /** * .cz.proto.Entity schema = 4; * @return The schema. */ cz.proto.MetadataEntity.Entity getSchema(); /** * .cz.proto.Entity schema = 4; */ cz.proto.MetadataEntity.EntityOrBuilder getSchemaOrBuilder(); /** * .kudu.SchemaPB schema_pb = 5; * @return Whether the schemaPb field is set. */ boolean hasSchemaPb(); /** * .kudu.SchemaPB schema_pb = 5; * @return The schemaPb. */ org.apache.kudu.KuduCommon.SchemaPB getSchemaPb(); /** * .kudu.SchemaPB schema_pb = 5; */ org.apache.kudu.KuduCommon.SchemaPBOrBuilder getSchemaPbOrBuilder(); /** * .cz.proto.ingestion.IGSTableType table_type = 6; * @return The enum numeric value on the wire for tableType. */ int getTableTypeValue(); /** * .cz.proto.ingestion.IGSTableType table_type = 6; * @return The tableType. */ cz.proto.ingestion.Ingestion.IGSTableType getTableType(); /** * bool is_dispatch = 7; * @return The isDispatch. */ boolean getIsDispatch(); /** * repeated int64 tablet_ids = 8; * @return A list containing the tabletIds. */ java.util.List getTabletIdsList(); /** * repeated int64 tablet_ids = 8; * @return The count of tabletIds. */ int getTabletIdsCount(); /** * repeated int64 tablet_ids = 8; * @param index The index of the element to return. * @return The tabletIds at the given index. */ long getTabletIds(int index); /** * int64 instance_id = 9; * @return The instanceId. */ long getInstanceId(); /** * string workspace = 10; * @return The workspace. */ java.lang.String getWorkspace(); /** * string workspace = 10; * @return The bytes for workspace. */ com.google.protobuf.ByteString getWorkspaceBytes(); /** * string request_id = 11; * @return The requestId. */ java.lang.String getRequestId(); /** * string request_id = 11; * @return The bytes for requestId. */ com.google.protobuf.ByteString getRequestIdBytes(); /** * repeated .kudu.RowOperationsPB dispatched_row_operations = 12; */ java.util.List getDispatchedRowOperationsList(); /** * repeated .kudu.RowOperationsPB dispatched_row_operations = 12; */ org.apache.kudu.RowOperations.RowOperationsPB getDispatchedRowOperations(int index); /** * repeated .kudu.RowOperationsPB dispatched_row_operations = 12; */ int getDispatchedRowOperationsCount(); /** * repeated .kudu.RowOperationsPB dispatched_row_operations = 12; */ java.util.List getDispatchedRowOperationsOrBuilderList(); /** * repeated .kudu.RowOperationsPB dispatched_row_operations = 12; */ org.apache.kudu.RowOperations.RowOperationsPBOrBuilder getDispatchedRowOperationsOrBuilder( int index); /** * repeated int32 indexes = 13; * @return A list containing the indexes. */ java.util.List getIndexesList(); /** * repeated int32 indexes = 13; * @return The count of indexes. */ int getIndexesCount(); /** * repeated int32 indexes = 13; * @param index The index of the element to return. * @return The indexes at the given index. */ int getIndexes(int index); /** * int32 batch_count = 14; * @return The batchCount. */ int getBatchCount(); } /** * Protobuf type {@code cz.proto.ingestion.DataMutateRequestInternal} */ public static final class DataMutateRequestInternal extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.DataMutateRequestInternal) DataMutateRequestInternalOrBuilder { private static final long serialVersionUID = 0L; // Use DataMutateRequestInternal.newBuilder() to construct. private DataMutateRequestInternal(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DataMutateRequestInternal() { schemaName_ = ""; tableName_ = ""; tableType_ = 0; tabletIds_ = emptyLongList(); workspace_ = ""; requestId_ = ""; dispatchedRowOperations_ = java.util.Collections.emptyList(); indexes_ = emptyIntList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DataMutateRequestInternal(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DataMutateRequestInternal( 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 18: { java.lang.String s = input.readStringRequireUtf8(); schemaName_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); tableName_ = s; break; } case 34: { cz.proto.MetadataEntity.Entity.Builder subBuilder = null; if (schema_ != null) { subBuilder = schema_.toBuilder(); } schema_ = input.readMessage(cz.proto.MetadataEntity.Entity.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(schema_); schema_ = subBuilder.buildPartial(); } break; } case 42: { org.apache.kudu.KuduCommon.SchemaPB.Builder subBuilder = null; if (schemaPb_ != null) { subBuilder = schemaPb_.toBuilder(); } schemaPb_ = input.readMessage(org.apache.kudu.KuduCommon.SchemaPB.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(schemaPb_); schemaPb_ = subBuilder.buildPartial(); } break; } case 48: { int rawValue = input.readEnum(); tableType_ = rawValue; break; } case 56: { isDispatch_ = input.readBool(); break; } case 64: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { tabletIds_ = newLongList(); mutable_bitField0_ |= 0x00000001; } tabletIds_.addLong(input.readInt64()); break; } case 66: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { tabletIds_ = newLongList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { tabletIds_.addLong(input.readInt64()); } input.popLimit(limit); break; } case 72: { instanceId_ = input.readInt64(); break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); workspace_ = s; break; } case 90: { java.lang.String s = input.readStringRequireUtf8(); requestId_ = s; break; } case 98: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { dispatchedRowOperations_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } dispatchedRowOperations_.add( input.readMessage(org.apache.kudu.RowOperations.RowOperationsPB.PARSER, extensionRegistry)); break; } case 104: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { indexes_ = newIntList(); mutable_bitField0_ |= 0x00000004; } indexes_.addInt(input.readInt32()); break; } case 106: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000004) != 0) && input.getBytesUntilLimit() > 0) { indexes_ = newIntList(); mutable_bitField0_ |= 0x00000004; } while (input.getBytesUntilLimit() > 0) { indexes_.addInt(input.readInt32()); } input.popLimit(limit); break; } case 112: { batchCount_ = 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 { if (((mutable_bitField0_ & 0x00000001) != 0)) { tabletIds_.makeImmutable(); // C } if (((mutable_bitField0_ & 0x00000002) != 0)) { dispatchedRowOperations_ = java.util.Collections.unmodifiableList(dispatchedRowOperations_); } if (((mutable_bitField0_ & 0x00000004) != 0)) { indexes_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_DataMutateRequestInternal_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_DataMutateRequestInternal_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.DataMutateRequestInternal.class, cz.proto.ingestion.Ingestion.DataMutateRequestInternal.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 SCHEMA_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object schemaName_; /** * string schema_name = 2; * @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 = 2; * @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 = 3; private volatile java.lang.Object tableName_; /** * string table_name = 3; * @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 = 3; * @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; } } public static final int SCHEMA_FIELD_NUMBER = 4; private cz.proto.MetadataEntity.Entity schema_; /** * .cz.proto.Entity schema = 4; * @return Whether the schema field is set. */ @java.lang.Override public boolean hasSchema() { return schema_ != null; } /** * .cz.proto.Entity schema = 4; * @return The schema. */ @java.lang.Override public cz.proto.MetadataEntity.Entity getSchema() { return schema_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : schema_; } /** * .cz.proto.Entity schema = 4; */ @java.lang.Override public cz.proto.MetadataEntity.EntityOrBuilder getSchemaOrBuilder() { return getSchema(); } public static final int SCHEMA_PB_FIELD_NUMBER = 5; private org.apache.kudu.KuduCommon.SchemaPB schemaPb_; /** * .kudu.SchemaPB schema_pb = 5; * @return Whether the schemaPb field is set. */ @java.lang.Override public boolean hasSchemaPb() { return schemaPb_ != null; } /** * .kudu.SchemaPB schema_pb = 5; * @return The schemaPb. */ @java.lang.Override public org.apache.kudu.KuduCommon.SchemaPB getSchemaPb() { return schemaPb_ == null ? org.apache.kudu.KuduCommon.SchemaPB.getDefaultInstance() : schemaPb_; } /** * .kudu.SchemaPB schema_pb = 5; */ @java.lang.Override public org.apache.kudu.KuduCommon.SchemaPBOrBuilder getSchemaPbOrBuilder() { return getSchemaPb(); } public static final int TABLE_TYPE_FIELD_NUMBER = 6; private int tableType_; /** * .cz.proto.ingestion.IGSTableType table_type = 6; * @return The enum numeric value on the wire for tableType. */ @java.lang.Override public int getTableTypeValue() { return tableType_; } /** * .cz.proto.ingestion.IGSTableType table_type = 6; * @return The tableType. */ @java.lang.Override public cz.proto.ingestion.Ingestion.IGSTableType getTableType() { @SuppressWarnings("deprecation") cz.proto.ingestion.Ingestion.IGSTableType result = cz.proto.ingestion.Ingestion.IGSTableType.valueOf(tableType_); return result == null ? cz.proto.ingestion.Ingestion.IGSTableType.UNRECOGNIZED : result; } public static final int IS_DISPATCH_FIELD_NUMBER = 7; private boolean isDispatch_; /** * bool is_dispatch = 7; * @return The isDispatch. */ @java.lang.Override public boolean getIsDispatch() { return isDispatch_; } public static final int TABLET_IDS_FIELD_NUMBER = 8; private com.google.protobuf.Internal.LongList tabletIds_; /** * repeated int64 tablet_ids = 8; * @return A list containing the tabletIds. */ @java.lang.Override public java.util.List getTabletIdsList() { return tabletIds_; } /** * repeated int64 tablet_ids = 8; * @return The count of tabletIds. */ public int getTabletIdsCount() { return tabletIds_.size(); } /** * repeated int64 tablet_ids = 8; * @param index The index of the element to return. * @return The tabletIds at the given index. */ public long getTabletIds(int index) { return tabletIds_.getLong(index); } private int tabletIdsMemoizedSerializedSize = -1; public static final int INSTANCE_ID_FIELD_NUMBER = 9; private long instanceId_; /** * int64 instance_id = 9; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } public static final int WORKSPACE_FIELD_NUMBER = 10; private volatile java.lang.Object workspace_; /** * string workspace = 10; * @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 = 10; * @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 REQUEST_ID_FIELD_NUMBER = 11; private volatile java.lang.Object requestId_; /** * string request_id = 11; * @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 = 11; * @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; } } public static final int DISPATCHED_ROW_OPERATIONS_FIELD_NUMBER = 12; private java.util.List dispatchedRowOperations_; /** * repeated .kudu.RowOperationsPB dispatched_row_operations = 12; */ @java.lang.Override public java.util.List getDispatchedRowOperationsList() { return dispatchedRowOperations_; } /** * repeated .kudu.RowOperationsPB dispatched_row_operations = 12; */ @java.lang.Override public java.util.List getDispatchedRowOperationsOrBuilderList() { return dispatchedRowOperations_; } /** * repeated .kudu.RowOperationsPB dispatched_row_operations = 12; */ @java.lang.Override public int getDispatchedRowOperationsCount() { return dispatchedRowOperations_.size(); } /** * repeated .kudu.RowOperationsPB dispatched_row_operations = 12; */ @java.lang.Override public org.apache.kudu.RowOperations.RowOperationsPB getDispatchedRowOperations(int index) { return dispatchedRowOperations_.get(index); } /** * repeated .kudu.RowOperationsPB dispatched_row_operations = 12; */ @java.lang.Override public org.apache.kudu.RowOperations.RowOperationsPBOrBuilder getDispatchedRowOperationsOrBuilder( int index) { return dispatchedRowOperations_.get(index); } public static final int INDEXES_FIELD_NUMBER = 13; private com.google.protobuf.Internal.IntList indexes_; /** * repeated int32 indexes = 13; * @return A list containing the indexes. */ @java.lang.Override public java.util.List getIndexesList() { return indexes_; } /** * repeated int32 indexes = 13; * @return The count of indexes. */ public int getIndexesCount() { return indexes_.size(); } /** * repeated int32 indexes = 13; * @param index The index of the element to return. * @return The indexes at the given index. */ public int getIndexes(int index) { return indexes_.getInt(index); } private int indexesMemoizedSerializedSize = -1; public static final int BATCH_COUNT_FIELD_NUMBER = 14; private int batchCount_; /** * int32 batch_count = 14; * @return The batchCount. */ @java.lang.Override public int getBatchCount() { return batchCount_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (hasSchemaPb()) { if (!getSchemaPb().isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (batchId_ != 0L) { output.writeInt64(1, batchId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, schemaName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tableName_); } if (schema_ != null) { output.writeMessage(4, getSchema()); } if (schemaPb_ != null) { output.writeMessage(5, getSchemaPb()); } if (tableType_ != cz.proto.ingestion.Ingestion.IGSTableType.NORMAL.getNumber()) { output.writeEnum(6, tableType_); } if (isDispatch_ != false) { output.writeBool(7, isDispatch_); } if (getTabletIdsList().size() > 0) { output.writeUInt32NoTag(66); output.writeUInt32NoTag(tabletIdsMemoizedSerializedSize); } for (int i = 0; i < tabletIds_.size(); i++) { output.writeInt64NoTag(tabletIds_.getLong(i)); } if (instanceId_ != 0L) { output.writeInt64(9, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, workspace_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, requestId_); } for (int i = 0; i < dispatchedRowOperations_.size(); i++) { output.writeMessage(12, dispatchedRowOperations_.get(i)); } if (getIndexesList().size() > 0) { output.writeUInt32NoTag(106); output.writeUInt32NoTag(indexesMemoizedSerializedSize); } for (int i = 0; i < indexes_.size(); i++) { output.writeInt32NoTag(indexes_.getInt(i)); } if (batchCount_ != 0) { output.writeInt32(14, batchCount_); } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, schemaName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tableName_); } if (schema_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getSchema()); } if (schemaPb_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getSchemaPb()); } if (tableType_ != cz.proto.ingestion.Ingestion.IGSTableType.NORMAL.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, tableType_); } if (isDispatch_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(7, isDispatch_); } { int dataSize = 0; for (int i = 0; i < tabletIds_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt64SizeNoTag(tabletIds_.getLong(i)); } size += dataSize; if (!getTabletIdsList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } tabletIdsMemoizedSerializedSize = dataSize; } if (instanceId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(9, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, workspace_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, requestId_); } for (int i = 0; i < dispatchedRowOperations_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, dispatchedRowOperations_.get(i)); } { int dataSize = 0; for (int i = 0; i < indexes_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(indexes_.getInt(i)); } size += dataSize; if (!getIndexesList().isEmpty()) { size += 1; size += com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } indexesMemoizedSerializedSize = dataSize; } if (batchCount_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(14, batchCount_); } 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.Ingestion.DataMutateRequestInternal)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.DataMutateRequestInternal other = (cz.proto.ingestion.Ingestion.DataMutateRequestInternal) obj; if (getBatchId() != other.getBatchId()) return false; if (!getSchemaName() .equals(other.getSchemaName())) return false; if (!getTableName() .equals(other.getTableName())) return false; if (hasSchema() != other.hasSchema()) return false; if (hasSchema()) { if (!getSchema() .equals(other.getSchema())) return false; } if (hasSchemaPb() != other.hasSchemaPb()) return false; if (hasSchemaPb()) { if (!getSchemaPb() .equals(other.getSchemaPb())) return false; } if (tableType_ != other.tableType_) return false; if (getIsDispatch() != other.getIsDispatch()) return false; if (!getTabletIdsList() .equals(other.getTabletIdsList())) return false; if (getInstanceId() != other.getInstanceId()) return false; if (!getWorkspace() .equals(other.getWorkspace())) return false; if (!getRequestId() .equals(other.getRequestId())) return false; if (!getDispatchedRowOperationsList() .equals(other.getDispatchedRowOperationsList())) return false; if (!getIndexesList() .equals(other.getIndexesList())) return false; if (getBatchCount() != other.getBatchCount()) 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) + SCHEMA_NAME_FIELD_NUMBER; hash = (53 * hash) + getSchemaName().hashCode(); hash = (37 * hash) + TABLE_NAME_FIELD_NUMBER; hash = (53 * hash) + getTableName().hashCode(); if (hasSchema()) { hash = (37 * hash) + SCHEMA_FIELD_NUMBER; hash = (53 * hash) + getSchema().hashCode(); } if (hasSchemaPb()) { hash = (37 * hash) + SCHEMA_PB_FIELD_NUMBER; hash = (53 * hash) + getSchemaPb().hashCode(); } hash = (37 * hash) + TABLE_TYPE_FIELD_NUMBER; hash = (53 * hash) + tableType_; hash = (37 * hash) + IS_DISPATCH_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIsDispatch()); if (getTabletIdsCount() > 0) { hash = (37 * hash) + TABLET_IDS_FIELD_NUMBER; hash = (53 * hash) + getTabletIdsList().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) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); if (getDispatchedRowOperationsCount() > 0) { hash = (37 * hash) + DISPATCHED_ROW_OPERATIONS_FIELD_NUMBER; hash = (53 * hash) + getDispatchedRowOperationsList().hashCode(); } if (getIndexesCount() > 0) { hash = (37 * hash) + INDEXES_FIELD_NUMBER; hash = (53 * hash) + getIndexesList().hashCode(); } hash = (37 * hash) + BATCH_COUNT_FIELD_NUMBER; hash = (53 * hash) + getBatchCount(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.Ingestion.DataMutateRequestInternal parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.DataMutateRequestInternal 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.Ingestion.DataMutateRequestInternal parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.DataMutateRequestInternal 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.Ingestion.DataMutateRequestInternal parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.DataMutateRequestInternal parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.DataMutateRequestInternal parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.DataMutateRequestInternal 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.Ingestion.DataMutateRequestInternal parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.DataMutateRequestInternal 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.Ingestion.DataMutateRequestInternal parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.DataMutateRequestInternal 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.Ingestion.DataMutateRequestInternal 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.DataMutateRequestInternal} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.DataMutateRequestInternal) cz.proto.ingestion.Ingestion.DataMutateRequestInternalOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_DataMutateRequestInternal_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_DataMutateRequestInternal_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.DataMutateRequestInternal.class, cz.proto.ingestion.Ingestion.DataMutateRequestInternal.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.DataMutateRequestInternal.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getDispatchedRowOperationsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); batchId_ = 0L; schemaName_ = ""; tableName_ = ""; if (schemaBuilder_ == null) { schema_ = null; } else { schema_ = null; schemaBuilder_ = null; } if (schemaPbBuilder_ == null) { schemaPb_ = null; } else { schemaPb_ = null; schemaPbBuilder_ = null; } tableType_ = 0; isDispatch_ = false; tabletIds_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000001); instanceId_ = 0L; workspace_ = ""; requestId_ = ""; if (dispatchedRowOperationsBuilder_ == null) { dispatchedRowOperations_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { dispatchedRowOperationsBuilder_.clear(); } indexes_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000004); batchCount_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_DataMutateRequestInternal_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.DataMutateRequestInternal getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.DataMutateRequestInternal.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.DataMutateRequestInternal build() { cz.proto.ingestion.Ingestion.DataMutateRequestInternal result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.DataMutateRequestInternal buildPartial() { cz.proto.ingestion.Ingestion.DataMutateRequestInternal result = new cz.proto.ingestion.Ingestion.DataMutateRequestInternal(this); int from_bitField0_ = bitField0_; result.batchId_ = batchId_; result.schemaName_ = schemaName_; result.tableName_ = tableName_; if (schemaBuilder_ == null) { result.schema_ = schema_; } else { result.schema_ = schemaBuilder_.build(); } if (schemaPbBuilder_ == null) { result.schemaPb_ = schemaPb_; } else { result.schemaPb_ = schemaPbBuilder_.build(); } result.tableType_ = tableType_; result.isDispatch_ = isDispatch_; if (((bitField0_ & 0x00000001) != 0)) { tabletIds_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000001); } result.tabletIds_ = tabletIds_; result.instanceId_ = instanceId_; result.workspace_ = workspace_; result.requestId_ = requestId_; if (dispatchedRowOperationsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { dispatchedRowOperations_ = java.util.Collections.unmodifiableList(dispatchedRowOperations_); bitField0_ = (bitField0_ & ~0x00000002); } result.dispatchedRowOperations_ = dispatchedRowOperations_; } else { result.dispatchedRowOperations_ = dispatchedRowOperationsBuilder_.build(); } if (((bitField0_ & 0x00000004) != 0)) { indexes_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000004); } result.indexes_ = indexes_; result.batchCount_ = batchCount_; 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.Ingestion.DataMutateRequestInternal) { return mergeFrom((cz.proto.ingestion.Ingestion.DataMutateRequestInternal)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.DataMutateRequestInternal other) { if (other == cz.proto.ingestion.Ingestion.DataMutateRequestInternal.getDefaultInstance()) return this; if (other.getBatchId() != 0L) { setBatchId(other.getBatchId()); } if (!other.getSchemaName().isEmpty()) { schemaName_ = other.schemaName_; onChanged(); } if (!other.getTableName().isEmpty()) { tableName_ = other.tableName_; onChanged(); } if (other.hasSchema()) { mergeSchema(other.getSchema()); } if (other.hasSchemaPb()) { mergeSchemaPb(other.getSchemaPb()); } if (other.tableType_ != 0) { setTableTypeValue(other.getTableTypeValue()); } if (other.getIsDispatch() != false) { setIsDispatch(other.getIsDispatch()); } if (!other.tabletIds_.isEmpty()) { if (tabletIds_.isEmpty()) { tabletIds_ = other.tabletIds_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTabletIdsIsMutable(); tabletIds_.addAll(other.tabletIds_); } onChanged(); } if (other.getInstanceId() != 0L) { setInstanceId(other.getInstanceId()); } if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); } if (!other.getRequestId().isEmpty()) { requestId_ = other.requestId_; onChanged(); } if (dispatchedRowOperationsBuilder_ == null) { if (!other.dispatchedRowOperations_.isEmpty()) { if (dispatchedRowOperations_.isEmpty()) { dispatchedRowOperations_ = other.dispatchedRowOperations_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureDispatchedRowOperationsIsMutable(); dispatchedRowOperations_.addAll(other.dispatchedRowOperations_); } onChanged(); } } else { if (!other.dispatchedRowOperations_.isEmpty()) { if (dispatchedRowOperationsBuilder_.isEmpty()) { dispatchedRowOperationsBuilder_.dispose(); dispatchedRowOperationsBuilder_ = null; dispatchedRowOperations_ = other.dispatchedRowOperations_; bitField0_ = (bitField0_ & ~0x00000002); dispatchedRowOperationsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDispatchedRowOperationsFieldBuilder() : null; } else { dispatchedRowOperationsBuilder_.addAllMessages(other.dispatchedRowOperations_); } } } if (!other.indexes_.isEmpty()) { if (indexes_.isEmpty()) { indexes_ = other.indexes_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureIndexesIsMutable(); indexes_.addAll(other.indexes_); } onChanged(); } if (other.getBatchCount() != 0) { setBatchCount(other.getBatchCount()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (hasSchemaPb()) { if (!getSchemaPb().isInitialized()) { return false; } } 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.Ingestion.DataMutateRequestInternal parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.DataMutateRequestInternal) 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 java.lang.Object schemaName_ = ""; /** * string schema_name = 2; * @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 = 2; * @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 = 2; * @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 = 2; * @return This builder for chaining. */ public Builder clearSchemaName() { schemaName_ = getDefaultInstance().getSchemaName(); onChanged(); return this; } /** * string schema_name = 2; * @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 = 3; * @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 = 3; * @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 = 3; * @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 = 3; * @return This builder for chaining. */ public Builder clearTableName() { tableName_ = getDefaultInstance().getTableName(); onChanged(); return this; } /** * string table_name = 3; * @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; } private cz.proto.MetadataEntity.Entity schema_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder> schemaBuilder_; /** * .cz.proto.Entity schema = 4; * @return Whether the schema field is set. */ public boolean hasSchema() { return schemaBuilder_ != null || schema_ != null; } /** * .cz.proto.Entity schema = 4; * @return The schema. */ public cz.proto.MetadataEntity.Entity getSchema() { if (schemaBuilder_ == null) { return schema_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : schema_; } else { return schemaBuilder_.getMessage(); } } /** * .cz.proto.Entity schema = 4; */ public Builder setSchema(cz.proto.MetadataEntity.Entity value) { if (schemaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } schema_ = value; onChanged(); } else { schemaBuilder_.setMessage(value); } return this; } /** * .cz.proto.Entity schema = 4; */ public Builder setSchema( cz.proto.MetadataEntity.Entity.Builder builderForValue) { if (schemaBuilder_ == null) { schema_ = builderForValue.build(); onChanged(); } else { schemaBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.Entity schema = 4; */ public Builder mergeSchema(cz.proto.MetadataEntity.Entity value) { if (schemaBuilder_ == null) { if (schema_ != null) { schema_ = cz.proto.MetadataEntity.Entity.newBuilder(schema_).mergeFrom(value).buildPartial(); } else { schema_ = value; } onChanged(); } else { schemaBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.Entity schema = 4; */ public Builder clearSchema() { if (schemaBuilder_ == null) { schema_ = null; onChanged(); } else { schema_ = null; schemaBuilder_ = null; } return this; } /** * .cz.proto.Entity schema = 4; */ public cz.proto.MetadataEntity.Entity.Builder getSchemaBuilder() { onChanged(); return getSchemaFieldBuilder().getBuilder(); } /** * .cz.proto.Entity schema = 4; */ public cz.proto.MetadataEntity.EntityOrBuilder getSchemaOrBuilder() { if (schemaBuilder_ != null) { return schemaBuilder_.getMessageOrBuilder(); } else { return schema_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : schema_; } } /** * .cz.proto.Entity schema = 4; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder> getSchemaFieldBuilder() { if (schemaBuilder_ == null) { schemaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder>( getSchema(), getParentForChildren(), isClean()); schema_ = null; } return schemaBuilder_; } private org.apache.kudu.KuduCommon.SchemaPB schemaPb_; private com.google.protobuf.SingleFieldBuilderV3< org.apache.kudu.KuduCommon.SchemaPB, org.apache.kudu.KuduCommon.SchemaPB.Builder, org.apache.kudu.KuduCommon.SchemaPBOrBuilder> schemaPbBuilder_; /** * .kudu.SchemaPB schema_pb = 5; * @return Whether the schemaPb field is set. */ public boolean hasSchemaPb() { return schemaPbBuilder_ != null || schemaPb_ != null; } /** * .kudu.SchemaPB schema_pb = 5; * @return The schemaPb. */ public org.apache.kudu.KuduCommon.SchemaPB getSchemaPb() { if (schemaPbBuilder_ == null) { return schemaPb_ == null ? org.apache.kudu.KuduCommon.SchemaPB.getDefaultInstance() : schemaPb_; } else { return schemaPbBuilder_.getMessage(); } } /** * .kudu.SchemaPB schema_pb = 5; */ public Builder setSchemaPb(org.apache.kudu.KuduCommon.SchemaPB value) { if (schemaPbBuilder_ == null) { if (value == null) { throw new NullPointerException(); } schemaPb_ = value; onChanged(); } else { schemaPbBuilder_.setMessage(value); } return this; } /** * .kudu.SchemaPB schema_pb = 5; */ public Builder setSchemaPb( org.apache.kudu.KuduCommon.SchemaPB.Builder builderForValue) { if (schemaPbBuilder_ == null) { schemaPb_ = builderForValue.build(); onChanged(); } else { schemaPbBuilder_.setMessage(builderForValue.build()); } return this; } /** * .kudu.SchemaPB schema_pb = 5; */ public Builder mergeSchemaPb(org.apache.kudu.KuduCommon.SchemaPB value) { if (schemaPbBuilder_ == null) { if (schemaPb_ != null) { schemaPb_ = org.apache.kudu.KuduCommon.SchemaPB.newBuilder(schemaPb_).mergeFrom(value).buildPartial(); } else { schemaPb_ = value; } onChanged(); } else { schemaPbBuilder_.mergeFrom(value); } return this; } /** * .kudu.SchemaPB schema_pb = 5; */ public Builder clearSchemaPb() { if (schemaPbBuilder_ == null) { schemaPb_ = null; onChanged(); } else { schemaPb_ = null; schemaPbBuilder_ = null; } return this; } /** * .kudu.SchemaPB schema_pb = 5; */ public org.apache.kudu.KuduCommon.SchemaPB.Builder getSchemaPbBuilder() { onChanged(); return getSchemaPbFieldBuilder().getBuilder(); } /** * .kudu.SchemaPB schema_pb = 5; */ public org.apache.kudu.KuduCommon.SchemaPBOrBuilder getSchemaPbOrBuilder() { if (schemaPbBuilder_ != null) { return schemaPbBuilder_.getMessageOrBuilder(); } else { return schemaPb_ == null ? org.apache.kudu.KuduCommon.SchemaPB.getDefaultInstance() : schemaPb_; } } /** * .kudu.SchemaPB schema_pb = 5; */ private com.google.protobuf.SingleFieldBuilderV3< org.apache.kudu.KuduCommon.SchemaPB, org.apache.kudu.KuduCommon.SchemaPB.Builder, org.apache.kudu.KuduCommon.SchemaPBOrBuilder> getSchemaPbFieldBuilder() { if (schemaPbBuilder_ == null) { schemaPbBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.apache.kudu.KuduCommon.SchemaPB, org.apache.kudu.KuduCommon.SchemaPB.Builder, org.apache.kudu.KuduCommon.SchemaPBOrBuilder>( getSchemaPb(), getParentForChildren(), isClean()); schemaPb_ = null; } return schemaPbBuilder_; } private int tableType_ = 0; /** * .cz.proto.ingestion.IGSTableType table_type = 6; * @return The enum numeric value on the wire for tableType. */ @java.lang.Override public int getTableTypeValue() { return tableType_; } /** * .cz.proto.ingestion.IGSTableType table_type = 6; * @param value The enum numeric value on the wire for tableType to set. * @return This builder for chaining. */ public Builder setTableTypeValue(int value) { tableType_ = value; onChanged(); return this; } /** * .cz.proto.ingestion.IGSTableType table_type = 6; * @return The tableType. */ @java.lang.Override public cz.proto.ingestion.Ingestion.IGSTableType getTableType() { @SuppressWarnings("deprecation") cz.proto.ingestion.Ingestion.IGSTableType result = cz.proto.ingestion.Ingestion.IGSTableType.valueOf(tableType_); return result == null ? cz.proto.ingestion.Ingestion.IGSTableType.UNRECOGNIZED : result; } /** * .cz.proto.ingestion.IGSTableType table_type = 6; * @param value The tableType to set. * @return This builder for chaining. */ public Builder setTableType(cz.proto.ingestion.Ingestion.IGSTableType value) { if (value == null) { throw new NullPointerException(); } tableType_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.ingestion.IGSTableType table_type = 6; * @return This builder for chaining. */ public Builder clearTableType() { tableType_ = 0; onChanged(); return this; } private boolean isDispatch_ ; /** * bool is_dispatch = 7; * @return The isDispatch. */ @java.lang.Override public boolean getIsDispatch() { return isDispatch_; } /** * bool is_dispatch = 7; * @param value The isDispatch to set. * @return This builder for chaining. */ public Builder setIsDispatch(boolean value) { isDispatch_ = value; onChanged(); return this; } /** * bool is_dispatch = 7; * @return This builder for chaining. */ public Builder clearIsDispatch() { isDispatch_ = false; onChanged(); return this; } private com.google.protobuf.Internal.LongList tabletIds_ = emptyLongList(); private void ensureTabletIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tabletIds_ = mutableCopy(tabletIds_); bitField0_ |= 0x00000001; } } /** * repeated int64 tablet_ids = 8; * @return A list containing the tabletIds. */ public java.util.List getTabletIdsList() { return ((bitField0_ & 0x00000001) != 0) ? java.util.Collections.unmodifiableList(tabletIds_) : tabletIds_; } /** * repeated int64 tablet_ids = 8; * @return The count of tabletIds. */ public int getTabletIdsCount() { return tabletIds_.size(); } /** * repeated int64 tablet_ids = 8; * @param index The index of the element to return. * @return The tabletIds at the given index. */ public long getTabletIds(int index) { return tabletIds_.getLong(index); } /** * repeated int64 tablet_ids = 8; * @param index The index to set the value at. * @param value The tabletIds to set. * @return This builder for chaining. */ public Builder setTabletIds( int index, long value) { ensureTabletIdsIsMutable(); tabletIds_.setLong(index, value); onChanged(); return this; } /** * repeated int64 tablet_ids = 8; * @param value The tabletIds to add. * @return This builder for chaining. */ public Builder addTabletIds(long value) { ensureTabletIdsIsMutable(); tabletIds_.addLong(value); onChanged(); return this; } /** * repeated int64 tablet_ids = 8; * @param values The tabletIds to add. * @return This builder for chaining. */ public Builder addAllTabletIds( java.lang.Iterable values) { ensureTabletIdsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tabletIds_); onChanged(); return this; } /** * repeated int64 tablet_ids = 8; * @return This builder for chaining. */ public Builder clearTabletIds() { tabletIds_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } private long instanceId_ ; /** * int64 instance_id = 9; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } /** * int64 instance_id = 9; * @param value The instanceId to set. * @return This builder for chaining. */ public Builder setInstanceId(long value) { instanceId_ = value; onChanged(); return this; } /** * int64 instance_id = 9; * @return This builder for chaining. */ public Builder clearInstanceId() { instanceId_ = 0L; onChanged(); return this; } private java.lang.Object workspace_ = ""; /** * string workspace = 10; * @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 = 10; * @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 = 10; * @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 = 10; * @return This builder for chaining. */ public Builder clearWorkspace() { workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** * string workspace = 10; * @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 requestId_ = ""; /** * string request_id = 11; * @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 = 11; * @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 = 11; * @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 = 11; * @return This builder for chaining. */ public Builder clearRequestId() { requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** * string request_id = 11; * @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; } private java.util.List dispatchedRowOperations_ = java.util.Collections.emptyList(); private void ensureDispatchedRowOperationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { dispatchedRowOperations_ = new java.util.ArrayList(dispatchedRowOperations_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< org.apache.kudu.RowOperations.RowOperationsPB, org.apache.kudu.RowOperations.RowOperationsPB.Builder, org.apache.kudu.RowOperations.RowOperationsPBOrBuilder> dispatchedRowOperationsBuilder_; /** * repeated .kudu.RowOperationsPB dispatched_row_operations = 12; */ public java.util.List getDispatchedRowOperationsList() { if (dispatchedRowOperationsBuilder_ == null) { return java.util.Collections.unmodifiableList(dispatchedRowOperations_); } else { return dispatchedRowOperationsBuilder_.getMessageList(); } } /** * repeated .kudu.RowOperationsPB dispatched_row_operations = 12; */ public int getDispatchedRowOperationsCount() { if (dispatchedRowOperationsBuilder_ == null) { return dispatchedRowOperations_.size(); } else { return dispatchedRowOperationsBuilder_.getCount(); } } /** * repeated .kudu.RowOperationsPB dispatched_row_operations = 12; */ public org.apache.kudu.RowOperations.RowOperationsPB getDispatchedRowOperations(int index) { if (dispatchedRowOperationsBuilder_ == null) { return dispatchedRowOperations_.get(index); } else { return dispatchedRowOperationsBuilder_.getMessage(index); } } /** * repeated .kudu.RowOperationsPB dispatched_row_operations = 12; */ public Builder setDispatchedRowOperations( int index, org.apache.kudu.RowOperations.RowOperationsPB value) { if (dispatchedRowOperationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDispatchedRowOperationsIsMutable(); dispatchedRowOperations_.set(index, value); onChanged(); } else { dispatchedRowOperationsBuilder_.setMessage(index, value); } return this; } /** * repeated .kudu.RowOperationsPB dispatched_row_operations = 12; */ public Builder setDispatchedRowOperations( int index, org.apache.kudu.RowOperations.RowOperationsPB.Builder builderForValue) { if (dispatchedRowOperationsBuilder_ == null) { ensureDispatchedRowOperationsIsMutable(); dispatchedRowOperations_.set(index, builderForValue.build()); onChanged(); } else { dispatchedRowOperationsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .kudu.RowOperationsPB dispatched_row_operations = 12; */ public Builder addDispatchedRowOperations(org.apache.kudu.RowOperations.RowOperationsPB value) { if (dispatchedRowOperationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDispatchedRowOperationsIsMutable(); dispatchedRowOperations_.add(value); onChanged(); } else { dispatchedRowOperationsBuilder_.addMessage(value); } return this; } /** * repeated .kudu.RowOperationsPB dispatched_row_operations = 12; */ public Builder addDispatchedRowOperations( int index, org.apache.kudu.RowOperations.RowOperationsPB value) { if (dispatchedRowOperationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDispatchedRowOperationsIsMutable(); dispatchedRowOperations_.add(index, value); onChanged(); } else { dispatchedRowOperationsBuilder_.addMessage(index, value); } return this; } /** * repeated .kudu.RowOperationsPB dispatched_row_operations = 12; */ public Builder addDispatchedRowOperations( org.apache.kudu.RowOperations.RowOperationsPB.Builder builderForValue) { if (dispatchedRowOperationsBuilder_ == null) { ensureDispatchedRowOperationsIsMutable(); dispatchedRowOperations_.add(builderForValue.build()); onChanged(); } else { dispatchedRowOperationsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .kudu.RowOperationsPB dispatched_row_operations = 12; */ public Builder addDispatchedRowOperations( int index, org.apache.kudu.RowOperations.RowOperationsPB.Builder builderForValue) { if (dispatchedRowOperationsBuilder_ == null) { ensureDispatchedRowOperationsIsMutable(); dispatchedRowOperations_.add(index, builderForValue.build()); onChanged(); } else { dispatchedRowOperationsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .kudu.RowOperationsPB dispatched_row_operations = 12; */ public Builder addAllDispatchedRowOperations( java.lang.Iterable values) { if (dispatchedRowOperationsBuilder_ == null) { ensureDispatchedRowOperationsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, dispatchedRowOperations_); onChanged(); } else { dispatchedRowOperationsBuilder_.addAllMessages(values); } return this; } /** * repeated .kudu.RowOperationsPB dispatched_row_operations = 12; */ public Builder clearDispatchedRowOperations() { if (dispatchedRowOperationsBuilder_ == null) { dispatchedRowOperations_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { dispatchedRowOperationsBuilder_.clear(); } return this; } /** * repeated .kudu.RowOperationsPB dispatched_row_operations = 12; */ public Builder removeDispatchedRowOperations(int index) { if (dispatchedRowOperationsBuilder_ == null) { ensureDispatchedRowOperationsIsMutable(); dispatchedRowOperations_.remove(index); onChanged(); } else { dispatchedRowOperationsBuilder_.remove(index); } return this; } /** * repeated .kudu.RowOperationsPB dispatched_row_operations = 12; */ public org.apache.kudu.RowOperations.RowOperationsPB.Builder getDispatchedRowOperationsBuilder( int index) { return getDispatchedRowOperationsFieldBuilder().getBuilder(index); } /** * repeated .kudu.RowOperationsPB dispatched_row_operations = 12; */ public org.apache.kudu.RowOperations.RowOperationsPBOrBuilder getDispatchedRowOperationsOrBuilder( int index) { if (dispatchedRowOperationsBuilder_ == null) { return dispatchedRowOperations_.get(index); } else { return dispatchedRowOperationsBuilder_.getMessageOrBuilder(index); } } /** * repeated .kudu.RowOperationsPB dispatched_row_operations = 12; */ public java.util.List getDispatchedRowOperationsOrBuilderList() { if (dispatchedRowOperationsBuilder_ != null) { return dispatchedRowOperationsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(dispatchedRowOperations_); } } /** * repeated .kudu.RowOperationsPB dispatched_row_operations = 12; */ public org.apache.kudu.RowOperations.RowOperationsPB.Builder addDispatchedRowOperationsBuilder() { return getDispatchedRowOperationsFieldBuilder().addBuilder( org.apache.kudu.RowOperations.RowOperationsPB.getDefaultInstance()); } /** * repeated .kudu.RowOperationsPB dispatched_row_operations = 12; */ public org.apache.kudu.RowOperations.RowOperationsPB.Builder addDispatchedRowOperationsBuilder( int index) { return getDispatchedRowOperationsFieldBuilder().addBuilder( index, org.apache.kudu.RowOperations.RowOperationsPB.getDefaultInstance()); } /** * repeated .kudu.RowOperationsPB dispatched_row_operations = 12; */ public java.util.List getDispatchedRowOperationsBuilderList() { return getDispatchedRowOperationsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< org.apache.kudu.RowOperations.RowOperationsPB, org.apache.kudu.RowOperations.RowOperationsPB.Builder, org.apache.kudu.RowOperations.RowOperationsPBOrBuilder> getDispatchedRowOperationsFieldBuilder() { if (dispatchedRowOperationsBuilder_ == null) { dispatchedRowOperationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< org.apache.kudu.RowOperations.RowOperationsPB, org.apache.kudu.RowOperations.RowOperationsPB.Builder, org.apache.kudu.RowOperations.RowOperationsPBOrBuilder>( dispatchedRowOperations_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); dispatchedRowOperations_ = null; } return dispatchedRowOperationsBuilder_; } private com.google.protobuf.Internal.IntList indexes_ = emptyIntList(); private void ensureIndexesIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { indexes_ = mutableCopy(indexes_); bitField0_ |= 0x00000004; } } /** * repeated int32 indexes = 13; * @return A list containing the indexes. */ public java.util.List getIndexesList() { return ((bitField0_ & 0x00000004) != 0) ? java.util.Collections.unmodifiableList(indexes_) : indexes_; } /** * repeated int32 indexes = 13; * @return The count of indexes. */ public int getIndexesCount() { return indexes_.size(); } /** * repeated int32 indexes = 13; * @param index The index of the element to return. * @return The indexes at the given index. */ public int getIndexes(int index) { return indexes_.getInt(index); } /** * repeated int32 indexes = 13; * @param index The index to set the value at. * @param value The indexes to set. * @return This builder for chaining. */ public Builder setIndexes( int index, int value) { ensureIndexesIsMutable(); indexes_.setInt(index, value); onChanged(); return this; } /** * repeated int32 indexes = 13; * @param value The indexes to add. * @return This builder for chaining. */ public Builder addIndexes(int value) { ensureIndexesIsMutable(); indexes_.addInt(value); onChanged(); return this; } /** * repeated int32 indexes = 13; * @param values The indexes to add. * @return This builder for chaining. */ public Builder addAllIndexes( java.lang.Iterable values) { ensureIndexesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, indexes_); onChanged(); return this; } /** * repeated int32 indexes = 13; * @return This builder for chaining. */ public Builder clearIndexes() { indexes_ = emptyIntList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } private int batchCount_ ; /** * int32 batch_count = 14; * @return The batchCount. */ @java.lang.Override public int getBatchCount() { return batchCount_; } /** * int32 batch_count = 14; * @param value The batchCount to set. * @return This builder for chaining. */ public Builder setBatchCount(int value) { batchCount_ = value; onChanged(); return this; } /** * int32 batch_count = 14; * @return This builder for chaining. */ public Builder clearBatchCount() { batchCount_ = 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.DataMutateRequestInternal) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.DataMutateRequestInternal) private static final cz.proto.ingestion.Ingestion.DataMutateRequestInternal DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.DataMutateRequestInternal(); } public static cz.proto.ingestion.Ingestion.DataMutateRequestInternal getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DataMutateRequestInternal parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DataMutateRequestInternal(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.Ingestion.DataMutateRequestInternal getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DataMutateResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.DataMutateResponse) com.google.protobuf.MessageOrBuilder { /** * int64 batch_id = 1; * @return The batchId. */ long getBatchId(); /** * int64 rows_num = 2; * @return The rowsNum. */ long getRowsNum(); /** * .cz.proto.ingestion.ResponseStatus status = 3; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 3; * @return The status. */ cz.proto.ingestion.Ingestion.ResponseStatus getStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 3; */ cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder(); /** * string request_id = 4; * @return The requestId. */ java.lang.String getRequestId(); /** * string request_id = 4; * @return The bytes for requestId. */ com.google.protobuf.ByteString getRequestIdBytes(); /** * repeated .cz.proto.ingestion.MutateRowStatus row_status = 5; */ java.util.List getRowStatusList(); /** * repeated .cz.proto.ingestion.MutateRowStatus row_status = 5; */ cz.proto.ingestion.Ingestion.MutateRowStatus getRowStatus(int index); /** * repeated .cz.proto.ingestion.MutateRowStatus row_status = 5; */ int getRowStatusCount(); /** * repeated .cz.proto.ingestion.MutateRowStatus row_status = 5; */ java.util.List getRowStatusOrBuilderList(); /** * repeated .cz.proto.ingestion.MutateRowStatus row_status = 5; */ cz.proto.ingestion.Ingestion.MutateRowStatusOrBuilder getRowStatusOrBuilder( int index); } /** * Protobuf type {@code cz.proto.ingestion.DataMutateResponse} */ public static final class DataMutateResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.DataMutateResponse) DataMutateResponseOrBuilder { private static final long serialVersionUID = 0L; // Use DataMutateResponse.newBuilder() to construct. private DataMutateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DataMutateResponse() { requestId_ = ""; rowStatus_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DataMutateResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DataMutateResponse( 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: { rowsNum_ = input.readInt64(); break; } case 26: { cz.proto.ingestion.Ingestion.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.Ingestion.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(status_); status_ = subBuilder.buildPartial(); } break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); requestId_ = s; break; } case 42: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { rowStatus_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } rowStatus_.add( input.readMessage(cz.proto.ingestion.Ingestion.MutateRowStatus.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)) { rowStatus_ = java.util.Collections.unmodifiableList(rowStatus_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_DataMutateResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_DataMutateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.DataMutateResponse.class, cz.proto.ingestion.Ingestion.DataMutateResponse.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 ROWS_NUM_FIELD_NUMBER = 2; private long rowsNum_; /** * int64 rows_num = 2; * @return The rowsNum. */ @java.lang.Override public long getRowsNum() { return rowsNum_; } public static final int STATUS_FIELD_NUMBER = 3; private cz.proto.ingestion.Ingestion.ResponseStatus status_; /** * .cz.proto.ingestion.ResponseStatus status = 3; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 3; * @return The status. */ @java.lang.Override public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ @java.lang.Override public cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder() { return getStatus(); } public static final int REQUEST_ID_FIELD_NUMBER = 4; private volatile java.lang.Object requestId_; /** * string request_id = 4; * @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 = 4; * @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; } } public static final int ROW_STATUS_FIELD_NUMBER = 5; private java.util.List rowStatus_; /** * repeated .cz.proto.ingestion.MutateRowStatus row_status = 5; */ @java.lang.Override public java.util.List getRowStatusList() { return rowStatus_; } /** * repeated .cz.proto.ingestion.MutateRowStatus row_status = 5; */ @java.lang.Override public java.util.List getRowStatusOrBuilderList() { return rowStatus_; } /** * repeated .cz.proto.ingestion.MutateRowStatus row_status = 5; */ @java.lang.Override public int getRowStatusCount() { return rowStatus_.size(); } /** * repeated .cz.proto.ingestion.MutateRowStatus row_status = 5; */ @java.lang.Override public cz.proto.ingestion.Ingestion.MutateRowStatus getRowStatus(int index) { return rowStatus_.get(index); } /** * repeated .cz.proto.ingestion.MutateRowStatus row_status = 5; */ @java.lang.Override public cz.proto.ingestion.Ingestion.MutateRowStatusOrBuilder getRowStatusOrBuilder( int index) { return rowStatus_.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 (rowsNum_ != 0L) { output.writeInt64(2, rowsNum_); } if (status_ != null) { output.writeMessage(3, getStatus()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, requestId_); } for (int i = 0; i < rowStatus_.size(); i++) { output.writeMessage(5, rowStatus_.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 (rowsNum_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, rowsNum_); } if (status_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getStatus()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, requestId_); } for (int i = 0; i < rowStatus_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, rowStatus_.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.Ingestion.DataMutateResponse)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.DataMutateResponse other = (cz.proto.ingestion.Ingestion.DataMutateResponse) obj; if (getBatchId() != other.getBatchId()) return false; if (getRowsNum() != other.getRowsNum()) return false; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) return false; } if (!getRequestId() .equals(other.getRequestId())) return false; if (!getRowStatusList() .equals(other.getRowStatusList())) 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) + ROWS_NUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getRowsNum()); if (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; hash = (53 * hash) + getRequestId().hashCode(); if (getRowStatusCount() > 0) { hash = (37 * hash) + ROW_STATUS_FIELD_NUMBER; hash = (53 * hash) + getRowStatusList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.Ingestion.DataMutateResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.DataMutateResponse 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.Ingestion.DataMutateResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.DataMutateResponse 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.Ingestion.DataMutateResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.DataMutateResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.DataMutateResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.DataMutateResponse 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.Ingestion.DataMutateResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.DataMutateResponse 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.Ingestion.DataMutateResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.DataMutateResponse 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.Ingestion.DataMutateResponse 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.DataMutateResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.DataMutateResponse) cz.proto.ingestion.Ingestion.DataMutateResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_DataMutateResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_DataMutateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.DataMutateResponse.class, cz.proto.ingestion.Ingestion.DataMutateResponse.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.DataMutateResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getRowStatusFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); batchId_ = 0L; rowsNum_ = 0L; if (statusBuilder_ == null) { status_ = null; } else { status_ = null; statusBuilder_ = null; } requestId_ = ""; if (rowStatusBuilder_ == null) { rowStatus_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { rowStatusBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_DataMutateResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.DataMutateResponse getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.DataMutateResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.DataMutateResponse build() { cz.proto.ingestion.Ingestion.DataMutateResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.DataMutateResponse buildPartial() { cz.proto.ingestion.Ingestion.DataMutateResponse result = new cz.proto.ingestion.Ingestion.DataMutateResponse(this); int from_bitField0_ = bitField0_; result.batchId_ = batchId_; result.rowsNum_ = rowsNum_; if (statusBuilder_ == null) { result.status_ = status_; } else { result.status_ = statusBuilder_.build(); } result.requestId_ = requestId_; if (rowStatusBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { rowStatus_ = java.util.Collections.unmodifiableList(rowStatus_); bitField0_ = (bitField0_ & ~0x00000001); } result.rowStatus_ = rowStatus_; } else { result.rowStatus_ = rowStatusBuilder_.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.Ingestion.DataMutateResponse) { return mergeFrom((cz.proto.ingestion.Ingestion.DataMutateResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.DataMutateResponse other) { if (other == cz.proto.ingestion.Ingestion.DataMutateResponse.getDefaultInstance()) return this; if (other.getBatchId() != 0L) { setBatchId(other.getBatchId()); } if (other.getRowsNum() != 0L) { setRowsNum(other.getRowsNum()); } if (other.hasStatus()) { mergeStatus(other.getStatus()); } if (!other.getRequestId().isEmpty()) { requestId_ = other.requestId_; onChanged(); } if (rowStatusBuilder_ == null) { if (!other.rowStatus_.isEmpty()) { if (rowStatus_.isEmpty()) { rowStatus_ = other.rowStatus_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureRowStatusIsMutable(); rowStatus_.addAll(other.rowStatus_); } onChanged(); } } else { if (!other.rowStatus_.isEmpty()) { if (rowStatusBuilder_.isEmpty()) { rowStatusBuilder_.dispose(); rowStatusBuilder_ = null; rowStatus_ = other.rowStatus_; bitField0_ = (bitField0_ & ~0x00000001); rowStatusBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRowStatusFieldBuilder() : null; } else { rowStatusBuilder_.addAllMessages(other.rowStatus_); } } } 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.Ingestion.DataMutateResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.DataMutateResponse) 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 rowsNum_ ; /** * int64 rows_num = 2; * @return The rowsNum. */ @java.lang.Override public long getRowsNum() { return rowsNum_; } /** * int64 rows_num = 2; * @param value The rowsNum to set. * @return This builder for chaining. */ public Builder setRowsNum(long value) { rowsNum_ = value; onChanged(); return this; } /** * int64 rows_num = 2; * @return This builder for chaining. */ public Builder clearRowsNum() { rowsNum_ = 0L; onChanged(); return this; } private cz.proto.ingestion.Ingestion.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.ResponseStatus status = 3; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 3; * @return The status. */ public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ public Builder setStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ public Builder setStatus( cz.proto.ingestion.Ingestion.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ public Builder mergeStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.Ingestion.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ public cz.proto.ingestion.Ingestion.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ public cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder>( getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } private java.lang.Object requestId_ = ""; /** * string request_id = 4; * @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 = 4; * @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 = 4; * @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 = 4; * @return This builder for chaining. */ public Builder clearRequestId() { requestId_ = getDefaultInstance().getRequestId(); onChanged(); return this; } /** * string request_id = 4; * @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; } private java.util.List rowStatus_ = java.util.Collections.emptyList(); private void ensureRowStatusIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { rowStatus_ = new java.util.ArrayList(rowStatus_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.Ingestion.MutateRowStatus, cz.proto.ingestion.Ingestion.MutateRowStatus.Builder, cz.proto.ingestion.Ingestion.MutateRowStatusOrBuilder> rowStatusBuilder_; /** * repeated .cz.proto.ingestion.MutateRowStatus row_status = 5; */ public java.util.List getRowStatusList() { if (rowStatusBuilder_ == null) { return java.util.Collections.unmodifiableList(rowStatus_); } else { return rowStatusBuilder_.getMessageList(); } } /** * repeated .cz.proto.ingestion.MutateRowStatus row_status = 5; */ public int getRowStatusCount() { if (rowStatusBuilder_ == null) { return rowStatus_.size(); } else { return rowStatusBuilder_.getCount(); } } /** * repeated .cz.proto.ingestion.MutateRowStatus row_status = 5; */ public cz.proto.ingestion.Ingestion.MutateRowStatus getRowStatus(int index) { if (rowStatusBuilder_ == null) { return rowStatus_.get(index); } else { return rowStatusBuilder_.getMessage(index); } } /** * repeated .cz.proto.ingestion.MutateRowStatus row_status = 5; */ public Builder setRowStatus( int index, cz.proto.ingestion.Ingestion.MutateRowStatus value) { if (rowStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRowStatusIsMutable(); rowStatus_.set(index, value); onChanged(); } else { rowStatusBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.ingestion.MutateRowStatus row_status = 5; */ public Builder setRowStatus( int index, cz.proto.ingestion.Ingestion.MutateRowStatus.Builder builderForValue) { if (rowStatusBuilder_ == null) { ensureRowStatusIsMutable(); rowStatus_.set(index, builderForValue.build()); onChanged(); } else { rowStatusBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.MutateRowStatus row_status = 5; */ public Builder addRowStatus(cz.proto.ingestion.Ingestion.MutateRowStatus value) { if (rowStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRowStatusIsMutable(); rowStatus_.add(value); onChanged(); } else { rowStatusBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.ingestion.MutateRowStatus row_status = 5; */ public Builder addRowStatus( int index, cz.proto.ingestion.Ingestion.MutateRowStatus value) { if (rowStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRowStatusIsMutable(); rowStatus_.add(index, value); onChanged(); } else { rowStatusBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.ingestion.MutateRowStatus row_status = 5; */ public Builder addRowStatus( cz.proto.ingestion.Ingestion.MutateRowStatus.Builder builderForValue) { if (rowStatusBuilder_ == null) { ensureRowStatusIsMutable(); rowStatus_.add(builderForValue.build()); onChanged(); } else { rowStatusBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.MutateRowStatus row_status = 5; */ public Builder addRowStatus( int index, cz.proto.ingestion.Ingestion.MutateRowStatus.Builder builderForValue) { if (rowStatusBuilder_ == null) { ensureRowStatusIsMutable(); rowStatus_.add(index, builderForValue.build()); onChanged(); } else { rowStatusBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.MutateRowStatus row_status = 5; */ public Builder addAllRowStatus( java.lang.Iterable values) { if (rowStatusBuilder_ == null) { ensureRowStatusIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, rowStatus_); onChanged(); } else { rowStatusBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.ingestion.MutateRowStatus row_status = 5; */ public Builder clearRowStatus() { if (rowStatusBuilder_ == null) { rowStatus_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { rowStatusBuilder_.clear(); } return this; } /** * repeated .cz.proto.ingestion.MutateRowStatus row_status = 5; */ public Builder removeRowStatus(int index) { if (rowStatusBuilder_ == null) { ensureRowStatusIsMutable(); rowStatus_.remove(index); onChanged(); } else { rowStatusBuilder_.remove(index); } return this; } /** * repeated .cz.proto.ingestion.MutateRowStatus row_status = 5; */ public cz.proto.ingestion.Ingestion.MutateRowStatus.Builder getRowStatusBuilder( int index) { return getRowStatusFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.ingestion.MutateRowStatus row_status = 5; */ public cz.proto.ingestion.Ingestion.MutateRowStatusOrBuilder getRowStatusOrBuilder( int index) { if (rowStatusBuilder_ == null) { return rowStatus_.get(index); } else { return rowStatusBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.ingestion.MutateRowStatus row_status = 5; */ public java.util.List getRowStatusOrBuilderList() { if (rowStatusBuilder_ != null) { return rowStatusBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(rowStatus_); } } /** * repeated .cz.proto.ingestion.MutateRowStatus row_status = 5; */ public cz.proto.ingestion.Ingestion.MutateRowStatus.Builder addRowStatusBuilder() { return getRowStatusFieldBuilder().addBuilder( cz.proto.ingestion.Ingestion.MutateRowStatus.getDefaultInstance()); } /** * repeated .cz.proto.ingestion.MutateRowStatus row_status = 5; */ public cz.proto.ingestion.Ingestion.MutateRowStatus.Builder addRowStatusBuilder( int index) { return getRowStatusFieldBuilder().addBuilder( index, cz.proto.ingestion.Ingestion.MutateRowStatus.getDefaultInstance()); } /** * repeated .cz.proto.ingestion.MutateRowStatus row_status = 5; */ public java.util.List getRowStatusBuilderList() { return getRowStatusFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.Ingestion.MutateRowStatus, cz.proto.ingestion.Ingestion.MutateRowStatus.Builder, cz.proto.ingestion.Ingestion.MutateRowStatusOrBuilder> getRowStatusFieldBuilder() { if (rowStatusBuilder_ == null) { rowStatusBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.Ingestion.MutateRowStatus, cz.proto.ingestion.Ingestion.MutateRowStatus.Builder, cz.proto.ingestion.Ingestion.MutateRowStatusOrBuilder>( rowStatus_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); rowStatus_ = null; } return rowStatusBuilder_; } @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.DataMutateResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.DataMutateResponse) private static final cz.proto.ingestion.Ingestion.DataMutateResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.DataMutateResponse(); } public static cz.proto.ingestion.Ingestion.DataMutateResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DataMutateResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DataMutateResponse(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.Ingestion.DataMutateResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetWorkerIdRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.GetWorkerIdRequest) com.google.protobuf.MessageOrBuilder { /** * string worker_host = 1; * @return The workerHost. */ java.lang.String getWorkerHost(); /** * string worker_host = 1; * @return The bytes for workerHost. */ com.google.protobuf.ByteString getWorkerHostBytes(); /** * int64 create_timestamp = 2; * @return The createTimestamp. */ long getCreateTimestamp(); /** * int64 worker_port = 3; * @return The workerPort. */ long getWorkerPort(); /** * string worker_name = 4; * @return The workerName. */ java.lang.String getWorkerName(); /** * string worker_name = 4; * @return The bytes for workerName. */ com.google.protobuf.ByteString getWorkerNameBytes(); } /** * Protobuf type {@code cz.proto.ingestion.GetWorkerIdRequest} */ public static final class GetWorkerIdRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.GetWorkerIdRequest) GetWorkerIdRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetWorkerIdRequest.newBuilder() to construct. private GetWorkerIdRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetWorkerIdRequest() { workerHost_ = ""; workerName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetWorkerIdRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetWorkerIdRequest( 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(); workerHost_ = s; break; } case 16: { createTimestamp_ = input.readInt64(); break; } case 24: { workerPort_ = input.readInt64(); break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); workerName_ = 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.Ingestion.internal_static_cz_proto_ingestion_GetWorkerIdRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetWorkerIdRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.GetWorkerIdRequest.class, cz.proto.ingestion.Ingestion.GetWorkerIdRequest.Builder.class); } public static final int WORKER_HOST_FIELD_NUMBER = 1; private volatile java.lang.Object workerHost_; /** * string worker_host = 1; * @return The workerHost. */ @java.lang.Override public java.lang.String getWorkerHost() { java.lang.Object ref = workerHost_; 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(); workerHost_ = s; return s; } } /** * string worker_host = 1; * @return The bytes for workerHost. */ @java.lang.Override public com.google.protobuf.ByteString getWorkerHostBytes() { java.lang.Object ref = workerHost_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workerHost_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CREATE_TIMESTAMP_FIELD_NUMBER = 2; private long createTimestamp_; /** * int64 create_timestamp = 2; * @return The createTimestamp. */ @java.lang.Override public long getCreateTimestamp() { return createTimestamp_; } public static final int WORKER_PORT_FIELD_NUMBER = 3; private long workerPort_; /** * int64 worker_port = 3; * @return The workerPort. */ @java.lang.Override public long getWorkerPort() { return workerPort_; } public static final int WORKER_NAME_FIELD_NUMBER = 4; private volatile java.lang.Object workerName_; /** * string worker_name = 4; * @return The workerName. */ @java.lang.Override public java.lang.String getWorkerName() { java.lang.Object ref = workerName_; 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(); workerName_ = s; return s; } } /** * string worker_name = 4; * @return The bytes for workerName. */ @java.lang.Override public com.google.protobuf.ByteString getWorkerNameBytes() { java.lang.Object ref = workerName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workerName_ = 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(workerHost_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workerHost_); } if (createTimestamp_ != 0L) { output.writeInt64(2, createTimestamp_); } if (workerPort_ != 0L) { output.writeInt64(3, workerPort_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workerName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, workerName_); } 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(workerHost_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, workerHost_); } if (createTimestamp_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, createTimestamp_); } if (workerPort_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, workerPort_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workerName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, workerName_); } 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.Ingestion.GetWorkerIdRequest)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.GetWorkerIdRequest other = (cz.proto.ingestion.Ingestion.GetWorkerIdRequest) obj; if (!getWorkerHost() .equals(other.getWorkerHost())) return false; if (getCreateTimestamp() != other.getCreateTimestamp()) return false; if (getWorkerPort() != other.getWorkerPort()) return false; if (!getWorkerName() .equals(other.getWorkerName())) 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) + WORKER_HOST_FIELD_NUMBER; hash = (53 * hash) + getWorkerHost().hashCode(); hash = (37 * hash) + CREATE_TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCreateTimestamp()); hash = (37 * hash) + WORKER_PORT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getWorkerPort()); hash = (37 * hash) + WORKER_NAME_FIELD_NUMBER; hash = (53 * hash) + getWorkerName().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.Ingestion.GetWorkerIdRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetWorkerIdRequest 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.Ingestion.GetWorkerIdRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetWorkerIdRequest 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.Ingestion.GetWorkerIdRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetWorkerIdRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.GetWorkerIdRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetWorkerIdRequest 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.Ingestion.GetWorkerIdRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetWorkerIdRequest 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.Ingestion.GetWorkerIdRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetWorkerIdRequest 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.Ingestion.GetWorkerIdRequest 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.GetWorkerIdRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.GetWorkerIdRequest) cz.proto.ingestion.Ingestion.GetWorkerIdRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetWorkerIdRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetWorkerIdRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.GetWorkerIdRequest.class, cz.proto.ingestion.Ingestion.GetWorkerIdRequest.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.GetWorkerIdRequest.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(); workerHost_ = ""; createTimestamp_ = 0L; workerPort_ = 0L; workerName_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetWorkerIdRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.GetWorkerIdRequest getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.GetWorkerIdRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.GetWorkerIdRequest build() { cz.proto.ingestion.Ingestion.GetWorkerIdRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.GetWorkerIdRequest buildPartial() { cz.proto.ingestion.Ingestion.GetWorkerIdRequest result = new cz.proto.ingestion.Ingestion.GetWorkerIdRequest(this); result.workerHost_ = workerHost_; result.createTimestamp_ = createTimestamp_; result.workerPort_ = workerPort_; result.workerName_ = workerName_; 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.Ingestion.GetWorkerIdRequest) { return mergeFrom((cz.proto.ingestion.Ingestion.GetWorkerIdRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.GetWorkerIdRequest other) { if (other == cz.proto.ingestion.Ingestion.GetWorkerIdRequest.getDefaultInstance()) return this; if (!other.getWorkerHost().isEmpty()) { workerHost_ = other.workerHost_; onChanged(); } if (other.getCreateTimestamp() != 0L) { setCreateTimestamp(other.getCreateTimestamp()); } if (other.getWorkerPort() != 0L) { setWorkerPort(other.getWorkerPort()); } if (!other.getWorkerName().isEmpty()) { workerName_ = other.workerName_; 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.Ingestion.GetWorkerIdRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.GetWorkerIdRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object workerHost_ = ""; /** * string worker_host = 1; * @return The workerHost. */ public java.lang.String getWorkerHost() { java.lang.Object ref = workerHost_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workerHost_ = s; return s; } else { return (java.lang.String) ref; } } /** * string worker_host = 1; * @return The bytes for workerHost. */ public com.google.protobuf.ByteString getWorkerHostBytes() { java.lang.Object ref = workerHost_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workerHost_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string worker_host = 1; * @param value The workerHost to set. * @return This builder for chaining. */ public Builder setWorkerHost( java.lang.String value) { if (value == null) { throw new NullPointerException(); } workerHost_ = value; onChanged(); return this; } /** * string worker_host = 1; * @return This builder for chaining. */ public Builder clearWorkerHost() { workerHost_ = getDefaultInstance().getWorkerHost(); onChanged(); return this; } /** * string worker_host = 1; * @param value The bytes for workerHost to set. * @return This builder for chaining. */ public Builder setWorkerHostBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); workerHost_ = value; onChanged(); return this; } private long createTimestamp_ ; /** * int64 create_timestamp = 2; * @return The createTimestamp. */ @java.lang.Override public long getCreateTimestamp() { return createTimestamp_; } /** * int64 create_timestamp = 2; * @param value The createTimestamp to set. * @return This builder for chaining. */ public Builder setCreateTimestamp(long value) { createTimestamp_ = value; onChanged(); return this; } /** * int64 create_timestamp = 2; * @return This builder for chaining. */ public Builder clearCreateTimestamp() { createTimestamp_ = 0L; onChanged(); return this; } private long workerPort_ ; /** * int64 worker_port = 3; * @return The workerPort. */ @java.lang.Override public long getWorkerPort() { return workerPort_; } /** * int64 worker_port = 3; * @param value The workerPort to set. * @return This builder for chaining. */ public Builder setWorkerPort(long value) { workerPort_ = value; onChanged(); return this; } /** * int64 worker_port = 3; * @return This builder for chaining. */ public Builder clearWorkerPort() { workerPort_ = 0L; onChanged(); return this; } private java.lang.Object workerName_ = ""; /** * string worker_name = 4; * @return The workerName. */ public java.lang.String getWorkerName() { java.lang.Object ref = workerName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workerName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string worker_name = 4; * @return The bytes for workerName. */ public com.google.protobuf.ByteString getWorkerNameBytes() { java.lang.Object ref = workerName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workerName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string worker_name = 4; * @param value The workerName to set. * @return This builder for chaining. */ public Builder setWorkerName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } workerName_ = value; onChanged(); return this; } /** * string worker_name = 4; * @return This builder for chaining. */ public Builder clearWorkerName() { workerName_ = getDefaultInstance().getWorkerName(); onChanged(); return this; } /** * string worker_name = 4; * @param value The bytes for workerName to set. * @return This builder for chaining. */ public Builder setWorkerNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); workerName_ = 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.GetWorkerIdRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.GetWorkerIdRequest) private static final cz.proto.ingestion.Ingestion.GetWorkerIdRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.GetWorkerIdRequest(); } public static cz.proto.ingestion.Ingestion.GetWorkerIdRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetWorkerIdRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetWorkerIdRequest(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.Ingestion.GetWorkerIdRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetWorkerIdResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.GetWorkerIdResponse) com.google.protobuf.MessageOrBuilder { /** * int64 worker_id = 1; * @return The workerId. */ long getWorkerId(); /** * .cz.proto.ingestion.ResponseStatus status = 2; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 2; * @return The status. */ cz.proto.ingestion.Ingestion.ResponseStatus getStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 2; */ cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.GetWorkerIdResponse} */ public static final class GetWorkerIdResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.GetWorkerIdResponse) GetWorkerIdResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetWorkerIdResponse.newBuilder() to construct. private GetWorkerIdResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetWorkerIdResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetWorkerIdResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetWorkerIdResponse( 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: { workerId_ = input.readInt64(); break; } case 18: { cz.proto.ingestion.Ingestion.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.Ingestion.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.Ingestion.internal_static_cz_proto_ingestion_GetWorkerIdResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetWorkerIdResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.GetWorkerIdResponse.class, cz.proto.ingestion.Ingestion.GetWorkerIdResponse.Builder.class); } public static final int WORKER_ID_FIELD_NUMBER = 1; private long workerId_; /** * int64 worker_id = 1; * @return The workerId. */ @java.lang.Override public long getWorkerId() { return workerId_; } public static final int STATUS_FIELD_NUMBER = 2; private cz.proto.ingestion.Ingestion.ResponseStatus status_; /** * .cz.proto.ingestion.ResponseStatus status = 2; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 2; * @return The status. */ @java.lang.Override public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.ResponseStatus status = 2; */ @java.lang.Override public cz.proto.ingestion.Ingestion.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 (workerId_ != 0L) { output.writeInt64(1, workerId_); } if (status_ != null) { output.writeMessage(2, getStatus()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (workerId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, workerId_); } if (status_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, 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.Ingestion.GetWorkerIdResponse)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.GetWorkerIdResponse other = (cz.proto.ingestion.Ingestion.GetWorkerIdResponse) obj; if (getWorkerId() != other.getWorkerId()) 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(); hash = (37 * hash) + WORKER_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getWorkerId()); 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.Ingestion.GetWorkerIdResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetWorkerIdResponse 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.Ingestion.GetWorkerIdResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetWorkerIdResponse 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.Ingestion.GetWorkerIdResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetWorkerIdResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.GetWorkerIdResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetWorkerIdResponse 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.Ingestion.GetWorkerIdResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetWorkerIdResponse 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.Ingestion.GetWorkerIdResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetWorkerIdResponse 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.Ingestion.GetWorkerIdResponse 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.GetWorkerIdResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.GetWorkerIdResponse) cz.proto.ingestion.Ingestion.GetWorkerIdResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetWorkerIdResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetWorkerIdResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.GetWorkerIdResponse.class, cz.proto.ingestion.Ingestion.GetWorkerIdResponse.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.GetWorkerIdResponse.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(); workerId_ = 0L; 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.Ingestion.internal_static_cz_proto_ingestion_GetWorkerIdResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.GetWorkerIdResponse getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.GetWorkerIdResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.GetWorkerIdResponse build() { cz.proto.ingestion.Ingestion.GetWorkerIdResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.GetWorkerIdResponse buildPartial() { cz.proto.ingestion.Ingestion.GetWorkerIdResponse result = new cz.proto.ingestion.Ingestion.GetWorkerIdResponse(this); result.workerId_ = workerId_; 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.Ingestion.GetWorkerIdResponse) { return mergeFrom((cz.proto.ingestion.Ingestion.GetWorkerIdResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.GetWorkerIdResponse other) { if (other == cz.proto.ingestion.Ingestion.GetWorkerIdResponse.getDefaultInstance()) return this; if (other.getWorkerId() != 0L) { setWorkerId(other.getWorkerId()); } 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.Ingestion.GetWorkerIdResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.GetWorkerIdResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long workerId_ ; /** * int64 worker_id = 1; * @return The workerId. */ @java.lang.Override public long getWorkerId() { return workerId_; } /** * int64 worker_id = 1; * @param value The workerId to set. * @return This builder for chaining. */ public Builder setWorkerId(long value) { workerId_ = value; onChanged(); return this; } /** * int64 worker_id = 1; * @return This builder for chaining. */ public Builder clearWorkerId() { workerId_ = 0L; onChanged(); return this; } private cz.proto.ingestion.Ingestion.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.ResponseStatus status = 2; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 2; * @return The status. */ public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.ResponseStatus status = 2; */ public Builder setStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 2; */ public Builder setStatus( cz.proto.ingestion.Ingestion.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 2; */ public Builder mergeStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.Ingestion.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 2; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 2; */ public cz.proto.ingestion.Ingestion.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.ResponseStatus status = 2; */ public cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.ResponseStatus status = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.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.GetWorkerIdResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.GetWorkerIdResponse) private static final cz.proto.ingestion.Ingestion.GetWorkerIdResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.GetWorkerIdResponse(); } public static cz.proto.ingestion.Ingestion.GetWorkerIdResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetWorkerIdResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetWorkerIdResponse(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.Ingestion.GetWorkerIdResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MutateRowStatusOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.MutateRowStatus) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.Code code = 1; * @return The enum numeric value on the wire for code. */ int getCodeValue(); /** * .cz.proto.ingestion.Code code = 1; * @return The code. */ cz.proto.ingestion.Ingestion.Code getCode(); /** * string message = 2; * @return The message. */ java.lang.String getMessage(); /** * string message = 2; * @return The bytes for message. */ com.google.protobuf.ByteString getMessageBytes(); /** * int32 row_index = 3; * @return The rowIndex. */ int getRowIndex(); } /** * Protobuf type {@code cz.proto.ingestion.MutateRowStatus} */ public static final class MutateRowStatus extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.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; message_ = ""; } @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(); message_ = 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.Ingestion.internal_static_cz_proto_ingestion_MutateRowStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_MutateRowStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.MutateRowStatus.class, cz.proto.ingestion.Ingestion.MutateRowStatus.Builder.class); } public static final int CODE_FIELD_NUMBER = 1; private int code_; /** * .cz.proto.ingestion.Code code = 1; * @return The enum numeric value on the wire for code. */ @java.lang.Override public int getCodeValue() { return code_; } /** * .cz.proto.ingestion.Code code = 1; * @return The code. */ @java.lang.Override public cz.proto.ingestion.Ingestion.Code getCode() { @SuppressWarnings("deprecation") cz.proto.ingestion.Ingestion.Code result = cz.proto.ingestion.Ingestion.Code.valueOf(code_); return result == null ? cz.proto.ingestion.Ingestion.Code.UNRECOGNIZED : result; } public static final int MESSAGE_FIELD_NUMBER = 2; private volatile java.lang.Object message_; /** * string message = 2; * @return The message. */ @java.lang.Override public java.lang.String getMessage() { java.lang.Object ref = message_; 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(); message_ = s; return s; } } /** * string message = 2; * @return The bytes for message. */ @java.lang.Override public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = 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.Ingestion.Code.SUCCESS.getNumber()) { output.writeEnum(1, code_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_); } 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.Ingestion.Code.SUCCESS.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, code_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); } 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.Ingestion.MutateRowStatus)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.MutateRowStatus other = (cz.proto.ingestion.Ingestion.MutateRowStatus) obj; if (code_ != other.code_) return false; if (!getMessage() .equals(other.getMessage())) 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) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().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.Ingestion.MutateRowStatus parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.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.Ingestion.MutateRowStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.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.Ingestion.MutateRowStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.MutateRowStatus parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.MutateRowStatus parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.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.Ingestion.MutateRowStatus parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.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.Ingestion.MutateRowStatus parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.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.Ingestion.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.MutateRowStatus} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.MutateRowStatus) cz.proto.ingestion.Ingestion.MutateRowStatusOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_MutateRowStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_MutateRowStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.MutateRowStatus.class, cz.proto.ingestion.Ingestion.MutateRowStatus.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.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; message_ = ""; rowIndex_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_MutateRowStatus_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.MutateRowStatus getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.MutateRowStatus.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.MutateRowStatus build() { cz.proto.ingestion.Ingestion.MutateRowStatus result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.MutateRowStatus buildPartial() { cz.proto.ingestion.Ingestion.MutateRowStatus result = new cz.proto.ingestion.Ingestion.MutateRowStatus(this); result.code_ = code_; result.message_ = message_; 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.Ingestion.MutateRowStatus) { return mergeFrom((cz.proto.ingestion.Ingestion.MutateRowStatus)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.MutateRowStatus other) { if (other == cz.proto.ingestion.Ingestion.MutateRowStatus.getDefaultInstance()) return this; if (other.code_ != 0) { setCodeValue(other.getCodeValue()); } if (!other.getMessage().isEmpty()) { message_ = other.message_; 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.Ingestion.MutateRowStatus parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.MutateRowStatus) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int code_ = 0; /** * .cz.proto.ingestion.Code code = 1; * @return The enum numeric value on the wire for code. */ @java.lang.Override public int getCodeValue() { return code_; } /** * .cz.proto.ingestion.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.Code code = 1; * @return The code. */ @java.lang.Override public cz.proto.ingestion.Ingestion.Code getCode() { @SuppressWarnings("deprecation") cz.proto.ingestion.Ingestion.Code result = cz.proto.ingestion.Ingestion.Code.valueOf(code_); return result == null ? cz.proto.ingestion.Ingestion.Code.UNRECOGNIZED : result; } /** * .cz.proto.ingestion.Code code = 1; * @param value The code to set. * @return This builder for chaining. */ public Builder setCode(cz.proto.ingestion.Ingestion.Code value) { if (value == null) { throw new NullPointerException(); } code_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.ingestion.Code code = 1; * @return This builder for chaining. */ public Builder clearCode() { code_ = 0; onChanged(); return this; } private java.lang.Object message_ = ""; /** * string message = 2; * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } else { return (java.lang.String) ref; } } /** * string message = 2; * @return The bytes for message. */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string message = 2; * @param value The message to set. * @return This builder for chaining. */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); return this; } /** * string message = 2; * @return This builder for chaining. */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** * string message = 2; * @param value The bytes for message to set. * @return This builder for chaining. */ public Builder setMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = 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.MutateRowStatus) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.MutateRowStatus) private static final cz.proto.ingestion.Ingestion.MutateRowStatus DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.MutateRowStatus(); } public static cz.proto.ingestion.Ingestion.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.Ingestion.MutateRowStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ResponseStatusOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.ResponseStatus) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.Code code = 1; * @return The enum numeric value on the wire for code. */ int getCodeValue(); /** * .cz.proto.ingestion.Code code = 1; * @return The code. */ cz.proto.ingestion.Ingestion.Code getCode(); /** * string message = 2; * @return The message. */ java.lang.String getMessage(); /** * string message = 2; * @return The bytes for message. */ com.google.protobuf.ByteString getMessageBytes(); /** * 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.ResponseStatus} */ public static final class ResponseStatus extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.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; message_ = ""; 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(); message_ = 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.Ingestion.internal_static_cz_proto_ingestion_ResponseStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_ResponseStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.ResponseStatus.class, cz.proto.ingestion.Ingestion.ResponseStatus.Builder.class); } public static final int CODE_FIELD_NUMBER = 1; private int code_; /** * .cz.proto.ingestion.Code code = 1; * @return The enum numeric value on the wire for code. */ @java.lang.Override public int getCodeValue() { return code_; } /** * .cz.proto.ingestion.Code code = 1; * @return The code. */ @java.lang.Override public cz.proto.ingestion.Ingestion.Code getCode() { @SuppressWarnings("deprecation") cz.proto.ingestion.Ingestion.Code result = cz.proto.ingestion.Ingestion.Code.valueOf(code_); return result == null ? cz.proto.ingestion.Ingestion.Code.UNRECOGNIZED : result; } public static final int MESSAGE_FIELD_NUMBER = 2; private volatile java.lang.Object message_; /** * string message = 2; * @return The message. */ @java.lang.Override public java.lang.String getMessage() { java.lang.Object ref = message_; 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(); message_ = s; return s; } } /** * string message = 2; * @return The bytes for message. */ @java.lang.Override public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = 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.Ingestion.Code.SUCCESS.getNumber()) { output.writeEnum(1, code_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_); } 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.Ingestion.Code.SUCCESS.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, code_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); } 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.Ingestion.ResponseStatus)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.ResponseStatus other = (cz.proto.ingestion.Ingestion.ResponseStatus) obj; if (code_ != other.code_) return false; if (!getMessage() .equals(other.getMessage())) 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) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().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.Ingestion.ResponseStatus parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.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.Ingestion.ResponseStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.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.Ingestion.ResponseStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.ResponseStatus parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.ResponseStatus parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.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.Ingestion.ResponseStatus parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.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.Ingestion.ResponseStatus parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.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.Ingestion.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.ResponseStatus} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.ResponseStatus) cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_ResponseStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_ResponseStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.ResponseStatus.class, cz.proto.ingestion.Ingestion.ResponseStatus.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.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; message_ = ""; requestId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_ResponseStatus_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.ResponseStatus getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.ResponseStatus build() { cz.proto.ingestion.Ingestion.ResponseStatus result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.ResponseStatus buildPartial() { cz.proto.ingestion.Ingestion.ResponseStatus result = new cz.proto.ingestion.Ingestion.ResponseStatus(this); result.code_ = code_; result.message_ = message_; 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.Ingestion.ResponseStatus) { return mergeFrom((cz.proto.ingestion.Ingestion.ResponseStatus)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.ResponseStatus other) { if (other == cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance()) return this; if (other.code_ != 0) { setCodeValue(other.getCodeValue()); } if (!other.getMessage().isEmpty()) { message_ = other.message_; 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.Ingestion.ResponseStatus parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.ResponseStatus) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int code_ = 0; /** * .cz.proto.ingestion.Code code = 1; * @return The enum numeric value on the wire for code. */ @java.lang.Override public int getCodeValue() { return code_; } /** * .cz.proto.ingestion.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.Code code = 1; * @return The code. */ @java.lang.Override public cz.proto.ingestion.Ingestion.Code getCode() { @SuppressWarnings("deprecation") cz.proto.ingestion.Ingestion.Code result = cz.proto.ingestion.Ingestion.Code.valueOf(code_); return result == null ? cz.proto.ingestion.Ingestion.Code.UNRECOGNIZED : result; } /** * .cz.proto.ingestion.Code code = 1; * @param value The code to set. * @return This builder for chaining. */ public Builder setCode(cz.proto.ingestion.Ingestion.Code value) { if (value == null) { throw new NullPointerException(); } code_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.ingestion.Code code = 1; * @return This builder for chaining. */ public Builder clearCode() { code_ = 0; onChanged(); return this; } private java.lang.Object message_ = ""; /** * string message = 2; * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } else { return (java.lang.String) ref; } } /** * string message = 2; * @return The bytes for message. */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string message = 2; * @param value The message to set. * @return This builder for chaining. */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); return this; } /** * string message = 2; * @return This builder for chaining. */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** * string message = 2; * @param value The bytes for message to set. * @return This builder for chaining. */ public Builder setMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = 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.ResponseStatus) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.ResponseStatus) private static final cz.proto.ingestion.Ingestion.ResponseStatus DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.ResponseStatus(); } public static cz.proto.ingestion.Ingestion.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.Ingestion.ResponseStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AccountOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.Account) com.google.protobuf.MessageOrBuilder { /** * int64 user_id = 1; * @return The userId. */ long getUserId(); /** * string user_name = 2; * @return The userName. */ java.lang.String getUserName(); /** * string user_name = 2; * @return The bytes for userName. */ com.google.protobuf.ByteString getUserNameBytes(); } /** * Protobuf type {@code cz.proto.ingestion.Account} */ public static final class Account extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.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() { userName_ = ""; } @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 8: { userId_ = input.readInt64(); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); userName_ = 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.Ingestion.internal_static_cz_proto_ingestion_Account_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_Account_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.Account.class, cz.proto.ingestion.Ingestion.Account.Builder.class); } public static final int USER_ID_FIELD_NUMBER = 1; private long userId_; /** * int64 user_id = 1; * @return The userId. */ @java.lang.Override public long getUserId() { return userId_; } public static final int USER_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object userName_; /** * string user_name = 2; * @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 = 2; * @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; } } 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 (userId_ != 0L) { output.writeInt64(1, userId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, userName_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (userId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, userId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, userName_); } 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.Ingestion.Account)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.Account other = (cz.proto.ingestion.Ingestion.Account) obj; if (getUserId() != other.getUserId()) return false; if (!getUserName() .equals(other.getUserName())) 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) + USER_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getUserId()); hash = (37 * hash) + USER_NAME_FIELD_NUMBER; hash = (53 * hash) + getUserName().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.Ingestion.Account parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.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.Ingestion.Account parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.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.Ingestion.Account parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.Account parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.Account parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.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.Ingestion.Account parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.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.Ingestion.Account parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.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.Ingestion.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.Account} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.Account) cz.proto.ingestion.Ingestion.AccountOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_Account_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_Account_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.Account.class, cz.proto.ingestion.Ingestion.Account.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.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(); userId_ = 0L; userName_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_Account_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.Account getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.Account.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.Account build() { cz.proto.ingestion.Ingestion.Account result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.Account buildPartial() { cz.proto.ingestion.Ingestion.Account result = new cz.proto.ingestion.Ingestion.Account(this); result.userId_ = userId_; result.userName_ = userName_; 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.Ingestion.Account) { return mergeFrom((cz.proto.ingestion.Ingestion.Account)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.Account other) { if (other == cz.proto.ingestion.Ingestion.Account.getDefaultInstance()) return this; if (other.getUserId() != 0L) { setUserId(other.getUserId()); } if (!other.getUserName().isEmpty()) { userName_ = other.userName_; 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.Ingestion.Account parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.Account) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long userId_ ; /** * int64 user_id = 1; * @return The userId. */ @java.lang.Override public long getUserId() { return userId_; } /** * int64 user_id = 1; * @param value The userId to set. * @return This builder for chaining. */ public Builder setUserId(long value) { userId_ = value; onChanged(); return this; } /** * int64 user_id = 1; * @return This builder for chaining. */ public Builder clearUserId() { userId_ = 0L; onChanged(); return this; } private java.lang.Object userName_ = ""; /** * string user_name = 2; * @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 = 2; * @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 = 2; * @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 = 2; * @return This builder for chaining. */ public Builder clearUserName() { userName_ = getDefaultInstance().getUserName(); onChanged(); return this; } /** * string user_name = 2; * @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; } @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.Account) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.Account) private static final cz.proto.ingestion.Ingestion.Account DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.Account(); } public static cz.proto.ingestion.Ingestion.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.Ingestion.Account getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetMutateWorkersRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.GetMutateWorkersRequest) com.google.protobuf.MessageOrBuilder { /** * int64 table_id = 1; * @return The tableId. */ long getTableId(); /** * string schema_name = 2; * @return The schemaName. */ java.lang.String getSchemaName(); /** * string schema_name = 2; * @return The bytes for schemaName. */ com.google.protobuf.ByteString getSchemaNameBytes(); /** * string table_name = 3; * @return The tableName. */ java.lang.String getTableName(); /** * string table_name = 3; * @return The bytes for tableName. */ com.google.protobuf.ByteString getTableNameBytes(); /** * .cz.proto.ingestion.ConnectMode connect_mode = 4; * @return The enum numeric value on the wire for connectMode. */ int getConnectModeValue(); /** * .cz.proto.ingestion.ConnectMode connect_mode = 4; * @return The connectMode. */ cz.proto.ingestion.Ingestion.ConnectMode getConnectMode(); /** * repeated int64 tablet_id = 5; * @return A list containing the tabletId. */ java.util.List getTabletIdList(); /** * repeated int64 tablet_id = 5; * @return The count of tabletId. */ int getTabletIdCount(); /** * repeated int64 tablet_id = 5; * @param index The index of the element to return. * @return The tabletId at the given index. */ long getTabletId(int index); /** * int64 instance_id = 6; * @return The instanceId. */ long getInstanceId(); } /** * Protobuf type {@code cz.proto.ingestion.GetMutateWorkersRequest} */ public static final class GetMutateWorkersRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.GetMutateWorkersRequest) GetMutateWorkersRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetMutateWorkersRequest.newBuilder() to construct. private GetMutateWorkersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetMutateWorkersRequest() { schemaName_ = ""; tableName_ = ""; connectMode_ = 0; tabletId_ = emptyLongList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetMutateWorkersRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetMutateWorkersRequest( 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: { tableId_ = input.readInt64(); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); schemaName_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); tableName_ = s; break; } case 32: { int rawValue = input.readEnum(); connectMode_ = rawValue; break; } case 40: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { tabletId_ = newLongList(); mutable_bitField0_ |= 0x00000001; } tabletId_.addLong(input.readInt64()); break; } case 42: { 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; } case 48: { instanceId_ = 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 { 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.Ingestion.internal_static_cz_proto_ingestion_GetMutateWorkersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetMutateWorkersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.GetMutateWorkersRequest.class, cz.proto.ingestion.Ingestion.GetMutateWorkersRequest.Builder.class); } public static final int TABLE_ID_FIELD_NUMBER = 1; private long tableId_; /** * int64 table_id = 1; * @return The tableId. */ @java.lang.Override public long getTableId() { return tableId_; } public static final int SCHEMA_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object schemaName_; /** * string schema_name = 2; * @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 = 2; * @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 = 3; private volatile java.lang.Object tableName_; /** * string table_name = 3; * @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 = 3; * @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; } } public static final int CONNECT_MODE_FIELD_NUMBER = 4; private int connectMode_; /** * .cz.proto.ingestion.ConnectMode connect_mode = 4; * @return The enum numeric value on the wire for connectMode. */ @java.lang.Override public int getConnectModeValue() { return connectMode_; } /** * .cz.proto.ingestion.ConnectMode connect_mode = 4; * @return The connectMode. */ @java.lang.Override public cz.proto.ingestion.Ingestion.ConnectMode getConnectMode() { @SuppressWarnings("deprecation") cz.proto.ingestion.Ingestion.ConnectMode result = cz.proto.ingestion.Ingestion.ConnectMode.valueOf(connectMode_); return result == null ? cz.proto.ingestion.Ingestion.ConnectMode.UNRECOGNIZED : result; } public static final int TABLET_ID_FIELD_NUMBER = 5; private com.google.protobuf.Internal.LongList tabletId_; /** * repeated int64 tablet_id = 5; * @return A list containing the tabletId. */ @java.lang.Override public java.util.List getTabletIdList() { return tabletId_; } /** * repeated int64 tablet_id = 5; * @return The count of tabletId. */ public int getTabletIdCount() { return tabletId_.size(); } /** * repeated int64 tablet_id = 5; * @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 INSTANCE_ID_FIELD_NUMBER = 6; private long instanceId_; /** * int64 instance_id = 6; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } 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 (tableId_ != 0L) { output.writeInt64(1, tableId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, schemaName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tableName_); } if (connectMode_ != cz.proto.ingestion.Ingestion.ConnectMode.DIRECT.getNumber()) { output.writeEnum(4, connectMode_); } if (getTabletIdList().size() > 0) { output.writeUInt32NoTag(42); output.writeUInt32NoTag(tabletIdMemoizedSerializedSize); } for (int i = 0; i < tabletId_.size(); i++) { output.writeInt64NoTag(tabletId_.getLong(i)); } if (instanceId_ != 0L) { output.writeInt64(6, instanceId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (tableId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, tableId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(schemaName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, schemaName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, tableName_); } if (connectMode_ != cz.proto.ingestion.Ingestion.ConnectMode.DIRECT.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, 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; } if (instanceId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, instanceId_); } 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.Ingestion.GetMutateWorkersRequest)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.GetMutateWorkersRequest other = (cz.proto.ingestion.Ingestion.GetMutateWorkersRequest) obj; if (getTableId() != other.getTableId()) return false; if (!getSchemaName() .equals(other.getSchemaName())) return false; if (!getTableName() .equals(other.getTableName())) return false; if (connectMode_ != other.connectMode_) return false; if (!getTabletIdList() .equals(other.getTabletIdList())) return false; if (getInstanceId() != other.getInstanceId()) 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) + TABLE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTableId()); 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 = (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 = (37 * hash) + INSTANCE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getInstanceId()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.Ingestion.GetMutateWorkersRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetMutateWorkersRequest 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.Ingestion.GetMutateWorkersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetMutateWorkersRequest 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.Ingestion.GetMutateWorkersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetMutateWorkersRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.GetMutateWorkersRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetMutateWorkersRequest 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.Ingestion.GetMutateWorkersRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetMutateWorkersRequest 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.Ingestion.GetMutateWorkersRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetMutateWorkersRequest 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.Ingestion.GetMutateWorkersRequest 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.GetMutateWorkersRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.GetMutateWorkersRequest) cz.proto.ingestion.Ingestion.GetMutateWorkersRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetMutateWorkersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetMutateWorkersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.GetMutateWorkersRequest.class, cz.proto.ingestion.Ingestion.GetMutateWorkersRequest.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.GetMutateWorkersRequest.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(); tableId_ = 0L; schemaName_ = ""; tableName_ = ""; connectMode_ = 0; tabletId_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000001); instanceId_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetMutateWorkersRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.GetMutateWorkersRequest getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.GetMutateWorkersRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.GetMutateWorkersRequest build() { cz.proto.ingestion.Ingestion.GetMutateWorkersRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.GetMutateWorkersRequest buildPartial() { cz.proto.ingestion.Ingestion.GetMutateWorkersRequest result = new cz.proto.ingestion.Ingestion.GetMutateWorkersRequest(this); int from_bitField0_ = bitField0_; result.tableId_ = tableId_; result.schemaName_ = schemaName_; result.tableName_ = tableName_; result.connectMode_ = connectMode_; if (((bitField0_ & 0x00000001) != 0)) { tabletId_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000001); } result.tabletId_ = tabletId_; result.instanceId_ = instanceId_; 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.Ingestion.GetMutateWorkersRequest) { return mergeFrom((cz.proto.ingestion.Ingestion.GetMutateWorkersRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.GetMutateWorkersRequest other) { if (other == cz.proto.ingestion.Ingestion.GetMutateWorkersRequest.getDefaultInstance()) return this; if (other.getTableId() != 0L) { setTableId(other.getTableId()); } if (!other.getSchemaName().isEmpty()) { schemaName_ = other.schemaName_; onChanged(); } if (!other.getTableName().isEmpty()) { tableName_ = other.tableName_; onChanged(); } 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(); } if (other.getInstanceId() != 0L) { setInstanceId(other.getInstanceId()); } 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.Ingestion.GetMutateWorkersRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.GetMutateWorkersRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long tableId_ ; /** * int64 table_id = 1; * @return The tableId. */ @java.lang.Override public long getTableId() { return tableId_; } /** * int64 table_id = 1; * @param value The tableId to set. * @return This builder for chaining. */ public Builder setTableId(long value) { tableId_ = value; onChanged(); return this; } /** * int64 table_id = 1; * @return This builder for chaining. */ public Builder clearTableId() { tableId_ = 0L; onChanged(); return this; } private java.lang.Object schemaName_ = ""; /** * string schema_name = 2; * @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 = 2; * @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 = 2; * @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 = 2; * @return This builder for chaining. */ public Builder clearSchemaName() { schemaName_ = getDefaultInstance().getSchemaName(); onChanged(); return this; } /** * string schema_name = 2; * @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 = 3; * @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 = 3; * @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 = 3; * @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 = 3; * @return This builder for chaining. */ public Builder clearTableName() { tableName_ = getDefaultInstance().getTableName(); onChanged(); return this; } /** * string table_name = 3; * @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; } private int connectMode_ = 0; /** * .cz.proto.ingestion.ConnectMode connect_mode = 4; * @return The enum numeric value on the wire for connectMode. */ @java.lang.Override public int getConnectModeValue() { return connectMode_; } /** * .cz.proto.ingestion.ConnectMode connect_mode = 4; * @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.ConnectMode connect_mode = 4; * @return The connectMode. */ @java.lang.Override public cz.proto.ingestion.Ingestion.ConnectMode getConnectMode() { @SuppressWarnings("deprecation") cz.proto.ingestion.Ingestion.ConnectMode result = cz.proto.ingestion.Ingestion.ConnectMode.valueOf(connectMode_); return result == null ? cz.proto.ingestion.Ingestion.ConnectMode.UNRECOGNIZED : result; } /** * .cz.proto.ingestion.ConnectMode connect_mode = 4; * @param value The connectMode to set. * @return This builder for chaining. */ public Builder setConnectMode(cz.proto.ingestion.Ingestion.ConnectMode value) { if (value == null) { throw new NullPointerException(); } connectMode_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.ingestion.ConnectMode connect_mode = 4; * @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 = 5; * @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 = 5; * @return The count of tabletId. */ public int getTabletIdCount() { return tabletId_.size(); } /** * repeated int64 tablet_id = 5; * @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 = 5; * @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 = 5; * @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 = 5; * @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 = 5; * @return This builder for chaining. */ public Builder clearTabletId() { tabletId_ = emptyLongList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } private long instanceId_ ; /** * int64 instance_id = 6; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } /** * int64 instance_id = 6; * @param value The instanceId to set. * @return This builder for chaining. */ public Builder setInstanceId(long value) { instanceId_ = value; onChanged(); return this; } /** * int64 instance_id = 6; * @return This builder for chaining. */ public Builder clearInstanceId() { instanceId_ = 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.GetMutateWorkersRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.GetMutateWorkersRequest) private static final cz.proto.ingestion.Ingestion.GetMutateWorkersRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.GetMutateWorkersRequest(); } public static cz.proto.ingestion.Ingestion.GetMutateWorkersRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetMutateWorkersRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetMutateWorkersRequest(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.Ingestion.GetMutateWorkersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetMutateWorkersResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.GetMutateWorkersResponse) com.google.protobuf.MessageOrBuilder { /** * repeated .cz.proto.ingestion.HostPortTuple tuple = 1; */ java.util.List getTupleList(); /** * repeated .cz.proto.ingestion.HostPortTuple tuple = 1; */ cz.proto.ingestion.Ingestion.HostPortTuple getTuple(int index); /** * repeated .cz.proto.ingestion.HostPortTuple tuple = 1; */ int getTupleCount(); /** * repeated .cz.proto.ingestion.HostPortTuple tuple = 1; */ java.util.List getTupleOrBuilderList(); /** * repeated .cz.proto.ingestion.HostPortTuple tuple = 1; */ cz.proto.ingestion.Ingestion.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.ResponseStatus status = 3; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 3; * @return The status. */ cz.proto.ingestion.Ingestion.ResponseStatus getStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 3; */ cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.GetMutateWorkersResponse} */ public static final class GetMutateWorkersResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.GetMutateWorkersResponse) GetMutateWorkersResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetMutateWorkersResponse.newBuilder() to construct. private GetMutateWorkersResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetMutateWorkersResponse() { tuple_ = java.util.Collections.emptyList(); tabletId_ = emptyLongList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetMutateWorkersResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetMutateWorkersResponse( 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.Ingestion.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.Ingestion.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.Ingestion.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.Ingestion.internal_static_cz_proto_ingestion_GetMutateWorkersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetMutateWorkersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.GetMutateWorkersResponse.class, cz.proto.ingestion.Ingestion.GetMutateWorkersResponse.Builder.class); } public static final int TUPLE_FIELD_NUMBER = 1; private java.util.List tuple_; /** * repeated .cz.proto.ingestion.HostPortTuple tuple = 1; */ @java.lang.Override public java.util.List getTupleList() { return tuple_; } /** * repeated .cz.proto.ingestion.HostPortTuple tuple = 1; */ @java.lang.Override public java.util.List getTupleOrBuilderList() { return tuple_; } /** * repeated .cz.proto.ingestion.HostPortTuple tuple = 1; */ @java.lang.Override public int getTupleCount() { return tuple_.size(); } /** * repeated .cz.proto.ingestion.HostPortTuple tuple = 1; */ @java.lang.Override public cz.proto.ingestion.Ingestion.HostPortTuple getTuple(int index) { return tuple_.get(index); } /** * repeated .cz.proto.ingestion.HostPortTuple tuple = 1; */ @java.lang.Override public cz.proto.ingestion.Ingestion.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.Ingestion.ResponseStatus status_; /** * .cz.proto.ingestion.ResponseStatus status = 3; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 3; * @return The status. */ @java.lang.Override public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ @java.lang.Override public cz.proto.ingestion.Ingestion.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.Ingestion.GetMutateWorkersResponse)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.GetMutateWorkersResponse other = (cz.proto.ingestion.Ingestion.GetMutateWorkersResponse) 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.Ingestion.GetMutateWorkersResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetMutateWorkersResponse 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.Ingestion.GetMutateWorkersResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetMutateWorkersResponse 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.Ingestion.GetMutateWorkersResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GetMutateWorkersResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.GetMutateWorkersResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetMutateWorkersResponse 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.Ingestion.GetMutateWorkersResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetMutateWorkersResponse 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.Ingestion.GetMutateWorkersResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GetMutateWorkersResponse 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.Ingestion.GetMutateWorkersResponse 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.GetMutateWorkersResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.GetMutateWorkersResponse) cz.proto.ingestion.Ingestion.GetMutateWorkersResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetMutateWorkersResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GetMutateWorkersResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.GetMutateWorkersResponse.class, cz.proto.ingestion.Ingestion.GetMutateWorkersResponse.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.GetMutateWorkersResponse.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.Ingestion.internal_static_cz_proto_ingestion_GetMutateWorkersResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.GetMutateWorkersResponse getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.GetMutateWorkersResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.GetMutateWorkersResponse build() { cz.proto.ingestion.Ingestion.GetMutateWorkersResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.GetMutateWorkersResponse buildPartial() { cz.proto.ingestion.Ingestion.GetMutateWorkersResponse result = new cz.proto.ingestion.Ingestion.GetMutateWorkersResponse(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.Ingestion.GetMutateWorkersResponse) { return mergeFrom((cz.proto.ingestion.Ingestion.GetMutateWorkersResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.GetMutateWorkersResponse other) { if (other == cz.proto.ingestion.Ingestion.GetMutateWorkersResponse.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.Ingestion.GetMutateWorkersResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.GetMutateWorkersResponse) 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.Ingestion.HostPortTuple, cz.proto.ingestion.Ingestion.HostPortTuple.Builder, cz.proto.ingestion.Ingestion.HostPortTupleOrBuilder> tupleBuilder_; /** * repeated .cz.proto.ingestion.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.HostPortTuple tuple = 1; */ public int getTupleCount() { if (tupleBuilder_ == null) { return tuple_.size(); } else { return tupleBuilder_.getCount(); } } /** * repeated .cz.proto.ingestion.HostPortTuple tuple = 1; */ public cz.proto.ingestion.Ingestion.HostPortTuple getTuple(int index) { if (tupleBuilder_ == null) { return tuple_.get(index); } else { return tupleBuilder_.getMessage(index); } } /** * repeated .cz.proto.ingestion.HostPortTuple tuple = 1; */ public Builder setTuple( int index, cz.proto.ingestion.Ingestion.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.HostPortTuple tuple = 1; */ public Builder setTuple( int index, cz.proto.ingestion.Ingestion.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.HostPortTuple tuple = 1; */ public Builder addTuple(cz.proto.ingestion.Ingestion.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.HostPortTuple tuple = 1; */ public Builder addTuple( int index, cz.proto.ingestion.Ingestion.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.HostPortTuple tuple = 1; */ public Builder addTuple( cz.proto.ingestion.Ingestion.HostPortTuple.Builder builderForValue) { if (tupleBuilder_ == null) { ensureTupleIsMutable(); tuple_.add(builderForValue.build()); onChanged(); } else { tupleBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.ingestion.HostPortTuple tuple = 1; */ public Builder addTuple( int index, cz.proto.ingestion.Ingestion.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.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.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.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.HostPortTuple tuple = 1; */ public cz.proto.ingestion.Ingestion.HostPortTuple.Builder getTupleBuilder( int index) { return getTupleFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.ingestion.HostPortTuple tuple = 1; */ public cz.proto.ingestion.Ingestion.HostPortTupleOrBuilder getTupleOrBuilder( int index) { if (tupleBuilder_ == null) { return tuple_.get(index); } else { return tupleBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.ingestion.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.HostPortTuple tuple = 1; */ public cz.proto.ingestion.Ingestion.HostPortTuple.Builder addTupleBuilder() { return getTupleFieldBuilder().addBuilder( cz.proto.ingestion.Ingestion.HostPortTuple.getDefaultInstance()); } /** * repeated .cz.proto.ingestion.HostPortTuple tuple = 1; */ public cz.proto.ingestion.Ingestion.HostPortTuple.Builder addTupleBuilder( int index) { return getTupleFieldBuilder().addBuilder( index, cz.proto.ingestion.Ingestion.HostPortTuple.getDefaultInstance()); } /** * repeated .cz.proto.ingestion.HostPortTuple tuple = 1; */ public java.util.List getTupleBuilderList() { return getTupleFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.Ingestion.HostPortTuple, cz.proto.ingestion.Ingestion.HostPortTuple.Builder, cz.proto.ingestion.Ingestion.HostPortTupleOrBuilder> getTupleFieldBuilder() { if (tupleBuilder_ == null) { tupleBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.ingestion.Ingestion.HostPortTuple, cz.proto.ingestion.Ingestion.HostPortTuple.Builder, cz.proto.ingestion.Ingestion.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.Ingestion.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.ResponseStatus status = 3; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 3; * @return The status. */ public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ public Builder setStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ public Builder setStatus( cz.proto.ingestion.Ingestion.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ public Builder mergeStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.Ingestion.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ public cz.proto.ingestion.Ingestion.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ public cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.ResponseStatus status = 3; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.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.GetMutateWorkersResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.GetMutateWorkersResponse) private static final cz.proto.ingestion.Ingestion.GetMutateWorkersResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.GetMutateWorkersResponse(); } public static cz.proto.ingestion.Ingestion.GetMutateWorkersResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetMutateWorkersResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetMutateWorkersResponse(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.Ingestion.GetMutateWorkersResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FlushTabletRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.FlushTabletRequest) com.google.protobuf.MessageOrBuilder { /** * string schema_name = 1; * @return The schemaName. */ java.lang.String getSchemaName(); /** * string schema_name = 1; * @return The bytes for schemaName. */ com.google.protobuf.ByteString getSchemaNameBytes(); /** * string table_name = 2; * @return The tableName. */ java.lang.String getTableName(); /** * string table_name = 2; * @return The bytes for tableName. */ com.google.protobuf.ByteString getTableNameBytes(); /** * int64 tablet_id = 3; * @return The tabletId. */ long getTabletId(); /** * int64 table_id = 4; * @return The tableId. */ long getTableId(); /** * int64 instance_id = 5; * @return The instanceId. */ long getInstanceId(); } /** * Protobuf type {@code cz.proto.ingestion.FlushTabletRequest} */ public static final class FlushTabletRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.FlushTabletRequest) FlushTabletRequestOrBuilder { private static final long serialVersionUID = 0L; // Use FlushTabletRequest.newBuilder() to construct. private FlushTabletRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FlushTabletRequest() { schemaName_ = ""; tableName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new FlushTabletRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private FlushTabletRequest( 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(); schemaName_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); tableName_ = s; break; } case 24: { tabletId_ = input.readInt64(); break; } case 32: { tableId_ = input.readInt64(); break; } case 40: { instanceId_ = 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.Ingestion.internal_static_cz_proto_ingestion_FlushTabletRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_FlushTabletRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.FlushTabletRequest.class, cz.proto.ingestion.Ingestion.FlushTabletRequest.Builder.class); } public static final int SCHEMA_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object schemaName_; /** * string schema_name = 1; * @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 = 1; * @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 = 2; private volatile java.lang.Object tableName_; /** * string table_name = 2; * @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 = 2; * @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; } } public static final int TABLET_ID_FIELD_NUMBER = 3; private long tabletId_; /** * int64 tablet_id = 3; * @return The tabletId. */ @java.lang.Override public long getTabletId() { return tabletId_; } public static final int TABLE_ID_FIELD_NUMBER = 4; private long tableId_; /** * int64 table_id = 4; * @return The tableId. */ @java.lang.Override public long getTableId() { return tableId_; } public static final int INSTANCE_ID_FIELD_NUMBER = 5; private long instanceId_; /** * int64 instance_id = 5; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } 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(schemaName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, schemaName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, tableName_); } if (tabletId_ != 0L) { output.writeInt64(3, tabletId_); } if (tableId_ != 0L) { output.writeInt64(4, tableId_); } if (instanceId_ != 0L) { output.writeInt64(5, instanceId_); } 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(schemaName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, schemaName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(tableName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tableName_); } if (tabletId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, tabletId_); } if (tableId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, tableId_); } if (instanceId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, instanceId_); } 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.Ingestion.FlushTabletRequest)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.FlushTabletRequest other = (cz.proto.ingestion.Ingestion.FlushTabletRequest) obj; if (!getSchemaName() .equals(other.getSchemaName())) return false; if (!getTableName() .equals(other.getTableName())) return false; if (getTabletId() != other.getTabletId()) return false; if (getTableId() != other.getTableId()) return false; if (getInstanceId() != other.getInstanceId()) 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) + SCHEMA_NAME_FIELD_NUMBER; hash = (53 * hash) + getSchemaName().hashCode(); hash = (37 * hash) + TABLE_NAME_FIELD_NUMBER; hash = (53 * hash) + getTableName().hashCode(); hash = (37 * hash) + TABLET_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTabletId()); hash = (37 * hash) + TABLE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTableId()); hash = (37 * hash) + INSTANCE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getInstanceId()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.Ingestion.FlushTabletRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.FlushTabletRequest 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.Ingestion.FlushTabletRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.FlushTabletRequest 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.Ingestion.FlushTabletRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.FlushTabletRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.FlushTabletRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.FlushTabletRequest 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.Ingestion.FlushTabletRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.FlushTabletRequest 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.Ingestion.FlushTabletRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.FlushTabletRequest 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.Ingestion.FlushTabletRequest 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.FlushTabletRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.FlushTabletRequest) cz.proto.ingestion.Ingestion.FlushTabletRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_FlushTabletRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_FlushTabletRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.FlushTabletRequest.class, cz.proto.ingestion.Ingestion.FlushTabletRequest.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.FlushTabletRequest.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(); schemaName_ = ""; tableName_ = ""; tabletId_ = 0L; tableId_ = 0L; instanceId_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_FlushTabletRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.FlushTabletRequest getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.FlushTabletRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.FlushTabletRequest build() { cz.proto.ingestion.Ingestion.FlushTabletRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.FlushTabletRequest buildPartial() { cz.proto.ingestion.Ingestion.FlushTabletRequest result = new cz.proto.ingestion.Ingestion.FlushTabletRequest(this); result.schemaName_ = schemaName_; result.tableName_ = tableName_; result.tabletId_ = tabletId_; result.tableId_ = tableId_; result.instanceId_ = instanceId_; 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.Ingestion.FlushTabletRequest) { return mergeFrom((cz.proto.ingestion.Ingestion.FlushTabletRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.FlushTabletRequest other) { if (other == cz.proto.ingestion.Ingestion.FlushTabletRequest.getDefaultInstance()) return this; if (!other.getSchemaName().isEmpty()) { schemaName_ = other.schemaName_; onChanged(); } if (!other.getTableName().isEmpty()) { tableName_ = other.tableName_; onChanged(); } if (other.getTabletId() != 0L) { setTabletId(other.getTabletId()); } if (other.getTableId() != 0L) { setTableId(other.getTableId()); } if (other.getInstanceId() != 0L) { setInstanceId(other.getInstanceId()); } 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.Ingestion.FlushTabletRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.FlushTabletRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object schemaName_ = ""; /** * string schema_name = 1; * @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 = 1; * @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 = 1; * @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 = 1; * @return This builder for chaining. */ public Builder clearSchemaName() { schemaName_ = getDefaultInstance().getSchemaName(); onChanged(); return this; } /** * string schema_name = 1; * @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 = 2; * @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 = 2; * @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 = 2; * @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 = 2; * @return This builder for chaining. */ public Builder clearTableName() { tableName_ = getDefaultInstance().getTableName(); onChanged(); return this; } /** * string table_name = 2; * @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; } private long tabletId_ ; /** * int64 tablet_id = 3; * @return The tabletId. */ @java.lang.Override public long getTabletId() { return tabletId_; } /** * int64 tablet_id = 3; * @param value The tabletId to set. * @return This builder for chaining. */ public Builder setTabletId(long value) { tabletId_ = value; onChanged(); return this; } /** * int64 tablet_id = 3; * @return This builder for chaining. */ public Builder clearTabletId() { tabletId_ = 0L; onChanged(); return this; } private long tableId_ ; /** * int64 table_id = 4; * @return The tableId. */ @java.lang.Override public long getTableId() { return tableId_; } /** * int64 table_id = 4; * @param value The tableId to set. * @return This builder for chaining. */ public Builder setTableId(long value) { tableId_ = value; onChanged(); return this; } /** * int64 table_id = 4; * @return This builder for chaining. */ public Builder clearTableId() { tableId_ = 0L; onChanged(); return this; } private long instanceId_ ; /** * int64 instance_id = 5; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } /** * int64 instance_id = 5; * @param value The instanceId to set. * @return This builder for chaining. */ public Builder setInstanceId(long value) { instanceId_ = value; onChanged(); return this; } /** * int64 instance_id = 5; * @return This builder for chaining. */ public Builder clearInstanceId() { instanceId_ = 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.FlushTabletRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.FlushTabletRequest) private static final cz.proto.ingestion.Ingestion.FlushTabletRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.FlushTabletRequest(); } public static cz.proto.ingestion.Ingestion.FlushTabletRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public FlushTabletRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new FlushTabletRequest(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.Ingestion.FlushTabletRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FlushTabletResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.FlushTabletResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return The status. */ cz.proto.ingestion.Ingestion.ResponseStatus getStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 1; */ cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.FlushTabletResponse} */ public static final class FlushTabletResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.FlushTabletResponse) FlushTabletResponseOrBuilder { private static final long serialVersionUID = 0L; // Use FlushTabletResponse.newBuilder() to construct. private FlushTabletResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FlushTabletResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new FlushTabletResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private FlushTabletResponse( 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.Ingestion.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.Ingestion.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.Ingestion.internal_static_cz_proto_ingestion_FlushTabletResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_FlushTabletResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.FlushTabletResponse.class, cz.proto.ingestion.Ingestion.FlushTabletResponse.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private cz.proto.ingestion.Ingestion.ResponseStatus status_; /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return The status. */ @java.lang.Override public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ @java.lang.Override public cz.proto.ingestion.Ingestion.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.Ingestion.FlushTabletResponse)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.FlushTabletResponse other = (cz.proto.ingestion.Ingestion.FlushTabletResponse) 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.Ingestion.FlushTabletResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.FlushTabletResponse 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.Ingestion.FlushTabletResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.FlushTabletResponse 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.Ingestion.FlushTabletResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.FlushTabletResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.FlushTabletResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.FlushTabletResponse 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.Ingestion.FlushTabletResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.FlushTabletResponse 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.Ingestion.FlushTabletResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.FlushTabletResponse 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.Ingestion.FlushTabletResponse 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.FlushTabletResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.FlushTabletResponse) cz.proto.ingestion.Ingestion.FlushTabletResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_FlushTabletResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_FlushTabletResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.FlushTabletResponse.class, cz.proto.ingestion.Ingestion.FlushTabletResponse.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.FlushTabletResponse.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.Ingestion.internal_static_cz_proto_ingestion_FlushTabletResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.FlushTabletResponse getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.FlushTabletResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.FlushTabletResponse build() { cz.proto.ingestion.Ingestion.FlushTabletResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.FlushTabletResponse buildPartial() { cz.proto.ingestion.Ingestion.FlushTabletResponse result = new cz.proto.ingestion.Ingestion.FlushTabletResponse(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.Ingestion.FlushTabletResponse) { return mergeFrom((cz.proto.ingestion.Ingestion.FlushTabletResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.FlushTabletResponse other) { if (other == cz.proto.ingestion.Ingestion.FlushTabletResponse.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.Ingestion.FlushTabletResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.FlushTabletResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.Ingestion.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return The status. */ public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder setStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder setStatus( cz.proto.ingestion.Ingestion.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder mergeStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.Ingestion.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public cz.proto.ingestion.Ingestion.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.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.FlushTabletResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.FlushTabletResponse) private static final cz.proto.ingestion.Ingestion.FlushTabletResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.FlushTabletResponse(); } public static cz.proto.ingestion.Ingestion.FlushTabletResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public FlushTabletResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new FlushTabletResponse(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.Ingestion.FlushTabletResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface VersionInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.VersionInfo) 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(); /** * int32 version = 2; * @return The version. */ int getVersion(); } /** * Protobuf type {@code cz.proto.ingestion.VersionInfo} */ public static final class VersionInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.VersionInfo) VersionInfoOrBuilder { private static final long serialVersionUID = 0L; // Use VersionInfo.newBuilder() to construct. private VersionInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private VersionInfo() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new VersionInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private VersionInfo( 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 16: { version_ = 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.Ingestion.internal_static_cz_proto_ingestion_VersionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_VersionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.VersionInfo.class, cz.proto.ingestion.Ingestion.VersionInfo.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 VERSION_FIELD_NUMBER = 2; private int version_; /** * int32 version = 2; * @return The version. */ @java.lang.Override public int getVersion() { return version_; } 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 (version_ != 0) { output.writeInt32(2, version_); } 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 (version_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, version_); } 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.Ingestion.VersionInfo)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.VersionInfo other = (cz.proto.ingestion.Ingestion.VersionInfo) obj; if (!getName() .equals(other.getName())) return false; if (getVersion() != other.getVersion()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + getVersion(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.Ingestion.VersionInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.VersionInfo 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.Ingestion.VersionInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.VersionInfo 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.Ingestion.VersionInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.VersionInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.VersionInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.VersionInfo 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.Ingestion.VersionInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.VersionInfo 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.Ingestion.VersionInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.VersionInfo 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.Ingestion.VersionInfo 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.VersionInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.VersionInfo) cz.proto.ingestion.Ingestion.VersionInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_VersionInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_VersionInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.VersionInfo.class, cz.proto.ingestion.Ingestion.VersionInfo.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.VersionInfo.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_ = ""; version_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_VersionInfo_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.VersionInfo getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.VersionInfo.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.VersionInfo build() { cz.proto.ingestion.Ingestion.VersionInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.VersionInfo buildPartial() { cz.proto.ingestion.Ingestion.VersionInfo result = new cz.proto.ingestion.Ingestion.VersionInfo(this); result.name_ = name_; result.version_ = version_; 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.Ingestion.VersionInfo) { return mergeFrom((cz.proto.ingestion.Ingestion.VersionInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.VersionInfo other) { if (other == cz.proto.ingestion.Ingestion.VersionInfo.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (other.getVersion() != 0) { setVersion(other.getVersion()); } 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.Ingestion.VersionInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.VersionInfo) 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 int version_ ; /** * int32 version = 2; * @return The version. */ @java.lang.Override public int getVersion() { return version_; } /** * int32 version = 2; * @param value The version to set. * @return This builder for chaining. */ public Builder setVersion(int value) { version_ = value; onChanged(); return this; } /** * int32 version = 2; * @return This builder for chaining. */ public Builder clearVersion() { version_ = 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.VersionInfo) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.VersionInfo) private static final cz.proto.ingestion.Ingestion.VersionInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.VersionInfo(); } public static cz.proto.ingestion.Ingestion.VersionInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public VersionInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new VersionInfo(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.Ingestion.VersionInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GatewayRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.GatewayRequest) com.google.protobuf.MessageOrBuilder { /** * int32 methodEnumValue = 1; * @return The methodEnumValue. */ int getMethodEnumValue(); /** * string message = 2; * @return The message. */ java.lang.String getMessage(); /** * string message = 2; * @return The bytes for message. */ com.google.protobuf.ByteString getMessageBytes(); /** * int64 instanceId = 3; * @return The instanceId. */ long getInstanceId(); /** * int64 userId = 4; * @return The userId. */ long getUserId(); /** * .cz.proto.ingestion.VersionInfo versionInfo = 5; * @return Whether the versionInfo field is set. */ boolean hasVersionInfo(); /** * .cz.proto.ingestion.VersionInfo versionInfo = 5; * @return The versionInfo. */ cz.proto.ingestion.Ingestion.VersionInfo getVersionInfo(); /** * .cz.proto.ingestion.VersionInfo versionInfo = 5; */ cz.proto.ingestion.Ingestion.VersionInfoOrBuilder getVersionInfoOrBuilder(); } /** * Protobuf type {@code cz.proto.ingestion.GatewayRequest} */ public static final class GatewayRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.GatewayRequest) GatewayRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GatewayRequest.newBuilder() to construct. private GatewayRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GatewayRequest() { message_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GatewayRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GatewayRequest( 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: { methodEnumValue_ = input.readInt32(); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); message_ = s; break; } case 24: { instanceId_ = input.readInt64(); break; } case 32: { userId_ = input.readInt64(); break; } case 42: { cz.proto.ingestion.Ingestion.VersionInfo.Builder subBuilder = null; if (versionInfo_ != null) { subBuilder = versionInfo_.toBuilder(); } versionInfo_ = input.readMessage(cz.proto.ingestion.Ingestion.VersionInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(versionInfo_); versionInfo_ = 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.Ingestion.internal_static_cz_proto_ingestion_GatewayRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GatewayRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.GatewayRequest.class, cz.proto.ingestion.Ingestion.GatewayRequest.Builder.class); } public static final int METHODENUMVALUE_FIELD_NUMBER = 1; private int methodEnumValue_; /** * int32 methodEnumValue = 1; * @return The methodEnumValue. */ @java.lang.Override public int getMethodEnumValue() { return methodEnumValue_; } public static final int MESSAGE_FIELD_NUMBER = 2; private volatile java.lang.Object message_; /** * string message = 2; * @return The message. */ @java.lang.Override public java.lang.String getMessage() { java.lang.Object ref = message_; 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(); message_ = s; return s; } } /** * string message = 2; * @return The bytes for message. */ @java.lang.Override public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int INSTANCEID_FIELD_NUMBER = 3; private long instanceId_; /** * int64 instanceId = 3; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } public static final int USERID_FIELD_NUMBER = 4; private long userId_; /** * int64 userId = 4; * @return The userId. */ @java.lang.Override public long getUserId() { return userId_; } public static final int VERSIONINFO_FIELD_NUMBER = 5; private cz.proto.ingestion.Ingestion.VersionInfo versionInfo_; /** * .cz.proto.ingestion.VersionInfo versionInfo = 5; * @return Whether the versionInfo field is set. */ @java.lang.Override public boolean hasVersionInfo() { return versionInfo_ != null; } /** * .cz.proto.ingestion.VersionInfo versionInfo = 5; * @return The versionInfo. */ @java.lang.Override public cz.proto.ingestion.Ingestion.VersionInfo getVersionInfo() { return versionInfo_ == null ? cz.proto.ingestion.Ingestion.VersionInfo.getDefaultInstance() : versionInfo_; } /** * .cz.proto.ingestion.VersionInfo versionInfo = 5; */ @java.lang.Override public cz.proto.ingestion.Ingestion.VersionInfoOrBuilder getVersionInfoOrBuilder() { return getVersionInfo(); } 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 (methodEnumValue_ != 0) { output.writeInt32(1, methodEnumValue_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_); } if (instanceId_ != 0L) { output.writeInt64(3, instanceId_); } if (userId_ != 0L) { output.writeInt64(4, userId_); } if (versionInfo_ != null) { output.writeMessage(5, getVersionInfo()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (methodEnumValue_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(1, methodEnumValue_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); } if (instanceId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, instanceId_); } if (userId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, userId_); } if (versionInfo_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getVersionInfo()); } 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.Ingestion.GatewayRequest)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.GatewayRequest other = (cz.proto.ingestion.Ingestion.GatewayRequest) obj; if (getMethodEnumValue() != other.getMethodEnumValue()) return false; if (!getMessage() .equals(other.getMessage())) return false; if (getInstanceId() != other.getInstanceId()) return false; if (getUserId() != other.getUserId()) return false; if (hasVersionInfo() != other.hasVersionInfo()) return false; if (hasVersionInfo()) { if (!getVersionInfo() .equals(other.getVersionInfo())) 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) + METHODENUMVALUE_FIELD_NUMBER; hash = (53 * hash) + getMethodEnumValue(); hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); hash = (37 * hash) + INSTANCEID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getInstanceId()); hash = (37 * hash) + USERID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getUserId()); if (hasVersionInfo()) { hash = (37 * hash) + VERSIONINFO_FIELD_NUMBER; hash = (53 * hash) + getVersionInfo().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.Ingestion.GatewayRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GatewayRequest 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.Ingestion.GatewayRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GatewayRequest 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.Ingestion.GatewayRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GatewayRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.GatewayRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GatewayRequest 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.Ingestion.GatewayRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GatewayRequest 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.Ingestion.GatewayRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GatewayRequest 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.Ingestion.GatewayRequest 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.GatewayRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.GatewayRequest) cz.proto.ingestion.Ingestion.GatewayRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GatewayRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GatewayRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.GatewayRequest.class, cz.proto.ingestion.Ingestion.GatewayRequest.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.GatewayRequest.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(); methodEnumValue_ = 0; message_ = ""; instanceId_ = 0L; userId_ = 0L; if (versionInfoBuilder_ == null) { versionInfo_ = null; } else { versionInfo_ = null; versionInfoBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GatewayRequest_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.GatewayRequest getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.GatewayRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.GatewayRequest build() { cz.proto.ingestion.Ingestion.GatewayRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.GatewayRequest buildPartial() { cz.proto.ingestion.Ingestion.GatewayRequest result = new cz.proto.ingestion.Ingestion.GatewayRequest(this); result.methodEnumValue_ = methodEnumValue_; result.message_ = message_; result.instanceId_ = instanceId_; result.userId_ = userId_; if (versionInfoBuilder_ == null) { result.versionInfo_ = versionInfo_; } else { result.versionInfo_ = versionInfoBuilder_.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.Ingestion.GatewayRequest) { return mergeFrom((cz.proto.ingestion.Ingestion.GatewayRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.GatewayRequest other) { if (other == cz.proto.ingestion.Ingestion.GatewayRequest.getDefaultInstance()) return this; if (other.getMethodEnumValue() != 0) { setMethodEnumValue(other.getMethodEnumValue()); } if (!other.getMessage().isEmpty()) { message_ = other.message_; onChanged(); } if (other.getInstanceId() != 0L) { setInstanceId(other.getInstanceId()); } if (other.getUserId() != 0L) { setUserId(other.getUserId()); } if (other.hasVersionInfo()) { mergeVersionInfo(other.getVersionInfo()); } 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.Ingestion.GatewayRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.GatewayRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int methodEnumValue_ ; /** * int32 methodEnumValue = 1; * @return The methodEnumValue. */ @java.lang.Override public int getMethodEnumValue() { return methodEnumValue_; } /** * int32 methodEnumValue = 1; * @param value The methodEnumValue to set. * @return This builder for chaining. */ public Builder setMethodEnumValue(int value) { methodEnumValue_ = value; onChanged(); return this; } /** * int32 methodEnumValue = 1; * @return This builder for chaining. */ public Builder clearMethodEnumValue() { methodEnumValue_ = 0; onChanged(); return this; } private java.lang.Object message_ = ""; /** * string message = 2; * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } else { return (java.lang.String) ref; } } /** * string message = 2; * @return The bytes for message. */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string message = 2; * @param value The message to set. * @return This builder for chaining. */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); return this; } /** * string message = 2; * @return This builder for chaining. */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** * string message = 2; * @param value The bytes for message to set. * @return This builder for chaining. */ public Builder setMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; onChanged(); return this; } private long instanceId_ ; /** * int64 instanceId = 3; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } /** * int64 instanceId = 3; * @param value The instanceId to set. * @return This builder for chaining. */ public Builder setInstanceId(long value) { instanceId_ = value; onChanged(); return this; } /** * int64 instanceId = 3; * @return This builder for chaining. */ public Builder clearInstanceId() { instanceId_ = 0L; onChanged(); return this; } private long userId_ ; /** * int64 userId = 4; * @return The userId. */ @java.lang.Override public long getUserId() { return userId_; } /** * int64 userId = 4; * @param value The userId to set. * @return This builder for chaining. */ public Builder setUserId(long value) { userId_ = value; onChanged(); return this; } /** * int64 userId = 4; * @return This builder for chaining. */ public Builder clearUserId() { userId_ = 0L; onChanged(); return this; } private cz.proto.ingestion.Ingestion.VersionInfo versionInfo_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.VersionInfo, cz.proto.ingestion.Ingestion.VersionInfo.Builder, cz.proto.ingestion.Ingestion.VersionInfoOrBuilder> versionInfoBuilder_; /** * .cz.proto.ingestion.VersionInfo versionInfo = 5; * @return Whether the versionInfo field is set. */ public boolean hasVersionInfo() { return versionInfoBuilder_ != null || versionInfo_ != null; } /** * .cz.proto.ingestion.VersionInfo versionInfo = 5; * @return The versionInfo. */ public cz.proto.ingestion.Ingestion.VersionInfo getVersionInfo() { if (versionInfoBuilder_ == null) { return versionInfo_ == null ? cz.proto.ingestion.Ingestion.VersionInfo.getDefaultInstance() : versionInfo_; } else { return versionInfoBuilder_.getMessage(); } } /** * .cz.proto.ingestion.VersionInfo versionInfo = 5; */ public Builder setVersionInfo(cz.proto.ingestion.Ingestion.VersionInfo value) { if (versionInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } versionInfo_ = value; onChanged(); } else { versionInfoBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.VersionInfo versionInfo = 5; */ public Builder setVersionInfo( cz.proto.ingestion.Ingestion.VersionInfo.Builder builderForValue) { if (versionInfoBuilder_ == null) { versionInfo_ = builderForValue.build(); onChanged(); } else { versionInfoBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.VersionInfo versionInfo = 5; */ public Builder mergeVersionInfo(cz.proto.ingestion.Ingestion.VersionInfo value) { if (versionInfoBuilder_ == null) { if (versionInfo_ != null) { versionInfo_ = cz.proto.ingestion.Ingestion.VersionInfo.newBuilder(versionInfo_).mergeFrom(value).buildPartial(); } else { versionInfo_ = value; } onChanged(); } else { versionInfoBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.VersionInfo versionInfo = 5; */ public Builder clearVersionInfo() { if (versionInfoBuilder_ == null) { versionInfo_ = null; onChanged(); } else { versionInfo_ = null; versionInfoBuilder_ = null; } return this; } /** * .cz.proto.ingestion.VersionInfo versionInfo = 5; */ public cz.proto.ingestion.Ingestion.VersionInfo.Builder getVersionInfoBuilder() { onChanged(); return getVersionInfoFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.VersionInfo versionInfo = 5; */ public cz.proto.ingestion.Ingestion.VersionInfoOrBuilder getVersionInfoOrBuilder() { if (versionInfoBuilder_ != null) { return versionInfoBuilder_.getMessageOrBuilder(); } else { return versionInfo_ == null ? cz.proto.ingestion.Ingestion.VersionInfo.getDefaultInstance() : versionInfo_; } } /** * .cz.proto.ingestion.VersionInfo versionInfo = 5; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.VersionInfo, cz.proto.ingestion.Ingestion.VersionInfo.Builder, cz.proto.ingestion.Ingestion.VersionInfoOrBuilder> getVersionInfoFieldBuilder() { if (versionInfoBuilder_ == null) { versionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.VersionInfo, cz.proto.ingestion.Ingestion.VersionInfo.Builder, cz.proto.ingestion.Ingestion.VersionInfoOrBuilder>( getVersionInfo(), getParentForChildren(), isClean()); versionInfo_ = null; } return versionInfoBuilder_; } @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.GatewayRequest) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.GatewayRequest) private static final cz.proto.ingestion.Ingestion.GatewayRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.GatewayRequest(); } public static cz.proto.ingestion.Ingestion.GatewayRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GatewayRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GatewayRequest(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.Ingestion.GatewayRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GatewayResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.ingestion.GatewayResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return The status. */ cz.proto.ingestion.Ingestion.ResponseStatus getStatus(); /** * .cz.proto.ingestion.ResponseStatus status = 1; */ cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder(); /** * string message = 2; * @return The message. */ java.lang.String getMessage(); /** * string message = 2; * @return The bytes for message. */ com.google.protobuf.ByteString getMessageBytes(); } /** * Protobuf type {@code cz.proto.ingestion.GatewayResponse} */ public static final class GatewayResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.ingestion.GatewayResponse) GatewayResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GatewayResponse.newBuilder() to construct. private GatewayResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GatewayResponse() { message_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GatewayResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GatewayResponse( 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.Ingestion.ResponseStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.ingestion.Ingestion.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(status_); status_ = subBuilder.buildPartial(); } break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); message_ = 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.Ingestion.internal_static_cz_proto_ingestion_GatewayResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GatewayResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.GatewayResponse.class, cz.proto.ingestion.Ingestion.GatewayResponse.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private cz.proto.ingestion.Ingestion.ResponseStatus status_; /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return The status. */ @java.lang.Override public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ @java.lang.Override public cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder() { return getStatus(); } public static final int MESSAGE_FIELD_NUMBER = 2; private volatile java.lang.Object message_; /** * string message = 2; * @return The message. */ @java.lang.Override public java.lang.String getMessage() { java.lang.Object ref = message_; 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(); message_ = s; return s; } } /** * string message = 2; * @return The bytes for message. */ @java.lang.Override public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = 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(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_); } 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(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); } 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.Ingestion.GatewayResponse)) { return super.equals(obj); } cz.proto.ingestion.Ingestion.GatewayResponse other = (cz.proto.ingestion.Ingestion.GatewayResponse) obj; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) return false; } if (!getMessage() .equals(other.getMessage())) 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) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.ingestion.Ingestion.GatewayResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GatewayResponse 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.Ingestion.GatewayResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GatewayResponse 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.Ingestion.GatewayResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.ingestion.Ingestion.GatewayResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.ingestion.Ingestion.GatewayResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GatewayResponse 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.Ingestion.GatewayResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GatewayResponse 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.Ingestion.GatewayResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.ingestion.Ingestion.GatewayResponse 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.Ingestion.GatewayResponse 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.GatewayResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.ingestion.GatewayResponse) cz.proto.ingestion.Ingestion.GatewayResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GatewayResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GatewayResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.ingestion.Ingestion.GatewayResponse.class, cz.proto.ingestion.Ingestion.GatewayResponse.Builder.class); } // Construct using cz.proto.ingestion.Ingestion.GatewayResponse.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; } message_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.ingestion.Ingestion.internal_static_cz_proto_ingestion_GatewayResponse_descriptor; } @java.lang.Override public cz.proto.ingestion.Ingestion.GatewayResponse getDefaultInstanceForType() { return cz.proto.ingestion.Ingestion.GatewayResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.ingestion.Ingestion.GatewayResponse build() { cz.proto.ingestion.Ingestion.GatewayResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.ingestion.Ingestion.GatewayResponse buildPartial() { cz.proto.ingestion.Ingestion.GatewayResponse result = new cz.proto.ingestion.Ingestion.GatewayResponse(this); if (statusBuilder_ == null) { result.status_ = status_; } else { result.status_ = statusBuilder_.build(); } result.message_ = message_; 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.Ingestion.GatewayResponse) { return mergeFrom((cz.proto.ingestion.Ingestion.GatewayResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.ingestion.Ingestion.GatewayResponse other) { if (other == cz.proto.ingestion.Ingestion.GatewayResponse.getDefaultInstance()) return this; if (other.hasStatus()) { mergeStatus(other.getStatus()); } if (!other.getMessage().isEmpty()) { message_ = other.message_; 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.Ingestion.GatewayResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.ingestion.Ingestion.GatewayResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ingestion.Ingestion.ResponseStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> statusBuilder_; /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.ingestion.ResponseStatus status = 1; * @return The status. */ public cz.proto.ingestion.Ingestion.ResponseStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder setStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder setStatus( cz.proto.ingestion.Ingestion.ResponseStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder mergeStatus(cz.proto.ingestion.Ingestion.ResponseStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.ingestion.Ingestion.ResponseStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public cz.proto.ingestion.Ingestion.ResponseStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ public cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.ingestion.Ingestion.ResponseStatus.getDefaultInstance() : status_; } } /** * .cz.proto.ingestion.ResponseStatus status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ingestion.Ingestion.ResponseStatus, cz.proto.ingestion.Ingestion.ResponseStatus.Builder, cz.proto.ingestion.Ingestion.ResponseStatusOrBuilder>( getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } private java.lang.Object message_ = ""; /** * string message = 2; * @return The message. */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } else { return (java.lang.String) ref; } } /** * string message = 2; * @return The bytes for message. */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string message = 2; * @param value The message to set. * @return This builder for chaining. */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); return this; } /** * string message = 2; * @return This builder for chaining. */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** * string message = 2; * @param value The bytes for message to set. * @return This builder for chaining. */ public Builder setMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = 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.GatewayResponse) } // @@protoc_insertion_point(class_scope:cz.proto.ingestion.GatewayResponse) private static final cz.proto.ingestion.Ingestion.GatewayResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.ingestion.Ingestion.GatewayResponse(); } public static cz.proto.ingestion.Ingestion.GatewayResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GatewayResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GatewayResponse(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.Ingestion.GatewayResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_GetTableMetaRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_GetTableMetaRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_GetTableMetaResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_GetTableMetaResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_ControllerCreateTabletRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_ControllerCreateTabletRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_WorkerCreateTabletRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_WorkerCreateTabletRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_PartitionColumnInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_PartitionColumnInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_CreateTabletResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_CreateTabletResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_CommitTabletRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_CommitTabletRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_CommitTabletResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_CommitTabletResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_DropTabletRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_DropTabletRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_DropTabletResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_DropTabletResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_RestartTabletRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_RestartTabletRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_RestartTabletResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_RestartTabletResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_DelTabletRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_DelTabletRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_DelTabletResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_DelTabletResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_BroadcastRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_BroadcastRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_BroadcastResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_BroadcastResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_WorkerHBRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_WorkerHBRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_WorkerHBResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_WorkerHBResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_GetTabletsMappingRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_GetTabletsMappingRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_GetTabletsMappingResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_GetTabletsMappingResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_GetTabletsMappingResponse_TabletMappingEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_GetTabletsMappingResponse_TabletMappingEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_TabletIdList_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_TabletIdList_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_HostPortTuple_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_HostPortTuple_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_GetTabletPhysicsMappingRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_GetTabletPhysicsMappingRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_TabletPhysicsInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_TabletPhysicsInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_GetTabletPhysicsMappingResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_GetTabletPhysicsMappingResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_GetWorkersMappingRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_GetWorkersMappingRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_GetWorkersMappingResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_GetWorkersMappingResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_GetWorkersMappingResponse_WorkersMappingEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_GetWorkersMappingResponse_WorkersMappingEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_CheckTableExistsRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_CheckTableExistsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_CheckTableExistsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_CheckTableExistsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_DataMutateRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_DataMutateRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_DataMutateRequestInternal_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_DataMutateRequestInternal_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_DataMutateResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_DataMutateResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_GetWorkerIdRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_GetWorkerIdRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_GetWorkerIdResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_GetWorkerIdResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_MutateRowStatus_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_MutateRowStatus_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_ResponseStatus_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_ResponseStatus_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_Account_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_Account_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_GetMutateWorkersRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_GetMutateWorkersRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_GetMutateWorkersResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_GetMutateWorkersResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_FlushTabletRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_FlushTabletRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_FlushTabletResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_FlushTabletResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_VersionInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_VersionInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_GatewayRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_GatewayRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_ingestion_GatewayResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_ingestion_GatewayResponse_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\017ingestion.proto\022\022cz.proto.ingestion\032\026f" + "ile_format_type.proto\032\025metadata_entity.p" + "roto\032\024row_operations.proto\032\021kudu_common." + "proto\032\017data_type.proto\"\247\001\n\023GetTableMetaR" + "equest\022\021\n\tclient_id\030\001 \001(\t\022\023\n\013schema_name" + "\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\022\021\n\tworkspace\030" + "\004 \001(\t\022\023\n\013instance_id\030\005 \001(\003\022,\n\007account\030\006 " + "\001(\0132\033.cz.proto.ingestion.Account\"\273\001\n\024Get" + "TableMetaResponse\022$\n\ntable_meta\030\001 \001(\0132\020." + "cz.proto.Entity\0224\n\ntable_type\030\002 \001(\0162 .cz" + ".proto.ingestion.IGSTableType\022\023\n\013instanc" + "e_id\030\003 \001(\003\0222\n\006status\030\004 \001(\0132\".cz.proto.in" + "gestion.ResponseStatus\"\315\002\n\035ControllerCre" + "ateTabletRequest\022\023\n\013schema_name\030\001 \001(\t\022\022\n" + "\ntable_name\030\002 \001(\t\022$\n\ntable_meta\030\003 \001(\0132\020." + "cz.proto.Entity\022\023\n\013tablet_nums\030\004 \001(\003\0224\n\n" + "table_type\030\005 \001(\0162 .cz.proto.ingestion.IG" + "STableType\022\021\n\tkey_names\030\006 \003(\t\022\025\n\rbuckets" + "_count\030\007 \001(\004\022\022\n\nsort_names\030\010 \003(\t\022\021\n\twork" + "space\030\t \001(\t\022\023\n\013instance_id\030\n \001(\003\022,\n\007acco" + "unt\030\013 \001(\0132\033.cz.proto.ingestion.Account\"\352" + "\003\n\031WorkerCreateTabletRequest\022\021\n\ttablet_i" + "d\030\001 \001(\003\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntable_na" + "me\030\003 \001(\t\022#\n\013tablet_meta\030\004 \001(\0132\016.kudu.Sch" + "emaPB\022\021\n\tworker_id\030\005 \001(\003\022$\n\ntable_meta\030\006" + " \001(\0132\020.cz.proto.Entity\022\022\n\ntable_path\030\007 \001" + "(\t\0224\n\ntable_type\030\010 \001(\0162 .cz.proto.ingest" + "ion.IGSTableType\022\021\n\tkey_names\030\t \003(\t\022\027\n\017h" + "ash_range_list\030\n \003(\004\022\024\n\014buckets_list\030\013 \003" + "(\r\022\022\n\nsort_names\030\014 \003(\t\022\021\n\tworkspace\030\r \001(" + "\t\022\023\n\013instance_id\030\016 \001(\003\022@\n\017partition_info" + "s\030\017 \003(\0132\'.cz.proto.ingestion.PartitionCo" + "lumnInfo\022)\n\017table_full_meta\030\020 \001(\0132\020.cz.p" + "roto.Entity\"\253\001\n\023PartitionColumnInfo\022%\n\035v" + "irtual_partition_column_name\030\001 \001(\t\022#\n\033vi" + "rtual_partition_column_id\030\002 \001(\r\022$\n\034sourc" + "e_partition_column_name\030\003 \001(\t\022\"\n\032source_" + "partition_column_id\030\004 \001(\r\"`\n\024CreateTable" + "tResponse\022\024\n\014created_time\030\001 \001(\003\0222\n\006statu" + "s\030\002 \001(\0132\".cz.proto.ingestion.ResponseSta" + "tus\"\270\001\n\023CommitTabletRequest\022\023\n\013instance_" + "id\030\001 \001(\003\022\021\n\tworkspace\030\002 \001(\t\022\023\n\013schema_na" + "me\030\003 \001(\t\022\022\n\ntable_name\030\004 \001(\t\022\017\n\007tableId\030" + "\005 \001(\003\022\021\n\ttablet_id\030\006 \003(\003\022,\n\007account\030\007 \001(" + "\0132\033.cz.proto.ingestion.Account\"J\n\024Commit" + "TabletResponse\0222\n\006status\030\001 \001(\0132\".cz.prot" + "o.ingestion.ResponseStatus\"\312\001\n\021DropTable" + "tRequest\022\023\n\013instance_id\030\001 \001(\003\022\021\n\tworkspa" + "ce\030\002 \001(\t\022\023\n\013schema_name\030\003 \001(\t\022\022\n\ntable_n" + "ame\030\004 \001(\t\022\017\n\007tableId\030\005 \001(\003\022\021\n\ttablet_id\030" + "\006 \003(\003\022,\n\007account\030\007 \001(\0132\033.cz.proto.ingest" + "ion.Account\022\022\n\nrequest_id\030\010 \001(\t\"H\n\022DropT" + "abletResponse\0222\n\006status\030\001 \001(\0132\".cz.proto" + ".ingestion.ResponseStatus\":\n\024RestartTabl" + "etRequest\022\021\n\ttablet_id\030\001 \001(\003\022\017\n\007message\030" + "\002 \001(\t\"o\n\025RestartTabletResponse\022\021\n\ttablet" + "_id\030\001 \001(\003\022\017\n\007message\030\002 \001(\t\0222\n\006status\030\003 \001" + "(\0132\".cz.proto.ingestion.ResponseStatus\"6" + "\n\020DelTabletRequest\022\021\n\ttablet_id\030\001 \001(\003\022\017\n" + "\007message\030\002 \001(\t\"k\n\021DelTabletResponse\022\021\n\tt" + "ablet_id\030\001 \001(\003\022\017\n\007message\030\002 \001(\t\0222\n\006statu" + "s\030\003 \001(\0132\".cz.proto.ingestion.ResponseSta" + "tus\"a\n\020BroadcastRequest\022\023\n\013instance_id\030\001" + " \001(\003\022\020\n\010table_id\030\002 \001(\003\022\021\n\ttablet_id\030\003 \003(" + "\003\022\023\n\013clear_cache\030\004 \001(\010\"G\n\021BroadcastRespo" + "nse\0222\n\006status\030\001 \001(\0132\".cz.proto.ingestion" + ".ResponseStatus\"_\n\017WorkerHBRequest\022\021\n\two" + "rker_id\030\001 \001(\003\022\023\n\013worker_port\030\002 \001(\003\022\023\n\013wo" + "rker_host\030\003 \001(\t\022\017\n\007message\030\004 \001(\t\"j\n\020Work" + "erHBResponse\022\021\n\tworker_id\030\001 \001(\003\022\017\n\007messa" + "ge\030\002 \001(\t\0222\n\006status\030\003 \001(\0132\".cz.proto.inge" + "stion.ResponseStatus\"V\n\030GetTabletsMappin" + "gRequest\022\021\n\tworker_id\030\001 \001(\003\022\023\n\013schema_na" + "me\030\002 \001(\t\022\022\n\ntable_name\030\003 \001(\t\"\201\002\n\031GetTabl" + "etsMappingResponse\0222\n\006status\030\001 \001(\0132\".cz." + "proto.ingestion.ResponseStatus\022X\n\016tablet" + "_mapping\030\002 \003(\[email protected]" + "abletsMappingResponse.TabletMappingEntry" + "\032V\n\022TabletMappingEntry\022\013\n\003key\030\001 \001(\t\022/\n\005v" + "alue\030\002 \001(\0132 .cz.proto.ingestion.TabletId" + "List:\0028\001\"!\n\014TabletIdList\022\021\n\ttablet_id\030\001 " + "\003(\003\"+\n\rHostPortTuple\022\014\n\004host\030\001 \001(\t\022\014\n\004po" + "rt\030\002 \001(\005\"\\\n\036GetTabletPhysicsMappingReque" + "st\022\021\n\ttablet_id\030\001 \001(\003\022\023\n\013schema_name\030\002 \001" + "(\t\022\022\n\ntable_name\030\003 \001(\t\"j\n\021TabletPhysicsI" + "nfo\022\021\n\tworker_id\030\001 \001(\003\022\021\n\ttablet_id\030\002 \001(" + "\003\022/\n\004host\030\003 \001(\0132!.cz.proto.ingestion.Hos" + "tPortTuple\"\215\001\n\037GetTabletPhysicsMappingRe" + "sponse\0226\n\007tablets\030\001 \003(\0132%.cz.proto.inges" + "tion.TabletPhysicsInfo\0222\n\006status\030\002 \001(\0132\"" + ".cz.proto.ingestion.ResponseStatus\"-\n\030Ge" + "tWorkersMappingRequest\022\021\n\tworker_id\030\001 \001(" + "\003\"\205\002\n\031GetWorkersMappingResponse\0222\n\006statu" + "s\030\001 \001(\0132\".cz.proto.ingestion.ResponseSta" + "tus\022Z\n\017workers_mapping\030\002 \003(\0132A.cz.proto." + "ingestion.GetWorkersMappingResponse.Work" + "ersMappingEntry\032X\n\023WorkersMappingEntry\022\013" + "\n\003key\030\001 \001(\003\0220\n\005value\030\002 \001(\0132!.cz.proto.in" + "gestion.HostPortTuple:\0028\001\"\247\001\n\027CheckTable" + "ExistsRequest\022\020\n\010instance\030\001 \001(\003\022\021\n\tworks" + "pace\030\002 \001(\t\022\023\n\013schema_name\030\003 \001(\t\022\022\n\ntable" + "_name\030\004 \001(\t\022\020\n\010table_id\030\005 \001(\003\022,\n\007account" + "\030\006 \001(\0132\033.cz.proto.ingestion.Account\"N\n\030C" + "heckTableExistsResponse\0222\n\006status\030\001 \001(\0132" + "\".cz.proto.ingestion.ResponseStatus\"\204\005\n\021" + "DataMutateRequest\022\020\n\010batch_id\030\001 \001(\003\022\027\n\017w" + "rite_timestamp\030\002 \001(\003\022-\n\016row_operations\030\003" + " \001(\0132\025.kudu.RowOperationsPB\022\023\n\013schema_na" + "me\030\004 \001(\t\022\022\n\ntable_name\030\005 \001(\t\022 \n\006schema\030\006" + " \001(\0132\020.cz.proto.Entity\022!\n\tschema_pb\030\007 \001(" + "\0132\016.kudu.SchemaPB\0224\n\ntable_type\030\010 \001(\0162 ." + "cz.proto.ingestion.IGSTableType\022\025\n\rbucke" + "ts_count\030\t \001(\004\022\023\n\013is_dispatch\030\n \001(\010\022\021\n\tt" + "ablet_id\030\013 \001(\003\022\021\n\tkey_names\030\014 \003(\t\022\022\n\nsor" + "t_names\030\r \003(\t\0221\n\022key_row_operations\030\016 \001(" + "\0132\025.kudu.RowOperationsPB\022%\n\rkey_schema_p" + "b\030\017 \001(\0132\016.kudu.SchemaPB\022\022\n\nbucket_ids\030\020 " + "\003(\r\022\017\n\007indexes\030\021 \003(\005\022\023\n\013instance_id\030\022 \001(" + "\003\022\021\n\tworkspace\030\023 \001(\t\022,\n\007account\030\024 \001(\0132\033." + "cz.proto.ingestion.Account\022\r\n\005token\030\025 \001(" + "\t\022\022\n\nrequest_id\030\026 \001(\t\022\023\n\013batch_count\030\027 \001" + "(\005\"\226\003\n\031DataMutateRequestInternal\022\020\n\010batc" + "h_id\030\001 \001(\003\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntable" + "_name\030\003 \001(\t\022 \n\006schema\030\004 \001(\0132\020.cz.proto.E" + "ntity\022!\n\tschema_pb\030\005 \001(\0132\016.kudu.SchemaPB" + "\0224\n\ntable_type\030\006 \001(\0162 .cz.proto.ingestio" + "n.IGSTableType\022\023\n\013is_dispatch\030\007 \001(\010\022\022\n\nt" + "ablet_ids\030\010 \003(\003\022\023\n\013instance_id\030\t \001(\003\022\021\n\t" + "workspace\030\n \001(\t\022\022\n\nrequest_id\030\013 \001(\t\0228\n\031d" + "ispatched_row_operations\030\014 \003(\0132\025.kudu.Ro" + "wOperationsPB\022\017\n\007indexes\030\r \003(\005\022\023\n\013batch_" + "count\030\016 \001(\005\"\271\001\n\022DataMutateResponse\022\020\n\010ba" + "tch_id\030\001 \001(\003\022\020\n\010rows_num\030\002 \001(\003\0222\n\006status" + "\030\003 \001(\0132\".cz.proto.ingestion.ResponseStat" + "us\022\022\n\nrequest_id\030\004 \001(\t\0227\n\nrow_status\030\005 \003" + "(\0132#.cz.proto.ingestion.MutateRowStatus\"" + "m\n\022GetWorkerIdRequest\022\023\n\013worker_host\030\001 \001" + "(\t\022\030\n\020create_timestamp\030\002 \001(\003\022\023\n\013worker_p" + "ort\030\003 \001(\003\022\023\n\013worker_name\030\004 \001(\t\"\\\n\023GetWor" + "kerIdResponse\022\021\n\tworker_id\030\001 \001(\003\0222\n\006stat" + "us\030\002 \001(\0132\".cz.proto.ingestion.ResponseSt" + "atus\"]\n\017MutateRowStatus\022&\n\004code\030\001 \001(\0162\030." + "cz.proto.ingestion.Code\022\017\n\007message\030\002 \001(\t" + "\022\021\n\trow_index\030\003 \001(\005\"]\n\016ResponseStatus\022&\n" + "\004code\030\001 \001(\0162\030.cz.proto.ingestion.Code\022\017\n" + "\007message\030\002 \001(\t\022\022\n\nrequest_id\030\003 \001(\t\"-\n\007Ac" + "count\022\017\n\007user_id\030\001 \001(\003\022\021\n\tuser_name\030\002 \001(" + "\t\"\263\001\n\027GetMutateWorkersRequest\022\020\n\010table_i" + "d\030\001 \001(\003\022\023\n\013schema_name\030\002 \001(\t\022\022\n\ntable_na" + "me\030\003 \001(\t\0225\n\014connect_mode\030\004 \001(\0162\037.cz.prot" + "o.ingestion.ConnectMode\022\021\n\ttablet_id\030\005 \003" + "(\003\022\023\n\013instance_id\030\006 \001(\003\"\223\001\n\030GetMutateWor" + "kersResponse\0220\n\005tuple\030\001 \003(\0132!.cz.proto.i" + "ngestion.HostPortTuple\022\021\n\ttablet_id\030\002 \003(" + "\003\0222\n\006status\030\003 \001(\0132\".cz.proto.ingestion.R" + "esponseStatus\"w\n\022FlushTabletRequest\022\023\n\013s" + "chema_name\030\001 \001(\t\022\022\n\ntable_name\030\002 \001(\t\022\021\n\t" + "tablet_id\030\003 \001(\003\022\020\n\010table_id\030\004 \001(\003\022\023\n\013ins" + "tance_id\030\005 \001(\003\"I\n\023FlushTabletResponse\0222\n" + "\006status\030\001 \001(\0132\".cz.proto.ingestion.Respo" + "nseStatus\",\n\013VersionInfo\022\014\n\004name\030\001 \001(\t\022\017" + "\n\007version\030\002 \001(\005\"\224\001\n\016GatewayRequest\022\027\n\017me" + "thodEnumValue\030\001 \001(\005\022\017\n\007message\030\002 \001(\t\022\022\n\n" + "instanceId\030\003 \001(\003\022\016\n\006userId\030\004 \001(\003\0224\n\013vers" + "ionInfo\030\005 \001(\0132\037.cz.proto.ingestion.Versi" + "onInfo\"V\n\017GatewayResponse\0222\n\006status\030\001 \001(" + "\0132\".cz.proto.ingestion.ResponseStatus\022\017\n" + "\007message\030\002 \001(\t*>\n\014IGSTableType\022\n\n\006NORMAL" + "\020\000\022\013\n\007CLUSTER\020\001\022\010\n\004ACID\020\002\022\013\n\007UNKNOWN\020\003*\237" + "\001\n\004Code\022\013\n\007SUCCESS\020\000\022\n\n\006FAILED\020\001\022\027\n\023IGS_" + "WORKER_REGISTED\020\002\022\r\n\tTHROTTLED\020\003\022\r\n\tNOT_" + "FOUND\020\004\022\023\n\017ALREADY_PRESENT\020\005\022\017\n\013TABLE_EX" + "IST\020\006\022\021\n\rTABLE_DROPPED\020\007\022\016\n\nCORRUPTION\020\010" + "*P\n\013ConnectMode\022\n\n\006DIRECT\020\000\022\013\n\007GATEWAY\020\001" + "\022\024\n\020GATEWAY_INTERNAL\020\002\022\022\n\016GATEWAY_DIRECT" + "\020\003*\307\005\n\nMethodEnum\022\024\n\020GATEWAY_RPC_CALL\020\000\022" + "\022\n\016GET_TABLE_META\020\001\022\021\n\rCREATE_TABLET\020\002\022\025" + "\n\021GET_MUTATE_WORKER\020\003\022\021\n\rCOMMIT_TABLET\020\004" + "\022\017\n\013DROP_TABLET\020\005\022\026\n\022CHECK_TABLE_EXISTS\020" + "\006\022\033\n\027CREATE_BULK_LOAD_STREAM\020\013\022\030\n\024GET_BU" + "LK_LOAD_STREAM\020\014\022\033\n\027COMMIT_BULK_LOAD_STR" + "EAM\020\r\022 \n\034OPEN_BULK_LOAD_STREAM_WRITER\020\016\022" + "\"\n\036FINISH_BULK_LOAD_STREAM_WRITER\020\017\022\033\n\027C" + "REATE_OR_GET_STREAM_V2\020\020\022\023\n\017CLOSE_STREAM" + "_V2\020\021\022\027\n\023GET_ROUTE_WORKER_V2\020\022\022\036\n\032CREATE" + "_BULK_LOAD_STREAM_V2\020\023\022\033\n\027GET_BULK_LOAD_" + "STREAM_V2\020\024\022\036\n\032COMMIT_BULK_LOAD_STREAM_V" + "2\020\025\022#\n\037OPEN_BULK_LOAD_STREAM_WRITER_V2\020\026" + "\022%\n!FINISH_BULK_LOAD_STREAM_WRITER_V2\020\027\022" + "%\n!GET_BULK_LOAD_STREAM_STS_TOKEN_V2\020\030\022\r" + "\n\tCOMMIT_V2\020\031\022\023\n\017ASYNC_COMMIT_V2\020\032\022\032\n\026CH" + "ECK_COMMIT_RESULT_V2\020\033\022!\n\035GET_ROUTER_CON" + "TROLLER_ADDRESS\020\034\022\021\n\rSCHEMA_CHANGE\020\0352\225\003\n" + "\020IGSWorkerService\022a\n\014CommitTablet\022\'.cz.p" + "roto.ingestion.CommitTabletRequest\032(.cz." + "proto.ingestion.CommitTabletResponse\022[\n\006" + "Mutate\022%.cz.proto.ingestion.DataMutateRe" + "quest\032&.cz.proto.ingestion.DataMutateRes" + "ponse(\0010\001\022X\n\tBroadcast\022$.cz.proto.ingest" + "ion.BroadcastRequest\032%.cz.proto.ingestio" + "n.BroadcastResponse\022g\n\016MutateInternal\022-." + "cz.proto.ingestion.DataMutateRequestInte" + "rnal\032&.cz.proto.ingestion.DataMutateResp" + "onse2z\n\030IGSWorkerInternalService\022^\n\013Flus" + "hTablet\022&.cz.proto.ingestion.FlushTablet" + "Request\032\'.cz.proto.ingestion.FlushTablet" + "Response2\337\005\n\024IGSControllerService\022Y\n\016Gat" + "ewayRpcCall\022\".cz.proto.ingestion.Gateway" + "Request\032#.cz.proto.ingestion.GatewayResp" + "onse\022a\n\014GetTableMeta\022\'.cz.proto.ingestio" + "n.GetTableMetaRequest\032(.cz.proto.ingesti" + "on.GetTableMetaResponse\022k\n\014CreateTablet\022" + "1.cz.proto.ingestion.ControllerCreateTab" + "letRequest\032(.cz.proto.ingestion.CreateTa" + "bletResponse\022a\n\014CommitTablet\022\'.cz.proto." + "ingestion.CommitTabletRequest\032(.cz.proto" + ".ingestion.CommitTabletResponse\022[\n\nDropT" + "ablet\022%.cz.proto.ingestion.DropTabletReq" + "uest\032&.cz.proto.ingestion.DropTabletResp" + "onse\022m\n\020GetMutateWorkers\022+.cz.proto.inge" + "stion.GetMutateWorkersRequest\032,.cz.proto" + ".ingestion.GetMutateWorkersResponse\022m\n\020C" + "heckTableExists\022+.cz.proto.ingestion.Che" + "ckTableExistsRequest\032,.cz.proto.ingestio" + "n.CheckTableExistsResponseB\024\n\022cz.proto.i" + "ngestionb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { cz.proto.FileFormatTypeOuterClass.getDescriptor(), cz.proto.MetadataEntity.getDescriptor(), org.apache.kudu.RowOperations.getDescriptor(), org.apache.kudu.KuduCommon.getDescriptor(), cz.proto.DataTypeOuterClass.getDescriptor(), }); internal_static_cz_proto_ingestion_GetTableMetaRequest_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_cz_proto_ingestion_GetTableMetaRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_GetTableMetaRequest_descriptor, new java.lang.String[] { "ClientId", "SchemaName", "TableName", "Workspace", "InstanceId", "Account", }); internal_static_cz_proto_ingestion_GetTableMetaResponse_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_cz_proto_ingestion_GetTableMetaResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_GetTableMetaResponse_descriptor, new java.lang.String[] { "TableMeta", "TableType", "InstanceId", "Status", }); internal_static_cz_proto_ingestion_ControllerCreateTabletRequest_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_cz_proto_ingestion_ControllerCreateTabletRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_ControllerCreateTabletRequest_descriptor, new java.lang.String[] { "SchemaName", "TableName", "TableMeta", "TabletNums", "TableType", "KeyNames", "BucketsCount", "SortNames", "Workspace", "InstanceId", "Account", }); internal_static_cz_proto_ingestion_WorkerCreateTabletRequest_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_cz_proto_ingestion_WorkerCreateTabletRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_WorkerCreateTabletRequest_descriptor, new java.lang.String[] { "TabletId", "SchemaName", "TableName", "TabletMeta", "WorkerId", "TableMeta", "TablePath", "TableType", "KeyNames", "HashRangeList", "BucketsList", "SortNames", "Workspace", "InstanceId", "PartitionInfos", "TableFullMeta", }); internal_static_cz_proto_ingestion_PartitionColumnInfo_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_cz_proto_ingestion_PartitionColumnInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_PartitionColumnInfo_descriptor, new java.lang.String[] { "VirtualPartitionColumnName", "VirtualPartitionColumnId", "SourcePartitionColumnName", "SourcePartitionColumnId", }); internal_static_cz_proto_ingestion_CreateTabletResponse_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_cz_proto_ingestion_CreateTabletResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_CreateTabletResponse_descriptor, new java.lang.String[] { "CreatedTime", "Status", }); internal_static_cz_proto_ingestion_CommitTabletRequest_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_cz_proto_ingestion_CommitTabletRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_CommitTabletRequest_descriptor, new java.lang.String[] { "InstanceId", "Workspace", "SchemaName", "TableName", "TableId", "TabletId", "Account", }); internal_static_cz_proto_ingestion_CommitTabletResponse_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_cz_proto_ingestion_CommitTabletResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_CommitTabletResponse_descriptor, new java.lang.String[] { "Status", }); internal_static_cz_proto_ingestion_DropTabletRequest_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_cz_proto_ingestion_DropTabletRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_DropTabletRequest_descriptor, new java.lang.String[] { "InstanceId", "Workspace", "SchemaName", "TableName", "TableId", "TabletId", "Account", "RequestId", }); internal_static_cz_proto_ingestion_DropTabletResponse_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_cz_proto_ingestion_DropTabletResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_DropTabletResponse_descriptor, new java.lang.String[] { "Status", }); internal_static_cz_proto_ingestion_RestartTabletRequest_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_cz_proto_ingestion_RestartTabletRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_RestartTabletRequest_descriptor, new java.lang.String[] { "TabletId", "Message", }); internal_static_cz_proto_ingestion_RestartTabletResponse_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_cz_proto_ingestion_RestartTabletResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_RestartTabletResponse_descriptor, new java.lang.String[] { "TabletId", "Message", "Status", }); internal_static_cz_proto_ingestion_DelTabletRequest_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_cz_proto_ingestion_DelTabletRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_DelTabletRequest_descriptor, new java.lang.String[] { "TabletId", "Message", }); internal_static_cz_proto_ingestion_DelTabletResponse_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_cz_proto_ingestion_DelTabletResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_DelTabletResponse_descriptor, new java.lang.String[] { "TabletId", "Message", "Status", }); internal_static_cz_proto_ingestion_BroadcastRequest_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_cz_proto_ingestion_BroadcastRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_BroadcastRequest_descriptor, new java.lang.String[] { "InstanceId", "TableId", "TabletId", "ClearCache", }); internal_static_cz_proto_ingestion_BroadcastResponse_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_cz_proto_ingestion_BroadcastResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_BroadcastResponse_descriptor, new java.lang.String[] { "Status", }); internal_static_cz_proto_ingestion_WorkerHBRequest_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_cz_proto_ingestion_WorkerHBRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_WorkerHBRequest_descriptor, new java.lang.String[] { "WorkerId", "WorkerPort", "WorkerHost", "Message", }); internal_static_cz_proto_ingestion_WorkerHBResponse_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_cz_proto_ingestion_WorkerHBResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_WorkerHBResponse_descriptor, new java.lang.String[] { "WorkerId", "Message", "Status", }); internal_static_cz_proto_ingestion_GetTabletsMappingRequest_descriptor = getDescriptor().getMessageTypes().get(18); internal_static_cz_proto_ingestion_GetTabletsMappingRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_GetTabletsMappingRequest_descriptor, new java.lang.String[] { "WorkerId", "SchemaName", "TableName", }); internal_static_cz_proto_ingestion_GetTabletsMappingResponse_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_cz_proto_ingestion_GetTabletsMappingResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_GetTabletsMappingResponse_descriptor, new java.lang.String[] { "Status", "TabletMapping", }); internal_static_cz_proto_ingestion_GetTabletsMappingResponse_TabletMappingEntry_descriptor = internal_static_cz_proto_ingestion_GetTabletsMappingResponse_descriptor.getNestedTypes().get(0); internal_static_cz_proto_ingestion_GetTabletsMappingResponse_TabletMappingEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_GetTabletsMappingResponse_TabletMappingEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_cz_proto_ingestion_TabletIdList_descriptor = getDescriptor().getMessageTypes().get(20); internal_static_cz_proto_ingestion_TabletIdList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_TabletIdList_descriptor, new java.lang.String[] { "TabletId", }); internal_static_cz_proto_ingestion_HostPortTuple_descriptor = getDescriptor().getMessageTypes().get(21); internal_static_cz_proto_ingestion_HostPortTuple_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_HostPortTuple_descriptor, new java.lang.String[] { "Host", "Port", }); internal_static_cz_proto_ingestion_GetTabletPhysicsMappingRequest_descriptor = getDescriptor().getMessageTypes().get(22); internal_static_cz_proto_ingestion_GetTabletPhysicsMappingRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_GetTabletPhysicsMappingRequest_descriptor, new java.lang.String[] { "TabletId", "SchemaName", "TableName", }); internal_static_cz_proto_ingestion_TabletPhysicsInfo_descriptor = getDescriptor().getMessageTypes().get(23); internal_static_cz_proto_ingestion_TabletPhysicsInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_TabletPhysicsInfo_descriptor, new java.lang.String[] { "WorkerId", "TabletId", "Host", }); internal_static_cz_proto_ingestion_GetTabletPhysicsMappingResponse_descriptor = getDescriptor().getMessageTypes().get(24); internal_static_cz_proto_ingestion_GetTabletPhysicsMappingResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_GetTabletPhysicsMappingResponse_descriptor, new java.lang.String[] { "Tablets", "Status", }); internal_static_cz_proto_ingestion_GetWorkersMappingRequest_descriptor = getDescriptor().getMessageTypes().get(25); internal_static_cz_proto_ingestion_GetWorkersMappingRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_GetWorkersMappingRequest_descriptor, new java.lang.String[] { "WorkerId", }); internal_static_cz_proto_ingestion_GetWorkersMappingResponse_descriptor = getDescriptor().getMessageTypes().get(26); internal_static_cz_proto_ingestion_GetWorkersMappingResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_GetWorkersMappingResponse_descriptor, new java.lang.String[] { "Status", "WorkersMapping", }); internal_static_cz_proto_ingestion_GetWorkersMappingResponse_WorkersMappingEntry_descriptor = internal_static_cz_proto_ingestion_GetWorkersMappingResponse_descriptor.getNestedTypes().get(0); internal_static_cz_proto_ingestion_GetWorkersMappingResponse_WorkersMappingEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_GetWorkersMappingResponse_WorkersMappingEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_cz_proto_ingestion_CheckTableExistsRequest_descriptor = getDescriptor().getMessageTypes().get(27); internal_static_cz_proto_ingestion_CheckTableExistsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_CheckTableExistsRequest_descriptor, new java.lang.String[] { "Instance", "Workspace", "SchemaName", "TableName", "TableId", "Account", }); internal_static_cz_proto_ingestion_CheckTableExistsResponse_descriptor = getDescriptor().getMessageTypes().get(28); internal_static_cz_proto_ingestion_CheckTableExistsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_CheckTableExistsResponse_descriptor, new java.lang.String[] { "Status", }); internal_static_cz_proto_ingestion_DataMutateRequest_descriptor = getDescriptor().getMessageTypes().get(29); internal_static_cz_proto_ingestion_DataMutateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_DataMutateRequest_descriptor, new java.lang.String[] { "BatchId", "WriteTimestamp", "RowOperations", "SchemaName", "TableName", "Schema", "SchemaPb", "TableType", "BucketsCount", "IsDispatch", "TabletId", "KeyNames", "SortNames", "KeyRowOperations", "KeySchemaPb", "BucketIds", "Indexes", "InstanceId", "Workspace", "Account", "Token", "RequestId", "BatchCount", }); internal_static_cz_proto_ingestion_DataMutateRequestInternal_descriptor = getDescriptor().getMessageTypes().get(30); internal_static_cz_proto_ingestion_DataMutateRequestInternal_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_DataMutateRequestInternal_descriptor, new java.lang.String[] { "BatchId", "SchemaName", "TableName", "Schema", "SchemaPb", "TableType", "IsDispatch", "TabletIds", "InstanceId", "Workspace", "RequestId", "DispatchedRowOperations", "Indexes", "BatchCount", }); internal_static_cz_proto_ingestion_DataMutateResponse_descriptor = getDescriptor().getMessageTypes().get(31); internal_static_cz_proto_ingestion_DataMutateResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_DataMutateResponse_descriptor, new java.lang.String[] { "BatchId", "RowsNum", "Status", "RequestId", "RowStatus", }); internal_static_cz_proto_ingestion_GetWorkerIdRequest_descriptor = getDescriptor().getMessageTypes().get(32); internal_static_cz_proto_ingestion_GetWorkerIdRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_GetWorkerIdRequest_descriptor, new java.lang.String[] { "WorkerHost", "CreateTimestamp", "WorkerPort", "WorkerName", }); internal_static_cz_proto_ingestion_GetWorkerIdResponse_descriptor = getDescriptor().getMessageTypes().get(33); internal_static_cz_proto_ingestion_GetWorkerIdResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_GetWorkerIdResponse_descriptor, new java.lang.String[] { "WorkerId", "Status", }); internal_static_cz_proto_ingestion_MutateRowStatus_descriptor = getDescriptor().getMessageTypes().get(34); internal_static_cz_proto_ingestion_MutateRowStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_MutateRowStatus_descriptor, new java.lang.String[] { "Code", "Message", "RowIndex", }); internal_static_cz_proto_ingestion_ResponseStatus_descriptor = getDescriptor().getMessageTypes().get(35); internal_static_cz_proto_ingestion_ResponseStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_ResponseStatus_descriptor, new java.lang.String[] { "Code", "Message", "RequestId", }); internal_static_cz_proto_ingestion_Account_descriptor = getDescriptor().getMessageTypes().get(36); internal_static_cz_proto_ingestion_Account_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_Account_descriptor, new java.lang.String[] { "UserId", "UserName", }); internal_static_cz_proto_ingestion_GetMutateWorkersRequest_descriptor = getDescriptor().getMessageTypes().get(37); internal_static_cz_proto_ingestion_GetMutateWorkersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_GetMutateWorkersRequest_descriptor, new java.lang.String[] { "TableId", "SchemaName", "TableName", "ConnectMode", "TabletId", "InstanceId", }); internal_static_cz_proto_ingestion_GetMutateWorkersResponse_descriptor = getDescriptor().getMessageTypes().get(38); internal_static_cz_proto_ingestion_GetMutateWorkersResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_GetMutateWorkersResponse_descriptor, new java.lang.String[] { "Tuple", "TabletId", "Status", }); internal_static_cz_proto_ingestion_FlushTabletRequest_descriptor = getDescriptor().getMessageTypes().get(39); internal_static_cz_proto_ingestion_FlushTabletRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_FlushTabletRequest_descriptor, new java.lang.String[] { "SchemaName", "TableName", "TabletId", "TableId", "InstanceId", }); internal_static_cz_proto_ingestion_FlushTabletResponse_descriptor = getDescriptor().getMessageTypes().get(40); internal_static_cz_proto_ingestion_FlushTabletResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_FlushTabletResponse_descriptor, new java.lang.String[] { "Status", }); internal_static_cz_proto_ingestion_VersionInfo_descriptor = getDescriptor().getMessageTypes().get(41); internal_static_cz_proto_ingestion_VersionInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_VersionInfo_descriptor, new java.lang.String[] { "Name", "Version", }); internal_static_cz_proto_ingestion_GatewayRequest_descriptor = getDescriptor().getMessageTypes().get(42); internal_static_cz_proto_ingestion_GatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_GatewayRequest_descriptor, new java.lang.String[] { "MethodEnumValue", "Message", "InstanceId", "UserId", "VersionInfo", }); internal_static_cz_proto_ingestion_GatewayResponse_descriptor = getDescriptor().getMessageTypes().get(43); internal_static_cz_proto_ingestion_GatewayResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_ingestion_GatewayResponse_descriptor, new java.lang.String[] { "Status", "Message", }); cz.proto.FileFormatTypeOuterClass.getDescriptor(); cz.proto.MetadataEntity.getDescriptor(); org.apache.kudu.RowOperations.getDescriptor(); org.apache.kudu.KuduCommon.getDescriptor(); cz.proto.DataTypeOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }