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

cz.proto.coordinator.CoordinatorServiceOuterClass Maven / Gradle / Ivy

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

package cz.proto.coordinator;

public final class CoordinatorServiceOuterClass {
  private CoordinatorServiceOuterClass() {}
  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.coordinator.JobRequestMode}
   */
  public enum JobRequestMode
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * UNKNOWN = 0;
     */
    UNKNOWN(0),
    /**
     * 
     * polling for timeout, if not terminated, then fallback to async
     * 
* * HYBRID = 1; */ HYBRID(1), /** *
     * purely async
     * 
* * ASYNC = 2; */ ASYNC(2), /** *
     * purely sync, only for debug/test
     * 
* * SYNC = 3; */ SYNC(3), UNRECOGNIZED(-1), ; /** * UNKNOWN = 0; */ public static final int UNKNOWN_VALUE = 0; /** *
     * polling for timeout, if not terminated, then fallback to async
     * 
* * HYBRID = 1; */ public static final int HYBRID_VALUE = 1; /** *
     * purely async
     * 
* * ASYNC = 2; */ public static final int ASYNC_VALUE = 2; /** *
     * purely sync, only for debug/test
     * 
* * SYNC = 3; */ public static final int SYNC_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 JobRequestMode 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 JobRequestMode forNumber(int value) { switch (value) { case 0: return UNKNOWN; case 1: return HYBRID; case 2: return ASYNC; case 3: return SYNC; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< JobRequestMode> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public JobRequestMode findValueByNumber(int number) { return JobRequestMode.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.coordinator.CoordinatorServiceOuterClass.getDescriptor().getEnumTypes().get(0); } private static final JobRequestMode[] VALUES = values(); public static JobRequestMode 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 JobRequestMode(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:cz.proto.coordinator.JobRequestMode) } /** * Protobuf enum {@code cz.proto.coordinator.ResultFormat} */ public enum ResultFormat implements com.google.protobuf.ProtocolMessageEnum { /** * TEXT = 0; */ TEXT(0), /** * CSV = 1; */ CSV(1), /** * JSON = 2; */ JSON(2), /** * PARQUET = 3; */ PARQUET(3), /** * HIVE_RESULT = 4; */ HIVE_RESULT(4), /** * ARROW = 5; */ ARROW(5), UNRECOGNIZED(-1), ; /** * TEXT = 0; */ public static final int TEXT_VALUE = 0; /** * CSV = 1; */ public static final int CSV_VALUE = 1; /** * JSON = 2; */ public static final int JSON_VALUE = 2; /** * PARQUET = 3; */ public static final int PARQUET_VALUE = 3; /** * HIVE_RESULT = 4; */ public static final int HIVE_RESULT_VALUE = 4; /** * ARROW = 5; */ public static final int ARROW_VALUE = 5; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ResultFormat 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 ResultFormat forNumber(int value) { switch (value) { case 0: return TEXT; case 1: return CSV; case 2: return JSON; case 3: return PARQUET; case 4: return HIVE_RESULT; case 5: return ARROW; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< ResultFormat> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ResultFormat findValueByNumber(int number) { return ResultFormat.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.coordinator.CoordinatorServiceOuterClass.getDescriptor().getEnumTypes().get(1); } private static final ResultFormat[] VALUES = values(); public static ResultFormat 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 ResultFormat(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:cz.proto.coordinator.ResultFormat) } /** * Protobuf enum {@code cz.proto.coordinator.ResultType} */ public enum ResultType implements com.google.protobuf.ProtocolMessageEnum { /** * BUFFERED_STREAM = 0; */ BUFFERED_STREAM(0), /** * FILE_SYSTEM = 1; */ FILE_SYSTEM(1), UNRECOGNIZED(-1), ; /** * BUFFERED_STREAM = 0; */ public static final int BUFFERED_STREAM_VALUE = 0; /** * FILE_SYSTEM = 1; */ public static final int FILE_SYSTEM_VALUE = 1; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static ResultType 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 ResultType forNumber(int value) { switch (value) { case 0: return BUFFERED_STREAM; case 1: return FILE_SYSTEM; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< ResultType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ResultType findValueByNumber(int number) { return ResultType.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.coordinator.CoordinatorServiceOuterClass.getDescriptor().getEnumTypes().get(2); } private static final ResultType[] VALUES = values(); public static ResultType 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 ResultType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:cz.proto.coordinator.ResultType) } /** * Protobuf enum {@code cz.proto.coordinator.JobScheduleStrategy} */ public enum JobScheduleStrategy implements com.google.protobuf.ProtocolMessageEnum { /** * JOB_AFFINITY = 0; */ JOB_AFFINITY(0), /** * JOB_AFFINITY_BASED_LOAD_BALANCE = 1; */ JOB_AFFINITY_BASED_LOAD_BALANCE(1), /** * JOB_AFFINITY_BASED_MEMORY = 2; */ JOB_AFFINITY_BASED_MEMORY(2), /** * RANDOM = 10; */ RANDOM(10), UNRECOGNIZED(-1), ; /** * JOB_AFFINITY = 0; */ public static final int JOB_AFFINITY_VALUE = 0; /** * JOB_AFFINITY_BASED_LOAD_BALANCE = 1; */ public static final int JOB_AFFINITY_BASED_LOAD_BALANCE_VALUE = 1; /** * JOB_AFFINITY_BASED_MEMORY = 2; */ public static final int JOB_AFFINITY_BASED_MEMORY_VALUE = 2; /** * RANDOM = 10; */ public static final int RANDOM_VALUE = 10; 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 JobScheduleStrategy 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 JobScheduleStrategy forNumber(int value) { switch (value) { case 0: return JOB_AFFINITY; case 1: return JOB_AFFINITY_BASED_LOAD_BALANCE; case 2: return JOB_AFFINITY_BASED_MEMORY; case 10: return RANDOM; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< JobScheduleStrategy> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public JobScheduleStrategy findValueByNumber(int number) { return JobScheduleStrategy.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.coordinator.CoordinatorServiceOuterClass.getDescriptor().getEnumTypes().get(3); } private static final JobScheduleStrategy[] VALUES = values(); public static JobScheduleStrategy 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 JobScheduleStrategy(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:cz.proto.coordinator.JobScheduleStrategy) } /** * Protobuf enum {@code cz.proto.coordinator.UpgradeActionType} */ public enum UpgradeActionType implements com.google.protobuf.ProtocolMessageEnum { /** * START_UPGRADE = 0; */ START_UPGRADE(0), /** * FINISH_UPGRADE = 1; */ FINISH_UPGRADE(1), /** * ABORT_UPGRADE = 2; */ ABORT_UPGRADE(2), UNRECOGNIZED(-1), ; /** * START_UPGRADE = 0; */ public static final int START_UPGRADE_VALUE = 0; /** * FINISH_UPGRADE = 1; */ public static final int FINISH_UPGRADE_VALUE = 1; /** * ABORT_UPGRADE = 2; */ public static final int ABORT_UPGRADE_VALUE = 2; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static UpgradeActionType 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 UpgradeActionType forNumber(int value) { switch (value) { case 0: return START_UPGRADE; case 1: return FINISH_UPGRADE; case 2: return ABORT_UPGRADE; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< UpgradeActionType> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public UpgradeActionType findValueByNumber(int number) { return UpgradeActionType.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.coordinator.CoordinatorServiceOuterClass.getDescriptor().getEnumTypes().get(4); } private static final UpgradeActionType[] VALUES = values(); public static UpgradeActionType 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 UpgradeActionType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:cz.proto.coordinator.UpgradeActionType) } public interface JobIDOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.JobID) com.google.protobuf.MessageOrBuilder { /** * string id = 1; * @return The id. */ java.lang.String getId(); /** * string id = 1; * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** * string workspace = 2; * @return The workspace. */ java.lang.String getWorkspace(); /** * string workspace = 2; * @return The bytes for workspace. */ com.google.protobuf.ByteString getWorkspaceBytes(); /** * int64 instance_id = 3; * @return The instanceId. */ long getInstanceId(); } /** * Protobuf type {@code cz.proto.coordinator.JobID} */ public static final class JobID extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.JobID) JobIDOrBuilder { private static final long serialVersionUID = 0L; // Use JobID.newBuilder() to construct. private JobID(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private JobID() { id_ = ""; workspace_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new JobID(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private JobID( 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(); id_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); workspace_ = s; break; } case 24: { 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobID_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobID_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.class, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** * string id = 1; * @return The id. */ @java.lang.Override public java.lang.String getId() { java.lang.Object ref = id_; 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(); id_ = s; return s; } } /** * string id = 1; * @return The bytes for id. */ @java.lang.Override public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 INSTANCE_ID_FIELD_NUMBER = 3; private long instanceId_; /** * int64 instance_id = 3; * @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(id_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, workspace_); } if (instanceId_ != 0L) { output.writeInt64(3, 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(id_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, workspace_); } if (instanceId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, 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.coordinator.CoordinatorServiceOuterClass.JobID)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.JobID other = (cz.proto.coordinator.CoordinatorServiceOuterClass.JobID) obj; if (!getId() .equals(other.getId())) return false; if (!getWorkspace() .equals(other.getWorkspace())) 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) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().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()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobID parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobID parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobID parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobID 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.coordinator.CoordinatorServiceOuterClass.JobID parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobID parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobID parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobID 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.coordinator.CoordinatorServiceOuterClass.JobID parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobID 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.coordinator.CoordinatorServiceOuterClass.JobID parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobID 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.coordinator.CoordinatorServiceOuterClass.JobID 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.coordinator.JobID} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.JobID) cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobID_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobID_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.class, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.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(); id_ = ""; workspace_ = ""; instanceId_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobID_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID build() { cz.proto.coordinator.CoordinatorServiceOuterClass.JobID result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.JobID result = new cz.proto.coordinator.CoordinatorServiceOuterClass.JobID(this); result.id_ = id_; result.workspace_ = workspace_; 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.coordinator.CoordinatorServiceOuterClass.JobID) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.JobID)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; 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.coordinator.CoordinatorServiceOuterClass.JobID parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.JobID) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object id_ = ""; /** * string id = 1; * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } else { return (java.lang.String) ref; } } /** * string id = 1; * @return The bytes for id. */ public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); id_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string id = 1; * @param value The id to set. * @return This builder for chaining. */ public Builder setId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } id_ = value; onChanged(); return this; } /** * string id = 1; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /** * string id = 1; * @param value The bytes for id to set. * @return This builder for chaining. */ public Builder setIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); id_ = value; 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 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; } @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.coordinator.JobID) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.JobID) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.JobID DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.JobID(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public JobID parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new JobID(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.coordinator.CoordinatorServiceOuterClass.JobID getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AccountOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.Account) com.google.protobuf.MessageOrBuilder { /** * int64 user_id = 1; * @return The userId. */ long getUserId(); /** * string access_token = 2; * @return The accessToken. */ java.lang.String getAccessToken(); /** * string access_token = 2; * @return The bytes for accessToken. */ com.google.protobuf.ByteString getAccessTokenBytes(); } /** *
   * Coordinator Service API 
   * 
* * Protobuf type {@code cz.proto.coordinator.Account} */ public static final class Account extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.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() { accessToken_ = ""; } @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(); accessToken_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_Account_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_Account_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.Account.class, cz.proto.coordinator.CoordinatorServiceOuterClass.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 ACCESS_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object accessToken_; /** * string access_token = 2; * @return The accessToken. */ @java.lang.Override public java.lang.String getAccessToken() { java.lang.Object ref = accessToken_; 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(); accessToken_ = s; return s; } } /** * string access_token = 2; * @return The bytes for accessToken. */ @java.lang.Override public com.google.protobuf.ByteString getAccessTokenBytes() { java.lang.Object ref = accessToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); accessToken_ = 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(accessToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, accessToken_); } 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(accessToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, accessToken_); } 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.coordinator.CoordinatorServiceOuterClass.Account)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.Account other = (cz.proto.coordinator.CoordinatorServiceOuterClass.Account) obj; if (getUserId() != other.getUserId()) return false; if (!getAccessToken() .equals(other.getAccessToken())) 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) + ACCESS_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getAccessToken().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.Account parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.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.coordinator.CoordinatorServiceOuterClass.Account parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.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.coordinator.CoordinatorServiceOuterClass.Account parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.Account parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.Account parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.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.coordinator.CoordinatorServiceOuterClass.Account parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.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.coordinator.CoordinatorServiceOuterClass.Account parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.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.coordinator.CoordinatorServiceOuterClass.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; } /** *
     * Coordinator Service API 
     * 
* * Protobuf type {@code cz.proto.coordinator.Account} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.Account) cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_Account_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_Account_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.Account.class, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.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; accessToken_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_Account_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.Account build() { cz.proto.coordinator.CoordinatorServiceOuterClass.Account result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.Account buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.Account result = new cz.proto.coordinator.CoordinatorServiceOuterClass.Account(this); result.userId_ = userId_; result.accessToken_ = accessToken_; 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.coordinator.CoordinatorServiceOuterClass.Account) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.Account)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.Account other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance()) return this; if (other.getUserId() != 0L) { setUserId(other.getUserId()); } if (!other.getAccessToken().isEmpty()) { accessToken_ = other.accessToken_; 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.coordinator.CoordinatorServiceOuterClass.Account parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.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 accessToken_ = ""; /** * string access_token = 2; * @return The accessToken. */ public java.lang.String getAccessToken() { java.lang.Object ref = accessToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accessToken_ = s; return s; } else { return (java.lang.String) ref; } } /** * string access_token = 2; * @return The bytes for accessToken. */ public com.google.protobuf.ByteString getAccessTokenBytes() { java.lang.Object ref = accessToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); accessToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string access_token = 2; * @param value The accessToken to set. * @return This builder for chaining. */ public Builder setAccessToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } accessToken_ = value; onChanged(); return this; } /** * string access_token = 2; * @return This builder for chaining. */ public Builder clearAccessToken() { accessToken_ = getDefaultInstance().getAccessToken(); onChanged(); return this; } /** * string access_token = 2; * @param value The bytes for accessToken to set. * @return This builder for chaining. */ public Builder setAccessTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); accessToken_ = 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.coordinator.Account) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.Account) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.Account DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.Account(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.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.coordinator.CoordinatorServiceOuterClass.Account getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ClientContextInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.ClientContextInfo) com.google.protobuf.MessageOrBuilder { /** * repeated string config_statements = 1; * @return A list containing the configStatements. */ java.util.List getConfigStatementsList(); /** * repeated string config_statements = 1; * @return The count of configStatements. */ int getConfigStatementsCount(); /** * repeated string config_statements = 1; * @param index The index of the element to return. * @return The configStatements at the given index. */ java.lang.String getConfigStatements(int index); /** * repeated string config_statements = 1; * @param index The index of the value to return. * @return The bytes of the configStatements at the given index. */ com.google.protobuf.ByteString getConfigStatementsBytes(int index); /** * string context_json = 2; * @return The contextJson. */ java.lang.String getContextJson(); /** * string context_json = 2; * @return The bytes for contextJson. */ com.google.protobuf.ByteString getContextJsonBytes(); } /** * Protobuf type {@code cz.proto.coordinator.ClientContextInfo} */ public static final class ClientContextInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.ClientContextInfo) ClientContextInfoOrBuilder { private static final long serialVersionUID = 0L; // Use ClientContextInfo.newBuilder() to construct. private ClientContextInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ClientContextInfo() { configStatements_ = com.google.protobuf.LazyStringArrayList.EMPTY; contextJson_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ClientContextInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ClientContextInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { configStatements_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } configStatements_.add(s); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); contextJson_ = 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)) { configStatements_ = configStatements_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ClientContextInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ClientContextInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo.class, cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo.Builder.class); } public static final int CONFIG_STATEMENTS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList configStatements_; /** * repeated string config_statements = 1; * @return A list containing the configStatements. */ public com.google.protobuf.ProtocolStringList getConfigStatementsList() { return configStatements_; } /** * repeated string config_statements = 1; * @return The count of configStatements. */ public int getConfigStatementsCount() { return configStatements_.size(); } /** * repeated string config_statements = 1; * @param index The index of the element to return. * @return The configStatements at the given index. */ public java.lang.String getConfigStatements(int index) { return configStatements_.get(index); } /** * repeated string config_statements = 1; * @param index The index of the value to return. * @return The bytes of the configStatements at the given index. */ public com.google.protobuf.ByteString getConfigStatementsBytes(int index) { return configStatements_.getByteString(index); } public static final int CONTEXT_JSON_FIELD_NUMBER = 2; private volatile java.lang.Object contextJson_; /** * string context_json = 2; * @return The contextJson. */ @java.lang.Override public java.lang.String getContextJson() { java.lang.Object ref = contextJson_; 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(); contextJson_ = s; return s; } } /** * string context_json = 2; * @return The bytes for contextJson. */ @java.lang.Override public com.google.protobuf.ByteString getContextJsonBytes() { java.lang.Object ref = contextJson_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); contextJson_ = 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 { for (int i = 0; i < configStatements_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, configStatements_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(contextJson_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, contextJson_); } 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 < configStatements_.size(); i++) { dataSize += computeStringSizeNoTag(configStatements_.getRaw(i)); } size += dataSize; size += 1 * getConfigStatementsList().size(); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(contextJson_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, contextJson_); } 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.coordinator.CoordinatorServiceOuterClass.ClientContextInfo)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo other = (cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo) obj; if (!getConfigStatementsList() .equals(other.getConfigStatementsList())) return false; if (!getContextJson() .equals(other.getContextJson())) 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 (getConfigStatementsCount() > 0) { hash = (37 * hash) + CONFIG_STATEMENTS_FIELD_NUMBER; hash = (53 * hash) + getConfigStatementsList().hashCode(); } hash = (37 * hash) + CONTEXT_JSON_FIELD_NUMBER; hash = (53 * hash) + getContextJson().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo 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.coordinator.CoordinatorServiceOuterClass.ClientContextInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo 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.coordinator.CoordinatorServiceOuterClass.ClientContextInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo 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.coordinator.CoordinatorServiceOuterClass.ClientContextInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo 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.coordinator.CoordinatorServiceOuterClass.ClientContextInfo 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.coordinator.ClientContextInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.ClientContextInfo) cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ClientContextInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ClientContextInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo.class, cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo.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(); configStatements_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); contextJson_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ClientContextInfo_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo build() { cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo result = new cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { configStatements_ = configStatements_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.configStatements_ = configStatements_; result.contextJson_ = contextJson_; 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.coordinator.CoordinatorServiceOuterClass.ClientContextInfo) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo.getDefaultInstance()) return this; if (!other.configStatements_.isEmpty()) { if (configStatements_.isEmpty()) { configStatements_ = other.configStatements_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureConfigStatementsIsMutable(); configStatements_.addAll(other.configStatements_); } onChanged(); } if (!other.getContextJson().isEmpty()) { contextJson_ = other.contextJson_; 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.coordinator.CoordinatorServiceOuterClass.ClientContextInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.LazyStringList configStatements_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureConfigStatementsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { configStatements_ = new com.google.protobuf.LazyStringArrayList(configStatements_); bitField0_ |= 0x00000001; } } /** * repeated string config_statements = 1; * @return A list containing the configStatements. */ public com.google.protobuf.ProtocolStringList getConfigStatementsList() { return configStatements_.getUnmodifiableView(); } /** * repeated string config_statements = 1; * @return The count of configStatements. */ public int getConfigStatementsCount() { return configStatements_.size(); } /** * repeated string config_statements = 1; * @param index The index of the element to return. * @return The configStatements at the given index. */ public java.lang.String getConfigStatements(int index) { return configStatements_.get(index); } /** * repeated string config_statements = 1; * @param index The index of the value to return. * @return The bytes of the configStatements at the given index. */ public com.google.protobuf.ByteString getConfigStatementsBytes(int index) { return configStatements_.getByteString(index); } /** * repeated string config_statements = 1; * @param index The index to set the value at. * @param value The configStatements to set. * @return This builder for chaining. */ public Builder setConfigStatements( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureConfigStatementsIsMutable(); configStatements_.set(index, value); onChanged(); return this; } /** * repeated string config_statements = 1; * @param value The configStatements to add. * @return This builder for chaining. */ public Builder addConfigStatements( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureConfigStatementsIsMutable(); configStatements_.add(value); onChanged(); return this; } /** * repeated string config_statements = 1; * @param values The configStatements to add. * @return This builder for chaining. */ public Builder addAllConfigStatements( java.lang.Iterable values) { ensureConfigStatementsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, configStatements_); onChanged(); return this; } /** * repeated string config_statements = 1; * @return This builder for chaining. */ public Builder clearConfigStatements() { configStatements_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string config_statements = 1; * @param value The bytes of the configStatements to add. * @return This builder for chaining. */ public Builder addConfigStatementsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureConfigStatementsIsMutable(); configStatements_.add(value); onChanged(); return this; } private java.lang.Object contextJson_ = ""; /** * string context_json = 2; * @return The contextJson. */ public java.lang.String getContextJson() { java.lang.Object ref = contextJson_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); contextJson_ = s; return s; } else { return (java.lang.String) ref; } } /** * string context_json = 2; * @return The bytes for contextJson. */ public com.google.protobuf.ByteString getContextJsonBytes() { java.lang.Object ref = contextJson_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); contextJson_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string context_json = 2; * @param value The contextJson to set. * @return This builder for chaining. */ public Builder setContextJson( java.lang.String value) { if (value == null) { throw new NullPointerException(); } contextJson_ = value; onChanged(); return this; } /** * string context_json = 2; * @return This builder for chaining. */ public Builder clearContextJson() { contextJson_ = getDefaultInstance().getContextJson(); onChanged(); return this; } /** * string context_json = 2; * @param value The bytes for contextJson to set. * @return This builder for chaining. */ public Builder setContextJsonBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); contextJson_ = 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.coordinator.ClientContextInfo) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.ClientContextInfo) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ClientContextInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ClientContextInfo(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.coordinator.CoordinatorServiceOuterClass.ClientContextInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface JobDescOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.JobDesc) com.google.protobuf.MessageOrBuilder { /** *
     * optional, use default_vc if not set
     * 
* * string virtual_cluster = 1; * @return The virtualCluster. */ java.lang.String getVirtualCluster(); /** *
     * optional, use default_vc if not set
     * 
* * string virtual_cluster = 1; * @return The bytes for virtualCluster. */ com.google.protobuf.ByteString getVirtualClusterBytes(); /** * .cz.proto.JobType type = 2; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** * .cz.proto.JobType type = 2; * @return The type. */ cz.proto.JobType getType(); /** * .cz.proto.coordinator.JobID job_id = 3; * @return Whether the jobId field is set. */ boolean hasJobId(); /** * .cz.proto.coordinator.JobID job_id = 3; * @return The jobId. */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId(); /** * .cz.proto.coordinator.JobID job_id = 3; */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder(); /** * string job_name = 4; * @return The jobName. */ java.lang.String getJobName(); /** * string job_name = 4; * @return The bytes for jobName. */ com.google.protobuf.ByteString getJobNameBytes(); /** * .cz.proto.coordinator.Account account = 5; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.coordinator.Account account = 5; * @return The account. */ cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount(); /** * .cz.proto.coordinator.Account account = 5; */ cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder(); /** * .cz.proto.coordinator.JobRequestMode request_mode = 6; * @return The enum numeric value on the wire for requestMode. */ int getRequestModeValue(); /** * .cz.proto.coordinator.JobRequestMode request_mode = 6; * @return The requestMode. */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequestMode getRequestMode(); /** * int32 hybrid_polling_timeout = 7; * @return The hybridPollingTimeout. */ int getHybridPollingTimeout(); /** * map<string, string> job_config = 8; */ int getJobConfigCount(); /** * map<string, string> job_config = 8; */ boolean containsJobConfig( java.lang.String key); /** * Use {@link #getJobConfigMap()} instead. */ @java.lang.Deprecated java.util.Map getJobConfig(); /** * map<string, string> job_config = 8; */ java.util.Map getJobConfigMap(); /** * map<string, string> job_config = 8; */ java.lang.String getJobConfigOrDefault( java.lang.String key, java.lang.String defaultValue); /** * map<string, string> job_config = 8; */ java.lang.String getJobConfigOrThrow( java.lang.String key); /** * .cz.proto.SQLJob sql_job = 9; * @return Whether the sqlJob field is set. */ boolean hasSqlJob(); /** * .cz.proto.SQLJob sql_job = 9; * @return The sqlJob. */ cz.proto.SQLJob getSqlJob(); /** * .cz.proto.SQLJob sql_job = 9; */ cz.proto.SQLJobOrBuilder getSqlJobOrBuilder(); /** * uint64 job_timeout_ms = 15; * @return The jobTimeoutMs. */ long getJobTimeoutMs(); /** * string user_agent = 30; * @return The userAgent. */ java.lang.String getUserAgent(); /** * string user_agent = 30; * @return The bytes for userAgent. */ com.google.protobuf.ByteString getUserAgentBytes(); /** * uint32 priority = 31; * @return The priority. */ int getPriority(); /** * string priority_string = 32; * @return The priorityString. */ java.lang.String getPriorityString(); /** * string priority_string = 32; * @return The bytes for priorityString. */ com.google.protobuf.ByteString getPriorityStringBytes(); /** * .cz.proto.coordinator.ClientContextInfo client_context = 33; * @return Whether the clientContext field is set. */ boolean hasClientContext(); /** * .cz.proto.coordinator.ClientContextInfo client_context = 33; * @return The clientContext. */ cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo getClientContext(); /** * .cz.proto.coordinator.ClientContextInfo client_context = 33; */ cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfoOrBuilder getClientContextOrBuilder(); /** * string query_tag = 34; * @return The queryTag. */ java.lang.String getQueryTag(); /** * string query_tag = 34; * @return The bytes for queryTag. */ com.google.protobuf.ByteString getQueryTagBytes(); /** * optional string jdbc_domain = 35; * @return Whether the jdbcDomain field is set. */ boolean hasJdbcDomain(); /** * optional string jdbc_domain = 35; * @return The jdbcDomain. */ java.lang.String getJdbcDomain(); /** * optional string jdbc_domain = 35; * @return The bytes for jdbcDomain. */ com.google.protobuf.ByteString getJdbcDomainBytes(); /** * .cz.proto.JobProfiling client_profiling = 36; * @return Whether the clientProfiling field is set. */ boolean hasClientProfiling(); /** * .cz.proto.JobProfiling client_profiling = 36; * @return The clientProfiling. */ cz.proto.JobProfiling getClientProfiling(); /** * .cz.proto.JobProfiling client_profiling = 36; */ cz.proto.JobProfilingOrBuilder getClientProfilingOrBuilder(); public cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.JobCase getJobCase(); } /** * Protobuf type {@code cz.proto.coordinator.JobDesc} */ public static final class JobDesc extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.JobDesc) JobDescOrBuilder { private static final long serialVersionUID = 0L; // Use JobDesc.newBuilder() to construct. private JobDesc(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private JobDesc() { virtualCluster_ = ""; type_ = 0; jobName_ = ""; requestMode_ = 0; userAgent_ = ""; priorityString_ = ""; queryTag_ = ""; jdbcDomain_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new JobDesc(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private JobDesc( 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(); virtualCluster_ = s; break; } case 16: { int rawValue = input.readEnum(); type_ = rawValue; break; } case 26: { cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder subBuilder = null; if (jobId_ != null) { subBuilder = jobId_.toBuilder(); } jobId_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(jobId_); jobId_ = subBuilder.buildPartial(); } break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); jobName_ = s; break; } case 42: { cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 48: { int rawValue = input.readEnum(); requestMode_ = rawValue; break; } case 56: { hybridPollingTimeout_ = input.readInt32(); break; } case 66: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { jobConfig_ = com.google.protobuf.MapField.newMapField( JobConfigDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry jobConfig__ = input.readMessage( JobConfigDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); jobConfig_.getMutableMap().put( jobConfig__.getKey(), jobConfig__.getValue()); break; } case 74: { cz.proto.SQLJob.Builder subBuilder = null; if (jobCase_ == 9) { subBuilder = ((cz.proto.SQLJob) job_).toBuilder(); } job_ = input.readMessage(cz.proto.SQLJob.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.SQLJob) job_); job_ = subBuilder.buildPartial(); } jobCase_ = 9; break; } case 120: { jobTimeoutMs_ = input.readUInt64(); break; } case 242: { java.lang.String s = input.readStringRequireUtf8(); userAgent_ = s; break; } case 248: { priority_ = input.readUInt32(); break; } case 258: { java.lang.String s = input.readStringRequireUtf8(); priorityString_ = s; break; } case 266: { cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo.Builder subBuilder = null; if (clientContext_ != null) { subBuilder = clientContext_.toBuilder(); } clientContext_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(clientContext_); clientContext_ = subBuilder.buildPartial(); } break; } case 274: { java.lang.String s = input.readStringRequireUtf8(); queryTag_ = s; break; } case 282: { java.lang.String s = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; jdbcDomain_ = s; break; } case 290: { cz.proto.JobProfiling.Builder subBuilder = null; if (clientProfiling_ != null) { subBuilder = clientProfiling_.toBuilder(); } clientProfiling_ = input.readMessage(cz.proto.JobProfiling.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(clientProfiling_); clientProfiling_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobDesc_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 8: return internalGetJobConfig(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobDesc_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.class, cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.Builder.class); } private int bitField0_; private int jobCase_ = 0; private java.lang.Object job_; public enum JobCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { SQL_JOB(9), JOB_NOT_SET(0); private final int value; private JobCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static JobCase valueOf(int value) { return forNumber(value); } public static JobCase forNumber(int value) { switch (value) { case 9: return SQL_JOB; case 0: return JOB_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public JobCase getJobCase() { return JobCase.forNumber( jobCase_); } public static final int VIRTUAL_CLUSTER_FIELD_NUMBER = 1; private volatile java.lang.Object virtualCluster_; /** *
     * optional, use default_vc if not set
     * 
* * string virtual_cluster = 1; * @return The virtualCluster. */ @java.lang.Override public java.lang.String getVirtualCluster() { java.lang.Object ref = virtualCluster_; 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(); virtualCluster_ = s; return s; } } /** *
     * optional, use default_vc if not set
     * 
* * string virtual_cluster = 1; * @return The bytes for virtualCluster. */ @java.lang.Override public com.google.protobuf.ByteString getVirtualClusterBytes() { java.lang.Object ref = virtualCluster_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); virtualCluster_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TYPE_FIELD_NUMBER = 2; private int type_; /** * .cz.proto.JobType type = 2; * @return The enum numeric value on the wire for type. */ @java.lang.Override public int getTypeValue() { return type_; } /** * .cz.proto.JobType type = 2; * @return The type. */ @java.lang.Override public cz.proto.JobType getType() { @SuppressWarnings("deprecation") cz.proto.JobType result = cz.proto.JobType.valueOf(type_); return result == null ? cz.proto.JobType.UNRECOGNIZED : result; } public static final int JOB_ID_FIELD_NUMBER = 3; private cz.proto.coordinator.CoordinatorServiceOuterClass.JobID jobId_; /** * .cz.proto.coordinator.JobID job_id = 3; * @return Whether the jobId field is set. */ @java.lang.Override public boolean hasJobId() { return jobId_ != null; } /** * .cz.proto.coordinator.JobID job_id = 3; * @return The jobId. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId() { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } /** * .cz.proto.coordinator.JobID job_id = 3; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder() { return getJobId(); } public static final int JOB_NAME_FIELD_NUMBER = 4; private volatile java.lang.Object jobName_; /** * string job_name = 4; * @return The jobName. */ @java.lang.Override public java.lang.String getJobName() { java.lang.Object ref = jobName_; 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(); jobName_ = s; return s; } } /** * string job_name = 4; * @return The bytes for jobName. */ @java.lang.Override public com.google.protobuf.ByteString getJobNameBytes() { java.lang.Object ref = jobName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); jobName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ACCOUNT_FIELD_NUMBER = 5; private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; /** * .cz.proto.coordinator.Account account = 5; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.coordinator.Account account = 5; * @return The account. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } /** * .cz.proto.coordinator.Account account = 5; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int REQUEST_MODE_FIELD_NUMBER = 6; private int requestMode_; /** * .cz.proto.coordinator.JobRequestMode request_mode = 6; * @return The enum numeric value on the wire for requestMode. */ @java.lang.Override public int getRequestModeValue() { return requestMode_; } /** * .cz.proto.coordinator.JobRequestMode request_mode = 6; * @return The requestMode. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequestMode getRequestMode() { @SuppressWarnings("deprecation") cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequestMode result = cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequestMode.valueOf(requestMode_); return result == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequestMode.UNRECOGNIZED : result; } public static final int HYBRID_POLLING_TIMEOUT_FIELD_NUMBER = 7; private int hybridPollingTimeout_; /** * int32 hybrid_polling_timeout = 7; * @return The hybridPollingTimeout. */ @java.lang.Override public int getHybridPollingTimeout() { return hybridPollingTimeout_; } public static final int JOB_CONFIG_FIELD_NUMBER = 8; private static final class JobConfigDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobDesc_JobConfigEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> jobConfig_; private com.google.protobuf.MapField internalGetJobConfig() { if (jobConfig_ == null) { return com.google.protobuf.MapField.emptyMapField( JobConfigDefaultEntryHolder.defaultEntry); } return jobConfig_; } public int getJobConfigCount() { return internalGetJobConfig().getMap().size(); } /** * map<string, string> job_config = 8; */ @java.lang.Override public boolean containsJobConfig( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetJobConfig().getMap().containsKey(key); } /** * Use {@link #getJobConfigMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getJobConfig() { return getJobConfigMap(); } /** * map<string, string> job_config = 8; */ @java.lang.Override public java.util.Map getJobConfigMap() { return internalGetJobConfig().getMap(); } /** * map<string, string> job_config = 8; */ @java.lang.Override public java.lang.String getJobConfigOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetJobConfig().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> job_config = 8; */ @java.lang.Override public java.lang.String getJobConfigOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetJobConfig().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int SQL_JOB_FIELD_NUMBER = 9; /** * .cz.proto.SQLJob sql_job = 9; * @return Whether the sqlJob field is set. */ @java.lang.Override public boolean hasSqlJob() { return jobCase_ == 9; } /** * .cz.proto.SQLJob sql_job = 9; * @return The sqlJob. */ @java.lang.Override public cz.proto.SQLJob getSqlJob() { if (jobCase_ == 9) { return (cz.proto.SQLJob) job_; } return cz.proto.SQLJob.getDefaultInstance(); } /** * .cz.proto.SQLJob sql_job = 9; */ @java.lang.Override public cz.proto.SQLJobOrBuilder getSqlJobOrBuilder() { if (jobCase_ == 9) { return (cz.proto.SQLJob) job_; } return cz.proto.SQLJob.getDefaultInstance(); } public static final int JOB_TIMEOUT_MS_FIELD_NUMBER = 15; private long jobTimeoutMs_; /** * uint64 job_timeout_ms = 15; * @return The jobTimeoutMs. */ @java.lang.Override public long getJobTimeoutMs() { return jobTimeoutMs_; } public static final int USER_AGENT_FIELD_NUMBER = 30; private volatile java.lang.Object userAgent_; /** * string user_agent = 30; * @return The userAgent. */ @java.lang.Override public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; 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(); userAgent_ = s; return s; } } /** * string user_agent = 30; * @return The bytes for userAgent. */ @java.lang.Override public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PRIORITY_FIELD_NUMBER = 31; private int priority_; /** * uint32 priority = 31; * @return The priority. */ @java.lang.Override public int getPriority() { return priority_; } public static final int PRIORITY_STRING_FIELD_NUMBER = 32; private volatile java.lang.Object priorityString_; /** * string priority_string = 32; * @return The priorityString. */ @java.lang.Override public java.lang.String getPriorityString() { java.lang.Object ref = priorityString_; 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(); priorityString_ = s; return s; } } /** * string priority_string = 32; * @return The bytes for priorityString. */ @java.lang.Override public com.google.protobuf.ByteString getPriorityStringBytes() { java.lang.Object ref = priorityString_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); priorityString_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CLIENT_CONTEXT_FIELD_NUMBER = 33; private cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo clientContext_; /** * .cz.proto.coordinator.ClientContextInfo client_context = 33; * @return Whether the clientContext field is set. */ @java.lang.Override public boolean hasClientContext() { return clientContext_ != null; } /** * .cz.proto.coordinator.ClientContextInfo client_context = 33; * @return The clientContext. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo getClientContext() { return clientContext_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo.getDefaultInstance() : clientContext_; } /** * .cz.proto.coordinator.ClientContextInfo client_context = 33; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfoOrBuilder getClientContextOrBuilder() { return getClientContext(); } public static final int QUERY_TAG_FIELD_NUMBER = 34; private volatile java.lang.Object queryTag_; /** * string query_tag = 34; * @return The queryTag. */ @java.lang.Override public java.lang.String getQueryTag() { java.lang.Object ref = queryTag_; 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(); queryTag_ = s; return s; } } /** * string query_tag = 34; * @return The bytes for queryTag. */ @java.lang.Override public com.google.protobuf.ByteString getQueryTagBytes() { java.lang.Object ref = queryTag_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); queryTag_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int JDBC_DOMAIN_FIELD_NUMBER = 35; private volatile java.lang.Object jdbcDomain_; /** * optional string jdbc_domain = 35; * @return Whether the jdbcDomain field is set. */ @java.lang.Override public boolean hasJdbcDomain() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string jdbc_domain = 35; * @return The jdbcDomain. */ @java.lang.Override public java.lang.String getJdbcDomain() { java.lang.Object ref = jdbcDomain_; 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(); jdbcDomain_ = s; return s; } } /** * optional string jdbc_domain = 35; * @return The bytes for jdbcDomain. */ @java.lang.Override public com.google.protobuf.ByteString getJdbcDomainBytes() { java.lang.Object ref = jdbcDomain_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); jdbcDomain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CLIENT_PROFILING_FIELD_NUMBER = 36; private cz.proto.JobProfiling clientProfiling_; /** * .cz.proto.JobProfiling client_profiling = 36; * @return Whether the clientProfiling field is set. */ @java.lang.Override public boolean hasClientProfiling() { return clientProfiling_ != null; } /** * .cz.proto.JobProfiling client_profiling = 36; * @return The clientProfiling. */ @java.lang.Override public cz.proto.JobProfiling getClientProfiling() { return clientProfiling_ == null ? cz.proto.JobProfiling.getDefaultInstance() : clientProfiling_; } /** * .cz.proto.JobProfiling client_profiling = 36; */ @java.lang.Override public cz.proto.JobProfilingOrBuilder getClientProfilingOrBuilder() { return getClientProfiling(); } 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(virtualCluster_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, virtualCluster_); } if (type_ != cz.proto.JobType.SQL_JOB.getNumber()) { output.writeEnum(2, type_); } if (jobId_ != null) { output.writeMessage(3, getJobId()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, jobName_); } if (account_ != null) { output.writeMessage(5, getAccount()); } if (requestMode_ != cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequestMode.UNKNOWN.getNumber()) { output.writeEnum(6, requestMode_); } if (hybridPollingTimeout_ != 0) { output.writeInt32(7, hybridPollingTimeout_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetJobConfig(), JobConfigDefaultEntryHolder.defaultEntry, 8); if (jobCase_ == 9) { output.writeMessage(9, (cz.proto.SQLJob) job_); } if (jobTimeoutMs_ != 0L) { output.writeUInt64(15, jobTimeoutMs_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 30, userAgent_); } if (priority_ != 0) { output.writeUInt32(31, priority_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(priorityString_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 32, priorityString_); } if (clientContext_ != null) { output.writeMessage(33, getClientContext()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryTag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 34, queryTag_); } if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 35, jdbcDomain_); } if (clientProfiling_ != null) { output.writeMessage(36, getClientProfiling()); } 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(virtualCluster_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, virtualCluster_); } if (type_ != cz.proto.JobType.SQL_JOB.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, type_); } if (jobId_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getJobId()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, jobName_); } if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getAccount()); } if (requestMode_ != cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequestMode.UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, requestMode_); } if (hybridPollingTimeout_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(7, hybridPollingTimeout_); } for (java.util.Map.Entry entry : internalGetJobConfig().getMap().entrySet()) { com.google.protobuf.MapEntry jobConfig__ = JobConfigDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, jobConfig__); } if (jobCase_ == 9) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, (cz.proto.SQLJob) job_); } if (jobTimeoutMs_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(15, jobTimeoutMs_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(30, userAgent_); } if (priority_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(31, priority_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(priorityString_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(32, priorityString_); } if (clientContext_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(33, getClientContext()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryTag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(34, queryTag_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(35, jdbcDomain_); } if (clientProfiling_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(36, getClientProfiling()); } 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.coordinator.CoordinatorServiceOuterClass.JobDesc)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc other = (cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc) obj; if (!getVirtualCluster() .equals(other.getVirtualCluster())) return false; if (type_ != other.type_) return false; if (hasJobId() != other.hasJobId()) return false; if (hasJobId()) { if (!getJobId() .equals(other.getJobId())) return false; } if (!getJobName() .equals(other.getJobName())) return false; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (requestMode_ != other.requestMode_) return false; if (getHybridPollingTimeout() != other.getHybridPollingTimeout()) return false; if (!internalGetJobConfig().equals( other.internalGetJobConfig())) return false; if (getJobTimeoutMs() != other.getJobTimeoutMs()) return false; if (!getUserAgent() .equals(other.getUserAgent())) return false; if (getPriority() != other.getPriority()) return false; if (!getPriorityString() .equals(other.getPriorityString())) return false; if (hasClientContext() != other.hasClientContext()) return false; if (hasClientContext()) { if (!getClientContext() .equals(other.getClientContext())) return false; } if (!getQueryTag() .equals(other.getQueryTag())) return false; if (hasJdbcDomain() != other.hasJdbcDomain()) return false; if (hasJdbcDomain()) { if (!getJdbcDomain() .equals(other.getJdbcDomain())) return false; } if (hasClientProfiling() != other.hasClientProfiling()) return false; if (hasClientProfiling()) { if (!getClientProfiling() .equals(other.getClientProfiling())) return false; } if (!getJobCase().equals(other.getJobCase())) return false; switch (jobCase_) { case 9: if (!getSqlJob() .equals(other.getSqlJob())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + VIRTUAL_CLUSTER_FIELD_NUMBER; hash = (53 * hash) + getVirtualCluster().hashCode(); hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; if (hasJobId()) { hash = (37 * hash) + JOB_ID_FIELD_NUMBER; hash = (53 * hash) + getJobId().hashCode(); } hash = (37 * hash) + JOB_NAME_FIELD_NUMBER; hash = (53 * hash) + getJobName().hashCode(); if (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } hash = (37 * hash) + REQUEST_MODE_FIELD_NUMBER; hash = (53 * hash) + requestMode_; hash = (37 * hash) + HYBRID_POLLING_TIMEOUT_FIELD_NUMBER; hash = (53 * hash) + getHybridPollingTimeout(); if (!internalGetJobConfig().getMap().isEmpty()) { hash = (37 * hash) + JOB_CONFIG_FIELD_NUMBER; hash = (53 * hash) + internalGetJobConfig().hashCode(); } hash = (37 * hash) + JOB_TIMEOUT_MS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getJobTimeoutMs()); hash = (37 * hash) + USER_AGENT_FIELD_NUMBER; hash = (53 * hash) + getUserAgent().hashCode(); hash = (37 * hash) + PRIORITY_FIELD_NUMBER; hash = (53 * hash) + getPriority(); hash = (37 * hash) + PRIORITY_STRING_FIELD_NUMBER; hash = (53 * hash) + getPriorityString().hashCode(); if (hasClientContext()) { hash = (37 * hash) + CLIENT_CONTEXT_FIELD_NUMBER; hash = (53 * hash) + getClientContext().hashCode(); } hash = (37 * hash) + QUERY_TAG_FIELD_NUMBER; hash = (53 * hash) + getQueryTag().hashCode(); if (hasJdbcDomain()) { hash = (37 * hash) + JDBC_DOMAIN_FIELD_NUMBER; hash = (53 * hash) + getJdbcDomain().hashCode(); } if (hasClientProfiling()) { hash = (37 * hash) + CLIENT_PROFILING_FIELD_NUMBER; hash = (53 * hash) + getClientProfiling().hashCode(); } switch (jobCase_) { case 9: hash = (37 * hash) + SQL_JOB_FIELD_NUMBER; hash = (53 * hash) + getSqlJob().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc 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.coordinator.CoordinatorServiceOuterClass.JobDesc parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc 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.coordinator.CoordinatorServiceOuterClass.JobDesc parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc 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.coordinator.CoordinatorServiceOuterClass.JobDesc parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc 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.coordinator.CoordinatorServiceOuterClass.JobDesc 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.coordinator.JobDesc} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.JobDesc) cz.proto.coordinator.CoordinatorServiceOuterClass.JobDescOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobDesc_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 8: return internalGetJobConfig(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 8: return internalGetMutableJobConfig(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobDesc_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.class, cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.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(); virtualCluster_ = ""; type_ = 0; if (jobIdBuilder_ == null) { jobId_ = null; } else { jobId_ = null; jobIdBuilder_ = null; } jobName_ = ""; if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } requestMode_ = 0; hybridPollingTimeout_ = 0; internalGetMutableJobConfig().clear(); jobTimeoutMs_ = 0L; userAgent_ = ""; priority_ = 0; priorityString_ = ""; if (clientContextBuilder_ == null) { clientContext_ = null; } else { clientContext_ = null; clientContextBuilder_ = null; } queryTag_ = ""; jdbcDomain_ = ""; bitField0_ = (bitField0_ & ~0x00000002); if (clientProfilingBuilder_ == null) { clientProfiling_ = null; } else { clientProfiling_ = null; clientProfilingBuilder_ = null; } jobCase_ = 0; job_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobDesc_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc build() { cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc result = new cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.virtualCluster_ = virtualCluster_; result.type_ = type_; if (jobIdBuilder_ == null) { result.jobId_ = jobId_; } else { result.jobId_ = jobIdBuilder_.build(); } result.jobName_ = jobName_; if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } result.requestMode_ = requestMode_; result.hybridPollingTimeout_ = hybridPollingTimeout_; result.jobConfig_ = internalGetJobConfig(); result.jobConfig_.makeImmutable(); if (jobCase_ == 9) { if (sqlJobBuilder_ == null) { result.job_ = job_; } else { result.job_ = sqlJobBuilder_.build(); } } result.jobTimeoutMs_ = jobTimeoutMs_; result.userAgent_ = userAgent_; result.priority_ = priority_; result.priorityString_ = priorityString_; if (clientContextBuilder_ == null) { result.clientContext_ = clientContext_; } else { result.clientContext_ = clientContextBuilder_.build(); } result.queryTag_ = queryTag_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000001; } result.jdbcDomain_ = jdbcDomain_; if (clientProfilingBuilder_ == null) { result.clientProfiling_ = clientProfiling_; } else { result.clientProfiling_ = clientProfilingBuilder_.build(); } result.bitField0_ = to_bitField0_; result.jobCase_ = jobCase_; 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.coordinator.CoordinatorServiceOuterClass.JobDesc) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.getDefaultInstance()) return this; if (!other.getVirtualCluster().isEmpty()) { virtualCluster_ = other.virtualCluster_; onChanged(); } if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } if (other.hasJobId()) { mergeJobId(other.getJobId()); } if (!other.getJobName().isEmpty()) { jobName_ = other.jobName_; onChanged(); } if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (other.requestMode_ != 0) { setRequestModeValue(other.getRequestModeValue()); } if (other.getHybridPollingTimeout() != 0) { setHybridPollingTimeout(other.getHybridPollingTimeout()); } internalGetMutableJobConfig().mergeFrom( other.internalGetJobConfig()); if (other.getJobTimeoutMs() != 0L) { setJobTimeoutMs(other.getJobTimeoutMs()); } if (!other.getUserAgent().isEmpty()) { userAgent_ = other.userAgent_; onChanged(); } if (other.getPriority() != 0) { setPriority(other.getPriority()); } if (!other.getPriorityString().isEmpty()) { priorityString_ = other.priorityString_; onChanged(); } if (other.hasClientContext()) { mergeClientContext(other.getClientContext()); } if (!other.getQueryTag().isEmpty()) { queryTag_ = other.queryTag_; onChanged(); } if (other.hasJdbcDomain()) { bitField0_ |= 0x00000002; jdbcDomain_ = other.jdbcDomain_; onChanged(); } if (other.hasClientProfiling()) { mergeClientProfiling(other.getClientProfiling()); } switch (other.getJobCase()) { case SQL_JOB: { mergeSqlJob(other.getSqlJob()); break; } case JOB_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int jobCase_ = 0; private java.lang.Object job_; public JobCase getJobCase() { return JobCase.forNumber( jobCase_); } public Builder clearJob() { jobCase_ = 0; job_ = null; onChanged(); return this; } private int bitField0_; private java.lang.Object virtualCluster_ = ""; /** *
       * optional, use default_vc if not set
       * 
* * string virtual_cluster = 1; * @return The virtualCluster. */ public java.lang.String getVirtualCluster() { java.lang.Object ref = virtualCluster_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); virtualCluster_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * optional, use default_vc if not set
       * 
* * string virtual_cluster = 1; * @return The bytes for virtualCluster. */ public com.google.protobuf.ByteString getVirtualClusterBytes() { java.lang.Object ref = virtualCluster_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); virtualCluster_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * optional, use default_vc if not set
       * 
* * string virtual_cluster = 1; * @param value The virtualCluster to set. * @return This builder for chaining. */ public Builder setVirtualCluster( java.lang.String value) { if (value == null) { throw new NullPointerException(); } virtualCluster_ = value; onChanged(); return this; } /** *
       * optional, use default_vc if not set
       * 
* * string virtual_cluster = 1; * @return This builder for chaining. */ public Builder clearVirtualCluster() { virtualCluster_ = getDefaultInstance().getVirtualCluster(); onChanged(); return this; } /** *
       * optional, use default_vc if not set
       * 
* * string virtual_cluster = 1; * @param value The bytes for virtualCluster to set. * @return This builder for chaining. */ public Builder setVirtualClusterBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); virtualCluster_ = value; onChanged(); return this; } private int type_ = 0; /** * .cz.proto.JobType type = 2; * @return The enum numeric value on the wire for type. */ @java.lang.Override public int getTypeValue() { return type_; } /** * .cz.proto.JobType type = 2; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { type_ = value; onChanged(); return this; } /** * .cz.proto.JobType type = 2; * @return The type. */ @java.lang.Override public cz.proto.JobType getType() { @SuppressWarnings("deprecation") cz.proto.JobType result = cz.proto.JobType.valueOf(type_); return result == null ? cz.proto.JobType.UNRECOGNIZED : result; } /** * .cz.proto.JobType type = 2; * @param value The type to set. * @return This builder for chaining. */ public Builder setType(cz.proto.JobType value) { if (value == null) { throw new NullPointerException(); } type_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.JobType type = 2; * @return This builder for chaining. */ public Builder clearType() { type_ = 0; onChanged(); return this; } private cz.proto.coordinator.CoordinatorServiceOuterClass.JobID jobId_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder> jobIdBuilder_; /** * .cz.proto.coordinator.JobID job_id = 3; * @return Whether the jobId field is set. */ public boolean hasJobId() { return jobIdBuilder_ != null || jobId_ != null; } /** * .cz.proto.coordinator.JobID job_id = 3; * @return The jobId. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId() { if (jobIdBuilder_ == null) { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } else { return jobIdBuilder_.getMessage(); } } /** * .cz.proto.coordinator.JobID job_id = 3; */ public Builder setJobId(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID value) { if (jobIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } jobId_ = value; onChanged(); } else { jobIdBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.JobID job_id = 3; */ public Builder setJobId( cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder builderForValue) { if (jobIdBuilder_ == null) { jobId_ = builderForValue.build(); onChanged(); } else { jobIdBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.JobID job_id = 3; */ public Builder mergeJobId(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID value) { if (jobIdBuilder_ == null) { if (jobId_ != null) { jobId_ = cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.newBuilder(jobId_).mergeFrom(value).buildPartial(); } else { jobId_ = value; } onChanged(); } else { jobIdBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.JobID job_id = 3; */ public Builder clearJobId() { if (jobIdBuilder_ == null) { jobId_ = null; onChanged(); } else { jobId_ = null; jobIdBuilder_ = null; } return this; } /** * .cz.proto.coordinator.JobID job_id = 3; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder getJobIdBuilder() { onChanged(); return getJobIdFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.JobID job_id = 3; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder() { if (jobIdBuilder_ != null) { return jobIdBuilder_.getMessageOrBuilder(); } else { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } } /** * .cz.proto.coordinator.JobID job_id = 3; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder> getJobIdFieldBuilder() { if (jobIdBuilder_ == null) { jobIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder>( getJobId(), getParentForChildren(), isClean()); jobId_ = null; } return jobIdBuilder_; } private java.lang.Object jobName_ = ""; /** * string job_name = 4; * @return The jobName. */ public java.lang.String getJobName() { java.lang.Object ref = jobName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string job_name = 4; * @return The bytes for jobName. */ public com.google.protobuf.ByteString getJobNameBytes() { java.lang.Object ref = jobName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); jobName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string job_name = 4; * @param value The jobName to set. * @return This builder for chaining. */ public Builder setJobName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } jobName_ = value; onChanged(); return this; } /** * string job_name = 4; * @return This builder for chaining. */ public Builder clearJobName() { jobName_ = getDefaultInstance().getJobName(); onChanged(); return this; } /** * string job_name = 4; * @param value The bytes for jobName to set. * @return This builder for chaining. */ public Builder setJobNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); jobName_ = value; onChanged(); return this; } private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> accountBuilder_; /** * .cz.proto.coordinator.Account account = 5; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.coordinator.Account account = 5; * @return The account. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.coordinator.Account account = 5; */ public Builder setAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.Account account = 5; */ public Builder setAccount( cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.Account account = 5; */ public Builder mergeAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.coordinator.CoordinatorServiceOuterClass.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.Account account = 5; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.coordinator.Account account = 5; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.Account account = 5; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } } /** * .cz.proto.coordinator.Account account = 5; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private int requestMode_ = 0; /** * .cz.proto.coordinator.JobRequestMode request_mode = 6; * @return The enum numeric value on the wire for requestMode. */ @java.lang.Override public int getRequestModeValue() { return requestMode_; } /** * .cz.proto.coordinator.JobRequestMode request_mode = 6; * @param value The enum numeric value on the wire for requestMode to set. * @return This builder for chaining. */ public Builder setRequestModeValue(int value) { requestMode_ = value; onChanged(); return this; } /** * .cz.proto.coordinator.JobRequestMode request_mode = 6; * @return The requestMode. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequestMode getRequestMode() { @SuppressWarnings("deprecation") cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequestMode result = cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequestMode.valueOf(requestMode_); return result == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequestMode.UNRECOGNIZED : result; } /** * .cz.proto.coordinator.JobRequestMode request_mode = 6; * @param value The requestMode to set. * @return This builder for chaining. */ public Builder setRequestMode(cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequestMode value) { if (value == null) { throw new NullPointerException(); } requestMode_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.coordinator.JobRequestMode request_mode = 6; * @return This builder for chaining. */ public Builder clearRequestMode() { requestMode_ = 0; onChanged(); return this; } private int hybridPollingTimeout_ ; /** * int32 hybrid_polling_timeout = 7; * @return The hybridPollingTimeout. */ @java.lang.Override public int getHybridPollingTimeout() { return hybridPollingTimeout_; } /** * int32 hybrid_polling_timeout = 7; * @param value The hybridPollingTimeout to set. * @return This builder for chaining. */ public Builder setHybridPollingTimeout(int value) { hybridPollingTimeout_ = value; onChanged(); return this; } /** * int32 hybrid_polling_timeout = 7; * @return This builder for chaining. */ public Builder clearHybridPollingTimeout() { hybridPollingTimeout_ = 0; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> jobConfig_; private com.google.protobuf.MapField internalGetJobConfig() { if (jobConfig_ == null) { return com.google.protobuf.MapField.emptyMapField( JobConfigDefaultEntryHolder.defaultEntry); } return jobConfig_; } private com.google.protobuf.MapField internalGetMutableJobConfig() { onChanged();; if (jobConfig_ == null) { jobConfig_ = com.google.protobuf.MapField.newMapField( JobConfigDefaultEntryHolder.defaultEntry); } if (!jobConfig_.isMutable()) { jobConfig_ = jobConfig_.copy(); } return jobConfig_; } public int getJobConfigCount() { return internalGetJobConfig().getMap().size(); } /** * map<string, string> job_config = 8; */ @java.lang.Override public boolean containsJobConfig( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetJobConfig().getMap().containsKey(key); } /** * Use {@link #getJobConfigMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getJobConfig() { return getJobConfigMap(); } /** * map<string, string> job_config = 8; */ @java.lang.Override public java.util.Map getJobConfigMap() { return internalGetJobConfig().getMap(); } /** * map<string, string> job_config = 8; */ @java.lang.Override public java.lang.String getJobConfigOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetJobConfig().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> job_config = 8; */ @java.lang.Override public java.lang.String getJobConfigOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetJobConfig().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearJobConfig() { internalGetMutableJobConfig().getMutableMap() .clear(); return this; } /** * map<string, string> job_config = 8; */ public Builder removeJobConfig( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableJobConfig().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableJobConfig() { return internalGetMutableJobConfig().getMutableMap(); } /** * map<string, string> job_config = 8; */ public Builder putJobConfig( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableJobConfig().getMutableMap() .put(key, value); return this; } /** * map<string, string> job_config = 8; */ public Builder putAllJobConfig( java.util.Map values) { internalGetMutableJobConfig().getMutableMap() .putAll(values); return this; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.SQLJob, cz.proto.SQLJob.Builder, cz.proto.SQLJobOrBuilder> sqlJobBuilder_; /** * .cz.proto.SQLJob sql_job = 9; * @return Whether the sqlJob field is set. */ @java.lang.Override public boolean hasSqlJob() { return jobCase_ == 9; } /** * .cz.proto.SQLJob sql_job = 9; * @return The sqlJob. */ @java.lang.Override public cz.proto.SQLJob getSqlJob() { if (sqlJobBuilder_ == null) { if (jobCase_ == 9) { return (cz.proto.SQLJob) job_; } return cz.proto.SQLJob.getDefaultInstance(); } else { if (jobCase_ == 9) { return sqlJobBuilder_.getMessage(); } return cz.proto.SQLJob.getDefaultInstance(); } } /** * .cz.proto.SQLJob sql_job = 9; */ public Builder setSqlJob(cz.proto.SQLJob value) { if (sqlJobBuilder_ == null) { if (value == null) { throw new NullPointerException(); } job_ = value; onChanged(); } else { sqlJobBuilder_.setMessage(value); } jobCase_ = 9; return this; } /** * .cz.proto.SQLJob sql_job = 9; */ public Builder setSqlJob( cz.proto.SQLJob.Builder builderForValue) { if (sqlJobBuilder_ == null) { job_ = builderForValue.build(); onChanged(); } else { sqlJobBuilder_.setMessage(builderForValue.build()); } jobCase_ = 9; return this; } /** * .cz.proto.SQLJob sql_job = 9; */ public Builder mergeSqlJob(cz.proto.SQLJob value) { if (sqlJobBuilder_ == null) { if (jobCase_ == 9 && job_ != cz.proto.SQLJob.getDefaultInstance()) { job_ = cz.proto.SQLJob.newBuilder((cz.proto.SQLJob) job_) .mergeFrom(value).buildPartial(); } else { job_ = value; } onChanged(); } else { if (jobCase_ == 9) { sqlJobBuilder_.mergeFrom(value); } sqlJobBuilder_.setMessage(value); } jobCase_ = 9; return this; } /** * .cz.proto.SQLJob sql_job = 9; */ public Builder clearSqlJob() { if (sqlJobBuilder_ == null) { if (jobCase_ == 9) { jobCase_ = 0; job_ = null; onChanged(); } } else { if (jobCase_ == 9) { jobCase_ = 0; job_ = null; } sqlJobBuilder_.clear(); } return this; } /** * .cz.proto.SQLJob sql_job = 9; */ public cz.proto.SQLJob.Builder getSqlJobBuilder() { return getSqlJobFieldBuilder().getBuilder(); } /** * .cz.proto.SQLJob sql_job = 9; */ @java.lang.Override public cz.proto.SQLJobOrBuilder getSqlJobOrBuilder() { if ((jobCase_ == 9) && (sqlJobBuilder_ != null)) { return sqlJobBuilder_.getMessageOrBuilder(); } else { if (jobCase_ == 9) { return (cz.proto.SQLJob) job_; } return cz.proto.SQLJob.getDefaultInstance(); } } /** * .cz.proto.SQLJob sql_job = 9; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.SQLJob, cz.proto.SQLJob.Builder, cz.proto.SQLJobOrBuilder> getSqlJobFieldBuilder() { if (sqlJobBuilder_ == null) { if (!(jobCase_ == 9)) { job_ = cz.proto.SQLJob.getDefaultInstance(); } sqlJobBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.SQLJob, cz.proto.SQLJob.Builder, cz.proto.SQLJobOrBuilder>( (cz.proto.SQLJob) job_, getParentForChildren(), isClean()); job_ = null; } jobCase_ = 9; onChanged();; return sqlJobBuilder_; } private long jobTimeoutMs_ ; /** * uint64 job_timeout_ms = 15; * @return The jobTimeoutMs. */ @java.lang.Override public long getJobTimeoutMs() { return jobTimeoutMs_; } /** * uint64 job_timeout_ms = 15; * @param value The jobTimeoutMs to set. * @return This builder for chaining. */ public Builder setJobTimeoutMs(long value) { jobTimeoutMs_ = value; onChanged(); return this; } /** * uint64 job_timeout_ms = 15; * @return This builder for chaining. */ public Builder clearJobTimeoutMs() { jobTimeoutMs_ = 0L; onChanged(); return this; } private java.lang.Object userAgent_ = ""; /** * string user_agent = 30; * @return The userAgent. */ public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userAgent_ = s; return s; } else { return (java.lang.String) ref; } } /** * string user_agent = 30; * @return The bytes for userAgent. */ public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string user_agent = 30; * @param value The userAgent to set. * @return This builder for chaining. */ public Builder setUserAgent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userAgent_ = value; onChanged(); return this; } /** * string user_agent = 30; * @return This builder for chaining. */ public Builder clearUserAgent() { userAgent_ = getDefaultInstance().getUserAgent(); onChanged(); return this; } /** * string user_agent = 30; * @param value The bytes for userAgent to set. * @return This builder for chaining. */ public Builder setUserAgentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userAgent_ = value; onChanged(); return this; } private int priority_ ; /** * uint32 priority = 31; * @return The priority. */ @java.lang.Override public int getPriority() { return priority_; } /** * uint32 priority = 31; * @param value The priority to set. * @return This builder for chaining. */ public Builder setPriority(int value) { priority_ = value; onChanged(); return this; } /** * uint32 priority = 31; * @return This builder for chaining. */ public Builder clearPriority() { priority_ = 0; onChanged(); return this; } private java.lang.Object priorityString_ = ""; /** * string priority_string = 32; * @return The priorityString. */ public java.lang.String getPriorityString() { java.lang.Object ref = priorityString_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); priorityString_ = s; return s; } else { return (java.lang.String) ref; } } /** * string priority_string = 32; * @return The bytes for priorityString. */ public com.google.protobuf.ByteString getPriorityStringBytes() { java.lang.Object ref = priorityString_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); priorityString_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string priority_string = 32; * @param value The priorityString to set. * @return This builder for chaining. */ public Builder setPriorityString( java.lang.String value) { if (value == null) { throw new NullPointerException(); } priorityString_ = value; onChanged(); return this; } /** * string priority_string = 32; * @return This builder for chaining. */ public Builder clearPriorityString() { priorityString_ = getDefaultInstance().getPriorityString(); onChanged(); return this; } /** * string priority_string = 32; * @param value The bytes for priorityString to set. * @return This builder for chaining. */ public Builder setPriorityStringBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); priorityString_ = value; onChanged(); return this; } private cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo clientContext_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo, cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfoOrBuilder> clientContextBuilder_; /** * .cz.proto.coordinator.ClientContextInfo client_context = 33; * @return Whether the clientContext field is set. */ public boolean hasClientContext() { return clientContextBuilder_ != null || clientContext_ != null; } /** * .cz.proto.coordinator.ClientContextInfo client_context = 33; * @return The clientContext. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo getClientContext() { if (clientContextBuilder_ == null) { return clientContext_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo.getDefaultInstance() : clientContext_; } else { return clientContextBuilder_.getMessage(); } } /** * .cz.proto.coordinator.ClientContextInfo client_context = 33; */ public Builder setClientContext(cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo value) { if (clientContextBuilder_ == null) { if (value == null) { throw new NullPointerException(); } clientContext_ = value; onChanged(); } else { clientContextBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.ClientContextInfo client_context = 33; */ public Builder setClientContext( cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo.Builder builderForValue) { if (clientContextBuilder_ == null) { clientContext_ = builderForValue.build(); onChanged(); } else { clientContextBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.ClientContextInfo client_context = 33; */ public Builder mergeClientContext(cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo value) { if (clientContextBuilder_ == null) { if (clientContext_ != null) { clientContext_ = cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo.newBuilder(clientContext_).mergeFrom(value).buildPartial(); } else { clientContext_ = value; } onChanged(); } else { clientContextBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.ClientContextInfo client_context = 33; */ public Builder clearClientContext() { if (clientContextBuilder_ == null) { clientContext_ = null; onChanged(); } else { clientContext_ = null; clientContextBuilder_ = null; } return this; } /** * .cz.proto.coordinator.ClientContextInfo client_context = 33; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo.Builder getClientContextBuilder() { onChanged(); return getClientContextFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.ClientContextInfo client_context = 33; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfoOrBuilder getClientContextOrBuilder() { if (clientContextBuilder_ != null) { return clientContextBuilder_.getMessageOrBuilder(); } else { return clientContext_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo.getDefaultInstance() : clientContext_; } } /** * .cz.proto.coordinator.ClientContextInfo client_context = 33; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo, cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfoOrBuilder> getClientContextFieldBuilder() { if (clientContextBuilder_ == null) { clientContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo, cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfo.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.ClientContextInfoOrBuilder>( getClientContext(), getParentForChildren(), isClean()); clientContext_ = null; } return clientContextBuilder_; } private java.lang.Object queryTag_ = ""; /** * string query_tag = 34; * @return The queryTag. */ public java.lang.String getQueryTag() { java.lang.Object ref = queryTag_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryTag_ = s; return s; } else { return (java.lang.String) ref; } } /** * string query_tag = 34; * @return The bytes for queryTag. */ public com.google.protobuf.ByteString getQueryTagBytes() { java.lang.Object ref = queryTag_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); queryTag_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string query_tag = 34; * @param value The queryTag to set. * @return This builder for chaining. */ public Builder setQueryTag( java.lang.String value) { if (value == null) { throw new NullPointerException(); } queryTag_ = value; onChanged(); return this; } /** * string query_tag = 34; * @return This builder for chaining. */ public Builder clearQueryTag() { queryTag_ = getDefaultInstance().getQueryTag(); onChanged(); return this; } /** * string query_tag = 34; * @param value The bytes for queryTag to set. * @return This builder for chaining. */ public Builder setQueryTagBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); queryTag_ = value; onChanged(); return this; } private java.lang.Object jdbcDomain_ = ""; /** * optional string jdbc_domain = 35; * @return Whether the jdbcDomain field is set. */ public boolean hasJdbcDomain() { return ((bitField0_ & 0x00000002) != 0); } /** * optional string jdbc_domain = 35; * @return The jdbcDomain. */ public java.lang.String getJdbcDomain() { java.lang.Object ref = jdbcDomain_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jdbcDomain_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string jdbc_domain = 35; * @return The bytes for jdbcDomain. */ public com.google.protobuf.ByteString getJdbcDomainBytes() { java.lang.Object ref = jdbcDomain_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); jdbcDomain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string jdbc_domain = 35; * @param value The jdbcDomain to set. * @return This builder for chaining. */ public Builder setJdbcDomain( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; jdbcDomain_ = value; onChanged(); return this; } /** * optional string jdbc_domain = 35; * @return This builder for chaining. */ public Builder clearJdbcDomain() { bitField0_ = (bitField0_ & ~0x00000002); jdbcDomain_ = getDefaultInstance().getJdbcDomain(); onChanged(); return this; } /** * optional string jdbc_domain = 35; * @param value The bytes for jdbcDomain to set. * @return This builder for chaining. */ public Builder setJdbcDomainBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bitField0_ |= 0x00000002; jdbcDomain_ = value; onChanged(); return this; } private cz.proto.JobProfiling clientProfiling_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.JobProfiling, cz.proto.JobProfiling.Builder, cz.proto.JobProfilingOrBuilder> clientProfilingBuilder_; /** * .cz.proto.JobProfiling client_profiling = 36; * @return Whether the clientProfiling field is set. */ public boolean hasClientProfiling() { return clientProfilingBuilder_ != null || clientProfiling_ != null; } /** * .cz.proto.JobProfiling client_profiling = 36; * @return The clientProfiling. */ public cz.proto.JobProfiling getClientProfiling() { if (clientProfilingBuilder_ == null) { return clientProfiling_ == null ? cz.proto.JobProfiling.getDefaultInstance() : clientProfiling_; } else { return clientProfilingBuilder_.getMessage(); } } /** * .cz.proto.JobProfiling client_profiling = 36; */ public Builder setClientProfiling(cz.proto.JobProfiling value) { if (clientProfilingBuilder_ == null) { if (value == null) { throw new NullPointerException(); } clientProfiling_ = value; onChanged(); } else { clientProfilingBuilder_.setMessage(value); } return this; } /** * .cz.proto.JobProfiling client_profiling = 36; */ public Builder setClientProfiling( cz.proto.JobProfiling.Builder builderForValue) { if (clientProfilingBuilder_ == null) { clientProfiling_ = builderForValue.build(); onChanged(); } else { clientProfilingBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.JobProfiling client_profiling = 36; */ public Builder mergeClientProfiling(cz.proto.JobProfiling value) { if (clientProfilingBuilder_ == null) { if (clientProfiling_ != null) { clientProfiling_ = cz.proto.JobProfiling.newBuilder(clientProfiling_).mergeFrom(value).buildPartial(); } else { clientProfiling_ = value; } onChanged(); } else { clientProfilingBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.JobProfiling client_profiling = 36; */ public Builder clearClientProfiling() { if (clientProfilingBuilder_ == null) { clientProfiling_ = null; onChanged(); } else { clientProfiling_ = null; clientProfilingBuilder_ = null; } return this; } /** * .cz.proto.JobProfiling client_profiling = 36; */ public cz.proto.JobProfiling.Builder getClientProfilingBuilder() { onChanged(); return getClientProfilingFieldBuilder().getBuilder(); } /** * .cz.proto.JobProfiling client_profiling = 36; */ public cz.proto.JobProfilingOrBuilder getClientProfilingOrBuilder() { if (clientProfilingBuilder_ != null) { return clientProfilingBuilder_.getMessageOrBuilder(); } else { return clientProfiling_ == null ? cz.proto.JobProfiling.getDefaultInstance() : clientProfiling_; } } /** * .cz.proto.JobProfiling client_profiling = 36; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.JobProfiling, cz.proto.JobProfiling.Builder, cz.proto.JobProfilingOrBuilder> getClientProfilingFieldBuilder() { if (clientProfilingBuilder_ == null) { clientProfilingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.JobProfiling, cz.proto.JobProfiling.Builder, cz.proto.JobProfilingOrBuilder>( getClientProfiling(), getParentForChildren(), isClean()); clientProfiling_ = null; } return clientProfilingBuilder_; } @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.coordinator.JobDesc) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.JobDesc) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public JobDesc parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new JobDesc(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.coordinator.CoordinatorServiceOuterClass.JobDesc getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface JobStatusOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.JobStatus) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.coordinator.JobID job_id = 1; * @return Whether the jobId field is set. */ boolean hasJobId(); /** * .cz.proto.coordinator.JobID job_id = 1; * @return The jobId. */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId(); /** * .cz.proto.coordinator.JobID job_id = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder(); /** * string state = 2; * @return The state. */ java.lang.String getState(); /** * string state = 2; * @return The bytes for state. */ com.google.protobuf.ByteString getStateBytes(); /** * string message = 3; * @return The message. */ java.lang.String getMessage(); /** * string message = 3; * @return The bytes for message. */ com.google.protobuf.ByteString getMessageBytes(); /** * int64 submit_time = 4; * @return The submitTime. */ long getSubmitTime(); /** * int64 start_time = 5; * @return The startTime. */ long getStartTime(); /** * int64 end_time = 6; * @return The endTime. */ long getEndTime(); /** * int64 pending_time = 7; * @return The pendingTime. */ long getPendingTime(); /** * int64 running_time = 8; * @return The runningTime. */ long getRunningTime(); /** * .cz.proto.JobStatus status = 9; * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** * .cz.proto.JobStatus status = 9; * @return The status. */ cz.proto.JobStatus getStatus(); /** * repeated string execution_log = 10; * @return A list containing the executionLog. */ java.util.List getExecutionLogList(); /** * repeated string execution_log = 10; * @return The count of executionLog. */ int getExecutionLogCount(); /** * repeated string execution_log = 10; * @param index The index of the element to return. * @return The executionLog at the given index. */ java.lang.String getExecutionLog(int index); /** * repeated string execution_log = 10; * @param index The index of the value to return. * @return The bytes of the executionLog at the given index. */ com.google.protobuf.ByteString getExecutionLogBytes(int index); /** * string error_code = 11; * @return The errorCode. */ java.lang.String getErrorCode(); /** * string error_code = 11; * @return The bytes for errorCode. */ com.google.protobuf.ByteString getErrorCodeBytes(); /** * .cz.proto.JobProfiling job_profiling = 12; * @return Whether the jobProfiling field is set. */ boolean hasJobProfiling(); /** * .cz.proto.JobProfiling job_profiling = 12; * @return The jobProfiling. */ cz.proto.JobProfiling getJobProfiling(); /** * .cz.proto.JobProfiling job_profiling = 12; */ cz.proto.JobProfilingOrBuilder getJobProfilingOrBuilder(); } /** * Protobuf type {@code cz.proto.coordinator.JobStatus} */ public static final class JobStatus extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.JobStatus) JobStatusOrBuilder { private static final long serialVersionUID = 0L; // Use JobStatus.newBuilder() to construct. private JobStatus(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private JobStatus() { state_ = ""; message_ = ""; status_ = 0; executionLog_ = com.google.protobuf.LazyStringArrayList.EMPTY; errorCode_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new JobStatus(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private JobStatus( 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.coordinator.CoordinatorServiceOuterClass.JobID.Builder subBuilder = null; if (jobId_ != null) { subBuilder = jobId_.toBuilder(); } jobId_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(jobId_); jobId_ = subBuilder.buildPartial(); } break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); state_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); message_ = s; break; } case 32: { submitTime_ = input.readInt64(); break; } case 40: { startTime_ = input.readInt64(); break; } case 48: { endTime_ = input.readInt64(); break; } case 56: { pendingTime_ = input.readInt64(); break; } case 64: { runningTime_ = input.readInt64(); break; } case 72: { int rawValue = input.readEnum(); status_ = rawValue; break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { executionLog_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } executionLog_.add(s); break; } case 90: { java.lang.String s = input.readStringRequireUtf8(); errorCode_ = s; break; } case 98: { cz.proto.JobProfiling.Builder subBuilder = null; if (jobProfiling_ != null) { subBuilder = jobProfiling_.toBuilder(); } jobProfiling_ = input.readMessage(cz.proto.JobProfiling.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(jobProfiling_); jobProfiling_ = 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)) { executionLog_ = executionLog_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.class, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder.class); } public static final int JOB_ID_FIELD_NUMBER = 1; private cz.proto.coordinator.CoordinatorServiceOuterClass.JobID jobId_; /** * .cz.proto.coordinator.JobID job_id = 1; * @return Whether the jobId field is set. */ @java.lang.Override public boolean hasJobId() { return jobId_ != null; } /** * .cz.proto.coordinator.JobID job_id = 1; * @return The jobId. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId() { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } /** * .cz.proto.coordinator.JobID job_id = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder() { return getJobId(); } public static final int STATE_FIELD_NUMBER = 2; private volatile java.lang.Object state_; /** * string state = 2; * @return The state. */ @java.lang.Override public java.lang.String getState() { java.lang.Object ref = state_; 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(); state_ = s; return s; } } /** * string state = 2; * @return The bytes for state. */ @java.lang.Override public com.google.protobuf.ByteString getStateBytes() { java.lang.Object ref = state_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); state_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MESSAGE_FIELD_NUMBER = 3; private volatile java.lang.Object message_; /** * string message = 3; * @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 = 3; * @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 SUBMIT_TIME_FIELD_NUMBER = 4; private long submitTime_; /** * int64 submit_time = 4; * @return The submitTime. */ @java.lang.Override public long getSubmitTime() { return submitTime_; } public static final int START_TIME_FIELD_NUMBER = 5; private long startTime_; /** * int64 start_time = 5; * @return The startTime. */ @java.lang.Override public long getStartTime() { return startTime_; } public static final int END_TIME_FIELD_NUMBER = 6; private long endTime_; /** * int64 end_time = 6; * @return The endTime. */ @java.lang.Override public long getEndTime() { return endTime_; } public static final int PENDING_TIME_FIELD_NUMBER = 7; private long pendingTime_; /** * int64 pending_time = 7; * @return The pendingTime. */ @java.lang.Override public long getPendingTime() { return pendingTime_; } public static final int RUNNING_TIME_FIELD_NUMBER = 8; private long runningTime_; /** * int64 running_time = 8; * @return The runningTime. */ @java.lang.Override public long getRunningTime() { return runningTime_; } public static final int STATUS_FIELD_NUMBER = 9; private int status_; /** * .cz.proto.JobStatus status = 9; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** * .cz.proto.JobStatus status = 9; * @return The status. */ @java.lang.Override public cz.proto.JobStatus getStatus() { @SuppressWarnings("deprecation") cz.proto.JobStatus result = cz.proto.JobStatus.valueOf(status_); return result == null ? cz.proto.JobStatus.UNRECOGNIZED : result; } public static final int EXECUTION_LOG_FIELD_NUMBER = 10; private com.google.protobuf.LazyStringList executionLog_; /** * repeated string execution_log = 10; * @return A list containing the executionLog. */ public com.google.protobuf.ProtocolStringList getExecutionLogList() { return executionLog_; } /** * repeated string execution_log = 10; * @return The count of executionLog. */ public int getExecutionLogCount() { return executionLog_.size(); } /** * repeated string execution_log = 10; * @param index The index of the element to return. * @return The executionLog at the given index. */ public java.lang.String getExecutionLog(int index) { return executionLog_.get(index); } /** * repeated string execution_log = 10; * @param index The index of the value to return. * @return The bytes of the executionLog at the given index. */ public com.google.protobuf.ByteString getExecutionLogBytes(int index) { return executionLog_.getByteString(index); } public static final int ERROR_CODE_FIELD_NUMBER = 11; private volatile java.lang.Object errorCode_; /** * string error_code = 11; * @return The errorCode. */ @java.lang.Override public java.lang.String getErrorCode() { java.lang.Object ref = errorCode_; 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(); errorCode_ = s; return s; } } /** * string error_code = 11; * @return The bytes for errorCode. */ @java.lang.Override public com.google.protobuf.ByteString getErrorCodeBytes() { java.lang.Object ref = errorCode_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorCode_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int JOB_PROFILING_FIELD_NUMBER = 12; private cz.proto.JobProfiling jobProfiling_; /** * .cz.proto.JobProfiling job_profiling = 12; * @return Whether the jobProfiling field is set. */ @java.lang.Override public boolean hasJobProfiling() { return jobProfiling_ != null; } /** * .cz.proto.JobProfiling job_profiling = 12; * @return The jobProfiling. */ @java.lang.Override public cz.proto.JobProfiling getJobProfiling() { return jobProfiling_ == null ? cz.proto.JobProfiling.getDefaultInstance() : jobProfiling_; } /** * .cz.proto.JobProfiling job_profiling = 12; */ @java.lang.Override public cz.proto.JobProfilingOrBuilder getJobProfilingOrBuilder() { return getJobProfiling(); } 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 (jobId_ != null) { output.writeMessage(1, getJobId()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(state_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, message_); } if (submitTime_ != 0L) { output.writeInt64(4, submitTime_); } if (startTime_ != 0L) { output.writeInt64(5, startTime_); } if (endTime_ != 0L) { output.writeInt64(6, endTime_); } if (pendingTime_ != 0L) { output.writeInt64(7, pendingTime_); } if (runningTime_ != 0L) { output.writeInt64(8, runningTime_); } if (status_ != cz.proto.JobStatus.SETUP.getNumber()) { output.writeEnum(9, status_); } for (int i = 0; i < executionLog_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, executionLog_.getRaw(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorCode_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, errorCode_); } if (jobProfiling_ != null) { output.writeMessage(12, getJobProfiling()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (jobId_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getJobId()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(state_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, message_); } if (submitTime_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, submitTime_); } if (startTime_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, startTime_); } if (endTime_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, endTime_); } if (pendingTime_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(7, pendingTime_); } if (runningTime_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(8, runningTime_); } if (status_ != cz.proto.JobStatus.SETUP.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(9, status_); } { int dataSize = 0; for (int i = 0; i < executionLog_.size(); i++) { dataSize += computeStringSizeNoTag(executionLog_.getRaw(i)); } size += dataSize; size += 1 * getExecutionLogList().size(); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorCode_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, errorCode_); } if (jobProfiling_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, getJobProfiling()); } 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.coordinator.CoordinatorServiceOuterClass.JobStatus)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus other = (cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus) obj; if (hasJobId() != other.hasJobId()) return false; if (hasJobId()) { if (!getJobId() .equals(other.getJobId())) return false; } if (!getState() .equals(other.getState())) return false; if (!getMessage() .equals(other.getMessage())) return false; if (getSubmitTime() != other.getSubmitTime()) return false; if (getStartTime() != other.getStartTime()) return false; if (getEndTime() != other.getEndTime()) return false; if (getPendingTime() != other.getPendingTime()) return false; if (getRunningTime() != other.getRunningTime()) return false; if (status_ != other.status_) return false; if (!getExecutionLogList() .equals(other.getExecutionLogList())) return false; if (!getErrorCode() .equals(other.getErrorCode())) return false; if (hasJobProfiling() != other.hasJobProfiling()) return false; if (hasJobProfiling()) { if (!getJobProfiling() .equals(other.getJobProfiling())) 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 (hasJobId()) { hash = (37 * hash) + JOB_ID_FIELD_NUMBER; hash = (53 * hash) + getJobId().hashCode(); } hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + getState().hashCode(); hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); hash = (37 * hash) + SUBMIT_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSubmitTime()); hash = (37 * hash) + START_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getStartTime()); hash = (37 * hash) + END_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getEndTime()); hash = (37 * hash) + PENDING_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPendingTime()); hash = (37 * hash) + RUNNING_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getRunningTime()); hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + status_; if (getExecutionLogCount() > 0) { hash = (37 * hash) + EXECUTION_LOG_FIELD_NUMBER; hash = (53 * hash) + getExecutionLogList().hashCode(); } hash = (37 * hash) + ERROR_CODE_FIELD_NUMBER; hash = (53 * hash) + getErrorCode().hashCode(); if (hasJobProfiling()) { hash = (37 * hash) + JOB_PROFILING_FIELD_NUMBER; hash = (53 * hash) + getJobProfiling().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus 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.coordinator.CoordinatorServiceOuterClass.JobStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus 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.coordinator.CoordinatorServiceOuterClass.JobStatus parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus 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.coordinator.CoordinatorServiceOuterClass.JobStatus parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus 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.coordinator.CoordinatorServiceOuterClass.JobStatus 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.coordinator.JobStatus} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.JobStatus) cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatusOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobStatus_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobStatus_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.class, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.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 (jobIdBuilder_ == null) { jobId_ = null; } else { jobId_ = null; jobIdBuilder_ = null; } state_ = ""; message_ = ""; submitTime_ = 0L; startTime_ = 0L; endTime_ = 0L; pendingTime_ = 0L; runningTime_ = 0L; status_ = 0; executionLog_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); errorCode_ = ""; if (jobProfilingBuilder_ == null) { jobProfiling_ = null; } else { jobProfiling_ = null; jobProfilingBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobStatus_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus build() { cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus result = new cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus(this); int from_bitField0_ = bitField0_; if (jobIdBuilder_ == null) { result.jobId_ = jobId_; } else { result.jobId_ = jobIdBuilder_.build(); } result.state_ = state_; result.message_ = message_; result.submitTime_ = submitTime_; result.startTime_ = startTime_; result.endTime_ = endTime_; result.pendingTime_ = pendingTime_; result.runningTime_ = runningTime_; result.status_ = status_; if (((bitField0_ & 0x00000001) != 0)) { executionLog_ = executionLog_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.executionLog_ = executionLog_; result.errorCode_ = errorCode_; if (jobProfilingBuilder_ == null) { result.jobProfiling_ = jobProfiling_; } else { result.jobProfiling_ = jobProfilingBuilder_.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.coordinator.CoordinatorServiceOuterClass.JobStatus) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.getDefaultInstance()) return this; if (other.hasJobId()) { mergeJobId(other.getJobId()); } if (!other.getState().isEmpty()) { state_ = other.state_; onChanged(); } if (!other.getMessage().isEmpty()) { message_ = other.message_; onChanged(); } if (other.getSubmitTime() != 0L) { setSubmitTime(other.getSubmitTime()); } if (other.getStartTime() != 0L) { setStartTime(other.getStartTime()); } if (other.getEndTime() != 0L) { setEndTime(other.getEndTime()); } if (other.getPendingTime() != 0L) { setPendingTime(other.getPendingTime()); } if (other.getRunningTime() != 0L) { setRunningTime(other.getRunningTime()); } if (other.status_ != 0) { setStatusValue(other.getStatusValue()); } if (!other.executionLog_.isEmpty()) { if (executionLog_.isEmpty()) { executionLog_ = other.executionLog_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureExecutionLogIsMutable(); executionLog_.addAll(other.executionLog_); } onChanged(); } if (!other.getErrorCode().isEmpty()) { errorCode_ = other.errorCode_; onChanged(); } if (other.hasJobProfiling()) { mergeJobProfiling(other.getJobProfiling()); } 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.coordinator.CoordinatorServiceOuterClass.JobStatus parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.coordinator.CoordinatorServiceOuterClass.JobID jobId_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder> jobIdBuilder_; /** * .cz.proto.coordinator.JobID job_id = 1; * @return Whether the jobId field is set. */ public boolean hasJobId() { return jobIdBuilder_ != null || jobId_ != null; } /** * .cz.proto.coordinator.JobID job_id = 1; * @return The jobId. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId() { if (jobIdBuilder_ == null) { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } else { return jobIdBuilder_.getMessage(); } } /** * .cz.proto.coordinator.JobID job_id = 1; */ public Builder setJobId(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID value) { if (jobIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } jobId_ = value; onChanged(); } else { jobIdBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.JobID job_id = 1; */ public Builder setJobId( cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder builderForValue) { if (jobIdBuilder_ == null) { jobId_ = builderForValue.build(); onChanged(); } else { jobIdBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.JobID job_id = 1; */ public Builder mergeJobId(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID value) { if (jobIdBuilder_ == null) { if (jobId_ != null) { jobId_ = cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.newBuilder(jobId_).mergeFrom(value).buildPartial(); } else { jobId_ = value; } onChanged(); } else { jobIdBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.JobID job_id = 1; */ public Builder clearJobId() { if (jobIdBuilder_ == null) { jobId_ = null; onChanged(); } else { jobId_ = null; jobIdBuilder_ = null; } return this; } /** * .cz.proto.coordinator.JobID job_id = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder getJobIdBuilder() { onChanged(); return getJobIdFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.JobID job_id = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder() { if (jobIdBuilder_ != null) { return jobIdBuilder_.getMessageOrBuilder(); } else { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } } /** * .cz.proto.coordinator.JobID job_id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder> getJobIdFieldBuilder() { if (jobIdBuilder_ == null) { jobIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder>( getJobId(), getParentForChildren(), isClean()); jobId_ = null; } return jobIdBuilder_; } private java.lang.Object state_ = ""; /** * string state = 2; * @return The state. */ public java.lang.String getState() { java.lang.Object ref = state_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); state_ = s; return s; } else { return (java.lang.String) ref; } } /** * string state = 2; * @return The bytes for state. */ public com.google.protobuf.ByteString getStateBytes() { java.lang.Object ref = state_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); state_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string state = 2; * @param value The state to set. * @return This builder for chaining. */ public Builder setState( java.lang.String value) { if (value == null) { throw new NullPointerException(); } state_ = value; onChanged(); return this; } /** * string state = 2; * @return This builder for chaining. */ public Builder clearState() { state_ = getDefaultInstance().getState(); onChanged(); return this; } /** * string state = 2; * @param value The bytes for state to set. * @return This builder for chaining. */ public Builder setStateBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); state_ = value; onChanged(); return this; } private java.lang.Object message_ = ""; /** * string message = 3; * @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 = 3; * @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 = 3; * @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 = 3; * @return This builder for chaining. */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** * string message = 3; * @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 submitTime_ ; /** * int64 submit_time = 4; * @return The submitTime. */ @java.lang.Override public long getSubmitTime() { return submitTime_; } /** * int64 submit_time = 4; * @param value The submitTime to set. * @return This builder for chaining. */ public Builder setSubmitTime(long value) { submitTime_ = value; onChanged(); return this; } /** * int64 submit_time = 4; * @return This builder for chaining. */ public Builder clearSubmitTime() { submitTime_ = 0L; onChanged(); return this; } private long startTime_ ; /** * int64 start_time = 5; * @return The startTime. */ @java.lang.Override public long getStartTime() { return startTime_; } /** * int64 start_time = 5; * @param value The startTime to set. * @return This builder for chaining. */ public Builder setStartTime(long value) { startTime_ = value; onChanged(); return this; } /** * int64 start_time = 5; * @return This builder for chaining. */ public Builder clearStartTime() { startTime_ = 0L; onChanged(); return this; } private long endTime_ ; /** * int64 end_time = 6; * @return The endTime. */ @java.lang.Override public long getEndTime() { return endTime_; } /** * int64 end_time = 6; * @param value The endTime to set. * @return This builder for chaining. */ public Builder setEndTime(long value) { endTime_ = value; onChanged(); return this; } /** * int64 end_time = 6; * @return This builder for chaining. */ public Builder clearEndTime() { endTime_ = 0L; onChanged(); return this; } private long pendingTime_ ; /** * int64 pending_time = 7; * @return The pendingTime. */ @java.lang.Override public long getPendingTime() { return pendingTime_; } /** * int64 pending_time = 7; * @param value The pendingTime to set. * @return This builder for chaining. */ public Builder setPendingTime(long value) { pendingTime_ = value; onChanged(); return this; } /** * int64 pending_time = 7; * @return This builder for chaining. */ public Builder clearPendingTime() { pendingTime_ = 0L; onChanged(); return this; } private long runningTime_ ; /** * int64 running_time = 8; * @return The runningTime. */ @java.lang.Override public long getRunningTime() { return runningTime_; } /** * int64 running_time = 8; * @param value The runningTime to set. * @return This builder for chaining. */ public Builder setRunningTime(long value) { runningTime_ = value; onChanged(); return this; } /** * int64 running_time = 8; * @return This builder for chaining. */ public Builder clearRunningTime() { runningTime_ = 0L; onChanged(); return this; } private int status_ = 0; /** * .cz.proto.JobStatus status = 9; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** * .cz.proto.JobStatus status = 9; * @param value The enum numeric value on the wire for status to set. * @return This builder for chaining. */ public Builder setStatusValue(int value) { status_ = value; onChanged(); return this; } /** * .cz.proto.JobStatus status = 9; * @return The status. */ @java.lang.Override public cz.proto.JobStatus getStatus() { @SuppressWarnings("deprecation") cz.proto.JobStatus result = cz.proto.JobStatus.valueOf(status_); return result == null ? cz.proto.JobStatus.UNRECOGNIZED : result; } /** * .cz.proto.JobStatus status = 9; * @param value The status to set. * @return This builder for chaining. */ public Builder setStatus(cz.proto.JobStatus value) { if (value == null) { throw new NullPointerException(); } status_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.JobStatus status = 9; * @return This builder for chaining. */ public Builder clearStatus() { status_ = 0; onChanged(); return this; } private com.google.protobuf.LazyStringList executionLog_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureExecutionLogIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { executionLog_ = new com.google.protobuf.LazyStringArrayList(executionLog_); bitField0_ |= 0x00000001; } } /** * repeated string execution_log = 10; * @return A list containing the executionLog. */ public com.google.protobuf.ProtocolStringList getExecutionLogList() { return executionLog_.getUnmodifiableView(); } /** * repeated string execution_log = 10; * @return The count of executionLog. */ public int getExecutionLogCount() { return executionLog_.size(); } /** * repeated string execution_log = 10; * @param index The index of the element to return. * @return The executionLog at the given index. */ public java.lang.String getExecutionLog(int index) { return executionLog_.get(index); } /** * repeated string execution_log = 10; * @param index The index of the value to return. * @return The bytes of the executionLog at the given index. */ public com.google.protobuf.ByteString getExecutionLogBytes(int index) { return executionLog_.getByteString(index); } /** * repeated string execution_log = 10; * @param index The index to set the value at. * @param value The executionLog to set. * @return This builder for chaining. */ public Builder setExecutionLog( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureExecutionLogIsMutable(); executionLog_.set(index, value); onChanged(); return this; } /** * repeated string execution_log = 10; * @param value The executionLog to add. * @return This builder for chaining. */ public Builder addExecutionLog( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureExecutionLogIsMutable(); executionLog_.add(value); onChanged(); return this; } /** * repeated string execution_log = 10; * @param values The executionLog to add. * @return This builder for chaining. */ public Builder addAllExecutionLog( java.lang.Iterable values) { ensureExecutionLogIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, executionLog_); onChanged(); return this; } /** * repeated string execution_log = 10; * @return This builder for chaining. */ public Builder clearExecutionLog() { executionLog_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string execution_log = 10; * @param value The bytes of the executionLog to add. * @return This builder for chaining. */ public Builder addExecutionLogBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureExecutionLogIsMutable(); executionLog_.add(value); onChanged(); return this; } private java.lang.Object errorCode_ = ""; /** * string error_code = 11; * @return The errorCode. */ public java.lang.String getErrorCode() { java.lang.Object ref = errorCode_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorCode_ = s; return s; } else { return (java.lang.String) ref; } } /** * string error_code = 11; * @return The bytes for errorCode. */ public com.google.protobuf.ByteString getErrorCodeBytes() { java.lang.Object ref = errorCode_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorCode_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string error_code = 11; * @param value The errorCode to set. * @return This builder for chaining. */ public Builder setErrorCode( java.lang.String value) { if (value == null) { throw new NullPointerException(); } errorCode_ = value; onChanged(); return this; } /** * string error_code = 11; * @return This builder for chaining. */ public Builder clearErrorCode() { errorCode_ = getDefaultInstance().getErrorCode(); onChanged(); return this; } /** * string error_code = 11; * @param value The bytes for errorCode to set. * @return This builder for chaining. */ public Builder setErrorCodeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); errorCode_ = value; onChanged(); return this; } private cz.proto.JobProfiling jobProfiling_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.JobProfiling, cz.proto.JobProfiling.Builder, cz.proto.JobProfilingOrBuilder> jobProfilingBuilder_; /** * .cz.proto.JobProfiling job_profiling = 12; * @return Whether the jobProfiling field is set. */ public boolean hasJobProfiling() { return jobProfilingBuilder_ != null || jobProfiling_ != null; } /** * .cz.proto.JobProfiling job_profiling = 12; * @return The jobProfiling. */ public cz.proto.JobProfiling getJobProfiling() { if (jobProfilingBuilder_ == null) { return jobProfiling_ == null ? cz.proto.JobProfiling.getDefaultInstance() : jobProfiling_; } else { return jobProfilingBuilder_.getMessage(); } } /** * .cz.proto.JobProfiling job_profiling = 12; */ public Builder setJobProfiling(cz.proto.JobProfiling value) { if (jobProfilingBuilder_ == null) { if (value == null) { throw new NullPointerException(); } jobProfiling_ = value; onChanged(); } else { jobProfilingBuilder_.setMessage(value); } return this; } /** * .cz.proto.JobProfiling job_profiling = 12; */ public Builder setJobProfiling( cz.proto.JobProfiling.Builder builderForValue) { if (jobProfilingBuilder_ == null) { jobProfiling_ = builderForValue.build(); onChanged(); } else { jobProfilingBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.JobProfiling job_profiling = 12; */ public Builder mergeJobProfiling(cz.proto.JobProfiling value) { if (jobProfilingBuilder_ == null) { if (jobProfiling_ != null) { jobProfiling_ = cz.proto.JobProfiling.newBuilder(jobProfiling_).mergeFrom(value).buildPartial(); } else { jobProfiling_ = value; } onChanged(); } else { jobProfilingBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.JobProfiling job_profiling = 12; */ public Builder clearJobProfiling() { if (jobProfilingBuilder_ == null) { jobProfiling_ = null; onChanged(); } else { jobProfiling_ = null; jobProfilingBuilder_ = null; } return this; } /** * .cz.proto.JobProfiling job_profiling = 12; */ public cz.proto.JobProfiling.Builder getJobProfilingBuilder() { onChanged(); return getJobProfilingFieldBuilder().getBuilder(); } /** * .cz.proto.JobProfiling job_profiling = 12; */ public cz.proto.JobProfilingOrBuilder getJobProfilingOrBuilder() { if (jobProfilingBuilder_ != null) { return jobProfilingBuilder_.getMessageOrBuilder(); } else { return jobProfiling_ == null ? cz.proto.JobProfiling.getDefaultInstance() : jobProfiling_; } } /** * .cz.proto.JobProfiling job_profiling = 12; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.JobProfiling, cz.proto.JobProfiling.Builder, cz.proto.JobProfilingOrBuilder> getJobProfilingFieldBuilder() { if (jobProfilingBuilder_ == null) { jobProfilingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.JobProfiling, cz.proto.JobProfiling.Builder, cz.proto.JobProfilingOrBuilder>( getJobProfiling(), getParentForChildren(), isClean()); jobProfiling_ = null; } return jobProfilingBuilder_; } @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.coordinator.JobStatus) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.JobStatus) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public JobStatus parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new JobStatus(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.coordinator.CoordinatorServiceOuterClass.JobStatus getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface JobResultDataOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.JobResultData) com.google.protobuf.MessageOrBuilder { /** * repeated bytes data = 1; * @return A list containing the data. */ java.util.List getDataList(); /** * repeated bytes data = 1; * @return The count of data. */ int getDataCount(); /** * repeated bytes data = 1; * @param index The index of the element to return. * @return The data at the given index. */ com.google.protobuf.ByteString getData(int index); } /** * Protobuf type {@code cz.proto.coordinator.JobResultData} */ public static final class JobResultData extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.JobResultData) JobResultDataOrBuilder { private static final long serialVersionUID = 0L; // Use JobResultData.newBuilder() to construct. private JobResultData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private JobResultData() { data_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new JobResultData(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private JobResultData( 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)) { data_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } data_.add(input.readBytes()); 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)) { data_ = java.util.Collections.unmodifiableList(data_); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobResultData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobResultData_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData.class, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData.Builder.class); } public static final int DATA_FIELD_NUMBER = 1; private java.util.List data_; /** * repeated bytes data = 1; * @return A list containing the data. */ @java.lang.Override public java.util.List getDataList() { return data_; } /** * repeated bytes data = 1; * @return The count of data. */ public int getDataCount() { return data_.size(); } /** * repeated bytes data = 1; * @param index The index of the element to return. * @return The data at the given index. */ public com.google.protobuf.ByteString getData(int index) { return data_.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 { for (int i = 0; i < data_.size(); i++) { output.writeBytes(1, data_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < data_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(data_.get(i)); } size += dataSize; size += 1 * getDataList().size(); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData other = (cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData) obj; if (!getDataList() .equals(other.getDataList())) 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 (getDataCount() > 0) { hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getDataList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData 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.coordinator.CoordinatorServiceOuterClass.JobResultData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData 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.coordinator.CoordinatorServiceOuterClass.JobResultData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData 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.coordinator.CoordinatorServiceOuterClass.JobResultData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData 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.coordinator.CoordinatorServiceOuterClass.JobResultData 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.coordinator.JobResultData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.JobResultData) cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobResultData_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobResultData_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData.class, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData.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(); data_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobResultData_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData build() { cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData result = new cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { data_ = java.util.Collections.unmodifiableList(data_); bitField0_ = (bitField0_ & ~0x00000001); } result.data_ = data_; 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.coordinator.CoordinatorServiceOuterClass.JobResultData) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData.getDefaultInstance()) return this; if (!other.data_.isEmpty()) { if (data_.isEmpty()) { data_ = other.data_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureDataIsMutable(); data_.addAll(other.data_); } 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.coordinator.CoordinatorServiceOuterClass.JobResultData parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List data_ = java.util.Collections.emptyList(); private void ensureDataIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { data_ = new java.util.ArrayList(data_); bitField0_ |= 0x00000001; } } /** * repeated bytes data = 1; * @return A list containing the data. */ public java.util.List getDataList() { return ((bitField0_ & 0x00000001) != 0) ? java.util.Collections.unmodifiableList(data_) : data_; } /** * repeated bytes data = 1; * @return The count of data. */ public int getDataCount() { return data_.size(); } /** * repeated bytes data = 1; * @param index The index of the element to return. * @return The data at the given index. */ public com.google.protobuf.ByteString getData(int index) { return data_.get(index); } /** * repeated bytes data = 1; * @param index The index to set the value at. * @param value The data to set. * @return This builder for chaining. */ public Builder setData( int index, com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureDataIsMutable(); data_.set(index, value); onChanged(); return this; } /** * repeated bytes data = 1; * @param value The data to add. * @return This builder for chaining. */ public Builder addData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureDataIsMutable(); data_.add(value); onChanged(); return this; } /** * repeated bytes data = 1; * @param values The data to add. * @return This builder for chaining. */ public Builder addAllData( java.lang.Iterable values) { ensureDataIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, data_); onChanged(); return this; } /** * repeated bytes data = 1; * @return This builder for chaining. */ public Builder clearData() { data_ = java.util.Collections.emptyList(); 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.coordinator.JobResultData) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.JobResultData) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public JobResultData parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new JobResultData(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.coordinator.CoordinatorServiceOuterClass.JobResultData getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LocationFileInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.LocationFileInfo) com.google.protobuf.MessageOrBuilder { /** * string file_path = 1; * @return The filePath. */ java.lang.String getFilePath(); /** * string file_path = 1; * @return The bytes for filePath. */ com.google.protobuf.ByteString getFilePathBytes(); /** * int64 file_size = 2; * @return The fileSize. */ long getFileSize(); } /** * Protobuf type {@code cz.proto.coordinator.LocationFileInfo} */ public static final class LocationFileInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.LocationFileInfo) LocationFileInfoOrBuilder { private static final long serialVersionUID = 0L; // Use LocationFileInfo.newBuilder() to construct. private LocationFileInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private LocationFileInfo() { filePath_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new LocationFileInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private LocationFileInfo( 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(); filePath_ = s; break; } case 16: { fileSize_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_LocationFileInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_LocationFileInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo.class, cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo.Builder.class); } public static final int FILE_PATH_FIELD_NUMBER = 1; private volatile java.lang.Object filePath_; /** * string file_path = 1; * @return The filePath. */ @java.lang.Override public java.lang.String getFilePath() { java.lang.Object ref = filePath_; 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(); filePath_ = s; return s; } } /** * string file_path = 1; * @return The bytes for filePath. */ @java.lang.Override public com.google.protobuf.ByteString getFilePathBytes() { java.lang.Object ref = filePath_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filePath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FILE_SIZE_FIELD_NUMBER = 2; private long fileSize_; /** * int64 file_size = 2; * @return The fileSize. */ @java.lang.Override public long getFileSize() { return fileSize_; } 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(filePath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filePath_); } if (fileSize_ != 0L) { output.writeInt64(2, fileSize_); } 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(filePath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filePath_); } if (fileSize_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, fileSize_); } 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.coordinator.CoordinatorServiceOuterClass.LocationFileInfo)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo other = (cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo) obj; if (!getFilePath() .equals(other.getFilePath())) return false; if (getFileSize() != other.getFileSize()) 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) + FILE_PATH_FIELD_NUMBER; hash = (53 * hash) + getFilePath().hashCode(); hash = (37 * hash) + FILE_SIZE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getFileSize()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo 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.coordinator.CoordinatorServiceOuterClass.LocationFileInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo 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.coordinator.CoordinatorServiceOuterClass.LocationFileInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo 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.coordinator.CoordinatorServiceOuterClass.LocationFileInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo 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.coordinator.CoordinatorServiceOuterClass.LocationFileInfo 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.coordinator.LocationFileInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.LocationFileInfo) cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_LocationFileInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_LocationFileInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo.class, cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo.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(); filePath_ = ""; fileSize_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_LocationFileInfo_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo build() { cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo result = new cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo(this); result.filePath_ = filePath_; result.fileSize_ = fileSize_; 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.coordinator.CoordinatorServiceOuterClass.LocationFileInfo) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo.getDefaultInstance()) return this; if (!other.getFilePath().isEmpty()) { filePath_ = other.filePath_; onChanged(); } if (other.getFileSize() != 0L) { setFileSize(other.getFileSize()); } 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.coordinator.CoordinatorServiceOuterClass.LocationFileInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object filePath_ = ""; /** * string file_path = 1; * @return The filePath. */ public java.lang.String getFilePath() { java.lang.Object ref = filePath_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filePath_ = s; return s; } else { return (java.lang.String) ref; } } /** * string file_path = 1; * @return The bytes for filePath. */ public com.google.protobuf.ByteString getFilePathBytes() { java.lang.Object ref = filePath_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); filePath_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string file_path = 1; * @param value The filePath to set. * @return This builder for chaining. */ public Builder setFilePath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } filePath_ = value; onChanged(); return this; } /** * string file_path = 1; * @return This builder for chaining. */ public Builder clearFilePath() { filePath_ = getDefaultInstance().getFilePath(); onChanged(); return this; } /** * string file_path = 1; * @param value The bytes for filePath to set. * @return This builder for chaining. */ public Builder setFilePathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filePath_ = value; onChanged(); return this; } private long fileSize_ ; /** * int64 file_size = 2; * @return The fileSize. */ @java.lang.Override public long getFileSize() { return fileSize_; } /** * int64 file_size = 2; * @param value The fileSize to set. * @return This builder for chaining. */ public Builder setFileSize(long value) { fileSize_ = value; onChanged(); return this; } /** * int64 file_size = 2; * @return This builder for chaining. */ public Builder clearFileSize() { fileSize_ = 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.coordinator.LocationFileInfo) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.LocationFileInfo) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public LocationFileInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new LocationFileInfo(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.coordinator.CoordinatorServiceOuterClass.LocationFileInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface JobResultLocationOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.JobResultLocation) com.google.protobuf.MessageOrBuilder { /** * repeated string location = 1; * @return A list containing the location. */ java.util.List getLocationList(); /** * repeated string location = 1; * @return The count of location. */ int getLocationCount(); /** * repeated string location = 1; * @param index The index of the element to return. * @return The location at the given index. */ java.lang.String getLocation(int index); /** * repeated string location = 1; * @param index The index of the value to return. * @return The bytes of the location at the given index. */ com.google.protobuf.ByteString getLocationBytes(int index); /** * .cz.proto.FileSystemType file_system = 2; * @return The enum numeric value on the wire for fileSystem. */ int getFileSystemValue(); /** * .cz.proto.FileSystemType file_system = 2; * @return The fileSystem. */ cz.proto.FileSystem.FileSystemType getFileSystem(); /** * string sts_ak_id = 3; * @return The stsAkId. */ java.lang.String getStsAkId(); /** * string sts_ak_id = 3; * @return The bytes for stsAkId. */ com.google.protobuf.ByteString getStsAkIdBytes(); /** * string sts_ak_secret = 4; * @return The stsAkSecret. */ java.lang.String getStsAkSecret(); /** * string sts_ak_secret = 4; * @return The bytes for stsAkSecret. */ com.google.protobuf.ByteString getStsAkSecretBytes(); /** * string sts_token = 5; * @return The stsToken. */ java.lang.String getStsToken(); /** * string sts_token = 5; * @return The bytes for stsToken. */ com.google.protobuf.ByteString getStsTokenBytes(); /** * string oss_endpoint = 6; * @return The ossEndpoint. */ java.lang.String getOssEndpoint(); /** * string oss_endpoint = 6; * @return The bytes for ossEndpoint. */ com.google.protobuf.ByteString getOssEndpointBytes(); /** * string oss_internal_endpoint = 7; * @return The ossInternalEndpoint. */ java.lang.String getOssInternalEndpoint(); /** * string oss_internal_endpoint = 7; * @return The bytes for ossInternalEndpoint. */ com.google.protobuf.ByteString getOssInternalEndpointBytes(); /** * repeated .cz.proto.coordinator.LocationFileInfo location_files = 8; */ java.util.List getLocationFilesList(); /** * repeated .cz.proto.coordinator.LocationFileInfo location_files = 8; */ cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo getLocationFiles(int index); /** * repeated .cz.proto.coordinator.LocationFileInfo location_files = 8; */ int getLocationFilesCount(); /** * repeated .cz.proto.coordinator.LocationFileInfo location_files = 8; */ java.util.List getLocationFilesOrBuilderList(); /** * repeated .cz.proto.coordinator.LocationFileInfo location_files = 8; */ cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfoOrBuilder getLocationFilesOrBuilder( int index); /** * string object_storage_region = 9; * @return The objectStorageRegion. */ java.lang.String getObjectStorageRegion(); /** * string object_storage_region = 9; * @return The bytes for objectStorageRegion. */ com.google.protobuf.ByteString getObjectStorageRegionBytes(); /** * repeated string presigned_urls = 10; * @return A list containing the presignedUrls. */ java.util.List getPresignedUrlsList(); /** * repeated string presigned_urls = 10; * @return The count of presignedUrls. */ int getPresignedUrlsCount(); /** * repeated string presigned_urls = 10; * @param index The index of the element to return. * @return The presignedUrls at the given index. */ java.lang.String getPresignedUrls(int index); /** * repeated string presigned_urls = 10; * @param index The index of the value to return. * @return The bytes of the presignedUrls at the given index. */ com.google.protobuf.ByteString getPresignedUrlsBytes(int index); } /** * Protobuf type {@code cz.proto.coordinator.JobResultLocation} */ public static final class JobResultLocation extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.JobResultLocation) JobResultLocationOrBuilder { private static final long serialVersionUID = 0L; // Use JobResultLocation.newBuilder() to construct. private JobResultLocation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private JobResultLocation() { location_ = com.google.protobuf.LazyStringArrayList.EMPTY; fileSystem_ = 0; stsAkId_ = ""; stsAkSecret_ = ""; stsToken_ = ""; ossEndpoint_ = ""; ossInternalEndpoint_ = ""; locationFiles_ = java.util.Collections.emptyList(); objectStorageRegion_ = ""; presignedUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new JobResultLocation(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private JobResultLocation( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { location_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } location_.add(s); break; } case 16: { int rawValue = input.readEnum(); fileSystem_ = rawValue; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); stsAkId_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); stsAkSecret_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); stsToken_ = s; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); ossEndpoint_ = s; break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); ossInternalEndpoint_ = s; break; } case 66: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { locationFiles_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } locationFiles_.add( input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo.parser(), extensionRegistry)); break; } case 74: { java.lang.String s = input.readStringRequireUtf8(); objectStorageRegion_ = s; break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000004) != 0)) { presignedUrls_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000004; } presignedUrls_.add(s); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { location_ = location_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000002) != 0)) { locationFiles_ = java.util.Collections.unmodifiableList(locationFiles_); } if (((mutable_bitField0_ & 0x00000004) != 0)) { presignedUrls_ = presignedUrls_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobResultLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobResultLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation.class, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation.Builder.class); } public static final int LOCATION_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList location_; /** * repeated string location = 1; * @return A list containing the location. */ public com.google.protobuf.ProtocolStringList getLocationList() { return location_; } /** * repeated string location = 1; * @return The count of location. */ public int getLocationCount() { return location_.size(); } /** * repeated string location = 1; * @param index The index of the element to return. * @return The location at the given index. */ public java.lang.String getLocation(int index) { return location_.get(index); } /** * repeated string location = 1; * @param index The index of the value to return. * @return The bytes of the location at the given index. */ public com.google.protobuf.ByteString getLocationBytes(int index) { return location_.getByteString(index); } public static final int FILE_SYSTEM_FIELD_NUMBER = 2; private int fileSystem_; /** * .cz.proto.FileSystemType file_system = 2; * @return The enum numeric value on the wire for fileSystem. */ @java.lang.Override public int getFileSystemValue() { return fileSystem_; } /** * .cz.proto.FileSystemType file_system = 2; * @return The fileSystem. */ @java.lang.Override public cz.proto.FileSystem.FileSystemType getFileSystem() { @SuppressWarnings("deprecation") cz.proto.FileSystem.FileSystemType result = cz.proto.FileSystem.FileSystemType.valueOf(fileSystem_); return result == null ? cz.proto.FileSystem.FileSystemType.UNRECOGNIZED : result; } public static final int STS_AK_ID_FIELD_NUMBER = 3; private volatile java.lang.Object stsAkId_; /** * string sts_ak_id = 3; * @return The stsAkId. */ @java.lang.Override public java.lang.String getStsAkId() { java.lang.Object ref = stsAkId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stsAkId_ = s; return s; } } /** * string sts_ak_id = 3; * @return The bytes for stsAkId. */ @java.lang.Override public com.google.protobuf.ByteString getStsAkIdBytes() { java.lang.Object ref = stsAkId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stsAkId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STS_AK_SECRET_FIELD_NUMBER = 4; private volatile java.lang.Object stsAkSecret_; /** * string sts_ak_secret = 4; * @return The stsAkSecret. */ @java.lang.Override public java.lang.String getStsAkSecret() { java.lang.Object ref = stsAkSecret_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stsAkSecret_ = s; return s; } } /** * string sts_ak_secret = 4; * @return The bytes for stsAkSecret. */ @java.lang.Override public com.google.protobuf.ByteString getStsAkSecretBytes() { java.lang.Object ref = stsAkSecret_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stsAkSecret_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STS_TOKEN_FIELD_NUMBER = 5; private volatile java.lang.Object stsToken_; /** * string sts_token = 5; * @return The stsToken. */ @java.lang.Override public java.lang.String getStsToken() { java.lang.Object ref = stsToken_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stsToken_ = s; return s; } } /** * string sts_token = 5; * @return The bytes for stsToken. */ @java.lang.Override public com.google.protobuf.ByteString getStsTokenBytes() { java.lang.Object ref = stsToken_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stsToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OSS_ENDPOINT_FIELD_NUMBER = 6; private volatile java.lang.Object ossEndpoint_; /** * string oss_endpoint = 6; * @return The ossEndpoint. */ @java.lang.Override public java.lang.String getOssEndpoint() { java.lang.Object ref = ossEndpoint_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ossEndpoint_ = s; return s; } } /** * string oss_endpoint = 6; * @return The bytes for ossEndpoint. */ @java.lang.Override public com.google.protobuf.ByteString getOssEndpointBytes() { java.lang.Object ref = ossEndpoint_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ossEndpoint_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OSS_INTERNAL_ENDPOINT_FIELD_NUMBER = 7; private volatile java.lang.Object ossInternalEndpoint_; /** * string oss_internal_endpoint = 7; * @return The ossInternalEndpoint. */ @java.lang.Override public java.lang.String getOssInternalEndpoint() { java.lang.Object ref = ossInternalEndpoint_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ossInternalEndpoint_ = s; return s; } } /** * string oss_internal_endpoint = 7; * @return The bytes for ossInternalEndpoint. */ @java.lang.Override public com.google.protobuf.ByteString getOssInternalEndpointBytes() { java.lang.Object ref = ossInternalEndpoint_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ossInternalEndpoint_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LOCATION_FILES_FIELD_NUMBER = 8; private java.util.List locationFiles_; /** * repeated .cz.proto.coordinator.LocationFileInfo location_files = 8; */ @java.lang.Override public java.util.List getLocationFilesList() { return locationFiles_; } /** * repeated .cz.proto.coordinator.LocationFileInfo location_files = 8; */ @java.lang.Override public java.util.List getLocationFilesOrBuilderList() { return locationFiles_; } /** * repeated .cz.proto.coordinator.LocationFileInfo location_files = 8; */ @java.lang.Override public int getLocationFilesCount() { return locationFiles_.size(); } /** * repeated .cz.proto.coordinator.LocationFileInfo location_files = 8; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo getLocationFiles(int index) { return locationFiles_.get(index); } /** * repeated .cz.proto.coordinator.LocationFileInfo location_files = 8; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfoOrBuilder getLocationFilesOrBuilder( int index) { return locationFiles_.get(index); } public static final int OBJECT_STORAGE_REGION_FIELD_NUMBER = 9; private volatile java.lang.Object objectStorageRegion_; /** * string object_storage_region = 9; * @return The objectStorageRegion. */ @java.lang.Override public java.lang.String getObjectStorageRegion() { java.lang.Object ref = objectStorageRegion_; 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(); objectStorageRegion_ = s; return s; } } /** * string object_storage_region = 9; * @return The bytes for objectStorageRegion. */ @java.lang.Override public com.google.protobuf.ByteString getObjectStorageRegionBytes() { java.lang.Object ref = objectStorageRegion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); objectStorageRegion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PRESIGNED_URLS_FIELD_NUMBER = 10; private com.google.protobuf.LazyStringList presignedUrls_; /** * repeated string presigned_urls = 10; * @return A list containing the presignedUrls. */ public com.google.protobuf.ProtocolStringList getPresignedUrlsList() { return presignedUrls_; } /** * repeated string presigned_urls = 10; * @return The count of presignedUrls. */ public int getPresignedUrlsCount() { return presignedUrls_.size(); } /** * repeated string presigned_urls = 10; * @param index The index of the element to return. * @return The presignedUrls at the given index. */ public java.lang.String getPresignedUrls(int index) { return presignedUrls_.get(index); } /** * repeated string presigned_urls = 10; * @param index The index of the value to return. * @return The bytes of the presignedUrls at the given index. */ public com.google.protobuf.ByteString getPresignedUrlsBytes(int index) { return presignedUrls_.getByteString(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < location_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, location_.getRaw(i)); } if (fileSystem_ != cz.proto.FileSystem.FileSystemType.LOCAL.getNumber()) { output.writeEnum(2, fileSystem_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stsAkId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, stsAkId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stsAkSecret_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, stsAkSecret_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stsToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, stsToken_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ossEndpoint_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, ossEndpoint_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ossInternalEndpoint_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, ossInternalEndpoint_); } for (int i = 0; i < locationFiles_.size(); i++) { output.writeMessage(8, locationFiles_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(objectStorageRegion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, objectStorageRegion_); } for (int i = 0; i < presignedUrls_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, presignedUrls_.getRaw(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < location_.size(); i++) { dataSize += computeStringSizeNoTag(location_.getRaw(i)); } size += dataSize; size += 1 * getLocationList().size(); } if (fileSystem_ != cz.proto.FileSystem.FileSystemType.LOCAL.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, fileSystem_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stsAkId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, stsAkId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stsAkSecret_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, stsAkSecret_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stsToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, stsToken_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ossEndpoint_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, ossEndpoint_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ossInternalEndpoint_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, ossInternalEndpoint_); } for (int i = 0; i < locationFiles_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, locationFiles_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(objectStorageRegion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, objectStorageRegion_); } { int dataSize = 0; for (int i = 0; i < presignedUrls_.size(); i++) { dataSize += computeStringSizeNoTag(presignedUrls_.getRaw(i)); } size += dataSize; size += 1 * getPresignedUrlsList().size(); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation other = (cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation) obj; if (!getLocationList() .equals(other.getLocationList())) return false; if (fileSystem_ != other.fileSystem_) return false; if (!getStsAkId() .equals(other.getStsAkId())) return false; if (!getStsAkSecret() .equals(other.getStsAkSecret())) return false; if (!getStsToken() .equals(other.getStsToken())) return false; if (!getOssEndpoint() .equals(other.getOssEndpoint())) return false; if (!getOssInternalEndpoint() .equals(other.getOssInternalEndpoint())) return false; if (!getLocationFilesList() .equals(other.getLocationFilesList())) return false; if (!getObjectStorageRegion() .equals(other.getObjectStorageRegion())) return false; if (!getPresignedUrlsList() .equals(other.getPresignedUrlsList())) 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 (getLocationCount() > 0) { hash = (37 * hash) + LOCATION_FIELD_NUMBER; hash = (53 * hash) + getLocationList().hashCode(); } hash = (37 * hash) + FILE_SYSTEM_FIELD_NUMBER; hash = (53 * hash) + fileSystem_; hash = (37 * hash) + STS_AK_ID_FIELD_NUMBER; hash = (53 * hash) + getStsAkId().hashCode(); hash = (37 * hash) + STS_AK_SECRET_FIELD_NUMBER; hash = (53 * hash) + getStsAkSecret().hashCode(); hash = (37 * hash) + STS_TOKEN_FIELD_NUMBER; hash = (53 * hash) + getStsToken().hashCode(); hash = (37 * hash) + OSS_ENDPOINT_FIELD_NUMBER; hash = (53 * hash) + getOssEndpoint().hashCode(); hash = (37 * hash) + OSS_INTERNAL_ENDPOINT_FIELD_NUMBER; hash = (53 * hash) + getOssInternalEndpoint().hashCode(); if (getLocationFilesCount() > 0) { hash = (37 * hash) + LOCATION_FILES_FIELD_NUMBER; hash = (53 * hash) + getLocationFilesList().hashCode(); } hash = (37 * hash) + OBJECT_STORAGE_REGION_FIELD_NUMBER; hash = (53 * hash) + getObjectStorageRegion().hashCode(); if (getPresignedUrlsCount() > 0) { hash = (37 * hash) + PRESIGNED_URLS_FIELD_NUMBER; hash = (53 * hash) + getPresignedUrlsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation 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.coordinator.CoordinatorServiceOuterClass.JobResultLocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation 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.coordinator.CoordinatorServiceOuterClass.JobResultLocation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation 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.coordinator.CoordinatorServiceOuterClass.JobResultLocation parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation 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.coordinator.CoordinatorServiceOuterClass.JobResultLocation 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.coordinator.JobResultLocation} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.JobResultLocation) cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocationOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobResultLocation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobResultLocation_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation.class, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getLocationFilesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); location_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); fileSystem_ = 0; stsAkId_ = ""; stsAkSecret_ = ""; stsToken_ = ""; ossEndpoint_ = ""; ossInternalEndpoint_ = ""; if (locationFilesBuilder_ == null) { locationFiles_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { locationFilesBuilder_.clear(); } objectStorageRegion_ = ""; presignedUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobResultLocation_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation build() { cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation result = new cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { location_ = location_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.location_ = location_; result.fileSystem_ = fileSystem_; result.stsAkId_ = stsAkId_; result.stsAkSecret_ = stsAkSecret_; result.stsToken_ = stsToken_; result.ossEndpoint_ = ossEndpoint_; result.ossInternalEndpoint_ = ossInternalEndpoint_; if (locationFilesBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { locationFiles_ = java.util.Collections.unmodifiableList(locationFiles_); bitField0_ = (bitField0_ & ~0x00000002); } result.locationFiles_ = locationFiles_; } else { result.locationFiles_ = locationFilesBuilder_.build(); } result.objectStorageRegion_ = objectStorageRegion_; if (((bitField0_ & 0x00000004) != 0)) { presignedUrls_ = presignedUrls_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); } result.presignedUrls_ = presignedUrls_; 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.coordinator.CoordinatorServiceOuterClass.JobResultLocation) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation.getDefaultInstance()) return this; if (!other.location_.isEmpty()) { if (location_.isEmpty()) { location_ = other.location_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureLocationIsMutable(); location_.addAll(other.location_); } onChanged(); } if (other.fileSystem_ != 0) { setFileSystemValue(other.getFileSystemValue()); } if (!other.getStsAkId().isEmpty()) { stsAkId_ = other.stsAkId_; onChanged(); } if (!other.getStsAkSecret().isEmpty()) { stsAkSecret_ = other.stsAkSecret_; onChanged(); } if (!other.getStsToken().isEmpty()) { stsToken_ = other.stsToken_; onChanged(); } if (!other.getOssEndpoint().isEmpty()) { ossEndpoint_ = other.ossEndpoint_; onChanged(); } if (!other.getOssInternalEndpoint().isEmpty()) { ossInternalEndpoint_ = other.ossInternalEndpoint_; onChanged(); } if (locationFilesBuilder_ == null) { if (!other.locationFiles_.isEmpty()) { if (locationFiles_.isEmpty()) { locationFiles_ = other.locationFiles_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureLocationFilesIsMutable(); locationFiles_.addAll(other.locationFiles_); } onChanged(); } } else { if (!other.locationFiles_.isEmpty()) { if (locationFilesBuilder_.isEmpty()) { locationFilesBuilder_.dispose(); locationFilesBuilder_ = null; locationFiles_ = other.locationFiles_; bitField0_ = (bitField0_ & ~0x00000002); locationFilesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getLocationFilesFieldBuilder() : null; } else { locationFilesBuilder_.addAllMessages(other.locationFiles_); } } } if (!other.getObjectStorageRegion().isEmpty()) { objectStorageRegion_ = other.objectStorageRegion_; onChanged(); } if (!other.presignedUrls_.isEmpty()) { if (presignedUrls_.isEmpty()) { presignedUrls_ = other.presignedUrls_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensurePresignedUrlsIsMutable(); presignedUrls_.addAll(other.presignedUrls_); } 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.coordinator.CoordinatorServiceOuterClass.JobResultLocation parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private com.google.protobuf.LazyStringList location_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureLocationIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { location_ = new com.google.protobuf.LazyStringArrayList(location_); bitField0_ |= 0x00000001; } } /** * repeated string location = 1; * @return A list containing the location. */ public com.google.protobuf.ProtocolStringList getLocationList() { return location_.getUnmodifiableView(); } /** * repeated string location = 1; * @return The count of location. */ public int getLocationCount() { return location_.size(); } /** * repeated string location = 1; * @param index The index of the element to return. * @return The location at the given index. */ public java.lang.String getLocation(int index) { return location_.get(index); } /** * repeated string location = 1; * @param index The index of the value to return. * @return The bytes of the location at the given index. */ public com.google.protobuf.ByteString getLocationBytes(int index) { return location_.getByteString(index); } /** * repeated string location = 1; * @param index The index to set the value at. * @param value The location to set. * @return This builder for chaining. */ public Builder setLocation( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureLocationIsMutable(); location_.set(index, value); onChanged(); return this; } /** * repeated string location = 1; * @param value The location to add. * @return This builder for chaining. */ public Builder addLocation( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureLocationIsMutable(); location_.add(value); onChanged(); return this; } /** * repeated string location = 1; * @param values The location to add. * @return This builder for chaining. */ public Builder addAllLocation( java.lang.Iterable values) { ensureLocationIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, location_); onChanged(); return this; } /** * repeated string location = 1; * @return This builder for chaining. */ public Builder clearLocation() { location_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string location = 1; * @param value The bytes of the location to add. * @return This builder for chaining. */ public Builder addLocationBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureLocationIsMutable(); location_.add(value); onChanged(); return this; } private int fileSystem_ = 0; /** * .cz.proto.FileSystemType file_system = 2; * @return The enum numeric value on the wire for fileSystem. */ @java.lang.Override public int getFileSystemValue() { return fileSystem_; } /** * .cz.proto.FileSystemType file_system = 2; * @param value The enum numeric value on the wire for fileSystem to set. * @return This builder for chaining. */ public Builder setFileSystemValue(int value) { fileSystem_ = value; onChanged(); return this; } /** * .cz.proto.FileSystemType file_system = 2; * @return The fileSystem. */ @java.lang.Override public cz.proto.FileSystem.FileSystemType getFileSystem() { @SuppressWarnings("deprecation") cz.proto.FileSystem.FileSystemType result = cz.proto.FileSystem.FileSystemType.valueOf(fileSystem_); return result == null ? cz.proto.FileSystem.FileSystemType.UNRECOGNIZED : result; } /** * .cz.proto.FileSystemType file_system = 2; * @param value The fileSystem to set. * @return This builder for chaining. */ public Builder setFileSystem(cz.proto.FileSystem.FileSystemType value) { if (value == null) { throw new NullPointerException(); } fileSystem_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.FileSystemType file_system = 2; * @return This builder for chaining. */ public Builder clearFileSystem() { fileSystem_ = 0; onChanged(); return this; } private java.lang.Object stsAkId_ = ""; /** * string sts_ak_id = 3; * @return The stsAkId. */ public java.lang.String getStsAkId() { java.lang.Object ref = stsAkId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stsAkId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string sts_ak_id = 3; * @return The bytes for stsAkId. */ public com.google.protobuf.ByteString getStsAkIdBytes() { java.lang.Object ref = stsAkId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stsAkId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string sts_ak_id = 3; * @param value The stsAkId to set. * @return This builder for chaining. */ public Builder setStsAkId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } stsAkId_ = value; onChanged(); return this; } /** * string sts_ak_id = 3; * @return This builder for chaining. */ public Builder clearStsAkId() { stsAkId_ = getDefaultInstance().getStsAkId(); onChanged(); return this; } /** * string sts_ak_id = 3; * @param value The bytes for stsAkId to set. * @return This builder for chaining. */ public Builder setStsAkIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); stsAkId_ = value; onChanged(); return this; } private java.lang.Object stsAkSecret_ = ""; /** * string sts_ak_secret = 4; * @return The stsAkSecret. */ public java.lang.String getStsAkSecret() { java.lang.Object ref = stsAkSecret_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stsAkSecret_ = s; return s; } else { return (java.lang.String) ref; } } /** * string sts_ak_secret = 4; * @return The bytes for stsAkSecret. */ public com.google.protobuf.ByteString getStsAkSecretBytes() { java.lang.Object ref = stsAkSecret_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stsAkSecret_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string sts_ak_secret = 4; * @param value The stsAkSecret to set. * @return This builder for chaining. */ public Builder setStsAkSecret( java.lang.String value) { if (value == null) { throw new NullPointerException(); } stsAkSecret_ = value; onChanged(); return this; } /** * string sts_ak_secret = 4; * @return This builder for chaining. */ public Builder clearStsAkSecret() { stsAkSecret_ = getDefaultInstance().getStsAkSecret(); onChanged(); return this; } /** * string sts_ak_secret = 4; * @param value The bytes for stsAkSecret to set. * @return This builder for chaining. */ public Builder setStsAkSecretBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); stsAkSecret_ = value; onChanged(); return this; } private java.lang.Object stsToken_ = ""; /** * string sts_token = 5; * @return The stsToken. */ public java.lang.String getStsToken() { java.lang.Object ref = stsToken_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); stsToken_ = s; return s; } else { return (java.lang.String) ref; } } /** * string sts_token = 5; * @return The bytes for stsToken. */ public com.google.protobuf.ByteString getStsTokenBytes() { java.lang.Object ref = stsToken_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); stsToken_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string sts_token = 5; * @param value The stsToken to set. * @return This builder for chaining. */ public Builder setStsToken( java.lang.String value) { if (value == null) { throw new NullPointerException(); } stsToken_ = value; onChanged(); return this; } /** * string sts_token = 5; * @return This builder for chaining. */ public Builder clearStsToken() { stsToken_ = getDefaultInstance().getStsToken(); onChanged(); return this; } /** * string sts_token = 5; * @param value The bytes for stsToken to set. * @return This builder for chaining. */ public Builder setStsTokenBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); stsToken_ = value; onChanged(); return this; } private java.lang.Object ossEndpoint_ = ""; /** * string oss_endpoint = 6; * @return The ossEndpoint. */ public java.lang.String getOssEndpoint() { java.lang.Object ref = ossEndpoint_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ossEndpoint_ = s; return s; } else { return (java.lang.String) ref; } } /** * string oss_endpoint = 6; * @return The bytes for ossEndpoint. */ public com.google.protobuf.ByteString getOssEndpointBytes() { java.lang.Object ref = ossEndpoint_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ossEndpoint_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string oss_endpoint = 6; * @param value The ossEndpoint to set. * @return This builder for chaining. */ public Builder setOssEndpoint( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ossEndpoint_ = value; onChanged(); return this; } /** * string oss_endpoint = 6; * @return This builder for chaining. */ public Builder clearOssEndpoint() { ossEndpoint_ = getDefaultInstance().getOssEndpoint(); onChanged(); return this; } /** * string oss_endpoint = 6; * @param value The bytes for ossEndpoint to set. * @return This builder for chaining. */ public Builder setOssEndpointBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ossEndpoint_ = value; onChanged(); return this; } private java.lang.Object ossInternalEndpoint_ = ""; /** * string oss_internal_endpoint = 7; * @return The ossInternalEndpoint. */ public java.lang.String getOssInternalEndpoint() { java.lang.Object ref = ossInternalEndpoint_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ossInternalEndpoint_ = s; return s; } else { return (java.lang.String) ref; } } /** * string oss_internal_endpoint = 7; * @return The bytes for ossInternalEndpoint. */ public com.google.protobuf.ByteString getOssInternalEndpointBytes() { java.lang.Object ref = ossInternalEndpoint_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ossInternalEndpoint_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string oss_internal_endpoint = 7; * @param value The ossInternalEndpoint to set. * @return This builder for chaining. */ public Builder setOssInternalEndpoint( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ossInternalEndpoint_ = value; onChanged(); return this; } /** * string oss_internal_endpoint = 7; * @return This builder for chaining. */ public Builder clearOssInternalEndpoint() { ossInternalEndpoint_ = getDefaultInstance().getOssInternalEndpoint(); onChanged(); return this; } /** * string oss_internal_endpoint = 7; * @param value The bytes for ossInternalEndpoint to set. * @return This builder for chaining. */ public Builder setOssInternalEndpointBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ossInternalEndpoint_ = value; onChanged(); return this; } private java.util.List locationFiles_ = java.util.Collections.emptyList(); private void ensureLocationFilesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { locationFiles_ = new java.util.ArrayList(locationFiles_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo, cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfoOrBuilder> locationFilesBuilder_; /** * repeated .cz.proto.coordinator.LocationFileInfo location_files = 8; */ public java.util.List getLocationFilesList() { if (locationFilesBuilder_ == null) { return java.util.Collections.unmodifiableList(locationFiles_); } else { return locationFilesBuilder_.getMessageList(); } } /** * repeated .cz.proto.coordinator.LocationFileInfo location_files = 8; */ public int getLocationFilesCount() { if (locationFilesBuilder_ == null) { return locationFiles_.size(); } else { return locationFilesBuilder_.getCount(); } } /** * repeated .cz.proto.coordinator.LocationFileInfo location_files = 8; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo getLocationFiles(int index) { if (locationFilesBuilder_ == null) { return locationFiles_.get(index); } else { return locationFilesBuilder_.getMessage(index); } } /** * repeated .cz.proto.coordinator.LocationFileInfo location_files = 8; */ public Builder setLocationFiles( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo value) { if (locationFilesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLocationFilesIsMutable(); locationFiles_.set(index, value); onChanged(); } else { locationFilesBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.coordinator.LocationFileInfo location_files = 8; */ public Builder setLocationFiles( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo.Builder builderForValue) { if (locationFilesBuilder_ == null) { ensureLocationFilesIsMutable(); locationFiles_.set(index, builderForValue.build()); onChanged(); } else { locationFilesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.LocationFileInfo location_files = 8; */ public Builder addLocationFiles(cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo value) { if (locationFilesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLocationFilesIsMutable(); locationFiles_.add(value); onChanged(); } else { locationFilesBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.coordinator.LocationFileInfo location_files = 8; */ public Builder addLocationFiles( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo value) { if (locationFilesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureLocationFilesIsMutable(); locationFiles_.add(index, value); onChanged(); } else { locationFilesBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.coordinator.LocationFileInfo location_files = 8; */ public Builder addLocationFiles( cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo.Builder builderForValue) { if (locationFilesBuilder_ == null) { ensureLocationFilesIsMutable(); locationFiles_.add(builderForValue.build()); onChanged(); } else { locationFilesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.LocationFileInfo location_files = 8; */ public Builder addLocationFiles( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo.Builder builderForValue) { if (locationFilesBuilder_ == null) { ensureLocationFilesIsMutable(); locationFiles_.add(index, builderForValue.build()); onChanged(); } else { locationFilesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.LocationFileInfo location_files = 8; */ public Builder addAllLocationFiles( java.lang.Iterable values) { if (locationFilesBuilder_ == null) { ensureLocationFilesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, locationFiles_); onChanged(); } else { locationFilesBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.coordinator.LocationFileInfo location_files = 8; */ public Builder clearLocationFiles() { if (locationFilesBuilder_ == null) { locationFiles_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { locationFilesBuilder_.clear(); } return this; } /** * repeated .cz.proto.coordinator.LocationFileInfo location_files = 8; */ public Builder removeLocationFiles(int index) { if (locationFilesBuilder_ == null) { ensureLocationFilesIsMutable(); locationFiles_.remove(index); onChanged(); } else { locationFilesBuilder_.remove(index); } return this; } /** * repeated .cz.proto.coordinator.LocationFileInfo location_files = 8; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo.Builder getLocationFilesBuilder( int index) { return getLocationFilesFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.coordinator.LocationFileInfo location_files = 8; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfoOrBuilder getLocationFilesOrBuilder( int index) { if (locationFilesBuilder_ == null) { return locationFiles_.get(index); } else { return locationFilesBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.coordinator.LocationFileInfo location_files = 8; */ public java.util.List getLocationFilesOrBuilderList() { if (locationFilesBuilder_ != null) { return locationFilesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(locationFiles_); } } /** * repeated .cz.proto.coordinator.LocationFileInfo location_files = 8; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo.Builder addLocationFilesBuilder() { return getLocationFilesFieldBuilder().addBuilder( cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo.getDefaultInstance()); } /** * repeated .cz.proto.coordinator.LocationFileInfo location_files = 8; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo.Builder addLocationFilesBuilder( int index) { return getLocationFilesFieldBuilder().addBuilder( index, cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo.getDefaultInstance()); } /** * repeated .cz.proto.coordinator.LocationFileInfo location_files = 8; */ public java.util.List getLocationFilesBuilderList() { return getLocationFilesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo, cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfoOrBuilder> getLocationFilesFieldBuilder() { if (locationFilesBuilder_ == null) { locationFilesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo, cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfo.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.LocationFileInfoOrBuilder>( locationFiles_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); locationFiles_ = null; } return locationFilesBuilder_; } private java.lang.Object objectStorageRegion_ = ""; /** * string object_storage_region = 9; * @return The objectStorageRegion. */ public java.lang.String getObjectStorageRegion() { java.lang.Object ref = objectStorageRegion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); objectStorageRegion_ = s; return s; } else { return (java.lang.String) ref; } } /** * string object_storage_region = 9; * @return The bytes for objectStorageRegion. */ public com.google.protobuf.ByteString getObjectStorageRegionBytes() { java.lang.Object ref = objectStorageRegion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); objectStorageRegion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string object_storage_region = 9; * @param value The objectStorageRegion to set. * @return This builder for chaining. */ public Builder setObjectStorageRegion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } objectStorageRegion_ = value; onChanged(); return this; } /** * string object_storage_region = 9; * @return This builder for chaining. */ public Builder clearObjectStorageRegion() { objectStorageRegion_ = getDefaultInstance().getObjectStorageRegion(); onChanged(); return this; } /** * string object_storage_region = 9; * @param value The bytes for objectStorageRegion to set. * @return This builder for chaining. */ public Builder setObjectStorageRegionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); objectStorageRegion_ = value; onChanged(); return this; } private com.google.protobuf.LazyStringList presignedUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensurePresignedUrlsIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { presignedUrls_ = new com.google.protobuf.LazyStringArrayList(presignedUrls_); bitField0_ |= 0x00000004; } } /** * repeated string presigned_urls = 10; * @return A list containing the presignedUrls. */ public com.google.protobuf.ProtocolStringList getPresignedUrlsList() { return presignedUrls_.getUnmodifiableView(); } /** * repeated string presigned_urls = 10; * @return The count of presignedUrls. */ public int getPresignedUrlsCount() { return presignedUrls_.size(); } /** * repeated string presigned_urls = 10; * @param index The index of the element to return. * @return The presignedUrls at the given index. */ public java.lang.String getPresignedUrls(int index) { return presignedUrls_.get(index); } /** * repeated string presigned_urls = 10; * @param index The index of the value to return. * @return The bytes of the presignedUrls at the given index. */ public com.google.protobuf.ByteString getPresignedUrlsBytes(int index) { return presignedUrls_.getByteString(index); } /** * repeated string presigned_urls = 10; * @param index The index to set the value at. * @param value The presignedUrls to set. * @return This builder for chaining. */ public Builder setPresignedUrls( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePresignedUrlsIsMutable(); presignedUrls_.set(index, value); onChanged(); return this; } /** * repeated string presigned_urls = 10; * @param value The presignedUrls to add. * @return This builder for chaining. */ public Builder addPresignedUrls( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensurePresignedUrlsIsMutable(); presignedUrls_.add(value); onChanged(); return this; } /** * repeated string presigned_urls = 10; * @param values The presignedUrls to add. * @return This builder for chaining. */ public Builder addAllPresignedUrls( java.lang.Iterable values) { ensurePresignedUrlsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, presignedUrls_); onChanged(); return this; } /** * repeated string presigned_urls = 10; * @return This builder for chaining. */ public Builder clearPresignedUrls() { presignedUrls_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** * repeated string presigned_urls = 10; * @param value The bytes of the presignedUrls to add. * @return This builder for chaining. */ public Builder addPresignedUrlsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensurePresignedUrlsIsMutable(); presignedUrls_.add(value); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:cz.proto.coordinator.JobResultLocation) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.JobResultLocation) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public JobResultLocation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new JobResultLocation(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.coordinator.CoordinatorServiceOuterClass.JobResultLocation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface JobResultSetMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.JobResultSetMetadata) com.google.protobuf.MessageOrBuilder { /** * int64 num_rows = 1; * @return The numRows. */ long getNumRows(); /** * .cz.proto.coordinator.ResultFormat format = 2; * @return The enum numeric value on the wire for format. */ int getFormatValue(); /** * .cz.proto.coordinator.ResultFormat format = 2; * @return The format. */ cz.proto.coordinator.CoordinatorServiceOuterClass.ResultFormat getFormat(); /** * .cz.proto.coordinator.ResultType type = 3; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** * .cz.proto.coordinator.ResultType type = 3; * @return The type. */ cz.proto.coordinator.CoordinatorServiceOuterClass.ResultType getType(); /** *
     * schema for result
     * 
* * repeated .cz.proto.FieldSchema fields = 4; */ java.util.List getFieldsList(); /** *
     * schema for result
     * 
* * repeated .cz.proto.FieldSchema fields = 4; */ cz.proto.FieldSchema getFields(int index); /** *
     * schema for result
     * 
* * repeated .cz.proto.FieldSchema fields = 4; */ int getFieldsCount(); /** *
     * schema for result
     * 
* * repeated .cz.proto.FieldSchema fields = 4; */ java.util.List getFieldsOrBuilderList(); /** *
     * schema for result
     * 
* * repeated .cz.proto.FieldSchema fields = 4; */ cz.proto.FieldSchemaOrBuilder getFieldsOrBuilder( int index); } /** * Protobuf type {@code cz.proto.coordinator.JobResultSetMetadata} */ public static final class JobResultSetMetadata extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.JobResultSetMetadata) JobResultSetMetadataOrBuilder { private static final long serialVersionUID = 0L; // Use JobResultSetMetadata.newBuilder() to construct. private JobResultSetMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private JobResultSetMetadata() { format_ = 0; type_ = 0; fields_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new JobResultSetMetadata(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private JobResultSetMetadata( 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: { numRows_ = input.readInt64(); break; } case 16: { int rawValue = input.readEnum(); format_ = rawValue; break; } case 24: { int rawValue = input.readEnum(); type_ = rawValue; break; } case 34: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { fields_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } fields_.add( input.readMessage(cz.proto.FieldSchema.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)) { fields_ = java.util.Collections.unmodifiableList(fields_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobResultSetMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobResultSetMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata.class, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata.Builder.class); } public static final int NUM_ROWS_FIELD_NUMBER = 1; private long numRows_; /** * int64 num_rows = 1; * @return The numRows. */ @java.lang.Override public long getNumRows() { return numRows_; } public static final int FORMAT_FIELD_NUMBER = 2; private int format_; /** * .cz.proto.coordinator.ResultFormat format = 2; * @return The enum numeric value on the wire for format. */ @java.lang.Override public int getFormatValue() { return format_; } /** * .cz.proto.coordinator.ResultFormat format = 2; * @return The format. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ResultFormat getFormat() { @SuppressWarnings("deprecation") cz.proto.coordinator.CoordinatorServiceOuterClass.ResultFormat result = cz.proto.coordinator.CoordinatorServiceOuterClass.ResultFormat.valueOf(format_); return result == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.ResultFormat.UNRECOGNIZED : result; } public static final int TYPE_FIELD_NUMBER = 3; private int type_; /** * .cz.proto.coordinator.ResultType type = 3; * @return The enum numeric value on the wire for type. */ @java.lang.Override public int getTypeValue() { return type_; } /** * .cz.proto.coordinator.ResultType type = 3; * @return The type. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ResultType getType() { @SuppressWarnings("deprecation") cz.proto.coordinator.CoordinatorServiceOuterClass.ResultType result = cz.proto.coordinator.CoordinatorServiceOuterClass.ResultType.valueOf(type_); return result == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.ResultType.UNRECOGNIZED : result; } public static final int FIELDS_FIELD_NUMBER = 4; private java.util.List fields_; /** *
     * schema for result
     * 
* * repeated .cz.proto.FieldSchema fields = 4; */ @java.lang.Override public java.util.List getFieldsList() { return fields_; } /** *
     * schema for result
     * 
* * repeated .cz.proto.FieldSchema fields = 4; */ @java.lang.Override public java.util.List getFieldsOrBuilderList() { return fields_; } /** *
     * schema for result
     * 
* * repeated .cz.proto.FieldSchema fields = 4; */ @java.lang.Override public int getFieldsCount() { return fields_.size(); } /** *
     * schema for result
     * 
* * repeated .cz.proto.FieldSchema fields = 4; */ @java.lang.Override public cz.proto.FieldSchema getFields(int index) { return fields_.get(index); } /** *
     * schema for result
     * 
* * repeated .cz.proto.FieldSchema fields = 4; */ @java.lang.Override public cz.proto.FieldSchemaOrBuilder getFieldsOrBuilder( int index) { return fields_.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 (numRows_ != 0L) { output.writeInt64(1, numRows_); } if (format_ != cz.proto.coordinator.CoordinatorServiceOuterClass.ResultFormat.TEXT.getNumber()) { output.writeEnum(2, format_); } if (type_ != cz.proto.coordinator.CoordinatorServiceOuterClass.ResultType.BUFFERED_STREAM.getNumber()) { output.writeEnum(3, type_); } for (int i = 0; i < fields_.size(); i++) { output.writeMessage(4, fields_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (numRows_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, numRows_); } if (format_ != cz.proto.coordinator.CoordinatorServiceOuterClass.ResultFormat.TEXT.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, format_); } if (type_ != cz.proto.coordinator.CoordinatorServiceOuterClass.ResultType.BUFFERED_STREAM.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, type_); } for (int i = 0; i < fields_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, fields_.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.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata other = (cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata) obj; if (getNumRows() != other.getNumRows()) return false; if (format_ != other.format_) return false; if (type_ != other.type_) return false; if (!getFieldsList() .equals(other.getFieldsList())) 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) + NUM_ROWS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getNumRows()); hash = (37 * hash) + FORMAT_FIELD_NUMBER; hash = (53 * hash) + format_; hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; if (getFieldsCount() > 0) { hash = (37 * hash) + FIELDS_FIELD_NUMBER; hash = (53 * hash) + getFieldsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata 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.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata 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.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata 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.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata 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.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata 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.coordinator.JobResultSetMetadata} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.JobResultSetMetadata) cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobResultSetMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobResultSetMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata.class, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getFieldsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); numRows_ = 0L; format_ = 0; type_ = 0; if (fieldsBuilder_ == null) { fields_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { fieldsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobResultSetMetadata_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata build() { cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata result = new cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata(this); int from_bitField0_ = bitField0_; result.numRows_ = numRows_; result.format_ = format_; result.type_ = type_; if (fieldsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { fields_ = java.util.Collections.unmodifiableList(fields_); bitField0_ = (bitField0_ & ~0x00000001); } result.fields_ = fields_; } else { result.fields_ = fieldsBuilder_.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.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata.getDefaultInstance()) return this; if (other.getNumRows() != 0L) { setNumRows(other.getNumRows()); } if (other.format_ != 0) { setFormatValue(other.getFormatValue()); } if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } if (fieldsBuilder_ == null) { if (!other.fields_.isEmpty()) { if (fields_.isEmpty()) { fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureFieldsIsMutable(); fields_.addAll(other.fields_); } onChanged(); } } else { if (!other.fields_.isEmpty()) { if (fieldsBuilder_.isEmpty()) { fieldsBuilder_.dispose(); fieldsBuilder_ = null; fields_ = other.fields_; bitField0_ = (bitField0_ & ~0x00000001); fieldsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getFieldsFieldBuilder() : null; } else { fieldsBuilder_.addAllMessages(other.fields_); } } } 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.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long numRows_ ; /** * int64 num_rows = 1; * @return The numRows. */ @java.lang.Override public long getNumRows() { return numRows_; } /** * int64 num_rows = 1; * @param value The numRows to set. * @return This builder for chaining. */ public Builder setNumRows(long value) { numRows_ = value; onChanged(); return this; } /** * int64 num_rows = 1; * @return This builder for chaining. */ public Builder clearNumRows() { numRows_ = 0L; onChanged(); return this; } private int format_ = 0; /** * .cz.proto.coordinator.ResultFormat format = 2; * @return The enum numeric value on the wire for format. */ @java.lang.Override public int getFormatValue() { return format_; } /** * .cz.proto.coordinator.ResultFormat format = 2; * @param value The enum numeric value on the wire for format to set. * @return This builder for chaining. */ public Builder setFormatValue(int value) { format_ = value; onChanged(); return this; } /** * .cz.proto.coordinator.ResultFormat format = 2; * @return The format. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ResultFormat getFormat() { @SuppressWarnings("deprecation") cz.proto.coordinator.CoordinatorServiceOuterClass.ResultFormat result = cz.proto.coordinator.CoordinatorServiceOuterClass.ResultFormat.valueOf(format_); return result == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.ResultFormat.UNRECOGNIZED : result; } /** * .cz.proto.coordinator.ResultFormat format = 2; * @param value The format to set. * @return This builder for chaining. */ public Builder setFormat(cz.proto.coordinator.CoordinatorServiceOuterClass.ResultFormat value) { if (value == null) { throw new NullPointerException(); } format_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.coordinator.ResultFormat format = 2; * @return This builder for chaining. */ public Builder clearFormat() { format_ = 0; onChanged(); return this; } private int type_ = 0; /** * .cz.proto.coordinator.ResultType type = 3; * @return The enum numeric value on the wire for type. */ @java.lang.Override public int getTypeValue() { return type_; } /** * .cz.proto.coordinator.ResultType type = 3; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { type_ = value; onChanged(); return this; } /** * .cz.proto.coordinator.ResultType type = 3; * @return The type. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ResultType getType() { @SuppressWarnings("deprecation") cz.proto.coordinator.CoordinatorServiceOuterClass.ResultType result = cz.proto.coordinator.CoordinatorServiceOuterClass.ResultType.valueOf(type_); return result == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.ResultType.UNRECOGNIZED : result; } /** * .cz.proto.coordinator.ResultType type = 3; * @param value The type to set. * @return This builder for chaining. */ public Builder setType(cz.proto.coordinator.CoordinatorServiceOuterClass.ResultType value) { if (value == null) { throw new NullPointerException(); } type_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.coordinator.ResultType type = 3; * @return This builder for chaining. */ public Builder clearType() { type_ = 0; onChanged(); return this; } private java.util.List fields_ = java.util.Collections.emptyList(); private void ensureFieldsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { fields_ = new java.util.ArrayList(fields_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.FieldSchema, cz.proto.FieldSchema.Builder, cz.proto.FieldSchemaOrBuilder> fieldsBuilder_; /** *
       * schema for result
       * 
* * repeated .cz.proto.FieldSchema fields = 4; */ public java.util.List getFieldsList() { if (fieldsBuilder_ == null) { return java.util.Collections.unmodifiableList(fields_); } else { return fieldsBuilder_.getMessageList(); } } /** *
       * schema for result
       * 
* * repeated .cz.proto.FieldSchema fields = 4; */ public int getFieldsCount() { if (fieldsBuilder_ == null) { return fields_.size(); } else { return fieldsBuilder_.getCount(); } } /** *
       * schema for result
       * 
* * repeated .cz.proto.FieldSchema fields = 4; */ public cz.proto.FieldSchema getFields(int index) { if (fieldsBuilder_ == null) { return fields_.get(index); } else { return fieldsBuilder_.getMessage(index); } } /** *
       * schema for result
       * 
* * repeated .cz.proto.FieldSchema fields = 4; */ public Builder setFields( int index, cz.proto.FieldSchema value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFieldsIsMutable(); fields_.set(index, value); onChanged(); } else { fieldsBuilder_.setMessage(index, value); } return this; } /** *
       * schema for result
       * 
* * repeated .cz.proto.FieldSchema fields = 4; */ public Builder setFields( int index, cz.proto.FieldSchema.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.set(index, builderForValue.build()); onChanged(); } else { fieldsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * schema for result
       * 
* * repeated .cz.proto.FieldSchema fields = 4; */ public Builder addFields(cz.proto.FieldSchema value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFieldsIsMutable(); fields_.add(value); onChanged(); } else { fieldsBuilder_.addMessage(value); } return this; } /** *
       * schema for result
       * 
* * repeated .cz.proto.FieldSchema fields = 4; */ public Builder addFields( int index, cz.proto.FieldSchema value) { if (fieldsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureFieldsIsMutable(); fields_.add(index, value); onChanged(); } else { fieldsBuilder_.addMessage(index, value); } return this; } /** *
       * schema for result
       * 
* * repeated .cz.proto.FieldSchema fields = 4; */ public Builder addFields( cz.proto.FieldSchema.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.add(builderForValue.build()); onChanged(); } else { fieldsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * schema for result
       * 
* * repeated .cz.proto.FieldSchema fields = 4; */ public Builder addFields( int index, cz.proto.FieldSchema.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.add(index, builderForValue.build()); onChanged(); } else { fieldsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * schema for result
       * 
* * repeated .cz.proto.FieldSchema fields = 4; */ public Builder addAllFields( java.lang.Iterable values) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, fields_); onChanged(); } else { fieldsBuilder_.addAllMessages(values); } return this; } /** *
       * schema for result
       * 
* * repeated .cz.proto.FieldSchema fields = 4; */ public Builder clearFields() { if (fieldsBuilder_ == null) { fields_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { fieldsBuilder_.clear(); } return this; } /** *
       * schema for result
       * 
* * repeated .cz.proto.FieldSchema fields = 4; */ public Builder removeFields(int index) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.remove(index); onChanged(); } else { fieldsBuilder_.remove(index); } return this; } /** *
       * schema for result
       * 
* * repeated .cz.proto.FieldSchema fields = 4; */ public cz.proto.FieldSchema.Builder getFieldsBuilder( int index) { return getFieldsFieldBuilder().getBuilder(index); } /** *
       * schema for result
       * 
* * repeated .cz.proto.FieldSchema fields = 4; */ public cz.proto.FieldSchemaOrBuilder getFieldsOrBuilder( int index) { if (fieldsBuilder_ == null) { return fields_.get(index); } else { return fieldsBuilder_.getMessageOrBuilder(index); } } /** *
       * schema for result
       * 
* * repeated .cz.proto.FieldSchema fields = 4; */ public java.util.List getFieldsOrBuilderList() { if (fieldsBuilder_ != null) { return fieldsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(fields_); } } /** *
       * schema for result
       * 
* * repeated .cz.proto.FieldSchema fields = 4; */ public cz.proto.FieldSchema.Builder addFieldsBuilder() { return getFieldsFieldBuilder().addBuilder( cz.proto.FieldSchema.getDefaultInstance()); } /** *
       * schema for result
       * 
* * repeated .cz.proto.FieldSchema fields = 4; */ public cz.proto.FieldSchema.Builder addFieldsBuilder( int index) { return getFieldsFieldBuilder().addBuilder( index, cz.proto.FieldSchema.getDefaultInstance()); } /** *
       * schema for result
       * 
* * repeated .cz.proto.FieldSchema fields = 4; */ public java.util.List getFieldsBuilderList() { return getFieldsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.FieldSchema, cz.proto.FieldSchema.Builder, cz.proto.FieldSchemaOrBuilder> getFieldsFieldBuilder() { if (fieldsBuilder_ == null) { fieldsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.FieldSchema, cz.proto.FieldSchema.Builder, cz.proto.FieldSchemaOrBuilder>( fields_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); fields_ = null; } return fieldsBuilder_; } @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.coordinator.JobResultSetMetadata) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.JobResultSetMetadata) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public JobResultSetMetadata parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new JobResultSetMetadata(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.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface JobResultSetOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.JobResultSet) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.coordinator.JobResultSetMetadata metadata = 1; * @return Whether the metadata field is set. */ boolean hasMetadata(); /** * .cz.proto.coordinator.JobResultSetMetadata metadata = 1; * @return The metadata. */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata getMetadata(); /** * .cz.proto.coordinator.JobResultSetMetadata metadata = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadataOrBuilder getMetadataOrBuilder(); /** * .cz.proto.coordinator.JobResultData data = 2; * @return Whether the data field is set. */ boolean hasData(); /** * .cz.proto.coordinator.JobResultData data = 2; * @return The data. */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData getData(); /** * .cz.proto.coordinator.JobResultData data = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultDataOrBuilder getDataOrBuilder(); /** * .cz.proto.coordinator.JobResultLocation location = 3; * @return Whether the location field is set. */ boolean hasLocation(); /** * .cz.proto.coordinator.JobResultLocation location = 3; * @return The location. */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation getLocation(); /** * .cz.proto.coordinator.JobResultLocation location = 3; */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocationOrBuilder getLocationOrBuilder(); } /** * Protobuf type {@code cz.proto.coordinator.JobResultSet} */ public static final class JobResultSet extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.JobResultSet) JobResultSetOrBuilder { private static final long serialVersionUID = 0L; // Use JobResultSet.newBuilder() to construct. private JobResultSet(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private JobResultSet() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new JobResultSet(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private JobResultSet( 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.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata.Builder subBuilder = null; if (metadata_ != null) { subBuilder = metadata_.toBuilder(); } metadata_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(metadata_); metadata_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData.Builder subBuilder = null; if (data_ != null) { subBuilder = data_.toBuilder(); } data_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(data_); data_ = subBuilder.buildPartial(); } break; } case 26: { cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation.Builder subBuilder = null; if (location_ != null) { subBuilder = location_.toBuilder(); } location_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(location_); location_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobResultSet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobResultSet_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet.class, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet.Builder.class); } public static final int METADATA_FIELD_NUMBER = 1; private cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata metadata_; /** * .cz.proto.coordinator.JobResultSetMetadata metadata = 1; * @return Whether the metadata field is set. */ @java.lang.Override public boolean hasMetadata() { return metadata_ != null; } /** * .cz.proto.coordinator.JobResultSetMetadata metadata = 1; * @return The metadata. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata getMetadata() { return metadata_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata.getDefaultInstance() : metadata_; } /** * .cz.proto.coordinator.JobResultSetMetadata metadata = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadataOrBuilder getMetadataOrBuilder() { return getMetadata(); } public static final int DATA_FIELD_NUMBER = 2; private cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData data_; /** * .cz.proto.coordinator.JobResultData data = 2; * @return Whether the data field is set. */ @java.lang.Override public boolean hasData() { return data_ != null; } /** * .cz.proto.coordinator.JobResultData data = 2; * @return The data. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData getData() { return data_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData.getDefaultInstance() : data_; } /** * .cz.proto.coordinator.JobResultData data = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultDataOrBuilder getDataOrBuilder() { return getData(); } public static final int LOCATION_FIELD_NUMBER = 3; private cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation location_; /** * .cz.proto.coordinator.JobResultLocation location = 3; * @return Whether the location field is set. */ @java.lang.Override public boolean hasLocation() { return location_ != null; } /** * .cz.proto.coordinator.JobResultLocation location = 3; * @return The location. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation getLocation() { return location_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation.getDefaultInstance() : location_; } /** * .cz.proto.coordinator.JobResultLocation location = 3; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocationOrBuilder getLocationOrBuilder() { return getLocation(); } 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 (metadata_ != null) { output.writeMessage(1, getMetadata()); } if (data_ != null) { output.writeMessage(2, getData()); } if (location_ != null) { output.writeMessage(3, getLocation()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (metadata_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getMetadata()); } if (data_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getData()); } if (location_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getLocation()); } 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.coordinator.CoordinatorServiceOuterClass.JobResultSet)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet other = (cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet) obj; if (hasMetadata() != other.hasMetadata()) return false; if (hasMetadata()) { if (!getMetadata() .equals(other.getMetadata())) return false; } if (hasData() != other.hasData()) return false; if (hasData()) { if (!getData() .equals(other.getData())) return false; } if (hasLocation() != other.hasLocation()) return false; if (hasLocation()) { if (!getLocation() .equals(other.getLocation())) 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 (hasMetadata()) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + getMetadata().hashCode(); } if (hasData()) { hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); } if (hasLocation()) { hash = (37 * hash) + LOCATION_FIELD_NUMBER; hash = (53 * hash) + getLocation().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet 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.coordinator.CoordinatorServiceOuterClass.JobResultSet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet 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.coordinator.CoordinatorServiceOuterClass.JobResultSet parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet 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.coordinator.CoordinatorServiceOuterClass.JobResultSet parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet 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.coordinator.CoordinatorServiceOuterClass.JobResultSet 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.coordinator.JobResultSet} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.JobResultSet) cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobResultSet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobResultSet_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet.class, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet.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 (metadataBuilder_ == null) { metadata_ = null; } else { metadata_ = null; metadataBuilder_ = null; } if (dataBuilder_ == null) { data_ = null; } else { data_ = null; dataBuilder_ = null; } if (locationBuilder_ == null) { location_ = null; } else { location_ = null; locationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobResultSet_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet build() { cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet result = new cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet(this); if (metadataBuilder_ == null) { result.metadata_ = metadata_; } else { result.metadata_ = metadataBuilder_.build(); } if (dataBuilder_ == null) { result.data_ = data_; } else { result.data_ = dataBuilder_.build(); } if (locationBuilder_ == null) { result.location_ = location_; } else { result.location_ = locationBuilder_.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.coordinator.CoordinatorServiceOuterClass.JobResultSet) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet.getDefaultInstance()) return this; if (other.hasMetadata()) { mergeMetadata(other.getMetadata()); } if (other.hasData()) { mergeData(other.getData()); } if (other.hasLocation()) { mergeLocation(other.getLocation()); } 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.coordinator.CoordinatorServiceOuterClass.JobResultSet parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata metadata_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadataOrBuilder> metadataBuilder_; /** * .cz.proto.coordinator.JobResultSetMetadata metadata = 1; * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** * .cz.proto.coordinator.JobResultSetMetadata metadata = 1; * @return The metadata. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata getMetadata() { if (metadataBuilder_ == null) { return metadata_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata.getDefaultInstance() : metadata_; } else { return metadataBuilder_.getMessage(); } } /** * .cz.proto.coordinator.JobResultSetMetadata metadata = 1; */ public Builder setMetadata(cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata value) { if (metadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } metadata_ = value; onChanged(); } else { metadataBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.JobResultSetMetadata metadata = 1; */ public Builder setMetadata( cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata.Builder builderForValue) { if (metadataBuilder_ == null) { metadata_ = builderForValue.build(); onChanged(); } else { metadataBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.JobResultSetMetadata metadata = 1; */ public Builder mergeMetadata(cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata value) { if (metadataBuilder_ == null) { if (metadata_ != null) { metadata_ = cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata.newBuilder(metadata_).mergeFrom(value).buildPartial(); } else { metadata_ = value; } onChanged(); } else { metadataBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.JobResultSetMetadata metadata = 1; */ public Builder clearMetadata() { if (metadataBuilder_ == null) { metadata_ = null; onChanged(); } else { metadata_ = null; metadataBuilder_ = null; } return this; } /** * .cz.proto.coordinator.JobResultSetMetadata metadata = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata.Builder getMetadataBuilder() { onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.JobResultSetMetadata metadata = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadataOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { return metadata_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata.getDefaultInstance() : metadata_; } } /** * .cz.proto.coordinator.JobResultSetMetadata metadata = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadataOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadata.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetMetadataOrBuilder>( getMetadata(), getParentForChildren(), isClean()); metadata_ = null; } return metadataBuilder_; } private cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData data_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultDataOrBuilder> dataBuilder_; /** * .cz.proto.coordinator.JobResultData data = 2; * @return Whether the data field is set. */ public boolean hasData() { return dataBuilder_ != null || data_ != null; } /** * .cz.proto.coordinator.JobResultData data = 2; * @return The data. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData getData() { if (dataBuilder_ == null) { return data_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData.getDefaultInstance() : data_; } else { return dataBuilder_.getMessage(); } } /** * .cz.proto.coordinator.JobResultData data = 2; */ public Builder setData(cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData value) { if (dataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); } else { dataBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.JobResultData data = 2; */ public Builder setData( cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData.Builder builderForValue) { if (dataBuilder_ == null) { data_ = builderForValue.build(); onChanged(); } else { dataBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.JobResultData data = 2; */ public Builder mergeData(cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData value) { if (dataBuilder_ == null) { if (data_ != null) { data_ = cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData.newBuilder(data_).mergeFrom(value).buildPartial(); } else { data_ = value; } onChanged(); } else { dataBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.JobResultData data = 2; */ public Builder clearData() { if (dataBuilder_ == null) { data_ = null; onChanged(); } else { data_ = null; dataBuilder_ = null; } return this; } /** * .cz.proto.coordinator.JobResultData data = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData.Builder getDataBuilder() { onChanged(); return getDataFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.JobResultData data = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultDataOrBuilder getDataOrBuilder() { if (dataBuilder_ != null) { return dataBuilder_.getMessageOrBuilder(); } else { return data_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData.getDefaultInstance() : data_; } } /** * .cz.proto.coordinator.JobResultData data = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultDataOrBuilder> getDataFieldBuilder() { if (dataBuilder_ == null) { dataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultData.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultDataOrBuilder>( getData(), getParentForChildren(), isClean()); data_ = null; } return dataBuilder_; } private cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation location_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocationOrBuilder> locationBuilder_; /** * .cz.proto.coordinator.JobResultLocation location = 3; * @return Whether the location field is set. */ public boolean hasLocation() { return locationBuilder_ != null || location_ != null; } /** * .cz.proto.coordinator.JobResultLocation location = 3; * @return The location. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation getLocation() { if (locationBuilder_ == null) { return location_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation.getDefaultInstance() : location_; } else { return locationBuilder_.getMessage(); } } /** * .cz.proto.coordinator.JobResultLocation location = 3; */ public Builder setLocation(cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation value) { if (locationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } location_ = value; onChanged(); } else { locationBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.JobResultLocation location = 3; */ public Builder setLocation( cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation.Builder builderForValue) { if (locationBuilder_ == null) { location_ = builderForValue.build(); onChanged(); } else { locationBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.JobResultLocation location = 3; */ public Builder mergeLocation(cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation value) { if (locationBuilder_ == null) { if (location_ != null) { location_ = cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation.newBuilder(location_).mergeFrom(value).buildPartial(); } else { location_ = value; } onChanged(); } else { locationBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.JobResultLocation location = 3; */ public Builder clearLocation() { if (locationBuilder_ == null) { location_ = null; onChanged(); } else { location_ = null; locationBuilder_ = null; } return this; } /** * .cz.proto.coordinator.JobResultLocation location = 3; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation.Builder getLocationBuilder() { onChanged(); return getLocationFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.JobResultLocation location = 3; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocationOrBuilder getLocationOrBuilder() { if (locationBuilder_ != null) { return locationBuilder_.getMessageOrBuilder(); } else { return location_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation.getDefaultInstance() : location_; } } /** * .cz.proto.coordinator.JobResultLocation location = 3; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocationOrBuilder> getLocationFieldBuilder() { if (locationBuilder_ == null) { locationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocation.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultLocationOrBuilder>( getLocation(), getParentForChildren(), isClean()); location_ = null; } return locationBuilder_; } @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.coordinator.JobResultSet) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.JobResultSet) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public JobResultSet parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new JobResultSet(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.coordinator.CoordinatorServiceOuterClass.JobResultSet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubmitJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.SubmitJobRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.coordinator.JobDesc job_desc = 1; * @return Whether the jobDesc field is set. */ boolean hasJobDesc(); /** * .cz.proto.coordinator.JobDesc job_desc = 1; * @return The jobDesc. */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc getJobDesc(); /** * .cz.proto.coordinator.JobDesc job_desc = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobDescOrBuilder getJobDescOrBuilder(); } /** * Protobuf type {@code cz.proto.coordinator.SubmitJobRequest} */ public static final class SubmitJobRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.SubmitJobRequest) SubmitJobRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SubmitJobRequest.newBuilder() to construct. private SubmitJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubmitJobRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubmitJobRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubmitJobRequest( 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.coordinator.CoordinatorServiceOuterClass.JobDesc.Builder subBuilder = null; if (jobDesc_ != null) { subBuilder = jobDesc_.toBuilder(); } jobDesc_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(jobDesc_); jobDesc_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_SubmitJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_SubmitJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest.Builder.class); } public static final int JOB_DESC_FIELD_NUMBER = 1; private cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc jobDesc_; /** * .cz.proto.coordinator.JobDesc job_desc = 1; * @return Whether the jobDesc field is set. */ @java.lang.Override public boolean hasJobDesc() { return jobDesc_ != null; } /** * .cz.proto.coordinator.JobDesc job_desc = 1; * @return The jobDesc. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc getJobDesc() { return jobDesc_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.getDefaultInstance() : jobDesc_; } /** * .cz.proto.coordinator.JobDesc job_desc = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobDescOrBuilder getJobDescOrBuilder() { return getJobDesc(); } 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 (jobDesc_ != null) { output.writeMessage(1, getJobDesc()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (jobDesc_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getJobDesc()); } 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.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest other = (cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest) obj; if (hasJobDesc() != other.hasJobDesc()) return false; if (hasJobDesc()) { if (!getJobDesc() .equals(other.getJobDesc())) 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 (hasJobDesc()) { hash = (37 * hash) + JOB_DESC_FIELD_NUMBER; hash = (53 * hash) + getJobDesc().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest 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.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest 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.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest 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.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest 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.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest 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.coordinator.SubmitJobRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.SubmitJobRequest) cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_SubmitJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_SubmitJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest.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 (jobDescBuilder_ == null) { jobDesc_ = null; } else { jobDesc_ = null; jobDescBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_SubmitJobRequest_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest build() { cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest result = new cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest(this); if (jobDescBuilder_ == null) { result.jobDesc_ = jobDesc_; } else { result.jobDesc_ = jobDescBuilder_.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.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest.getDefaultInstance()) return this; if (other.hasJobDesc()) { mergeJobDesc(other.getJobDesc()); } 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.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc jobDesc_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc, cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobDescOrBuilder> jobDescBuilder_; /** * .cz.proto.coordinator.JobDesc job_desc = 1; * @return Whether the jobDesc field is set. */ public boolean hasJobDesc() { return jobDescBuilder_ != null || jobDesc_ != null; } /** * .cz.proto.coordinator.JobDesc job_desc = 1; * @return The jobDesc. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc getJobDesc() { if (jobDescBuilder_ == null) { return jobDesc_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.getDefaultInstance() : jobDesc_; } else { return jobDescBuilder_.getMessage(); } } /** * .cz.proto.coordinator.JobDesc job_desc = 1; */ public Builder setJobDesc(cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc value) { if (jobDescBuilder_ == null) { if (value == null) { throw new NullPointerException(); } jobDesc_ = value; onChanged(); } else { jobDescBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.JobDesc job_desc = 1; */ public Builder setJobDesc( cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.Builder builderForValue) { if (jobDescBuilder_ == null) { jobDesc_ = builderForValue.build(); onChanged(); } else { jobDescBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.JobDesc job_desc = 1; */ public Builder mergeJobDesc(cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc value) { if (jobDescBuilder_ == null) { if (jobDesc_ != null) { jobDesc_ = cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.newBuilder(jobDesc_).mergeFrom(value).buildPartial(); } else { jobDesc_ = value; } onChanged(); } else { jobDescBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.JobDesc job_desc = 1; */ public Builder clearJobDesc() { if (jobDescBuilder_ == null) { jobDesc_ = null; onChanged(); } else { jobDesc_ = null; jobDescBuilder_ = null; } return this; } /** * .cz.proto.coordinator.JobDesc job_desc = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.Builder getJobDescBuilder() { onChanged(); return getJobDescFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.JobDesc job_desc = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobDescOrBuilder getJobDescOrBuilder() { if (jobDescBuilder_ != null) { return jobDescBuilder_.getMessageOrBuilder(); } else { return jobDesc_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.getDefaultInstance() : jobDesc_; } } /** * .cz.proto.coordinator.JobDesc job_desc = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc, cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobDescOrBuilder> getJobDescFieldBuilder() { if (jobDescBuilder_ == null) { jobDescBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc, cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobDescOrBuilder>( getJobDesc(), getParentForChildren(), isClean()); jobDesc_ = null; } return jobDescBuilder_; } @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.coordinator.SubmitJobRequest) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.SubmitJobRequest) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubmitJobRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubmitJobRequest(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.coordinator.CoordinatorServiceOuterClass.SubmitJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SubmitJobResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.SubmitJobResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ boolean hasRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ cz.proto.ServiceCommon.ResponseStatus getRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; */ cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder(); /** * .cz.proto.coordinator.JobStatus status = 2; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.coordinator.JobStatus status = 2; * @return The status. */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus getStatus(); /** * .cz.proto.coordinator.JobStatus status = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatusOrBuilder getStatusOrBuilder(); /** *
     * for sync/hybrid requests, do not support paging
     * 
* * .cz.proto.coordinator.JobResultSet result_set = 3; * @return Whether the resultSet field is set. */ boolean hasResultSet(); /** *
     * for sync/hybrid requests, do not support paging
     * 
* * .cz.proto.coordinator.JobResultSet result_set = 3; * @return The resultSet. */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet getResultSet(); /** *
     * for sync/hybrid requests, do not support paging
     * 
* * .cz.proto.coordinator.JobResultSet result_set = 3; */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetOrBuilder getResultSetOrBuilder(); } /** * Protobuf type {@code cz.proto.coordinator.SubmitJobResponse} */ public static final class SubmitJobResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.SubmitJobResponse) SubmitJobResponseOrBuilder { private static final long serialVersionUID = 0L; // Use SubmitJobResponse.newBuilder() to construct. private SubmitJobResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SubmitJobResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SubmitJobResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SubmitJobResponse( 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.ServiceCommon.ResponseStatus.Builder subBuilder = null; if (respStatus_ != null) { subBuilder = respStatus_.toBuilder(); } respStatus_ = input.readMessage(cz.proto.ServiceCommon.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(respStatus_); respStatus_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(status_); status_ = subBuilder.buildPartial(); } break; } case 26: { cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet.Builder subBuilder = null; if (resultSet_ != null) { subBuilder = resultSet_.toBuilder(); } resultSet_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(resultSet_); resultSet_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_SubmitJobResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_SubmitJobResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse.Builder.class); } public static final int RESP_STATUS_FIELD_NUMBER = 1; private cz.proto.ServiceCommon.ResponseStatus respStatus_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ @java.lang.Override public boolean hasRespStatus() { return respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } /** * .cz.proto.ResponseStatus resp_status = 1; */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { return getRespStatus(); } public static final int STATUS_FIELD_NUMBER = 2; private cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus status_; /** * .cz.proto.coordinator.JobStatus status = 2; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.coordinator.JobStatus status = 2; * @return The status. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus getStatus() { return status_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.getDefaultInstance() : status_; } /** * .cz.proto.coordinator.JobStatus status = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatusOrBuilder getStatusOrBuilder() { return getStatus(); } public static final int RESULT_SET_FIELD_NUMBER = 3; private cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet resultSet_; /** *
     * for sync/hybrid requests, do not support paging
     * 
* * .cz.proto.coordinator.JobResultSet result_set = 3; * @return Whether the resultSet field is set. */ @java.lang.Override public boolean hasResultSet() { return resultSet_ != null; } /** *
     * for sync/hybrid requests, do not support paging
     * 
* * .cz.proto.coordinator.JobResultSet result_set = 3; * @return The resultSet. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet getResultSet() { return resultSet_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet.getDefaultInstance() : resultSet_; } /** *
     * for sync/hybrid requests, do not support paging
     * 
* * .cz.proto.coordinator.JobResultSet result_set = 3; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetOrBuilder getResultSetOrBuilder() { return getResultSet(); } 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 (respStatus_ != null) { output.writeMessage(1, getRespStatus()); } if (status_ != null) { output.writeMessage(2, getStatus()); } if (resultSet_ != null) { output.writeMessage(3, getResultSet()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (respStatus_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRespStatus()); } if (status_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getStatus()); } if (resultSet_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getResultSet()); } 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.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse other = (cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse) obj; if (hasRespStatus() != other.hasRespStatus()) return false; if (hasRespStatus()) { if (!getRespStatus() .equals(other.getRespStatus())) return false; } if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) return false; } if (hasResultSet() != other.hasResultSet()) return false; if (hasResultSet()) { if (!getResultSet() .equals(other.getResultSet())) 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 (hasRespStatus()) { hash = (37 * hash) + RESP_STATUS_FIELD_NUMBER; hash = (53 * hash) + getRespStatus().hashCode(); } if (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } if (hasResultSet()) { hash = (37 * hash) + RESULT_SET_FIELD_NUMBER; hash = (53 * hash) + getResultSet().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse 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.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse 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.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse 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.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse 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.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse 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.coordinator.SubmitJobResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.SubmitJobResponse) cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_SubmitJobResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_SubmitJobResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse.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 (respStatusBuilder_ == null) { respStatus_ = null; } else { respStatus_ = null; respStatusBuilder_ = null; } if (statusBuilder_ == null) { status_ = null; } else { status_ = null; statusBuilder_ = null; } if (resultSetBuilder_ == null) { resultSet_ = null; } else { resultSet_ = null; resultSetBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_SubmitJobResponse_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse build() { cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse result = new cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse(this); if (respStatusBuilder_ == null) { result.respStatus_ = respStatus_; } else { result.respStatus_ = respStatusBuilder_.build(); } if (statusBuilder_ == null) { result.status_ = status_; } else { result.status_ = statusBuilder_.build(); } if (resultSetBuilder_ == null) { result.resultSet_ = resultSet_; } else { result.resultSet_ = resultSetBuilder_.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.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse.getDefaultInstance()) return this; if (other.hasRespStatus()) { mergeRespStatus(other.getRespStatus()); } if (other.hasStatus()) { mergeStatus(other.getStatus()); } if (other.hasResultSet()) { mergeResultSet(other.getResultSet()); } 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.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ServiceCommon.ResponseStatus respStatus_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> respStatusBuilder_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ public boolean hasRespStatus() { return respStatusBuilder_ != null || respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { if (respStatusBuilder_ == null) { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } else { return respStatusBuilder_.getMessage(); } } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } respStatus_ = value; onChanged(); } else { respStatusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus( cz.proto.ServiceCommon.ResponseStatus.Builder builderForValue) { if (respStatusBuilder_ == null) { respStatus_ = builderForValue.build(); onChanged(); } else { respStatusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder mergeRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (respStatus_ != null) { respStatus_ = cz.proto.ServiceCommon.ResponseStatus.newBuilder(respStatus_).mergeFrom(value).buildPartial(); } else { respStatus_ = value; } onChanged(); } else { respStatusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder clearRespStatus() { if (respStatusBuilder_ == null) { respStatus_ = null; onChanged(); } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatus.Builder getRespStatusBuilder() { onChanged(); return getRespStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { if (respStatusBuilder_ != null) { return respStatusBuilder_.getMessageOrBuilder(); } else { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } } /** * .cz.proto.ResponseStatus resp_status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> getRespStatusFieldBuilder() { if (respStatusBuilder_ == null) { respStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder>( getRespStatus(), getParentForChildren(), isClean()); respStatus_ = null; } return respStatusBuilder_; } private cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatusOrBuilder> statusBuilder_; /** * .cz.proto.coordinator.JobStatus status = 2; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.coordinator.JobStatus status = 2; * @return The status. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.coordinator.JobStatus status = 2; */ public Builder setStatus(cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.JobStatus status = 2; */ public Builder setStatus( cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.JobStatus status = 2; */ public Builder mergeStatus(cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.JobStatus status = 2; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.coordinator.JobStatus status = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.JobStatus status = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.getDefaultInstance() : status_; } } /** * .cz.proto.coordinator.JobStatus status = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatusOrBuilder>( getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } private cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet resultSet_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetOrBuilder> resultSetBuilder_; /** *
       * for sync/hybrid requests, do not support paging
       * 
* * .cz.proto.coordinator.JobResultSet result_set = 3; * @return Whether the resultSet field is set. */ public boolean hasResultSet() { return resultSetBuilder_ != null || resultSet_ != null; } /** *
       * for sync/hybrid requests, do not support paging
       * 
* * .cz.proto.coordinator.JobResultSet result_set = 3; * @return The resultSet. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet getResultSet() { if (resultSetBuilder_ == null) { return resultSet_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet.getDefaultInstance() : resultSet_; } else { return resultSetBuilder_.getMessage(); } } /** *
       * for sync/hybrid requests, do not support paging
       * 
* * .cz.proto.coordinator.JobResultSet result_set = 3; */ public Builder setResultSet(cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet value) { if (resultSetBuilder_ == null) { if (value == null) { throw new NullPointerException(); } resultSet_ = value; onChanged(); } else { resultSetBuilder_.setMessage(value); } return this; } /** *
       * for sync/hybrid requests, do not support paging
       * 
* * .cz.proto.coordinator.JobResultSet result_set = 3; */ public Builder setResultSet( cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet.Builder builderForValue) { if (resultSetBuilder_ == null) { resultSet_ = builderForValue.build(); onChanged(); } else { resultSetBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * for sync/hybrid requests, do not support paging
       * 
* * .cz.proto.coordinator.JobResultSet result_set = 3; */ public Builder mergeResultSet(cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet value) { if (resultSetBuilder_ == null) { if (resultSet_ != null) { resultSet_ = cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet.newBuilder(resultSet_).mergeFrom(value).buildPartial(); } else { resultSet_ = value; } onChanged(); } else { resultSetBuilder_.mergeFrom(value); } return this; } /** *
       * for sync/hybrid requests, do not support paging
       * 
* * .cz.proto.coordinator.JobResultSet result_set = 3; */ public Builder clearResultSet() { if (resultSetBuilder_ == null) { resultSet_ = null; onChanged(); } else { resultSet_ = null; resultSetBuilder_ = null; } return this; } /** *
       * for sync/hybrid requests, do not support paging
       * 
* * .cz.proto.coordinator.JobResultSet result_set = 3; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet.Builder getResultSetBuilder() { onChanged(); return getResultSetFieldBuilder().getBuilder(); } /** *
       * for sync/hybrid requests, do not support paging
       * 
* * .cz.proto.coordinator.JobResultSet result_set = 3; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetOrBuilder getResultSetOrBuilder() { if (resultSetBuilder_ != null) { return resultSetBuilder_.getMessageOrBuilder(); } else { return resultSet_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet.getDefaultInstance() : resultSet_; } } /** *
       * for sync/hybrid requests, do not support paging
       * 
* * .cz.proto.coordinator.JobResultSet result_set = 3; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetOrBuilder> getResultSetFieldBuilder() { if (resultSetBuilder_ == null) { resultSetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetOrBuilder>( getResultSet(), getParentForChildren(), isClean()); resultSet_ = null; } return resultSetBuilder_; } @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.coordinator.SubmitJobResponse) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.SubmitJobResponse) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SubmitJobResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SubmitJobResponse(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.coordinator.CoordinatorServiceOuterClass.SubmitJobResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListJobsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.ListJobsRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount(); /** * .cz.proto.coordinator.Account account = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder(); /** * string workspace = 2; * @return The workspace. */ java.lang.String getWorkspace(); /** * string workspace = 2; * @return The bytes for workspace. */ com.google.protobuf.ByteString getWorkspaceBytes(); /** * int64 instance_id = 3; * @return The instanceId. */ long getInstanceId(); /** * string virtual_cluster = 4; * @return The virtualCluster. */ java.lang.String getVirtualCluster(); /** * string virtual_cluster = 4; * @return The bytes for virtualCluster. */ com.google.protobuf.ByteString getVirtualClusterBytes(); /** * string job_status = 5; * @return The jobStatus. */ java.lang.String getJobStatus(); /** * string job_status = 5; * @return The bytes for jobStatus. */ com.google.protobuf.ByteString getJobStatusBytes(); /** * int64 min_start_time = 6; * @return The minStartTime. */ long getMinStartTime(); /** * int64 max_start_time = 7; * @return The maxStartTime. */ long getMaxStartTime(); /** * int64 max_size = 9; * @return The maxSize. */ long getMaxSize(); /** * bool list_in_meta = 10; * @return The listInMeta. */ boolean getListInMeta(); /** * int64 offset = 11; * @return The offset. */ long getOffset(); /** * .cz.proto.coordinator.ListJobsRequest.ListOrderby order_by = 12; * @return The enum numeric value on the wire for orderBy. */ int getOrderByValue(); /** * .cz.proto.coordinator.ListJobsRequest.ListOrderby order_by = 12; * @return The orderBy. */ cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest.ListOrderby getOrderBy(); /** * bool ascending = 13; * @return The ascending. */ boolean getAscending(); /** * string priority_string = 14; * @return The priorityString. */ java.lang.String getPriorityString(); /** * string priority_string = 14; * @return The bytes for priorityString. */ com.google.protobuf.ByteString getPriorityStringBytes(); /** * string job_id = 15; * @return The jobId. */ java.lang.String getJobId(); /** * string job_id = 15; * @return The bytes for jobId. */ com.google.protobuf.ByteString getJobIdBytes(); /** * int64 owner_id = 16; * @return The ownerId. */ long getOwnerId(); /** * int64 min_running_time_ms = 17; * @return The minRunningTimeMs. */ long getMinRunningTimeMs(); /** * int64 max_running_time_ms = 18; * @return The maxRunningTimeMs. */ long getMaxRunningTimeMs(); /** * string query_tag = 19; * @return The queryTag. */ java.lang.String getQueryTag(); /** * string query_tag = 19; * @return The bytes for queryTag. */ com.google.protobuf.ByteString getQueryTagBytes(); /** * bool detail = 28; * @return The detail. */ boolean getDetail(); /** * bool force = 29; * @return The force. */ boolean getForce(); /** * string user_agent = 30; * @return The userAgent. */ java.lang.String getUserAgent(); /** * string user_agent = 30; * @return The bytes for userAgent. */ com.google.protobuf.ByteString getUserAgentBytes(); } /** * Protobuf type {@code cz.proto.coordinator.ListJobsRequest} */ public static final class ListJobsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.ListJobsRequest) ListJobsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ListJobsRequest.newBuilder() to construct. private ListJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListJobsRequest() { workspace_ = ""; virtualCluster_ = ""; jobStatus_ = ""; orderBy_ = 0; priorityString_ = ""; jobId_ = ""; queryTag_ = ""; userAgent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListJobsRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListJobsRequest( 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.coordinator.CoordinatorServiceOuterClass.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); workspace_ = s; break; } case 24: { instanceId_ = input.readInt64(); break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); virtualCluster_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); jobStatus_ = s; break; } case 48: { minStartTime_ = input.readInt64(); break; } case 56: { maxStartTime_ = input.readInt64(); break; } case 72: { maxSize_ = input.readInt64(); break; } case 80: { listInMeta_ = input.readBool(); break; } case 88: { offset_ = input.readInt64(); break; } case 96: { int rawValue = input.readEnum(); orderBy_ = rawValue; break; } case 104: { ascending_ = input.readBool(); break; } case 114: { java.lang.String s = input.readStringRequireUtf8(); priorityString_ = s; break; } case 122: { java.lang.String s = input.readStringRequireUtf8(); jobId_ = s; break; } case 128: { ownerId_ = input.readInt64(); break; } case 136: { minRunningTimeMs_ = input.readInt64(); break; } case 144: { maxRunningTimeMs_ = input.readInt64(); break; } case 154: { java.lang.String s = input.readStringRequireUtf8(); queryTag_ = s; break; } case 224: { detail_ = input.readBool(); break; } case 232: { force_ = input.readBool(); break; } case 242: { java.lang.String s = input.readStringRequireUtf8(); userAgent_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest.Builder.class); } /** * Protobuf enum {@code cz.proto.coordinator.ListJobsRequest.ListOrderby} */ public enum ListOrderby implements com.google.protobuf.ProtocolMessageEnum { /** * ORDER_BY_START_TIME = 0; */ ORDER_BY_START_TIME(0), /** * ORDER_BY_RUNNING_TIME = 1; */ ORDER_BY_RUNNING_TIME(1), /** * ORDER_BY_JOB_PRIORITY = 2; */ ORDER_BY_JOB_PRIORITY(2), /** * ORDER_BY_JOB_STATUS = 3; */ ORDER_BY_JOB_STATUS(3), UNRECOGNIZED(-1), ; /** * ORDER_BY_START_TIME = 0; */ public static final int ORDER_BY_START_TIME_VALUE = 0; /** * ORDER_BY_RUNNING_TIME = 1; */ public static final int ORDER_BY_RUNNING_TIME_VALUE = 1; /** * ORDER_BY_JOB_PRIORITY = 2; */ public static final int ORDER_BY_JOB_PRIORITY_VALUE = 2; /** * ORDER_BY_JOB_STATUS = 3; */ public static final int ORDER_BY_JOB_STATUS_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 ListOrderby 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 ListOrderby forNumber(int value) { switch (value) { case 0: return ORDER_BY_START_TIME; case 1: return ORDER_BY_RUNNING_TIME; case 2: return ORDER_BY_JOB_PRIORITY; case 3: return ORDER_BY_JOB_STATUS; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< ListOrderby> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ListOrderby findValueByNumber(int number) { return ListOrderby.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.coordinator.CoordinatorServiceOuterClass.ListJobsRequest.getDescriptor().getEnumTypes().get(0); } private static final ListOrderby[] VALUES = values(); public static ListOrderby 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 ListOrderby(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:cz.proto.coordinator.ListJobsRequest.ListOrderby) } public static final int ACCOUNT_FIELD_NUMBER = 1; private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } /** * .cz.proto.coordinator.Account account = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } 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 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 VIRTUAL_CLUSTER_FIELD_NUMBER = 4; private volatile java.lang.Object virtualCluster_; /** * string virtual_cluster = 4; * @return The virtualCluster. */ @java.lang.Override public java.lang.String getVirtualCluster() { java.lang.Object ref = virtualCluster_; 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(); virtualCluster_ = s; return s; } } /** * string virtual_cluster = 4; * @return The bytes for virtualCluster. */ @java.lang.Override public com.google.protobuf.ByteString getVirtualClusterBytes() { java.lang.Object ref = virtualCluster_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); virtualCluster_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int JOB_STATUS_FIELD_NUMBER = 5; private volatile java.lang.Object jobStatus_; /** * string job_status = 5; * @return The jobStatus. */ @java.lang.Override public java.lang.String getJobStatus() { java.lang.Object ref = jobStatus_; 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(); jobStatus_ = s; return s; } } /** * string job_status = 5; * @return The bytes for jobStatus. */ @java.lang.Override public com.google.protobuf.ByteString getJobStatusBytes() { java.lang.Object ref = jobStatus_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); jobStatus_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int MIN_START_TIME_FIELD_NUMBER = 6; private long minStartTime_; /** * int64 min_start_time = 6; * @return The minStartTime. */ @java.lang.Override public long getMinStartTime() { return minStartTime_; } public static final int MAX_START_TIME_FIELD_NUMBER = 7; private long maxStartTime_; /** * int64 max_start_time = 7; * @return The maxStartTime. */ @java.lang.Override public long getMaxStartTime() { return maxStartTime_; } public static final int MAX_SIZE_FIELD_NUMBER = 9; private long maxSize_; /** * int64 max_size = 9; * @return The maxSize. */ @java.lang.Override public long getMaxSize() { return maxSize_; } public static final int LIST_IN_META_FIELD_NUMBER = 10; private boolean listInMeta_; /** * bool list_in_meta = 10; * @return The listInMeta. */ @java.lang.Override public boolean getListInMeta() { return listInMeta_; } public static final int OFFSET_FIELD_NUMBER = 11; private long offset_; /** * int64 offset = 11; * @return The offset. */ @java.lang.Override public long getOffset() { return offset_; } public static final int ORDER_BY_FIELD_NUMBER = 12; private int orderBy_; /** * .cz.proto.coordinator.ListJobsRequest.ListOrderby order_by = 12; * @return The enum numeric value on the wire for orderBy. */ @java.lang.Override public int getOrderByValue() { return orderBy_; } /** * .cz.proto.coordinator.ListJobsRequest.ListOrderby order_by = 12; * @return The orderBy. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest.ListOrderby getOrderBy() { @SuppressWarnings("deprecation") cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest.ListOrderby result = cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest.ListOrderby.valueOf(orderBy_); return result == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest.ListOrderby.UNRECOGNIZED : result; } public static final int ASCENDING_FIELD_NUMBER = 13; private boolean ascending_; /** * bool ascending = 13; * @return The ascending. */ @java.lang.Override public boolean getAscending() { return ascending_; } public static final int PRIORITY_STRING_FIELD_NUMBER = 14; private volatile java.lang.Object priorityString_; /** * string priority_string = 14; * @return The priorityString. */ @java.lang.Override public java.lang.String getPriorityString() { java.lang.Object ref = priorityString_; 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(); priorityString_ = s; return s; } } /** * string priority_string = 14; * @return The bytes for priorityString. */ @java.lang.Override public com.google.protobuf.ByteString getPriorityStringBytes() { java.lang.Object ref = priorityString_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); priorityString_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int JOB_ID_FIELD_NUMBER = 15; private volatile java.lang.Object jobId_; /** * string job_id = 15; * @return The jobId. */ @java.lang.Override public java.lang.String getJobId() { java.lang.Object ref = jobId_; 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(); jobId_ = s; return s; } } /** * string job_id = 15; * @return The bytes for jobId. */ @java.lang.Override public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); jobId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OWNER_ID_FIELD_NUMBER = 16; private long ownerId_; /** * int64 owner_id = 16; * @return The ownerId. */ @java.lang.Override public long getOwnerId() { return ownerId_; } public static final int MIN_RUNNING_TIME_MS_FIELD_NUMBER = 17; private long minRunningTimeMs_; /** * int64 min_running_time_ms = 17; * @return The minRunningTimeMs. */ @java.lang.Override public long getMinRunningTimeMs() { return minRunningTimeMs_; } public static final int MAX_RUNNING_TIME_MS_FIELD_NUMBER = 18; private long maxRunningTimeMs_; /** * int64 max_running_time_ms = 18; * @return The maxRunningTimeMs. */ @java.lang.Override public long getMaxRunningTimeMs() { return maxRunningTimeMs_; } public static final int QUERY_TAG_FIELD_NUMBER = 19; private volatile java.lang.Object queryTag_; /** * string query_tag = 19; * @return The queryTag. */ @java.lang.Override public java.lang.String getQueryTag() { java.lang.Object ref = queryTag_; 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(); queryTag_ = s; return s; } } /** * string query_tag = 19; * @return The bytes for queryTag. */ @java.lang.Override public com.google.protobuf.ByteString getQueryTagBytes() { java.lang.Object ref = queryTag_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); queryTag_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DETAIL_FIELD_NUMBER = 28; private boolean detail_; /** * bool detail = 28; * @return The detail. */ @java.lang.Override public boolean getDetail() { return detail_; } public static final int FORCE_FIELD_NUMBER = 29; private boolean force_; /** * bool force = 29; * @return The force. */ @java.lang.Override public boolean getForce() { return force_; } public static final int USER_AGENT_FIELD_NUMBER = 30; private volatile java.lang.Object userAgent_; /** * string user_agent = 30; * @return The userAgent. */ @java.lang.Override public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; 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(); userAgent_ = s; return s; } } /** * string user_agent = 30; * @return The bytes for userAgent. */ @java.lang.Override public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (account_ != null) { output.writeMessage(1, getAccount()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, workspace_); } if (instanceId_ != 0L) { output.writeInt64(3, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(virtualCluster_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, virtualCluster_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobStatus_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, jobStatus_); } if (minStartTime_ != 0L) { output.writeInt64(6, minStartTime_); } if (maxStartTime_ != 0L) { output.writeInt64(7, maxStartTime_); } if (maxSize_ != 0L) { output.writeInt64(9, maxSize_); } if (listInMeta_ != false) { output.writeBool(10, listInMeta_); } if (offset_ != 0L) { output.writeInt64(11, offset_); } if (orderBy_ != cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest.ListOrderby.ORDER_BY_START_TIME.getNumber()) { output.writeEnum(12, orderBy_); } if (ascending_ != false) { output.writeBool(13, ascending_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(priorityString_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, priorityString_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 15, jobId_); } if (ownerId_ != 0L) { output.writeInt64(16, ownerId_); } if (minRunningTimeMs_ != 0L) { output.writeInt64(17, minRunningTimeMs_); } if (maxRunningTimeMs_ != 0L) { output.writeInt64(18, maxRunningTimeMs_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryTag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 19, queryTag_); } if (detail_ != false) { output.writeBool(28, detail_); } if (force_ != false) { output.writeBool(29, force_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 30, userAgent_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAccount()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, workspace_); } if (instanceId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(virtualCluster_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, virtualCluster_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobStatus_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, jobStatus_); } if (minStartTime_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, minStartTime_); } if (maxStartTime_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(7, maxStartTime_); } if (maxSize_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(9, maxSize_); } if (listInMeta_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(10, listInMeta_); } if (offset_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(11, offset_); } if (orderBy_ != cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest.ListOrderby.ORDER_BY_START_TIME.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(12, orderBy_); } if (ascending_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(13, ascending_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(priorityString_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, priorityString_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, jobId_); } if (ownerId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(16, ownerId_); } if (minRunningTimeMs_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(17, minRunningTimeMs_); } if (maxRunningTimeMs_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(18, maxRunningTimeMs_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryTag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, queryTag_); } if (detail_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(28, detail_); } if (force_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(29, force_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(30, userAgent_); } 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.coordinator.CoordinatorServiceOuterClass.ListJobsRequest)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest other = (cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (!getWorkspace() .equals(other.getWorkspace())) return false; if (getInstanceId() != other.getInstanceId()) return false; if (!getVirtualCluster() .equals(other.getVirtualCluster())) return false; if (!getJobStatus() .equals(other.getJobStatus())) return false; if (getMinStartTime() != other.getMinStartTime()) return false; if (getMaxStartTime() != other.getMaxStartTime()) return false; if (getMaxSize() != other.getMaxSize()) return false; if (getListInMeta() != other.getListInMeta()) return false; if (getOffset() != other.getOffset()) return false; if (orderBy_ != other.orderBy_) return false; if (getAscending() != other.getAscending()) return false; if (!getPriorityString() .equals(other.getPriorityString())) return false; if (!getJobId() .equals(other.getJobId())) return false; if (getOwnerId() != other.getOwnerId()) return false; if (getMinRunningTimeMs() != other.getMinRunningTimeMs()) return false; if (getMaxRunningTimeMs() != other.getMaxRunningTimeMs()) return false; if (!getQueryTag() .equals(other.getQueryTag())) return false; if (getDetail() != other.getDetail()) return false; if (getForce() != other.getForce()) return false; if (!getUserAgent() .equals(other.getUserAgent())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } hash = (37 * hash) + WORKSPACE_FIELD_NUMBER; hash = (53 * hash) + getWorkspace().hashCode(); hash = (37 * hash) + INSTANCE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getInstanceId()); hash = (37 * hash) + VIRTUAL_CLUSTER_FIELD_NUMBER; hash = (53 * hash) + getVirtualCluster().hashCode(); hash = (37 * hash) + JOB_STATUS_FIELD_NUMBER; hash = (53 * hash) + getJobStatus().hashCode(); hash = (37 * hash) + MIN_START_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMinStartTime()); hash = (37 * hash) + MAX_START_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMaxStartTime()); hash = (37 * hash) + MAX_SIZE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMaxSize()); hash = (37 * hash) + LIST_IN_META_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getListInMeta()); hash = (37 * hash) + OFFSET_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getOffset()); hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; hash = (53 * hash) + orderBy_; hash = (37 * hash) + ASCENDING_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getAscending()); hash = (37 * hash) + PRIORITY_STRING_FIELD_NUMBER; hash = (53 * hash) + getPriorityString().hashCode(); hash = (37 * hash) + JOB_ID_FIELD_NUMBER; hash = (53 * hash) + getJobId().hashCode(); hash = (37 * hash) + OWNER_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getOwnerId()); hash = (37 * hash) + MIN_RUNNING_TIME_MS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMinRunningTimeMs()); hash = (37 * hash) + MAX_RUNNING_TIME_MS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMaxRunningTimeMs()); hash = (37 * hash) + QUERY_TAG_FIELD_NUMBER; hash = (53 * hash) + getQueryTag().hashCode(); hash = (37 * hash) + DETAIL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDetail()); hash = (37 * hash) + FORCE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getForce()); hash = (37 * hash) + USER_AGENT_FIELD_NUMBER; hash = (53 * hash) + getUserAgent().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest 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.coordinator.CoordinatorServiceOuterClass.ListJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest 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.coordinator.CoordinatorServiceOuterClass.ListJobsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest 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.coordinator.CoordinatorServiceOuterClass.ListJobsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest 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.coordinator.CoordinatorServiceOuterClass.ListJobsRequest 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.coordinator.ListJobsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.ListJobsRequest) cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } workspace_ = ""; instanceId_ = 0L; virtualCluster_ = ""; jobStatus_ = ""; minStartTime_ = 0L; maxStartTime_ = 0L; maxSize_ = 0L; listInMeta_ = false; offset_ = 0L; orderBy_ = 0; ascending_ = false; priorityString_ = ""; jobId_ = ""; ownerId_ = 0L; minRunningTimeMs_ = 0L; maxRunningTimeMs_ = 0L; queryTag_ = ""; detail_ = false; force_ = false; userAgent_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListJobsRequest_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest build() { cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest result = new cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest(this); if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } result.workspace_ = workspace_; result.instanceId_ = instanceId_; result.virtualCluster_ = virtualCluster_; result.jobStatus_ = jobStatus_; result.minStartTime_ = minStartTime_; result.maxStartTime_ = maxStartTime_; result.maxSize_ = maxSize_; result.listInMeta_ = listInMeta_; result.offset_ = offset_; result.orderBy_ = orderBy_; result.ascending_ = ascending_; result.priorityString_ = priorityString_; result.jobId_ = jobId_; result.ownerId_ = ownerId_; result.minRunningTimeMs_ = minRunningTimeMs_; result.maxRunningTimeMs_ = maxRunningTimeMs_; result.queryTag_ = queryTag_; result.detail_ = detail_; result.force_ = force_; result.userAgent_ = userAgent_; 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.coordinator.CoordinatorServiceOuterClass.ListJobsRequest) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); } if (other.getInstanceId() != 0L) { setInstanceId(other.getInstanceId()); } if (!other.getVirtualCluster().isEmpty()) { virtualCluster_ = other.virtualCluster_; onChanged(); } if (!other.getJobStatus().isEmpty()) { jobStatus_ = other.jobStatus_; onChanged(); } if (other.getMinStartTime() != 0L) { setMinStartTime(other.getMinStartTime()); } if (other.getMaxStartTime() != 0L) { setMaxStartTime(other.getMaxStartTime()); } if (other.getMaxSize() != 0L) { setMaxSize(other.getMaxSize()); } if (other.getListInMeta() != false) { setListInMeta(other.getListInMeta()); } if (other.getOffset() != 0L) { setOffset(other.getOffset()); } if (other.orderBy_ != 0) { setOrderByValue(other.getOrderByValue()); } if (other.getAscending() != false) { setAscending(other.getAscending()); } if (!other.getPriorityString().isEmpty()) { priorityString_ = other.priorityString_; onChanged(); } if (!other.getJobId().isEmpty()) { jobId_ = other.jobId_; onChanged(); } if (other.getOwnerId() != 0L) { setOwnerId(other.getOwnerId()); } if (other.getMinRunningTimeMs() != 0L) { setMinRunningTimeMs(other.getMinRunningTimeMs()); } if (other.getMaxRunningTimeMs() != 0L) { setMaxRunningTimeMs(other.getMaxRunningTimeMs()); } if (!other.getQueryTag().isEmpty()) { queryTag_ = other.queryTag_; onChanged(); } if (other.getDetail() != false) { setDetail(other.getDetail()); } if (other.getForce() != false) { setForce(other.getForce()); } if (!other.getUserAgent().isEmpty()) { userAgent_ = other.userAgent_; 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.coordinator.CoordinatorServiceOuterClass.ListJobsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> accountBuilder_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount( cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder mergeAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.coordinator.CoordinatorServiceOuterClass.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } } /** * .cz.proto.coordinator.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } 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 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 java.lang.Object virtualCluster_ = ""; /** * string virtual_cluster = 4; * @return The virtualCluster. */ public java.lang.String getVirtualCluster() { java.lang.Object ref = virtualCluster_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); virtualCluster_ = s; return s; } else { return (java.lang.String) ref; } } /** * string virtual_cluster = 4; * @return The bytes for virtualCluster. */ public com.google.protobuf.ByteString getVirtualClusterBytes() { java.lang.Object ref = virtualCluster_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); virtualCluster_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string virtual_cluster = 4; * @param value The virtualCluster to set. * @return This builder for chaining. */ public Builder setVirtualCluster( java.lang.String value) { if (value == null) { throw new NullPointerException(); } virtualCluster_ = value; onChanged(); return this; } /** * string virtual_cluster = 4; * @return This builder for chaining. */ public Builder clearVirtualCluster() { virtualCluster_ = getDefaultInstance().getVirtualCluster(); onChanged(); return this; } /** * string virtual_cluster = 4; * @param value The bytes for virtualCluster to set. * @return This builder for chaining. */ public Builder setVirtualClusterBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); virtualCluster_ = value; onChanged(); return this; } private java.lang.Object jobStatus_ = ""; /** * string job_status = 5; * @return The jobStatus. */ public java.lang.String getJobStatus() { java.lang.Object ref = jobStatus_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobStatus_ = s; return s; } else { return (java.lang.String) ref; } } /** * string job_status = 5; * @return The bytes for jobStatus. */ public com.google.protobuf.ByteString getJobStatusBytes() { java.lang.Object ref = jobStatus_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); jobStatus_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string job_status = 5; * @param value The jobStatus to set. * @return This builder for chaining. */ public Builder setJobStatus( java.lang.String value) { if (value == null) { throw new NullPointerException(); } jobStatus_ = value; onChanged(); return this; } /** * string job_status = 5; * @return This builder for chaining. */ public Builder clearJobStatus() { jobStatus_ = getDefaultInstance().getJobStatus(); onChanged(); return this; } /** * string job_status = 5; * @param value The bytes for jobStatus to set. * @return This builder for chaining. */ public Builder setJobStatusBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); jobStatus_ = value; onChanged(); return this; } private long minStartTime_ ; /** * int64 min_start_time = 6; * @return The minStartTime. */ @java.lang.Override public long getMinStartTime() { return minStartTime_; } /** * int64 min_start_time = 6; * @param value The minStartTime to set. * @return This builder for chaining. */ public Builder setMinStartTime(long value) { minStartTime_ = value; onChanged(); return this; } /** * int64 min_start_time = 6; * @return This builder for chaining. */ public Builder clearMinStartTime() { minStartTime_ = 0L; onChanged(); return this; } private long maxStartTime_ ; /** * int64 max_start_time = 7; * @return The maxStartTime. */ @java.lang.Override public long getMaxStartTime() { return maxStartTime_; } /** * int64 max_start_time = 7; * @param value The maxStartTime to set. * @return This builder for chaining. */ public Builder setMaxStartTime(long value) { maxStartTime_ = value; onChanged(); return this; } /** * int64 max_start_time = 7; * @return This builder for chaining. */ public Builder clearMaxStartTime() { maxStartTime_ = 0L; onChanged(); return this; } private long maxSize_ ; /** * int64 max_size = 9; * @return The maxSize. */ @java.lang.Override public long getMaxSize() { return maxSize_; } /** * int64 max_size = 9; * @param value The maxSize to set. * @return This builder for chaining. */ public Builder setMaxSize(long value) { maxSize_ = value; onChanged(); return this; } /** * int64 max_size = 9; * @return This builder for chaining. */ public Builder clearMaxSize() { maxSize_ = 0L; onChanged(); return this; } private boolean listInMeta_ ; /** * bool list_in_meta = 10; * @return The listInMeta. */ @java.lang.Override public boolean getListInMeta() { return listInMeta_; } /** * bool list_in_meta = 10; * @param value The listInMeta to set. * @return This builder for chaining. */ public Builder setListInMeta(boolean value) { listInMeta_ = value; onChanged(); return this; } /** * bool list_in_meta = 10; * @return This builder for chaining. */ public Builder clearListInMeta() { listInMeta_ = false; onChanged(); return this; } private long offset_ ; /** * int64 offset = 11; * @return The offset. */ @java.lang.Override public long getOffset() { return offset_; } /** * int64 offset = 11; * @param value The offset to set. * @return This builder for chaining. */ public Builder setOffset(long value) { offset_ = value; onChanged(); return this; } /** * int64 offset = 11; * @return This builder for chaining. */ public Builder clearOffset() { offset_ = 0L; onChanged(); return this; } private int orderBy_ = 0; /** * .cz.proto.coordinator.ListJobsRequest.ListOrderby order_by = 12; * @return The enum numeric value on the wire for orderBy. */ @java.lang.Override public int getOrderByValue() { return orderBy_; } /** * .cz.proto.coordinator.ListJobsRequest.ListOrderby order_by = 12; * @param value The enum numeric value on the wire for orderBy to set. * @return This builder for chaining. */ public Builder setOrderByValue(int value) { orderBy_ = value; onChanged(); return this; } /** * .cz.proto.coordinator.ListJobsRequest.ListOrderby order_by = 12; * @return The orderBy. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest.ListOrderby getOrderBy() { @SuppressWarnings("deprecation") cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest.ListOrderby result = cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest.ListOrderby.valueOf(orderBy_); return result == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest.ListOrderby.UNRECOGNIZED : result; } /** * .cz.proto.coordinator.ListJobsRequest.ListOrderby order_by = 12; * @param value The orderBy to set. * @return This builder for chaining. */ public Builder setOrderBy(cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest.ListOrderby value) { if (value == null) { throw new NullPointerException(); } orderBy_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.coordinator.ListJobsRequest.ListOrderby order_by = 12; * @return This builder for chaining. */ public Builder clearOrderBy() { orderBy_ = 0; onChanged(); return this; } private boolean ascending_ ; /** * bool ascending = 13; * @return The ascending. */ @java.lang.Override public boolean getAscending() { return ascending_; } /** * bool ascending = 13; * @param value The ascending to set. * @return This builder for chaining. */ public Builder setAscending(boolean value) { ascending_ = value; onChanged(); return this; } /** * bool ascending = 13; * @return This builder for chaining. */ public Builder clearAscending() { ascending_ = false; onChanged(); return this; } private java.lang.Object priorityString_ = ""; /** * string priority_string = 14; * @return The priorityString. */ public java.lang.String getPriorityString() { java.lang.Object ref = priorityString_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); priorityString_ = s; return s; } else { return (java.lang.String) ref; } } /** * string priority_string = 14; * @return The bytes for priorityString. */ public com.google.protobuf.ByteString getPriorityStringBytes() { java.lang.Object ref = priorityString_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); priorityString_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string priority_string = 14; * @param value The priorityString to set. * @return This builder for chaining. */ public Builder setPriorityString( java.lang.String value) { if (value == null) { throw new NullPointerException(); } priorityString_ = value; onChanged(); return this; } /** * string priority_string = 14; * @return This builder for chaining. */ public Builder clearPriorityString() { priorityString_ = getDefaultInstance().getPriorityString(); onChanged(); return this; } /** * string priority_string = 14; * @param value The bytes for priorityString to set. * @return This builder for chaining. */ public Builder setPriorityStringBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); priorityString_ = value; onChanged(); return this; } private java.lang.Object jobId_ = ""; /** * string job_id = 15; * @return The jobId. */ public java.lang.String getJobId() { java.lang.Object ref = jobId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string job_id = 15; * @return The bytes for jobId. */ public com.google.protobuf.ByteString getJobIdBytes() { java.lang.Object ref = jobId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); jobId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string job_id = 15; * @param value The jobId to set. * @return This builder for chaining. */ public Builder setJobId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } jobId_ = value; onChanged(); return this; } /** * string job_id = 15; * @return This builder for chaining. */ public Builder clearJobId() { jobId_ = getDefaultInstance().getJobId(); onChanged(); return this; } /** * string job_id = 15; * @param value The bytes for jobId to set. * @return This builder for chaining. */ public Builder setJobIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); jobId_ = value; onChanged(); return this; } private long ownerId_ ; /** * int64 owner_id = 16; * @return The ownerId. */ @java.lang.Override public long getOwnerId() { return ownerId_; } /** * int64 owner_id = 16; * @param value The ownerId to set. * @return This builder for chaining. */ public Builder setOwnerId(long value) { ownerId_ = value; onChanged(); return this; } /** * int64 owner_id = 16; * @return This builder for chaining. */ public Builder clearOwnerId() { ownerId_ = 0L; onChanged(); return this; } private long minRunningTimeMs_ ; /** * int64 min_running_time_ms = 17; * @return The minRunningTimeMs. */ @java.lang.Override public long getMinRunningTimeMs() { return minRunningTimeMs_; } /** * int64 min_running_time_ms = 17; * @param value The minRunningTimeMs to set. * @return This builder for chaining. */ public Builder setMinRunningTimeMs(long value) { minRunningTimeMs_ = value; onChanged(); return this; } /** * int64 min_running_time_ms = 17; * @return This builder for chaining. */ public Builder clearMinRunningTimeMs() { minRunningTimeMs_ = 0L; onChanged(); return this; } private long maxRunningTimeMs_ ; /** * int64 max_running_time_ms = 18; * @return The maxRunningTimeMs. */ @java.lang.Override public long getMaxRunningTimeMs() { return maxRunningTimeMs_; } /** * int64 max_running_time_ms = 18; * @param value The maxRunningTimeMs to set. * @return This builder for chaining. */ public Builder setMaxRunningTimeMs(long value) { maxRunningTimeMs_ = value; onChanged(); return this; } /** * int64 max_running_time_ms = 18; * @return This builder for chaining. */ public Builder clearMaxRunningTimeMs() { maxRunningTimeMs_ = 0L; onChanged(); return this; } private java.lang.Object queryTag_ = ""; /** * string query_tag = 19; * @return The queryTag. */ public java.lang.String getQueryTag() { java.lang.Object ref = queryTag_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryTag_ = s; return s; } else { return (java.lang.String) ref; } } /** * string query_tag = 19; * @return The bytes for queryTag. */ public com.google.protobuf.ByteString getQueryTagBytes() { java.lang.Object ref = queryTag_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); queryTag_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string query_tag = 19; * @param value The queryTag to set. * @return This builder for chaining. */ public Builder setQueryTag( java.lang.String value) { if (value == null) { throw new NullPointerException(); } queryTag_ = value; onChanged(); return this; } /** * string query_tag = 19; * @return This builder for chaining. */ public Builder clearQueryTag() { queryTag_ = getDefaultInstance().getQueryTag(); onChanged(); return this; } /** * string query_tag = 19; * @param value The bytes for queryTag to set. * @return This builder for chaining. */ public Builder setQueryTagBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); queryTag_ = value; onChanged(); return this; } private boolean detail_ ; /** * bool detail = 28; * @return The detail. */ @java.lang.Override public boolean getDetail() { return detail_; } /** * bool detail = 28; * @param value The detail to set. * @return This builder for chaining. */ public Builder setDetail(boolean value) { detail_ = value; onChanged(); return this; } /** * bool detail = 28; * @return This builder for chaining. */ public Builder clearDetail() { detail_ = false; onChanged(); return this; } private boolean force_ ; /** * bool force = 29; * @return The force. */ @java.lang.Override public boolean getForce() { return force_; } /** * bool force = 29; * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { force_ = value; onChanged(); return this; } /** * bool force = 29; * @return This builder for chaining. */ public Builder clearForce() { force_ = false; onChanged(); return this; } private java.lang.Object userAgent_ = ""; /** * string user_agent = 30; * @return The userAgent. */ public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userAgent_ = s; return s; } else { return (java.lang.String) ref; } } /** * string user_agent = 30; * @return The bytes for userAgent. */ public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string user_agent = 30; * @param value The userAgent to set. * @return This builder for chaining. */ public Builder setUserAgent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userAgent_ = value; onChanged(); return this; } /** * string user_agent = 30; * @return This builder for chaining. */ public Builder clearUserAgent() { userAgent_ = getDefaultInstance().getUserAgent(); onChanged(); return this; } /** * string user_agent = 30; * @param value The bytes for userAgent to set. * @return This builder for chaining. */ public Builder setUserAgentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userAgent_ = 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.coordinator.ListJobsRequest) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.ListJobsRequest) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListJobsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListJobsRequest(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.coordinator.CoordinatorServiceOuterClass.ListJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListJobsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.ListJobsResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ boolean hasRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ cz.proto.ServiceCommon.ResponseStatus getRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; */ cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder(); /** * repeated .cz.proto.coordinator.ListJobsResponse.JobDetail job_details = 2; */ java.util.List getJobDetailsList(); /** * repeated .cz.proto.coordinator.ListJobsResponse.JobDetail job_details = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail getJobDetails(int index); /** * repeated .cz.proto.coordinator.ListJobsResponse.JobDetail job_details = 2; */ int getJobDetailsCount(); /** * repeated .cz.proto.coordinator.ListJobsResponse.JobDetail job_details = 2; */ java.util.List getJobDetailsOrBuilderList(); /** * repeated .cz.proto.coordinator.ListJobsResponse.JobDetail job_details = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetailOrBuilder getJobDetailsOrBuilder( int index); /** * int64 total_job_count = 3; * @return The totalJobCount. */ long getTotalJobCount(); } /** * Protobuf type {@code cz.proto.coordinator.ListJobsResponse} */ public static final class ListJobsResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.ListJobsResponse) ListJobsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ListJobsResponse.newBuilder() to construct. private ListJobsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListJobsResponse() { jobDetails_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListJobsResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListJobsResponse( 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.ServiceCommon.ResponseStatus.Builder subBuilder = null; if (respStatus_ != null) { subBuilder = respStatus_.toBuilder(); } respStatus_ = input.readMessage(cz.proto.ServiceCommon.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(respStatus_); respStatus_ = subBuilder.buildPartial(); } break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { jobDetails_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } jobDetails_.add( input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail.parser(), extensionRegistry)); break; } case 24: { totalJobCount_ = 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)) { jobDetails_ = java.util.Collections.unmodifiableList(jobDetails_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.Builder.class); } public interface JobDetailOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.ListJobsResponse.JobDetail) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.coordinator.JobStatus status = 1; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.coordinator.JobStatus status = 1; * @return The status. */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus getStatus(); /** * .cz.proto.coordinator.JobStatus status = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatusOrBuilder getStatusOrBuilder(); /** * string job_name = 2; * @return The jobName. */ java.lang.String getJobName(); /** * string job_name = 2; * @return The bytes for jobName. */ com.google.protobuf.ByteString getJobNameBytes(); /** * uint64 owner_id = 3; * @return The ownerId. */ long getOwnerId(); /** * uint32 priority = 4; * @return The priority. */ int getPriority(); /** * string job_type = 5; * @return The jobType. */ java.lang.String getJobType(); /** * string job_type = 5; * @return The bytes for jobType. */ com.google.protobuf.ByteString getJobTypeBytes(); /** * repeated string statement = 6; * @return A list containing the statement. */ java.util.List getStatementList(); /** * repeated string statement = 6; * @return The count of statement. */ int getStatementCount(); /** * repeated string statement = 6; * @param index The index of the element to return. * @return The statement at the given index. */ java.lang.String getStatement(int index); /** * repeated string statement = 6; * @param index The index of the value to return. * @return The bytes of the statement at the given index. */ com.google.protobuf.ByteString getStatementBytes(int index); /** * uint64 input_bytes = 7; * @return The inputBytes. */ long getInputBytes(); /** * uint64 rows_produced = 8; * @return The rowsProduced. */ long getRowsProduced(); /** * string virtual_cluster = 9; * @return The virtualCluster. */ java.lang.String getVirtualCluster(); /** * string virtual_cluster = 9; * @return The bytes for virtualCluster. */ com.google.protobuf.ByteString getVirtualClusterBytes(); /** * string priority_string = 10; * @return The priorityString. */ java.lang.String getPriorityString(); /** * string priority_string = 10; * @return The bytes for priorityString. */ com.google.protobuf.ByteString getPriorityStringBytes(); /** * repeated .cz.proto.JobHistory job_history = 12; */ java.util.List getJobHistoryList(); /** * repeated .cz.proto.JobHistory job_history = 12; */ cz.proto.JobHistory getJobHistory(int index); /** * repeated .cz.proto.JobHistory job_history = 12; */ int getJobHistoryCount(); /** * repeated .cz.proto.JobHistory job_history = 12; */ java.util.List getJobHistoryOrBuilderList(); /** * repeated .cz.proto.JobHistory job_history = 12; */ cz.proto.JobHistoryOrBuilder getJobHistoryOrBuilder( int index); /** * string virtual_cluster_type = 14; * @return The virtualClusterType. */ java.lang.String getVirtualClusterType(); /** * string virtual_cluster_type = 14; * @return The bytes for virtualClusterType. */ com.google.protobuf.ByteString getVirtualClusterTypeBytes(); /** * string virtual_cluster_size = 15; * @return The virtualClusterSize. */ java.lang.String getVirtualClusterSize(); /** * string virtual_cluster_size = 15; * @return The bytes for virtualClusterSize. */ com.google.protobuf.ByteString getVirtualClusterSizeBytes(); /** * string query_tag = 16; * @return The queryTag. */ java.lang.String getQueryTag(); /** * string query_tag = 16; * @return The bytes for queryTag. */ com.google.protobuf.ByteString getQueryTagBytes(); } /** * Protobuf type {@code cz.proto.coordinator.ListJobsResponse.JobDetail} */ public static final class JobDetail extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.ListJobsResponse.JobDetail) JobDetailOrBuilder { private static final long serialVersionUID = 0L; // Use JobDetail.newBuilder() to construct. private JobDetail(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private JobDetail() { jobName_ = ""; jobType_ = ""; statement_ = com.google.protobuf.LazyStringArrayList.EMPTY; virtualCluster_ = ""; priorityString_ = ""; jobHistory_ = java.util.Collections.emptyList(); virtualClusterType_ = ""; virtualClusterSize_ = ""; queryTag_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new JobDetail(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private JobDetail( 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.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(status_); status_ = subBuilder.buildPartial(); } break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); jobName_ = s; break; } case 24: { ownerId_ = input.readUInt64(); break; } case 32: { priority_ = input.readUInt32(); break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); jobType_ = s; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { statement_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } statement_.add(s); break; } case 56: { inputBytes_ = input.readUInt64(); break; } case 64: { rowsProduced_ = input.readUInt64(); break; } case 74: { java.lang.String s = input.readStringRequireUtf8(); virtualCluster_ = s; break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); priorityString_ = s; break; } case 98: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { jobHistory_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } jobHistory_.add( input.readMessage(cz.proto.JobHistory.parser(), extensionRegistry)); break; } case 114: { java.lang.String s = input.readStringRequireUtf8(); virtualClusterType_ = s; break; } case 122: { java.lang.String s = input.readStringRequireUtf8(); virtualClusterSize_ = s; break; } case 130: { java.lang.String s = input.readStringRequireUtf8(); queryTag_ = 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)) { statement_ = statement_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000002) != 0)) { jobHistory_ = java.util.Collections.unmodifiableList(jobHistory_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListJobsResponse_JobDetail_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListJobsResponse_JobDetail_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail.class, cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail.Builder.class); } public static final int STATUS_FIELD_NUMBER = 1; private cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus status_; /** * .cz.proto.coordinator.JobStatus status = 1; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.coordinator.JobStatus status = 1; * @return The status. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus getStatus() { return status_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.getDefaultInstance() : status_; } /** * .cz.proto.coordinator.JobStatus status = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatusOrBuilder getStatusOrBuilder() { return getStatus(); } public static final int JOB_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object jobName_; /** * string job_name = 2; * @return The jobName. */ @java.lang.Override public java.lang.String getJobName() { java.lang.Object ref = jobName_; 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(); jobName_ = s; return s; } } /** * string job_name = 2; * @return The bytes for jobName. */ @java.lang.Override public com.google.protobuf.ByteString getJobNameBytes() { java.lang.Object ref = jobName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); jobName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OWNER_ID_FIELD_NUMBER = 3; private long ownerId_; /** * uint64 owner_id = 3; * @return The ownerId. */ @java.lang.Override public long getOwnerId() { return ownerId_; } public static final int PRIORITY_FIELD_NUMBER = 4; private int priority_; /** * uint32 priority = 4; * @return The priority. */ @java.lang.Override public int getPriority() { return priority_; } public static final int JOB_TYPE_FIELD_NUMBER = 5; private volatile java.lang.Object jobType_; /** * string job_type = 5; * @return The jobType. */ @java.lang.Override public java.lang.String getJobType() { java.lang.Object ref = jobType_; 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(); jobType_ = s; return s; } } /** * string job_type = 5; * @return The bytes for jobType. */ @java.lang.Override public com.google.protobuf.ByteString getJobTypeBytes() { java.lang.Object ref = jobType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); jobType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STATEMENT_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList statement_; /** * repeated string statement = 6; * @return A list containing the statement. */ public com.google.protobuf.ProtocolStringList getStatementList() { return statement_; } /** * repeated string statement = 6; * @return The count of statement. */ public int getStatementCount() { return statement_.size(); } /** * repeated string statement = 6; * @param index The index of the element to return. * @return The statement at the given index. */ public java.lang.String getStatement(int index) { return statement_.get(index); } /** * repeated string statement = 6; * @param index The index of the value to return. * @return The bytes of the statement at the given index. */ public com.google.protobuf.ByteString getStatementBytes(int index) { return statement_.getByteString(index); } public static final int INPUT_BYTES_FIELD_NUMBER = 7; private long inputBytes_; /** * uint64 input_bytes = 7; * @return The inputBytes. */ @java.lang.Override public long getInputBytes() { return inputBytes_; } public static final int ROWS_PRODUCED_FIELD_NUMBER = 8; private long rowsProduced_; /** * uint64 rows_produced = 8; * @return The rowsProduced. */ @java.lang.Override public long getRowsProduced() { return rowsProduced_; } public static final int VIRTUAL_CLUSTER_FIELD_NUMBER = 9; private volatile java.lang.Object virtualCluster_; /** * string virtual_cluster = 9; * @return The virtualCluster. */ @java.lang.Override public java.lang.String getVirtualCluster() { java.lang.Object ref = virtualCluster_; 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(); virtualCluster_ = s; return s; } } /** * string virtual_cluster = 9; * @return The bytes for virtualCluster. */ @java.lang.Override public com.google.protobuf.ByteString getVirtualClusterBytes() { java.lang.Object ref = virtualCluster_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); virtualCluster_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PRIORITY_STRING_FIELD_NUMBER = 10; private volatile java.lang.Object priorityString_; /** * string priority_string = 10; * @return The priorityString. */ @java.lang.Override public java.lang.String getPriorityString() { java.lang.Object ref = priorityString_; 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(); priorityString_ = s; return s; } } /** * string priority_string = 10; * @return The bytes for priorityString. */ @java.lang.Override public com.google.protobuf.ByteString getPriorityStringBytes() { java.lang.Object ref = priorityString_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); priorityString_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int JOB_HISTORY_FIELD_NUMBER = 12; private java.util.List jobHistory_; /** * repeated .cz.proto.JobHistory job_history = 12; */ @java.lang.Override public java.util.List getJobHistoryList() { return jobHistory_; } /** * repeated .cz.proto.JobHistory job_history = 12; */ @java.lang.Override public java.util.List getJobHistoryOrBuilderList() { return jobHistory_; } /** * repeated .cz.proto.JobHistory job_history = 12; */ @java.lang.Override public int getJobHistoryCount() { return jobHistory_.size(); } /** * repeated .cz.proto.JobHistory job_history = 12; */ @java.lang.Override public cz.proto.JobHistory getJobHistory(int index) { return jobHistory_.get(index); } /** * repeated .cz.proto.JobHistory job_history = 12; */ @java.lang.Override public cz.proto.JobHistoryOrBuilder getJobHistoryOrBuilder( int index) { return jobHistory_.get(index); } public static final int VIRTUAL_CLUSTER_TYPE_FIELD_NUMBER = 14; private volatile java.lang.Object virtualClusterType_; /** * string virtual_cluster_type = 14; * @return The virtualClusterType. */ @java.lang.Override public java.lang.String getVirtualClusterType() { java.lang.Object ref = virtualClusterType_; 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(); virtualClusterType_ = s; return s; } } /** * string virtual_cluster_type = 14; * @return The bytes for virtualClusterType. */ @java.lang.Override public com.google.protobuf.ByteString getVirtualClusterTypeBytes() { java.lang.Object ref = virtualClusterType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); virtualClusterType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int VIRTUAL_CLUSTER_SIZE_FIELD_NUMBER = 15; private volatile java.lang.Object virtualClusterSize_; /** * string virtual_cluster_size = 15; * @return The virtualClusterSize. */ @java.lang.Override public java.lang.String getVirtualClusterSize() { java.lang.Object ref = virtualClusterSize_; 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(); virtualClusterSize_ = s; return s; } } /** * string virtual_cluster_size = 15; * @return The bytes for virtualClusterSize. */ @java.lang.Override public com.google.protobuf.ByteString getVirtualClusterSizeBytes() { java.lang.Object ref = virtualClusterSize_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); virtualClusterSize_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int QUERY_TAG_FIELD_NUMBER = 16; private volatile java.lang.Object queryTag_; /** * string query_tag = 16; * @return The queryTag. */ @java.lang.Override public java.lang.String getQueryTag() { java.lang.Object ref = queryTag_; 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(); queryTag_ = s; return s; } } /** * string query_tag = 16; * @return The bytes for queryTag. */ @java.lang.Override public com.google.protobuf.ByteString getQueryTagBytes() { java.lang.Object ref = queryTag_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); queryTag_ = 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(jobName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, jobName_); } if (ownerId_ != 0L) { output.writeUInt64(3, ownerId_); } if (priority_ != 0) { output.writeUInt32(4, priority_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, jobType_); } for (int i = 0; i < statement_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, statement_.getRaw(i)); } if (inputBytes_ != 0L) { output.writeUInt64(7, inputBytes_); } if (rowsProduced_ != 0L) { output.writeUInt64(8, rowsProduced_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(virtualCluster_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, virtualCluster_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(priorityString_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, priorityString_); } for (int i = 0; i < jobHistory_.size(); i++) { output.writeMessage(12, jobHistory_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(virtualClusterType_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, virtualClusterType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(virtualClusterSize_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 15, virtualClusterSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryTag_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 16, queryTag_); } 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(jobName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, jobName_); } if (ownerId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(3, ownerId_); } if (priority_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(4, priority_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, jobType_); } { int dataSize = 0; for (int i = 0; i < statement_.size(); i++) { dataSize += computeStringSizeNoTag(statement_.getRaw(i)); } size += dataSize; size += 1 * getStatementList().size(); } if (inputBytes_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(7, inputBytes_); } if (rowsProduced_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(8, rowsProduced_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(virtualCluster_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, virtualCluster_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(priorityString_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, priorityString_); } for (int i = 0; i < jobHistory_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, jobHistory_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(virtualClusterType_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, virtualClusterType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(virtualClusterSize_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, virtualClusterSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryTag_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, queryTag_); } 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.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail other = (cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail) obj; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) return false; } if (!getJobName() .equals(other.getJobName())) return false; if (getOwnerId() != other.getOwnerId()) return false; if (getPriority() != other.getPriority()) return false; if (!getJobType() .equals(other.getJobType())) return false; if (!getStatementList() .equals(other.getStatementList())) return false; if (getInputBytes() != other.getInputBytes()) return false; if (getRowsProduced() != other.getRowsProduced()) return false; if (!getVirtualCluster() .equals(other.getVirtualCluster())) return false; if (!getPriorityString() .equals(other.getPriorityString())) return false; if (!getJobHistoryList() .equals(other.getJobHistoryList())) return false; if (!getVirtualClusterType() .equals(other.getVirtualClusterType())) return false; if (!getVirtualClusterSize() .equals(other.getVirtualClusterSize())) return false; if (!getQueryTag() .equals(other.getQueryTag())) 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) + JOB_NAME_FIELD_NUMBER; hash = (53 * hash) + getJobName().hashCode(); hash = (37 * hash) + OWNER_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getOwnerId()); hash = (37 * hash) + PRIORITY_FIELD_NUMBER; hash = (53 * hash) + getPriority(); hash = (37 * hash) + JOB_TYPE_FIELD_NUMBER; hash = (53 * hash) + getJobType().hashCode(); if (getStatementCount() > 0) { hash = (37 * hash) + STATEMENT_FIELD_NUMBER; hash = (53 * hash) + getStatementList().hashCode(); } hash = (37 * hash) + INPUT_BYTES_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getInputBytes()); hash = (37 * hash) + ROWS_PRODUCED_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getRowsProduced()); hash = (37 * hash) + VIRTUAL_CLUSTER_FIELD_NUMBER; hash = (53 * hash) + getVirtualCluster().hashCode(); hash = (37 * hash) + PRIORITY_STRING_FIELD_NUMBER; hash = (53 * hash) + getPriorityString().hashCode(); if (getJobHistoryCount() > 0) { hash = (37 * hash) + JOB_HISTORY_FIELD_NUMBER; hash = (53 * hash) + getJobHistoryList().hashCode(); } hash = (37 * hash) + VIRTUAL_CLUSTER_TYPE_FIELD_NUMBER; hash = (53 * hash) + getVirtualClusterType().hashCode(); hash = (37 * hash) + VIRTUAL_CLUSTER_SIZE_FIELD_NUMBER; hash = (53 * hash) + getVirtualClusterSize().hashCode(); hash = (37 * hash) + QUERY_TAG_FIELD_NUMBER; hash = (53 * hash) + getQueryTag().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail 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.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail 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.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail 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.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail 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.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail 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.coordinator.ListJobsResponse.JobDetail} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.ListJobsResponse.JobDetail) cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetailOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListJobsResponse_JobDetail_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListJobsResponse_JobDetail_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail.class, cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getJobHistoryFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (statusBuilder_ == null) { status_ = null; } else { status_ = null; statusBuilder_ = null; } jobName_ = ""; ownerId_ = 0L; priority_ = 0; jobType_ = ""; statement_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); inputBytes_ = 0L; rowsProduced_ = 0L; virtualCluster_ = ""; priorityString_ = ""; if (jobHistoryBuilder_ == null) { jobHistory_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { jobHistoryBuilder_.clear(); } virtualClusterType_ = ""; virtualClusterSize_ = ""; queryTag_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListJobsResponse_JobDetail_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail build() { cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail result = new cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail(this); int from_bitField0_ = bitField0_; if (statusBuilder_ == null) { result.status_ = status_; } else { result.status_ = statusBuilder_.build(); } result.jobName_ = jobName_; result.ownerId_ = ownerId_; result.priority_ = priority_; result.jobType_ = jobType_; if (((bitField0_ & 0x00000001) != 0)) { statement_ = statement_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.statement_ = statement_; result.inputBytes_ = inputBytes_; result.rowsProduced_ = rowsProduced_; result.virtualCluster_ = virtualCluster_; result.priorityString_ = priorityString_; if (jobHistoryBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { jobHistory_ = java.util.Collections.unmodifiableList(jobHistory_); bitField0_ = (bitField0_ & ~0x00000002); } result.jobHistory_ = jobHistory_; } else { result.jobHistory_ = jobHistoryBuilder_.build(); } result.virtualClusterType_ = virtualClusterType_; result.virtualClusterSize_ = virtualClusterSize_; result.queryTag_ = queryTag_; 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.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail.getDefaultInstance()) return this; if (other.hasStatus()) { mergeStatus(other.getStatus()); } if (!other.getJobName().isEmpty()) { jobName_ = other.jobName_; onChanged(); } if (other.getOwnerId() != 0L) { setOwnerId(other.getOwnerId()); } if (other.getPriority() != 0) { setPriority(other.getPriority()); } if (!other.getJobType().isEmpty()) { jobType_ = other.jobType_; onChanged(); } if (!other.statement_.isEmpty()) { if (statement_.isEmpty()) { statement_ = other.statement_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureStatementIsMutable(); statement_.addAll(other.statement_); } onChanged(); } if (other.getInputBytes() != 0L) { setInputBytes(other.getInputBytes()); } if (other.getRowsProduced() != 0L) { setRowsProduced(other.getRowsProduced()); } if (!other.getVirtualCluster().isEmpty()) { virtualCluster_ = other.virtualCluster_; onChanged(); } if (!other.getPriorityString().isEmpty()) { priorityString_ = other.priorityString_; onChanged(); } if (jobHistoryBuilder_ == null) { if (!other.jobHistory_.isEmpty()) { if (jobHistory_.isEmpty()) { jobHistory_ = other.jobHistory_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureJobHistoryIsMutable(); jobHistory_.addAll(other.jobHistory_); } onChanged(); } } else { if (!other.jobHistory_.isEmpty()) { if (jobHistoryBuilder_.isEmpty()) { jobHistoryBuilder_.dispose(); jobHistoryBuilder_ = null; jobHistory_ = other.jobHistory_; bitField0_ = (bitField0_ & ~0x00000002); jobHistoryBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getJobHistoryFieldBuilder() : null; } else { jobHistoryBuilder_.addAllMessages(other.jobHistory_); } } } if (!other.getVirtualClusterType().isEmpty()) { virtualClusterType_ = other.virtualClusterType_; onChanged(); } if (!other.getVirtualClusterSize().isEmpty()) { virtualClusterSize_ = other.virtualClusterSize_; onChanged(); } if (!other.getQueryTag().isEmpty()) { queryTag_ = other.queryTag_; 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.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatusOrBuilder> statusBuilder_; /** * .cz.proto.coordinator.JobStatus status = 1; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.coordinator.JobStatus status = 1; * @return The status. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.coordinator.JobStatus status = 1; */ public Builder setStatus(cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.JobStatus status = 1; */ public Builder setStatus( cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.JobStatus status = 1; */ public Builder mergeStatus(cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.JobStatus status = 1; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.coordinator.JobStatus status = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.JobStatus status = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.getDefaultInstance() : status_; } } /** * .cz.proto.coordinator.JobStatus status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatusOrBuilder>( getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } private java.lang.Object jobName_ = ""; /** * string job_name = 2; * @return The jobName. */ public java.lang.String getJobName() { java.lang.Object ref = jobName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string job_name = 2; * @return The bytes for jobName. */ public com.google.protobuf.ByteString getJobNameBytes() { java.lang.Object ref = jobName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); jobName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string job_name = 2; * @param value The jobName to set. * @return This builder for chaining. */ public Builder setJobName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } jobName_ = value; onChanged(); return this; } /** * string job_name = 2; * @return This builder for chaining. */ public Builder clearJobName() { jobName_ = getDefaultInstance().getJobName(); onChanged(); return this; } /** * string job_name = 2; * @param value The bytes for jobName to set. * @return This builder for chaining. */ public Builder setJobNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); jobName_ = value; onChanged(); return this; } private long ownerId_ ; /** * uint64 owner_id = 3; * @return The ownerId. */ @java.lang.Override public long getOwnerId() { return ownerId_; } /** * uint64 owner_id = 3; * @param value The ownerId to set. * @return This builder for chaining. */ public Builder setOwnerId(long value) { ownerId_ = value; onChanged(); return this; } /** * uint64 owner_id = 3; * @return This builder for chaining. */ public Builder clearOwnerId() { ownerId_ = 0L; onChanged(); return this; } private int priority_ ; /** * uint32 priority = 4; * @return The priority. */ @java.lang.Override public int getPriority() { return priority_; } /** * uint32 priority = 4; * @param value The priority to set. * @return This builder for chaining. */ public Builder setPriority(int value) { priority_ = value; onChanged(); return this; } /** * uint32 priority = 4; * @return This builder for chaining. */ public Builder clearPriority() { priority_ = 0; onChanged(); return this; } private java.lang.Object jobType_ = ""; /** * string job_type = 5; * @return The jobType. */ public java.lang.String getJobType() { java.lang.Object ref = jobType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobType_ = s; return s; } else { return (java.lang.String) ref; } } /** * string job_type = 5; * @return The bytes for jobType. */ public com.google.protobuf.ByteString getJobTypeBytes() { java.lang.Object ref = jobType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); jobType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string job_type = 5; * @param value The jobType to set. * @return This builder for chaining. */ public Builder setJobType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } jobType_ = value; onChanged(); return this; } /** * string job_type = 5; * @return This builder for chaining. */ public Builder clearJobType() { jobType_ = getDefaultInstance().getJobType(); onChanged(); return this; } /** * string job_type = 5; * @param value The bytes for jobType to set. * @return This builder for chaining. */ public Builder setJobTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); jobType_ = value; onChanged(); return this; } private com.google.protobuf.LazyStringList statement_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureStatementIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { statement_ = new com.google.protobuf.LazyStringArrayList(statement_); bitField0_ |= 0x00000001; } } /** * repeated string statement = 6; * @return A list containing the statement. */ public com.google.protobuf.ProtocolStringList getStatementList() { return statement_.getUnmodifiableView(); } /** * repeated string statement = 6; * @return The count of statement. */ public int getStatementCount() { return statement_.size(); } /** * repeated string statement = 6; * @param index The index of the element to return. * @return The statement at the given index. */ public java.lang.String getStatement(int index) { return statement_.get(index); } /** * repeated string statement = 6; * @param index The index of the value to return. * @return The bytes of the statement at the given index. */ public com.google.protobuf.ByteString getStatementBytes(int index) { return statement_.getByteString(index); } /** * repeated string statement = 6; * @param index The index to set the value at. * @param value The statement to set. * @return This builder for chaining. */ public Builder setStatement( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureStatementIsMutable(); statement_.set(index, value); onChanged(); return this; } /** * repeated string statement = 6; * @param value The statement to add. * @return This builder for chaining. */ public Builder addStatement( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureStatementIsMutable(); statement_.add(value); onChanged(); return this; } /** * repeated string statement = 6; * @param values The statement to add. * @return This builder for chaining. */ public Builder addAllStatement( java.lang.Iterable values) { ensureStatementIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, statement_); onChanged(); return this; } /** * repeated string statement = 6; * @return This builder for chaining. */ public Builder clearStatement() { statement_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * repeated string statement = 6; * @param value The bytes of the statement to add. * @return This builder for chaining. */ public Builder addStatementBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureStatementIsMutable(); statement_.add(value); onChanged(); return this; } private long inputBytes_ ; /** * uint64 input_bytes = 7; * @return The inputBytes. */ @java.lang.Override public long getInputBytes() { return inputBytes_; } /** * uint64 input_bytes = 7; * @param value The inputBytes to set. * @return This builder for chaining. */ public Builder setInputBytes(long value) { inputBytes_ = value; onChanged(); return this; } /** * uint64 input_bytes = 7; * @return This builder for chaining. */ public Builder clearInputBytes() { inputBytes_ = 0L; onChanged(); return this; } private long rowsProduced_ ; /** * uint64 rows_produced = 8; * @return The rowsProduced. */ @java.lang.Override public long getRowsProduced() { return rowsProduced_; } /** * uint64 rows_produced = 8; * @param value The rowsProduced to set. * @return This builder for chaining. */ public Builder setRowsProduced(long value) { rowsProduced_ = value; onChanged(); return this; } /** * uint64 rows_produced = 8; * @return This builder for chaining. */ public Builder clearRowsProduced() { rowsProduced_ = 0L; onChanged(); return this; } private java.lang.Object virtualCluster_ = ""; /** * string virtual_cluster = 9; * @return The virtualCluster. */ public java.lang.String getVirtualCluster() { java.lang.Object ref = virtualCluster_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); virtualCluster_ = s; return s; } else { return (java.lang.String) ref; } } /** * string virtual_cluster = 9; * @return The bytes for virtualCluster. */ public com.google.protobuf.ByteString getVirtualClusterBytes() { java.lang.Object ref = virtualCluster_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); virtualCluster_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string virtual_cluster = 9; * @param value The virtualCluster to set. * @return This builder for chaining. */ public Builder setVirtualCluster( java.lang.String value) { if (value == null) { throw new NullPointerException(); } virtualCluster_ = value; onChanged(); return this; } /** * string virtual_cluster = 9; * @return This builder for chaining. */ public Builder clearVirtualCluster() { virtualCluster_ = getDefaultInstance().getVirtualCluster(); onChanged(); return this; } /** * string virtual_cluster = 9; * @param value The bytes for virtualCluster to set. * @return This builder for chaining. */ public Builder setVirtualClusterBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); virtualCluster_ = value; onChanged(); return this; } private java.lang.Object priorityString_ = ""; /** * string priority_string = 10; * @return The priorityString. */ public java.lang.String getPriorityString() { java.lang.Object ref = priorityString_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); priorityString_ = s; return s; } else { return (java.lang.String) ref; } } /** * string priority_string = 10; * @return The bytes for priorityString. */ public com.google.protobuf.ByteString getPriorityStringBytes() { java.lang.Object ref = priorityString_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); priorityString_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string priority_string = 10; * @param value The priorityString to set. * @return This builder for chaining. */ public Builder setPriorityString( java.lang.String value) { if (value == null) { throw new NullPointerException(); } priorityString_ = value; onChanged(); return this; } /** * string priority_string = 10; * @return This builder for chaining. */ public Builder clearPriorityString() { priorityString_ = getDefaultInstance().getPriorityString(); onChanged(); return this; } /** * string priority_string = 10; * @param value The bytes for priorityString to set. * @return This builder for chaining. */ public Builder setPriorityStringBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); priorityString_ = value; onChanged(); return this; } private java.util.List jobHistory_ = java.util.Collections.emptyList(); private void ensureJobHistoryIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { jobHistory_ = new java.util.ArrayList(jobHistory_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.JobHistory, cz.proto.JobHistory.Builder, cz.proto.JobHistoryOrBuilder> jobHistoryBuilder_; /** * repeated .cz.proto.JobHistory job_history = 12; */ public java.util.List getJobHistoryList() { if (jobHistoryBuilder_ == null) { return java.util.Collections.unmodifiableList(jobHistory_); } else { return jobHistoryBuilder_.getMessageList(); } } /** * repeated .cz.proto.JobHistory job_history = 12; */ public int getJobHistoryCount() { if (jobHistoryBuilder_ == null) { return jobHistory_.size(); } else { return jobHistoryBuilder_.getCount(); } } /** * repeated .cz.proto.JobHistory job_history = 12; */ public cz.proto.JobHistory getJobHistory(int index) { if (jobHistoryBuilder_ == null) { return jobHistory_.get(index); } else { return jobHistoryBuilder_.getMessage(index); } } /** * repeated .cz.proto.JobHistory job_history = 12; */ public Builder setJobHistory( int index, cz.proto.JobHistory value) { if (jobHistoryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureJobHistoryIsMutable(); jobHistory_.set(index, value); onChanged(); } else { jobHistoryBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.JobHistory job_history = 12; */ public Builder setJobHistory( int index, cz.proto.JobHistory.Builder builderForValue) { if (jobHistoryBuilder_ == null) { ensureJobHistoryIsMutable(); jobHistory_.set(index, builderForValue.build()); onChanged(); } else { jobHistoryBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.JobHistory job_history = 12; */ public Builder addJobHistory(cz.proto.JobHistory value) { if (jobHistoryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureJobHistoryIsMutable(); jobHistory_.add(value); onChanged(); } else { jobHistoryBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.JobHistory job_history = 12; */ public Builder addJobHistory( int index, cz.proto.JobHistory value) { if (jobHistoryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureJobHistoryIsMutable(); jobHistory_.add(index, value); onChanged(); } else { jobHistoryBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.JobHistory job_history = 12; */ public Builder addJobHistory( cz.proto.JobHistory.Builder builderForValue) { if (jobHistoryBuilder_ == null) { ensureJobHistoryIsMutable(); jobHistory_.add(builderForValue.build()); onChanged(); } else { jobHistoryBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.JobHistory job_history = 12; */ public Builder addJobHistory( int index, cz.proto.JobHistory.Builder builderForValue) { if (jobHistoryBuilder_ == null) { ensureJobHistoryIsMutable(); jobHistory_.add(index, builderForValue.build()); onChanged(); } else { jobHistoryBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.JobHistory job_history = 12; */ public Builder addAllJobHistory( java.lang.Iterable values) { if (jobHistoryBuilder_ == null) { ensureJobHistoryIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, jobHistory_); onChanged(); } else { jobHistoryBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.JobHistory job_history = 12; */ public Builder clearJobHistory() { if (jobHistoryBuilder_ == null) { jobHistory_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { jobHistoryBuilder_.clear(); } return this; } /** * repeated .cz.proto.JobHistory job_history = 12; */ public Builder removeJobHistory(int index) { if (jobHistoryBuilder_ == null) { ensureJobHistoryIsMutable(); jobHistory_.remove(index); onChanged(); } else { jobHistoryBuilder_.remove(index); } return this; } /** * repeated .cz.proto.JobHistory job_history = 12; */ public cz.proto.JobHistory.Builder getJobHistoryBuilder( int index) { return getJobHistoryFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.JobHistory job_history = 12; */ public cz.proto.JobHistoryOrBuilder getJobHistoryOrBuilder( int index) { if (jobHistoryBuilder_ == null) { return jobHistory_.get(index); } else { return jobHistoryBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.JobHistory job_history = 12; */ public java.util.List getJobHistoryOrBuilderList() { if (jobHistoryBuilder_ != null) { return jobHistoryBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(jobHistory_); } } /** * repeated .cz.proto.JobHistory job_history = 12; */ public cz.proto.JobHistory.Builder addJobHistoryBuilder() { return getJobHistoryFieldBuilder().addBuilder( cz.proto.JobHistory.getDefaultInstance()); } /** * repeated .cz.proto.JobHistory job_history = 12; */ public cz.proto.JobHistory.Builder addJobHistoryBuilder( int index) { return getJobHistoryFieldBuilder().addBuilder( index, cz.proto.JobHistory.getDefaultInstance()); } /** * repeated .cz.proto.JobHistory job_history = 12; */ public java.util.List getJobHistoryBuilderList() { return getJobHistoryFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.JobHistory, cz.proto.JobHistory.Builder, cz.proto.JobHistoryOrBuilder> getJobHistoryFieldBuilder() { if (jobHistoryBuilder_ == null) { jobHistoryBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.JobHistory, cz.proto.JobHistory.Builder, cz.proto.JobHistoryOrBuilder>( jobHistory_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); jobHistory_ = null; } return jobHistoryBuilder_; } private java.lang.Object virtualClusterType_ = ""; /** * string virtual_cluster_type = 14; * @return The virtualClusterType. */ public java.lang.String getVirtualClusterType() { java.lang.Object ref = virtualClusterType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); virtualClusterType_ = s; return s; } else { return (java.lang.String) ref; } } /** * string virtual_cluster_type = 14; * @return The bytes for virtualClusterType. */ public com.google.protobuf.ByteString getVirtualClusterTypeBytes() { java.lang.Object ref = virtualClusterType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); virtualClusterType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string virtual_cluster_type = 14; * @param value The virtualClusterType to set. * @return This builder for chaining. */ public Builder setVirtualClusterType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } virtualClusterType_ = value; onChanged(); return this; } /** * string virtual_cluster_type = 14; * @return This builder for chaining. */ public Builder clearVirtualClusterType() { virtualClusterType_ = getDefaultInstance().getVirtualClusterType(); onChanged(); return this; } /** * string virtual_cluster_type = 14; * @param value The bytes for virtualClusterType to set. * @return This builder for chaining. */ public Builder setVirtualClusterTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); virtualClusterType_ = value; onChanged(); return this; } private java.lang.Object virtualClusterSize_ = ""; /** * string virtual_cluster_size = 15; * @return The virtualClusterSize. */ public java.lang.String getVirtualClusterSize() { java.lang.Object ref = virtualClusterSize_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); virtualClusterSize_ = s; return s; } else { return (java.lang.String) ref; } } /** * string virtual_cluster_size = 15; * @return The bytes for virtualClusterSize. */ public com.google.protobuf.ByteString getVirtualClusterSizeBytes() { java.lang.Object ref = virtualClusterSize_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); virtualClusterSize_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string virtual_cluster_size = 15; * @param value The virtualClusterSize to set. * @return This builder for chaining. */ public Builder setVirtualClusterSize( java.lang.String value) { if (value == null) { throw new NullPointerException(); } virtualClusterSize_ = value; onChanged(); return this; } /** * string virtual_cluster_size = 15; * @return This builder for chaining. */ public Builder clearVirtualClusterSize() { virtualClusterSize_ = getDefaultInstance().getVirtualClusterSize(); onChanged(); return this; } /** * string virtual_cluster_size = 15; * @param value The bytes for virtualClusterSize to set. * @return This builder for chaining. */ public Builder setVirtualClusterSizeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); virtualClusterSize_ = value; onChanged(); return this; } private java.lang.Object queryTag_ = ""; /** * string query_tag = 16; * @return The queryTag. */ public java.lang.String getQueryTag() { java.lang.Object ref = queryTag_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryTag_ = s; return s; } else { return (java.lang.String) ref; } } /** * string query_tag = 16; * @return The bytes for queryTag. */ public com.google.protobuf.ByteString getQueryTagBytes() { java.lang.Object ref = queryTag_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); queryTag_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string query_tag = 16; * @param value The queryTag to set. * @return This builder for chaining. */ public Builder setQueryTag( java.lang.String value) { if (value == null) { throw new NullPointerException(); } queryTag_ = value; onChanged(); return this; } /** * string query_tag = 16; * @return This builder for chaining. */ public Builder clearQueryTag() { queryTag_ = getDefaultInstance().getQueryTag(); onChanged(); return this; } /** * string query_tag = 16; * @param value The bytes for queryTag to set. * @return This builder for chaining. */ public Builder setQueryTagBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); queryTag_ = 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.coordinator.ListJobsResponse.JobDetail) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.ListJobsResponse.JobDetail) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public JobDetail parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new JobDetail(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.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int RESP_STATUS_FIELD_NUMBER = 1; private cz.proto.ServiceCommon.ResponseStatus respStatus_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ @java.lang.Override public boolean hasRespStatus() { return respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } /** * .cz.proto.ResponseStatus resp_status = 1; */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { return getRespStatus(); } public static final int JOB_DETAILS_FIELD_NUMBER = 2; private java.util.List jobDetails_; /** * repeated .cz.proto.coordinator.ListJobsResponse.JobDetail job_details = 2; */ @java.lang.Override public java.util.List getJobDetailsList() { return jobDetails_; } /** * repeated .cz.proto.coordinator.ListJobsResponse.JobDetail job_details = 2; */ @java.lang.Override public java.util.List getJobDetailsOrBuilderList() { return jobDetails_; } /** * repeated .cz.proto.coordinator.ListJobsResponse.JobDetail job_details = 2; */ @java.lang.Override public int getJobDetailsCount() { return jobDetails_.size(); } /** * repeated .cz.proto.coordinator.ListJobsResponse.JobDetail job_details = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail getJobDetails(int index) { return jobDetails_.get(index); } /** * repeated .cz.proto.coordinator.ListJobsResponse.JobDetail job_details = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetailOrBuilder getJobDetailsOrBuilder( int index) { return jobDetails_.get(index); } public static final int TOTAL_JOB_COUNT_FIELD_NUMBER = 3; private long totalJobCount_; /** * int64 total_job_count = 3; * @return The totalJobCount. */ @java.lang.Override public long getTotalJobCount() { return totalJobCount_; } 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 (respStatus_ != null) { output.writeMessage(1, getRespStatus()); } for (int i = 0; i < jobDetails_.size(); i++) { output.writeMessage(2, jobDetails_.get(i)); } if (totalJobCount_ != 0L) { output.writeInt64(3, totalJobCount_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (respStatus_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRespStatus()); } for (int i = 0; i < jobDetails_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, jobDetails_.get(i)); } if (totalJobCount_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, totalJobCount_); } 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.coordinator.CoordinatorServiceOuterClass.ListJobsResponse)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse other = (cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse) obj; if (hasRespStatus() != other.hasRespStatus()) return false; if (hasRespStatus()) { if (!getRespStatus() .equals(other.getRespStatus())) return false; } if (!getJobDetailsList() .equals(other.getJobDetailsList())) return false; if (getTotalJobCount() != other.getTotalJobCount()) 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 (hasRespStatus()) { hash = (37 * hash) + RESP_STATUS_FIELD_NUMBER; hash = (53 * hash) + getRespStatus().hashCode(); } if (getJobDetailsCount() > 0) { hash = (37 * hash) + JOB_DETAILS_FIELD_NUMBER; hash = (53 * hash) + getJobDetailsList().hashCode(); } hash = (37 * hash) + TOTAL_JOB_COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTotalJobCount()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse 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.coordinator.CoordinatorServiceOuterClass.ListJobsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse 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.coordinator.CoordinatorServiceOuterClass.ListJobsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse 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.coordinator.CoordinatorServiceOuterClass.ListJobsResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse 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.coordinator.CoordinatorServiceOuterClass.ListJobsResponse 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.coordinator.ListJobsResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.ListJobsResponse) cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListJobsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListJobsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getJobDetailsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (respStatusBuilder_ == null) { respStatus_ = null; } else { respStatus_ = null; respStatusBuilder_ = null; } if (jobDetailsBuilder_ == null) { jobDetails_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { jobDetailsBuilder_.clear(); } totalJobCount_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListJobsResponse_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse build() { cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse result = new cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse(this); int from_bitField0_ = bitField0_; if (respStatusBuilder_ == null) { result.respStatus_ = respStatus_; } else { result.respStatus_ = respStatusBuilder_.build(); } if (jobDetailsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { jobDetails_ = java.util.Collections.unmodifiableList(jobDetails_); bitField0_ = (bitField0_ & ~0x00000001); } result.jobDetails_ = jobDetails_; } else { result.jobDetails_ = jobDetailsBuilder_.build(); } result.totalJobCount_ = totalJobCount_; 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.coordinator.CoordinatorServiceOuterClass.ListJobsResponse) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.getDefaultInstance()) return this; if (other.hasRespStatus()) { mergeRespStatus(other.getRespStatus()); } if (jobDetailsBuilder_ == null) { if (!other.jobDetails_.isEmpty()) { if (jobDetails_.isEmpty()) { jobDetails_ = other.jobDetails_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureJobDetailsIsMutable(); jobDetails_.addAll(other.jobDetails_); } onChanged(); } } else { if (!other.jobDetails_.isEmpty()) { if (jobDetailsBuilder_.isEmpty()) { jobDetailsBuilder_.dispose(); jobDetailsBuilder_ = null; jobDetails_ = other.jobDetails_; bitField0_ = (bitField0_ & ~0x00000001); jobDetailsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getJobDetailsFieldBuilder() : null; } else { jobDetailsBuilder_.addAllMessages(other.jobDetails_); } } } if (other.getTotalJobCount() != 0L) { setTotalJobCount(other.getTotalJobCount()); } 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.coordinator.CoordinatorServiceOuterClass.ListJobsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.ServiceCommon.ResponseStatus respStatus_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> respStatusBuilder_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ public boolean hasRespStatus() { return respStatusBuilder_ != null || respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { if (respStatusBuilder_ == null) { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } else { return respStatusBuilder_.getMessage(); } } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } respStatus_ = value; onChanged(); } else { respStatusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus( cz.proto.ServiceCommon.ResponseStatus.Builder builderForValue) { if (respStatusBuilder_ == null) { respStatus_ = builderForValue.build(); onChanged(); } else { respStatusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder mergeRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (respStatus_ != null) { respStatus_ = cz.proto.ServiceCommon.ResponseStatus.newBuilder(respStatus_).mergeFrom(value).buildPartial(); } else { respStatus_ = value; } onChanged(); } else { respStatusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder clearRespStatus() { if (respStatusBuilder_ == null) { respStatus_ = null; onChanged(); } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatus.Builder getRespStatusBuilder() { onChanged(); return getRespStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { if (respStatusBuilder_ != null) { return respStatusBuilder_.getMessageOrBuilder(); } else { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } } /** * .cz.proto.ResponseStatus resp_status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> getRespStatusFieldBuilder() { if (respStatusBuilder_ == null) { respStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder>( getRespStatus(), getParentForChildren(), isClean()); respStatus_ = null; } return respStatusBuilder_; } private java.util.List jobDetails_ = java.util.Collections.emptyList(); private void ensureJobDetailsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobDetails_ = new java.util.ArrayList(jobDetails_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail, cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetailOrBuilder> jobDetailsBuilder_; /** * repeated .cz.proto.coordinator.ListJobsResponse.JobDetail job_details = 2; */ public java.util.List getJobDetailsList() { if (jobDetailsBuilder_ == null) { return java.util.Collections.unmodifiableList(jobDetails_); } else { return jobDetailsBuilder_.getMessageList(); } } /** * repeated .cz.proto.coordinator.ListJobsResponse.JobDetail job_details = 2; */ public int getJobDetailsCount() { if (jobDetailsBuilder_ == null) { return jobDetails_.size(); } else { return jobDetailsBuilder_.getCount(); } } /** * repeated .cz.proto.coordinator.ListJobsResponse.JobDetail job_details = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail getJobDetails(int index) { if (jobDetailsBuilder_ == null) { return jobDetails_.get(index); } else { return jobDetailsBuilder_.getMessage(index); } } /** * repeated .cz.proto.coordinator.ListJobsResponse.JobDetail job_details = 2; */ public Builder setJobDetails( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail value) { if (jobDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureJobDetailsIsMutable(); jobDetails_.set(index, value); onChanged(); } else { jobDetailsBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.coordinator.ListJobsResponse.JobDetail job_details = 2; */ public Builder setJobDetails( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail.Builder builderForValue) { if (jobDetailsBuilder_ == null) { ensureJobDetailsIsMutable(); jobDetails_.set(index, builderForValue.build()); onChanged(); } else { jobDetailsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.ListJobsResponse.JobDetail job_details = 2; */ public Builder addJobDetails(cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail value) { if (jobDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureJobDetailsIsMutable(); jobDetails_.add(value); onChanged(); } else { jobDetailsBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.coordinator.ListJobsResponse.JobDetail job_details = 2; */ public Builder addJobDetails( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail value) { if (jobDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureJobDetailsIsMutable(); jobDetails_.add(index, value); onChanged(); } else { jobDetailsBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.coordinator.ListJobsResponse.JobDetail job_details = 2; */ public Builder addJobDetails( cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail.Builder builderForValue) { if (jobDetailsBuilder_ == null) { ensureJobDetailsIsMutable(); jobDetails_.add(builderForValue.build()); onChanged(); } else { jobDetailsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.ListJobsResponse.JobDetail job_details = 2; */ public Builder addJobDetails( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail.Builder builderForValue) { if (jobDetailsBuilder_ == null) { ensureJobDetailsIsMutable(); jobDetails_.add(index, builderForValue.build()); onChanged(); } else { jobDetailsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.ListJobsResponse.JobDetail job_details = 2; */ public Builder addAllJobDetails( java.lang.Iterable values) { if (jobDetailsBuilder_ == null) { ensureJobDetailsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, jobDetails_); onChanged(); } else { jobDetailsBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.coordinator.ListJobsResponse.JobDetail job_details = 2; */ public Builder clearJobDetails() { if (jobDetailsBuilder_ == null) { jobDetails_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { jobDetailsBuilder_.clear(); } return this; } /** * repeated .cz.proto.coordinator.ListJobsResponse.JobDetail job_details = 2; */ public Builder removeJobDetails(int index) { if (jobDetailsBuilder_ == null) { ensureJobDetailsIsMutable(); jobDetails_.remove(index); onChanged(); } else { jobDetailsBuilder_.remove(index); } return this; } /** * repeated .cz.proto.coordinator.ListJobsResponse.JobDetail job_details = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail.Builder getJobDetailsBuilder( int index) { return getJobDetailsFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.coordinator.ListJobsResponse.JobDetail job_details = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetailOrBuilder getJobDetailsOrBuilder( int index) { if (jobDetailsBuilder_ == null) { return jobDetails_.get(index); } else { return jobDetailsBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.coordinator.ListJobsResponse.JobDetail job_details = 2; */ public java.util.List getJobDetailsOrBuilderList() { if (jobDetailsBuilder_ != null) { return jobDetailsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(jobDetails_); } } /** * repeated .cz.proto.coordinator.ListJobsResponse.JobDetail job_details = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail.Builder addJobDetailsBuilder() { return getJobDetailsFieldBuilder().addBuilder( cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail.getDefaultInstance()); } /** * repeated .cz.proto.coordinator.ListJobsResponse.JobDetail job_details = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail.Builder addJobDetailsBuilder( int index) { return getJobDetailsFieldBuilder().addBuilder( index, cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail.getDefaultInstance()); } /** * repeated .cz.proto.coordinator.ListJobsResponse.JobDetail job_details = 2; */ public java.util.List getJobDetailsBuilderList() { return getJobDetailsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail, cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetailOrBuilder> getJobDetailsFieldBuilder() { if (jobDetailsBuilder_ == null) { jobDetailsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail, cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetail.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse.JobDetailOrBuilder>( jobDetails_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); jobDetails_ = null; } return jobDetailsBuilder_; } private long totalJobCount_ ; /** * int64 total_job_count = 3; * @return The totalJobCount. */ @java.lang.Override public long getTotalJobCount() { return totalJobCount_; } /** * int64 total_job_count = 3; * @param value The totalJobCount to set. * @return This builder for chaining. */ public Builder setTotalJobCount(long value) { totalJobCount_ = value; onChanged(); return this; } /** * int64 total_job_count = 3; * @return This builder for chaining. */ public Builder clearTotalJobCount() { totalJobCount_ = 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.coordinator.ListJobsResponse) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.ListJobsResponse) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListJobsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListJobsResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListJobsResponse(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.coordinator.CoordinatorServiceOuterClass.ListJobsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CancelJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.CancelJobRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount(); /** * .cz.proto.coordinator.Account account = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder(); /** * .cz.proto.coordinator.JobID job_id = 2; * @return Whether the jobId field is set. */ boolean hasJobId(); /** * .cz.proto.coordinator.JobID job_id = 2; * @return The jobId. */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId(); /** * .cz.proto.coordinator.JobID job_id = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder(); /** *
     * TODO(LYF): make it better
     * 
* * bool force = 3; * @return The force. */ boolean getForce(); /** * string user_agent = 10; * @return The userAgent. */ java.lang.String getUserAgent(); /** * string user_agent = 10; * @return The bytes for userAgent. */ com.google.protobuf.ByteString getUserAgentBytes(); } /** * Protobuf type {@code cz.proto.coordinator.CancelJobRequest} */ public static final class CancelJobRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.CancelJobRequest) CancelJobRequestOrBuilder { private static final long serialVersionUID = 0L; // Use CancelJobRequest.newBuilder() to construct. private CancelJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CancelJobRequest() { userAgent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CancelJobRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CancelJobRequest( 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.coordinator.CoordinatorServiceOuterClass.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder subBuilder = null; if (jobId_ != null) { subBuilder = jobId_.toBuilder(); } jobId_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(jobId_); jobId_ = subBuilder.buildPartial(); } break; } case 24: { force_ = input.readBool(); break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); userAgent_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_CancelJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_CancelJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } /** * .cz.proto.coordinator.Account account = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int JOB_ID_FIELD_NUMBER = 2; private cz.proto.coordinator.CoordinatorServiceOuterClass.JobID jobId_; /** * .cz.proto.coordinator.JobID job_id = 2; * @return Whether the jobId field is set. */ @java.lang.Override public boolean hasJobId() { return jobId_ != null; } /** * .cz.proto.coordinator.JobID job_id = 2; * @return The jobId. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId() { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } /** * .cz.proto.coordinator.JobID job_id = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder() { return getJobId(); } public static final int FORCE_FIELD_NUMBER = 3; private boolean force_; /** *
     * TODO(LYF): make it better
     * 
* * bool force = 3; * @return The force. */ @java.lang.Override public boolean getForce() { return force_; } public static final int USER_AGENT_FIELD_NUMBER = 10; private volatile java.lang.Object userAgent_; /** * string user_agent = 10; * @return The userAgent. */ @java.lang.Override public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; 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(); userAgent_ = s; return s; } } /** * string user_agent = 10; * @return The bytes for userAgent. */ @java.lang.Override public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (account_ != null) { output.writeMessage(1, getAccount()); } if (jobId_ != null) { output.writeMessage(2, getJobId()); } if (force_ != false) { output.writeBool(3, force_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, userAgent_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAccount()); } if (jobId_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getJobId()); } if (force_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, force_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, userAgent_); } 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.coordinator.CoordinatorServiceOuterClass.CancelJobRequest)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobRequest other = (cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (hasJobId() != other.hasJobId()) return false; if (hasJobId()) { if (!getJobId() .equals(other.getJobId())) return false; } if (getForce() != other.getForce()) return false; if (!getUserAgent() .equals(other.getUserAgent())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } if (hasJobId()) { hash = (37 * hash) + JOB_ID_FIELD_NUMBER; hash = (53 * hash) + getJobId().hashCode(); } hash = (37 * hash) + FORCE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getForce()); hash = (37 * hash) + USER_AGENT_FIELD_NUMBER; hash = (53 * hash) + getUserAgent().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobRequest 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.coordinator.CoordinatorServiceOuterClass.CancelJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobRequest 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.coordinator.CoordinatorServiceOuterClass.CancelJobRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobRequest 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.coordinator.CoordinatorServiceOuterClass.CancelJobRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobRequest 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.coordinator.CoordinatorServiceOuterClass.CancelJobRequest 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.coordinator.CancelJobRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.CancelJobRequest) cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_CancelJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_CancelJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobRequest.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } if (jobIdBuilder_ == null) { jobId_ = null; } else { jobId_ = null; jobIdBuilder_ = null; } force_ = false; userAgent_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_CancelJobRequest_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobRequest getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobRequest build() { cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobRequest buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobRequest result = new cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobRequest(this); if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } if (jobIdBuilder_ == null) { result.jobId_ = jobId_; } else { result.jobId_ = jobIdBuilder_.build(); } result.force_ = force_; result.userAgent_ = userAgent_; 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.coordinator.CoordinatorServiceOuterClass.CancelJobRequest) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobRequest other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (other.hasJobId()) { mergeJobId(other.getJobId()); } if (other.getForce() != false) { setForce(other.getForce()); } if (!other.getUserAgent().isEmpty()) { userAgent_ = other.userAgent_; 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.coordinator.CoordinatorServiceOuterClass.CancelJobRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> accountBuilder_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount( cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder mergeAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.coordinator.CoordinatorServiceOuterClass.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } } /** * .cz.proto.coordinator.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private cz.proto.coordinator.CoordinatorServiceOuterClass.JobID jobId_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder> jobIdBuilder_; /** * .cz.proto.coordinator.JobID job_id = 2; * @return Whether the jobId field is set. */ public boolean hasJobId() { return jobIdBuilder_ != null || jobId_ != null; } /** * .cz.proto.coordinator.JobID job_id = 2; * @return The jobId. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId() { if (jobIdBuilder_ == null) { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } else { return jobIdBuilder_.getMessage(); } } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder setJobId(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID value) { if (jobIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } jobId_ = value; onChanged(); } else { jobIdBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder setJobId( cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder builderForValue) { if (jobIdBuilder_ == null) { jobId_ = builderForValue.build(); onChanged(); } else { jobIdBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder mergeJobId(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID value) { if (jobIdBuilder_ == null) { if (jobId_ != null) { jobId_ = cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.newBuilder(jobId_).mergeFrom(value).buildPartial(); } else { jobId_ = value; } onChanged(); } else { jobIdBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder clearJobId() { if (jobIdBuilder_ == null) { jobId_ = null; onChanged(); } else { jobId_ = null; jobIdBuilder_ = null; } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder getJobIdBuilder() { onChanged(); return getJobIdFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.JobID job_id = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder() { if (jobIdBuilder_ != null) { return jobIdBuilder_.getMessageOrBuilder(); } else { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } } /** * .cz.proto.coordinator.JobID job_id = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder> getJobIdFieldBuilder() { if (jobIdBuilder_ == null) { jobIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder>( getJobId(), getParentForChildren(), isClean()); jobId_ = null; } return jobIdBuilder_; } private boolean force_ ; /** *
       * TODO(LYF): make it better
       * 
* * bool force = 3; * @return The force. */ @java.lang.Override public boolean getForce() { return force_; } /** *
       * TODO(LYF): make it better
       * 
* * bool force = 3; * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { force_ = value; onChanged(); return this; } /** *
       * TODO(LYF): make it better
       * 
* * bool force = 3; * @return This builder for chaining. */ public Builder clearForce() { force_ = false; onChanged(); return this; } private java.lang.Object userAgent_ = ""; /** * string user_agent = 10; * @return The userAgent. */ public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userAgent_ = s; return s; } else { return (java.lang.String) ref; } } /** * string user_agent = 10; * @return The bytes for userAgent. */ public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string user_agent = 10; * @param value The userAgent to set. * @return This builder for chaining. */ public Builder setUserAgent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userAgent_ = value; onChanged(); return this; } /** * string user_agent = 10; * @return This builder for chaining. */ public Builder clearUserAgent() { userAgent_ = getDefaultInstance().getUserAgent(); onChanged(); return this; } /** * string user_agent = 10; * @param value The bytes for userAgent to set. * @return This builder for chaining. */ public Builder setUserAgentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userAgent_ = 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.coordinator.CancelJobRequest) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.CancelJobRequest) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobRequest(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CancelJobRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CancelJobRequest(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.coordinator.CoordinatorServiceOuterClass.CancelJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CancelJobResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.CancelJobResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ boolean hasRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ cz.proto.ServiceCommon.ResponseStatus getRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; */ cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder(); } /** * Protobuf type {@code cz.proto.coordinator.CancelJobResponse} */ public static final class CancelJobResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.CancelJobResponse) CancelJobResponseOrBuilder { private static final long serialVersionUID = 0L; // Use CancelJobResponse.newBuilder() to construct. private CancelJobResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CancelJobResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CancelJobResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CancelJobResponse( 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.ServiceCommon.ResponseStatus.Builder subBuilder = null; if (respStatus_ != null) { subBuilder = respStatus_.toBuilder(); } respStatus_ = input.readMessage(cz.proto.ServiceCommon.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(respStatus_); respStatus_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_CancelJobResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_CancelJobResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobResponse.Builder.class); } public static final int RESP_STATUS_FIELD_NUMBER = 1; private cz.proto.ServiceCommon.ResponseStatus respStatus_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ @java.lang.Override public boolean hasRespStatus() { return respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } /** * .cz.proto.ResponseStatus resp_status = 1; */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { return getRespStatus(); } 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 (respStatus_ != null) { output.writeMessage(1, getRespStatus()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (respStatus_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRespStatus()); } 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.coordinator.CoordinatorServiceOuterClass.CancelJobResponse)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobResponse other = (cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobResponse) obj; if (hasRespStatus() != other.hasRespStatus()) return false; if (hasRespStatus()) { if (!getRespStatus() .equals(other.getRespStatus())) 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 (hasRespStatus()) { hash = (37 * hash) + RESP_STATUS_FIELD_NUMBER; hash = (53 * hash) + getRespStatus().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobResponse 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.coordinator.CoordinatorServiceOuterClass.CancelJobResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobResponse 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.coordinator.CoordinatorServiceOuterClass.CancelJobResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobResponse 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.coordinator.CoordinatorServiceOuterClass.CancelJobResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobResponse 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.coordinator.CoordinatorServiceOuterClass.CancelJobResponse 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.coordinator.CancelJobResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.CancelJobResponse) cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_CancelJobResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_CancelJobResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobResponse.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobResponse.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 (respStatusBuilder_ == null) { respStatus_ = null; } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_CancelJobResponse_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobResponse getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobResponse build() { cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobResponse buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobResponse result = new cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobResponse(this); if (respStatusBuilder_ == null) { result.respStatus_ = respStatus_; } else { result.respStatus_ = respStatusBuilder_.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.coordinator.CoordinatorServiceOuterClass.CancelJobResponse) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobResponse other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobResponse.getDefaultInstance()) return this; if (other.hasRespStatus()) { mergeRespStatus(other.getRespStatus()); } 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.coordinator.CoordinatorServiceOuterClass.CancelJobResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ServiceCommon.ResponseStatus respStatus_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> respStatusBuilder_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ public boolean hasRespStatus() { return respStatusBuilder_ != null || respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { if (respStatusBuilder_ == null) { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } else { return respStatusBuilder_.getMessage(); } } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } respStatus_ = value; onChanged(); } else { respStatusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus( cz.proto.ServiceCommon.ResponseStatus.Builder builderForValue) { if (respStatusBuilder_ == null) { respStatus_ = builderForValue.build(); onChanged(); } else { respStatusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder mergeRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (respStatus_ != null) { respStatus_ = cz.proto.ServiceCommon.ResponseStatus.newBuilder(respStatus_).mergeFrom(value).buildPartial(); } else { respStatus_ = value; } onChanged(); } else { respStatusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder clearRespStatus() { if (respStatusBuilder_ == null) { respStatus_ = null; onChanged(); } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatus.Builder getRespStatusBuilder() { onChanged(); return getRespStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { if (respStatusBuilder_ != null) { return respStatusBuilder_.getMessageOrBuilder(); } else { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } } /** * .cz.proto.ResponseStatus resp_status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> getRespStatusFieldBuilder() { if (respStatusBuilder_ == null) { respStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder>( getRespStatus(), getParentForChildren(), isClean()); respStatus_ = null; } return respStatusBuilder_; } @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.coordinator.CancelJobResponse) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.CancelJobResponse) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobResponse(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CancelJobResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CancelJobResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CancelJobResponse(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.coordinator.CoordinatorServiceOuterClass.CancelJobResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetJobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.GetJobRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount(); /** * .cz.proto.coordinator.Account account = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder(); /** * .cz.proto.coordinator.JobID job_id = 2; * @return Whether the jobId field is set. */ boolean hasJobId(); /** * .cz.proto.coordinator.JobID job_id = 2; * @return The jobId. */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId(); /** * .cz.proto.coordinator.JobID job_id = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder(); /** * string user_agent = 10; * @return The userAgent. */ java.lang.String getUserAgent(); /** * string user_agent = 10; * @return The bytes for userAgent. */ com.google.protobuf.ByteString getUserAgentBytes(); } /** * Protobuf type {@code cz.proto.coordinator.GetJobRequest} */ public static final class GetJobRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.GetJobRequest) GetJobRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetJobRequest.newBuilder() to construct. private GetJobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetJobRequest() { userAgent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetJobRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetJobRequest( 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.coordinator.CoordinatorServiceOuterClass.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder subBuilder = null; if (jobId_ != null) { subBuilder = jobId_.toBuilder(); } jobId_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(jobId_); jobId_ = subBuilder.buildPartial(); } break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); userAgent_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } /** * .cz.proto.coordinator.Account account = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int JOB_ID_FIELD_NUMBER = 2; private cz.proto.coordinator.CoordinatorServiceOuterClass.JobID jobId_; /** * .cz.proto.coordinator.JobID job_id = 2; * @return Whether the jobId field is set. */ @java.lang.Override public boolean hasJobId() { return jobId_ != null; } /** * .cz.proto.coordinator.JobID job_id = 2; * @return The jobId. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId() { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } /** * .cz.proto.coordinator.JobID job_id = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder() { return getJobId(); } public static final int USER_AGENT_FIELD_NUMBER = 10; private volatile java.lang.Object userAgent_; /** * string user_agent = 10; * @return The userAgent. */ @java.lang.Override public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; 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(); userAgent_ = s; return s; } } /** * string user_agent = 10; * @return The bytes for userAgent. */ @java.lang.Override public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (account_ != null) { output.writeMessage(1, getAccount()); } if (jobId_ != null) { output.writeMessage(2, getJobId()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, userAgent_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAccount()); } if (jobId_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getJobId()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, userAgent_); } 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.coordinator.CoordinatorServiceOuterClass.GetJobRequest)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobRequest other = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (hasJobId() != other.hasJobId()) return false; if (hasJobId()) { if (!getJobId() .equals(other.getJobId())) return false; } if (!getUserAgent() .equals(other.getUserAgent())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } if (hasJobId()) { hash = (37 * hash) + JOB_ID_FIELD_NUMBER; hash = (53 * hash) + getJobId().hashCode(); } hash = (37 * hash) + USER_AGENT_FIELD_NUMBER; hash = (53 * hash) + getUserAgent().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobRequest 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.coordinator.GetJobRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.GetJobRequest) cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobRequest.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } if (jobIdBuilder_ == null) { jobId_ = null; } else { jobId_ = null; jobIdBuilder_ = null; } userAgent_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobRequest_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobRequest getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobRequest build() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobRequest buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobRequest result = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobRequest(this); if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } if (jobIdBuilder_ == null) { result.jobId_ = jobId_; } else { result.jobId_ = jobIdBuilder_.build(); } result.userAgent_ = userAgent_; 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.coordinator.CoordinatorServiceOuterClass.GetJobRequest) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobRequest other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (other.hasJobId()) { mergeJobId(other.getJobId()); } if (!other.getUserAgent().isEmpty()) { userAgent_ = other.userAgent_; 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.coordinator.CoordinatorServiceOuterClass.GetJobRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> accountBuilder_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount( cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder mergeAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.coordinator.CoordinatorServiceOuterClass.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } } /** * .cz.proto.coordinator.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private cz.proto.coordinator.CoordinatorServiceOuterClass.JobID jobId_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder> jobIdBuilder_; /** * .cz.proto.coordinator.JobID job_id = 2; * @return Whether the jobId field is set. */ public boolean hasJobId() { return jobIdBuilder_ != null || jobId_ != null; } /** * .cz.proto.coordinator.JobID job_id = 2; * @return The jobId. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId() { if (jobIdBuilder_ == null) { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } else { return jobIdBuilder_.getMessage(); } } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder setJobId(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID value) { if (jobIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } jobId_ = value; onChanged(); } else { jobIdBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder setJobId( cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder builderForValue) { if (jobIdBuilder_ == null) { jobId_ = builderForValue.build(); onChanged(); } else { jobIdBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder mergeJobId(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID value) { if (jobIdBuilder_ == null) { if (jobId_ != null) { jobId_ = cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.newBuilder(jobId_).mergeFrom(value).buildPartial(); } else { jobId_ = value; } onChanged(); } else { jobIdBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder clearJobId() { if (jobIdBuilder_ == null) { jobId_ = null; onChanged(); } else { jobId_ = null; jobIdBuilder_ = null; } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder getJobIdBuilder() { onChanged(); return getJobIdFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.JobID job_id = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder() { if (jobIdBuilder_ != null) { return jobIdBuilder_.getMessageOrBuilder(); } else { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } } /** * .cz.proto.coordinator.JobID job_id = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder> getJobIdFieldBuilder() { if (jobIdBuilder_ == null) { jobIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder>( getJobId(), getParentForChildren(), isClean()); jobId_ = null; } return jobIdBuilder_; } private java.lang.Object userAgent_ = ""; /** * string user_agent = 10; * @return The userAgent. */ public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userAgent_ = s; return s; } else { return (java.lang.String) ref; } } /** * string user_agent = 10; * @return The bytes for userAgent. */ public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string user_agent = 10; * @param value The userAgent to set. * @return This builder for chaining. */ public Builder setUserAgent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userAgent_ = value; onChanged(); return this; } /** * string user_agent = 10; * @return This builder for chaining. */ public Builder clearUserAgent() { userAgent_ = getDefaultInstance().getUserAgent(); onChanged(); return this; } /** * string user_agent = 10; * @param value The bytes for userAgent to set. * @return This builder for chaining. */ public Builder setUserAgentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userAgent_ = 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.coordinator.GetJobRequest) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.GetJobRequest) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobRequest(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetJobRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetJobRequest(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.coordinator.CoordinatorServiceOuterClass.GetJobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetJobResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.GetJobResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ boolean hasRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ cz.proto.ServiceCommon.ResponseStatus getRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; */ cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder(); /** * .cz.proto.coordinator.JobDesc job_desc = 2; * @return Whether the jobDesc field is set. */ boolean hasJobDesc(); /** * .cz.proto.coordinator.JobDesc job_desc = 2; * @return The jobDesc. */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc getJobDesc(); /** * .cz.proto.coordinator.JobDesc job_desc = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobDescOrBuilder getJobDescOrBuilder(); } /** * Protobuf type {@code cz.proto.coordinator.GetJobResponse} */ public static final class GetJobResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.GetJobResponse) GetJobResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetJobResponse.newBuilder() to construct. private GetJobResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetJobResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetJobResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetJobResponse( 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.ServiceCommon.ResponseStatus.Builder subBuilder = null; if (respStatus_ != null) { subBuilder = respStatus_.toBuilder(); } respStatus_ = input.readMessage(cz.proto.ServiceCommon.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(respStatus_); respStatus_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.Builder subBuilder = null; if (jobDesc_ != null) { subBuilder = jobDesc_.toBuilder(); } jobDesc_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(jobDesc_); jobDesc_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResponse.Builder.class); } public static final int RESP_STATUS_FIELD_NUMBER = 1; private cz.proto.ServiceCommon.ResponseStatus respStatus_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ @java.lang.Override public boolean hasRespStatus() { return respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } /** * .cz.proto.ResponseStatus resp_status = 1; */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { return getRespStatus(); } public static final int JOB_DESC_FIELD_NUMBER = 2; private cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc jobDesc_; /** * .cz.proto.coordinator.JobDesc job_desc = 2; * @return Whether the jobDesc field is set. */ @java.lang.Override public boolean hasJobDesc() { return jobDesc_ != null; } /** * .cz.proto.coordinator.JobDesc job_desc = 2; * @return The jobDesc. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc getJobDesc() { return jobDesc_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.getDefaultInstance() : jobDesc_; } /** * .cz.proto.coordinator.JobDesc job_desc = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobDescOrBuilder getJobDescOrBuilder() { return getJobDesc(); } 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 (respStatus_ != null) { output.writeMessage(1, getRespStatus()); } if (jobDesc_ != null) { output.writeMessage(2, getJobDesc()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (respStatus_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRespStatus()); } if (jobDesc_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getJobDesc()); } 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.coordinator.CoordinatorServiceOuterClass.GetJobResponse)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResponse other = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResponse) obj; if (hasRespStatus() != other.hasRespStatus()) return false; if (hasRespStatus()) { if (!getRespStatus() .equals(other.getRespStatus())) return false; } if (hasJobDesc() != other.hasJobDesc()) return false; if (hasJobDesc()) { if (!getJobDesc() .equals(other.getJobDesc())) 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 (hasRespStatus()) { hash = (37 * hash) + RESP_STATUS_FIELD_NUMBER; hash = (53 * hash) + getRespStatus().hashCode(); } if (hasJobDesc()) { hash = (37 * hash) + JOB_DESC_FIELD_NUMBER; hash = (53 * hash) + getJobDesc().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobResponse 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.coordinator.GetJobResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.GetJobResponse) cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResponse.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResponse.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 (respStatusBuilder_ == null) { respStatus_ = null; } else { respStatus_ = null; respStatusBuilder_ = null; } if (jobDescBuilder_ == null) { jobDesc_ = null; } else { jobDesc_ = null; jobDescBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobResponse_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResponse getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResponse build() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResponse buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResponse result = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResponse(this); if (respStatusBuilder_ == null) { result.respStatus_ = respStatus_; } else { result.respStatus_ = respStatusBuilder_.build(); } if (jobDescBuilder_ == null) { result.jobDesc_ = jobDesc_; } else { result.jobDesc_ = jobDescBuilder_.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.coordinator.CoordinatorServiceOuterClass.GetJobResponse) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResponse other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResponse.getDefaultInstance()) return this; if (other.hasRespStatus()) { mergeRespStatus(other.getRespStatus()); } if (other.hasJobDesc()) { mergeJobDesc(other.getJobDesc()); } 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.coordinator.CoordinatorServiceOuterClass.GetJobResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ServiceCommon.ResponseStatus respStatus_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> respStatusBuilder_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ public boolean hasRespStatus() { return respStatusBuilder_ != null || respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { if (respStatusBuilder_ == null) { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } else { return respStatusBuilder_.getMessage(); } } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } respStatus_ = value; onChanged(); } else { respStatusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus( cz.proto.ServiceCommon.ResponseStatus.Builder builderForValue) { if (respStatusBuilder_ == null) { respStatus_ = builderForValue.build(); onChanged(); } else { respStatusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder mergeRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (respStatus_ != null) { respStatus_ = cz.proto.ServiceCommon.ResponseStatus.newBuilder(respStatus_).mergeFrom(value).buildPartial(); } else { respStatus_ = value; } onChanged(); } else { respStatusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder clearRespStatus() { if (respStatusBuilder_ == null) { respStatus_ = null; onChanged(); } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatus.Builder getRespStatusBuilder() { onChanged(); return getRespStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { if (respStatusBuilder_ != null) { return respStatusBuilder_.getMessageOrBuilder(); } else { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } } /** * .cz.proto.ResponseStatus resp_status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> getRespStatusFieldBuilder() { if (respStatusBuilder_ == null) { respStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder>( getRespStatus(), getParentForChildren(), isClean()); respStatus_ = null; } return respStatusBuilder_; } private cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc jobDesc_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc, cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobDescOrBuilder> jobDescBuilder_; /** * .cz.proto.coordinator.JobDesc job_desc = 2; * @return Whether the jobDesc field is set. */ public boolean hasJobDesc() { return jobDescBuilder_ != null || jobDesc_ != null; } /** * .cz.proto.coordinator.JobDesc job_desc = 2; * @return The jobDesc. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc getJobDesc() { if (jobDescBuilder_ == null) { return jobDesc_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.getDefaultInstance() : jobDesc_; } else { return jobDescBuilder_.getMessage(); } } /** * .cz.proto.coordinator.JobDesc job_desc = 2; */ public Builder setJobDesc(cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc value) { if (jobDescBuilder_ == null) { if (value == null) { throw new NullPointerException(); } jobDesc_ = value; onChanged(); } else { jobDescBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.JobDesc job_desc = 2; */ public Builder setJobDesc( cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.Builder builderForValue) { if (jobDescBuilder_ == null) { jobDesc_ = builderForValue.build(); onChanged(); } else { jobDescBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.JobDesc job_desc = 2; */ public Builder mergeJobDesc(cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc value) { if (jobDescBuilder_ == null) { if (jobDesc_ != null) { jobDesc_ = cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.newBuilder(jobDesc_).mergeFrom(value).buildPartial(); } else { jobDesc_ = value; } onChanged(); } else { jobDescBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.JobDesc job_desc = 2; */ public Builder clearJobDesc() { if (jobDescBuilder_ == null) { jobDesc_ = null; onChanged(); } else { jobDesc_ = null; jobDescBuilder_ = null; } return this; } /** * .cz.proto.coordinator.JobDesc job_desc = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.Builder getJobDescBuilder() { onChanged(); return getJobDescFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.JobDesc job_desc = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobDescOrBuilder getJobDescOrBuilder() { if (jobDescBuilder_ != null) { return jobDescBuilder_.getMessageOrBuilder(); } else { return jobDesc_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.getDefaultInstance() : jobDesc_; } } /** * .cz.proto.coordinator.JobDesc job_desc = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc, cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobDescOrBuilder> getJobDescFieldBuilder() { if (jobDescBuilder_ == null) { jobDescBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc, cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobDescOrBuilder>( getJobDesc(), getParentForChildren(), isClean()); jobDesc_ = null; } return jobDescBuilder_; } @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.coordinator.GetJobResponse) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.GetJobResponse) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResponse(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetJobResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetJobResponse(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.coordinator.CoordinatorServiceOuterClass.GetJobResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetJobStatusRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.GetJobStatusRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount(); /** * .cz.proto.coordinator.Account account = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder(); /** * .cz.proto.coordinator.JobID job_id = 2; * @return Whether the jobId field is set. */ boolean hasJobId(); /** * .cz.proto.coordinator.JobID job_id = 2; * @return The jobId. */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId(); /** * .cz.proto.coordinator.JobID job_id = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder(); /** * string user_agent = 10; * @return The userAgent. */ java.lang.String getUserAgent(); /** * string user_agent = 10; * @return The bytes for userAgent. */ com.google.protobuf.ByteString getUserAgentBytes(); } /** * Protobuf type {@code cz.proto.coordinator.GetJobStatusRequest} */ public static final class GetJobStatusRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.GetJobStatusRequest) GetJobStatusRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetJobStatusRequest.newBuilder() to construct. private GetJobStatusRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetJobStatusRequest() { userAgent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetJobStatusRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetJobStatusRequest( 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.coordinator.CoordinatorServiceOuterClass.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder subBuilder = null; if (jobId_ != null) { subBuilder = jobId_.toBuilder(); } jobId_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(jobId_); jobId_ = subBuilder.buildPartial(); } break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); userAgent_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobStatusRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobStatusRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } /** * .cz.proto.coordinator.Account account = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int JOB_ID_FIELD_NUMBER = 2; private cz.proto.coordinator.CoordinatorServiceOuterClass.JobID jobId_; /** * .cz.proto.coordinator.JobID job_id = 2; * @return Whether the jobId field is set. */ @java.lang.Override public boolean hasJobId() { return jobId_ != null; } /** * .cz.proto.coordinator.JobID job_id = 2; * @return The jobId. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId() { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } /** * .cz.proto.coordinator.JobID job_id = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder() { return getJobId(); } public static final int USER_AGENT_FIELD_NUMBER = 10; private volatile java.lang.Object userAgent_; /** * string user_agent = 10; * @return The userAgent. */ @java.lang.Override public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; 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(); userAgent_ = s; return s; } } /** * string user_agent = 10; * @return The bytes for userAgent. */ @java.lang.Override public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (account_ != null) { output.writeMessage(1, getAccount()); } if (jobId_ != null) { output.writeMessage(2, getJobId()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, userAgent_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAccount()); } if (jobId_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getJobId()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, userAgent_); } 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.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest other = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (hasJobId() != other.hasJobId()) return false; if (hasJobId()) { if (!getJobId() .equals(other.getJobId())) return false; } if (!getUserAgent() .equals(other.getUserAgent())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } if (hasJobId()) { hash = (37 * hash) + JOB_ID_FIELD_NUMBER; hash = (53 * hash) + getJobId().hashCode(); } hash = (37 * hash) + USER_AGENT_FIELD_NUMBER; hash = (53 * hash) + getUserAgent().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest 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.coordinator.GetJobStatusRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.GetJobStatusRequest) cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobStatusRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobStatusRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } if (jobIdBuilder_ == null) { jobId_ = null; } else { jobId_ = null; jobIdBuilder_ = null; } userAgent_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobStatusRequest_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest build() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest result = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest(this); if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } if (jobIdBuilder_ == null) { result.jobId_ = jobId_; } else { result.jobId_ = jobIdBuilder_.build(); } result.userAgent_ = userAgent_; 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.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (other.hasJobId()) { mergeJobId(other.getJobId()); } if (!other.getUserAgent().isEmpty()) { userAgent_ = other.userAgent_; 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.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> accountBuilder_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount( cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder mergeAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.coordinator.CoordinatorServiceOuterClass.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } } /** * .cz.proto.coordinator.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private cz.proto.coordinator.CoordinatorServiceOuterClass.JobID jobId_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder> jobIdBuilder_; /** * .cz.proto.coordinator.JobID job_id = 2; * @return Whether the jobId field is set. */ public boolean hasJobId() { return jobIdBuilder_ != null || jobId_ != null; } /** * .cz.proto.coordinator.JobID job_id = 2; * @return The jobId. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId() { if (jobIdBuilder_ == null) { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } else { return jobIdBuilder_.getMessage(); } } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder setJobId(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID value) { if (jobIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } jobId_ = value; onChanged(); } else { jobIdBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder setJobId( cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder builderForValue) { if (jobIdBuilder_ == null) { jobId_ = builderForValue.build(); onChanged(); } else { jobIdBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder mergeJobId(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID value) { if (jobIdBuilder_ == null) { if (jobId_ != null) { jobId_ = cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.newBuilder(jobId_).mergeFrom(value).buildPartial(); } else { jobId_ = value; } onChanged(); } else { jobIdBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder clearJobId() { if (jobIdBuilder_ == null) { jobId_ = null; onChanged(); } else { jobId_ = null; jobIdBuilder_ = null; } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder getJobIdBuilder() { onChanged(); return getJobIdFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.JobID job_id = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder() { if (jobIdBuilder_ != null) { return jobIdBuilder_.getMessageOrBuilder(); } else { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } } /** * .cz.proto.coordinator.JobID job_id = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder> getJobIdFieldBuilder() { if (jobIdBuilder_ == null) { jobIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder>( getJobId(), getParentForChildren(), isClean()); jobId_ = null; } return jobIdBuilder_; } private java.lang.Object userAgent_ = ""; /** * string user_agent = 10; * @return The userAgent. */ public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userAgent_ = s; return s; } else { return (java.lang.String) ref; } } /** * string user_agent = 10; * @return The bytes for userAgent. */ public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string user_agent = 10; * @param value The userAgent to set. * @return This builder for chaining. */ public Builder setUserAgent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userAgent_ = value; onChanged(); return this; } /** * string user_agent = 10; * @return This builder for chaining. */ public Builder clearUserAgent() { userAgent_ = getDefaultInstance().getUserAgent(); onChanged(); return this; } /** * string user_agent = 10; * @param value The bytes for userAgent to set. * @return This builder for chaining. */ public Builder setUserAgentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userAgent_ = 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.coordinator.GetJobStatusRequest) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.GetJobStatusRequest) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetJobStatusRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetJobStatusRequest(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.coordinator.CoordinatorServiceOuterClass.GetJobStatusRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetJobStatusResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.GetJobStatusResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ boolean hasRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ cz.proto.ServiceCommon.ResponseStatus getRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; */ cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder(); /** * .cz.proto.coordinator.JobStatus status = 2; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.coordinator.JobStatus status = 2; * @return The status. */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus getStatus(); /** * .cz.proto.coordinator.JobStatus status = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatusOrBuilder getStatusOrBuilder(); } /** * Protobuf type {@code cz.proto.coordinator.GetJobStatusResponse} */ public static final class GetJobStatusResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.GetJobStatusResponse) GetJobStatusResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetJobStatusResponse.newBuilder() to construct. private GetJobStatusResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetJobStatusResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetJobStatusResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetJobStatusResponse( 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.ServiceCommon.ResponseStatus.Builder subBuilder = null; if (respStatus_ != null) { subBuilder = respStatus_.toBuilder(); } respStatus_ = input.readMessage(cz.proto.ServiceCommon.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(respStatus_); respStatus_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobStatusResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobStatusResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse.Builder.class); } public static final int RESP_STATUS_FIELD_NUMBER = 1; private cz.proto.ServiceCommon.ResponseStatus respStatus_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ @java.lang.Override public boolean hasRespStatus() { return respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } /** * .cz.proto.ResponseStatus resp_status = 1; */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { return getRespStatus(); } public static final int STATUS_FIELD_NUMBER = 2; private cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus status_; /** * .cz.proto.coordinator.JobStatus status = 2; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.coordinator.JobStatus status = 2; * @return The status. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus getStatus() { return status_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.getDefaultInstance() : status_; } /** * .cz.proto.coordinator.JobStatus status = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatusOrBuilder 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 (respStatus_ != null) { output.writeMessage(1, getRespStatus()); } 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 (respStatus_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRespStatus()); } 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.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse other = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse) obj; if (hasRespStatus() != other.hasRespStatus()) return false; if (hasRespStatus()) { if (!getRespStatus() .equals(other.getRespStatus())) 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 (hasRespStatus()) { hash = (37 * hash) + RESP_STATUS_FIELD_NUMBER; hash = (53 * hash) + getRespStatus().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.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse 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.coordinator.GetJobStatusResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.GetJobStatusResponse) cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobStatusResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobStatusResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse.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 (respStatusBuilder_ == null) { respStatus_ = null; } else { respStatus_ = null; respStatusBuilder_ = null; } 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobStatusResponse_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse build() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse result = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse(this); if (respStatusBuilder_ == null) { result.respStatus_ = respStatus_; } else { result.respStatus_ = respStatusBuilder_.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.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse.getDefaultInstance()) return this; if (other.hasRespStatus()) { mergeRespStatus(other.getRespStatus()); } 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.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ServiceCommon.ResponseStatus respStatus_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> respStatusBuilder_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ public boolean hasRespStatus() { return respStatusBuilder_ != null || respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { if (respStatusBuilder_ == null) { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } else { return respStatusBuilder_.getMessage(); } } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } respStatus_ = value; onChanged(); } else { respStatusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus( cz.proto.ServiceCommon.ResponseStatus.Builder builderForValue) { if (respStatusBuilder_ == null) { respStatus_ = builderForValue.build(); onChanged(); } else { respStatusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder mergeRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (respStatus_ != null) { respStatus_ = cz.proto.ServiceCommon.ResponseStatus.newBuilder(respStatus_).mergeFrom(value).buildPartial(); } else { respStatus_ = value; } onChanged(); } else { respStatusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder clearRespStatus() { if (respStatusBuilder_ == null) { respStatus_ = null; onChanged(); } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatus.Builder getRespStatusBuilder() { onChanged(); return getRespStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { if (respStatusBuilder_ != null) { return respStatusBuilder_.getMessageOrBuilder(); } else { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } } /** * .cz.proto.ResponseStatus resp_status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> getRespStatusFieldBuilder() { if (respStatusBuilder_ == null) { respStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder>( getRespStatus(), getParentForChildren(), isClean()); respStatus_ = null; } return respStatusBuilder_; } private cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatusOrBuilder> statusBuilder_; /** * .cz.proto.coordinator.JobStatus status = 2; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.coordinator.JobStatus status = 2; * @return The status. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.coordinator.JobStatus status = 2; */ public Builder setStatus(cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.JobStatus status = 2; */ public Builder setStatus( cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.JobStatus status = 2; */ public Builder mergeStatus(cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.JobStatus status = 2; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.coordinator.JobStatus status = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.JobStatus status = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.getDefaultInstance() : status_; } } /** * .cz.proto.coordinator.JobStatus status = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatusOrBuilder>( 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.coordinator.GetJobStatusResponse) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.GetJobStatusResponse) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetJobStatusResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetJobStatusResponse(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.coordinator.CoordinatorServiceOuterClass.GetJobStatusResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetJobResultRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.GetJobResultRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount(); /** * .cz.proto.coordinator.Account account = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder(); /** * .cz.proto.coordinator.JobID job_id = 2; * @return Whether the jobId field is set. */ boolean hasJobId(); /** * .cz.proto.coordinator.JobID job_id = 2; * @return The jobId. */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId(); /** * .cz.proto.coordinator.JobID job_id = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder(); /** *
     * buffered result row offset
     * 
* * int32 offset = 3; * @return The offset. */ int getOffset(); /** * string user_agent = 10; * @return The userAgent. */ java.lang.String getUserAgent(); /** * string user_agent = 10; * @return The bytes for userAgent. */ com.google.protobuf.ByteString getUserAgentBytes(); /** * optional string jdbc_domain = 11; * @return Whether the jdbcDomain field is set. */ boolean hasJdbcDomain(); /** * optional string jdbc_domain = 11; * @return The jdbcDomain. */ java.lang.String getJdbcDomain(); /** * optional string jdbc_domain = 11; * @return The bytes for jdbcDomain. */ com.google.protobuf.ByteString getJdbcDomainBytes(); } /** * Protobuf type {@code cz.proto.coordinator.GetJobResultRequest} */ public static final class GetJobResultRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.GetJobResultRequest) GetJobResultRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetJobResultRequest.newBuilder() to construct. private GetJobResultRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetJobResultRequest() { userAgent_ = ""; jdbcDomain_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetJobResultRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetJobResultRequest( 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.coordinator.CoordinatorServiceOuterClass.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder subBuilder = null; if (jobId_ != null) { subBuilder = jobId_.toBuilder(); } jobId_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(jobId_); jobId_ = subBuilder.buildPartial(); } break; } case 24: { offset_ = input.readInt32(); break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); userAgent_ = s; break; } case 90: { java.lang.String s = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; jdbcDomain_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobResultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobResultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest.Builder.class); } private int bitField0_; public static final int ACCOUNT_FIELD_NUMBER = 1; private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } /** * .cz.proto.coordinator.Account account = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int JOB_ID_FIELD_NUMBER = 2; private cz.proto.coordinator.CoordinatorServiceOuterClass.JobID jobId_; /** * .cz.proto.coordinator.JobID job_id = 2; * @return Whether the jobId field is set. */ @java.lang.Override public boolean hasJobId() { return jobId_ != null; } /** * .cz.proto.coordinator.JobID job_id = 2; * @return The jobId. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId() { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } /** * .cz.proto.coordinator.JobID job_id = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder() { return getJobId(); } public static final int OFFSET_FIELD_NUMBER = 3; private int offset_; /** *
     * buffered result row offset
     * 
* * int32 offset = 3; * @return The offset. */ @java.lang.Override public int getOffset() { return offset_; } public static final int USER_AGENT_FIELD_NUMBER = 10; private volatile java.lang.Object userAgent_; /** * string user_agent = 10; * @return The userAgent. */ @java.lang.Override public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; 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(); userAgent_ = s; return s; } } /** * string user_agent = 10; * @return The bytes for userAgent. */ @java.lang.Override public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int JDBC_DOMAIN_FIELD_NUMBER = 11; private volatile java.lang.Object jdbcDomain_; /** * optional string jdbc_domain = 11; * @return Whether the jdbcDomain field is set. */ @java.lang.Override public boolean hasJdbcDomain() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string jdbc_domain = 11; * @return The jdbcDomain. */ @java.lang.Override public java.lang.String getJdbcDomain() { java.lang.Object ref = jdbcDomain_; 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(); jdbcDomain_ = s; return s; } } /** * optional string jdbc_domain = 11; * @return The bytes for jdbcDomain. */ @java.lang.Override public com.google.protobuf.ByteString getJdbcDomainBytes() { java.lang.Object ref = jdbcDomain_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); jdbcDomain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (account_ != null) { output.writeMessage(1, getAccount()); } if (jobId_ != null) { output.writeMessage(2, getJobId()); } if (offset_ != 0) { output.writeInt32(3, offset_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, userAgent_); } if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, jdbcDomain_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAccount()); } if (jobId_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getJobId()); } if (offset_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, offset_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, userAgent_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, jdbcDomain_); } 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.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest other = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (hasJobId() != other.hasJobId()) return false; if (hasJobId()) { if (!getJobId() .equals(other.getJobId())) return false; } if (getOffset() != other.getOffset()) return false; if (!getUserAgent() .equals(other.getUserAgent())) return false; if (hasJdbcDomain() != other.hasJdbcDomain()) return false; if (hasJdbcDomain()) { if (!getJdbcDomain() .equals(other.getJdbcDomain())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } if (hasJobId()) { hash = (37 * hash) + JOB_ID_FIELD_NUMBER; hash = (53 * hash) + getJobId().hashCode(); } hash = (37 * hash) + OFFSET_FIELD_NUMBER; hash = (53 * hash) + getOffset(); hash = (37 * hash) + USER_AGENT_FIELD_NUMBER; hash = (53 * hash) + getUserAgent().hashCode(); if (hasJdbcDomain()) { hash = (37 * hash) + JDBC_DOMAIN_FIELD_NUMBER; hash = (53 * hash) + getJdbcDomain().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest 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.coordinator.GetJobResultRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.GetJobResultRequest) cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobResultRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobResultRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } if (jobIdBuilder_ == null) { jobId_ = null; } else { jobId_ = null; jobIdBuilder_ = null; } offset_ = 0; userAgent_ = ""; jdbcDomain_ = ""; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobResultRequest_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest build() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest result = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } if (jobIdBuilder_ == null) { result.jobId_ = jobId_; } else { result.jobId_ = jobIdBuilder_.build(); } result.offset_ = offset_; result.userAgent_ = userAgent_; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.jdbcDomain_ = jdbcDomain_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (other.hasJobId()) { mergeJobId(other.getJobId()); } if (other.getOffset() != 0) { setOffset(other.getOffset()); } if (!other.getUserAgent().isEmpty()) { userAgent_ = other.userAgent_; onChanged(); } if (other.hasJdbcDomain()) { bitField0_ |= 0x00000001; jdbcDomain_ = other.jdbcDomain_; 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.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> accountBuilder_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount( cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder mergeAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.coordinator.CoordinatorServiceOuterClass.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } } /** * .cz.proto.coordinator.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private cz.proto.coordinator.CoordinatorServiceOuterClass.JobID jobId_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder> jobIdBuilder_; /** * .cz.proto.coordinator.JobID job_id = 2; * @return Whether the jobId field is set. */ public boolean hasJobId() { return jobIdBuilder_ != null || jobId_ != null; } /** * .cz.proto.coordinator.JobID job_id = 2; * @return The jobId. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId() { if (jobIdBuilder_ == null) { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } else { return jobIdBuilder_.getMessage(); } } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder setJobId(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID value) { if (jobIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } jobId_ = value; onChanged(); } else { jobIdBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder setJobId( cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder builderForValue) { if (jobIdBuilder_ == null) { jobId_ = builderForValue.build(); onChanged(); } else { jobIdBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder mergeJobId(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID value) { if (jobIdBuilder_ == null) { if (jobId_ != null) { jobId_ = cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.newBuilder(jobId_).mergeFrom(value).buildPartial(); } else { jobId_ = value; } onChanged(); } else { jobIdBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder clearJobId() { if (jobIdBuilder_ == null) { jobId_ = null; onChanged(); } else { jobId_ = null; jobIdBuilder_ = null; } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder getJobIdBuilder() { onChanged(); return getJobIdFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.JobID job_id = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder() { if (jobIdBuilder_ != null) { return jobIdBuilder_.getMessageOrBuilder(); } else { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } } /** * .cz.proto.coordinator.JobID job_id = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder> getJobIdFieldBuilder() { if (jobIdBuilder_ == null) { jobIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder>( getJobId(), getParentForChildren(), isClean()); jobId_ = null; } return jobIdBuilder_; } private int offset_ ; /** *
       * buffered result row offset
       * 
* * int32 offset = 3; * @return The offset. */ @java.lang.Override public int getOffset() { return offset_; } /** *
       * buffered result row offset
       * 
* * int32 offset = 3; * @param value The offset to set. * @return This builder for chaining. */ public Builder setOffset(int value) { offset_ = value; onChanged(); return this; } /** *
       * buffered result row offset
       * 
* * int32 offset = 3; * @return This builder for chaining. */ public Builder clearOffset() { offset_ = 0; onChanged(); return this; } private java.lang.Object userAgent_ = ""; /** * string user_agent = 10; * @return The userAgent. */ public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userAgent_ = s; return s; } else { return (java.lang.String) ref; } } /** * string user_agent = 10; * @return The bytes for userAgent. */ public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string user_agent = 10; * @param value The userAgent to set. * @return This builder for chaining. */ public Builder setUserAgent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userAgent_ = value; onChanged(); return this; } /** * string user_agent = 10; * @return This builder for chaining. */ public Builder clearUserAgent() { userAgent_ = getDefaultInstance().getUserAgent(); onChanged(); return this; } /** * string user_agent = 10; * @param value The bytes for userAgent to set. * @return This builder for chaining. */ public Builder setUserAgentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userAgent_ = value; onChanged(); return this; } private java.lang.Object jdbcDomain_ = ""; /** * optional string jdbc_domain = 11; * @return Whether the jdbcDomain field is set. */ public boolean hasJdbcDomain() { return ((bitField0_ & 0x00000001) != 0); } /** * optional string jdbc_domain = 11; * @return The jdbcDomain. */ public java.lang.String getJdbcDomain() { java.lang.Object ref = jdbcDomain_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jdbcDomain_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string jdbc_domain = 11; * @return The bytes for jdbcDomain. */ public com.google.protobuf.ByteString getJdbcDomainBytes() { java.lang.Object ref = jdbcDomain_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); jdbcDomain_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * optional string jdbc_domain = 11; * @param value The jdbcDomain to set. * @return This builder for chaining. */ public Builder setJdbcDomain( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; jdbcDomain_ = value; onChanged(); return this; } /** * optional string jdbc_domain = 11; * @return This builder for chaining. */ public Builder clearJdbcDomain() { bitField0_ = (bitField0_ & ~0x00000001); jdbcDomain_ = getDefaultInstance().getJdbcDomain(); onChanged(); return this; } /** * optional string jdbc_domain = 11; * @param value The bytes for jdbcDomain to set. * @return This builder for chaining. */ public Builder setJdbcDomainBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bitField0_ |= 0x00000001; jdbcDomain_ = 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.coordinator.GetJobResultRequest) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.GetJobResultRequest) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetJobResultRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetJobResultRequest(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.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetJobResultResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.GetJobResultResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ boolean hasRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ cz.proto.ServiceCommon.ResponseStatus getRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; */ cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder(); /** * .cz.proto.coordinator.JobStatus status = 2; * @return Whether the status field is set. */ boolean hasStatus(); /** * .cz.proto.coordinator.JobStatus status = 2; * @return The status. */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus getStatus(); /** * .cz.proto.coordinator.JobStatus status = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatusOrBuilder getStatusOrBuilder(); /** *
     * return result set after query terminated
     * 
* * .cz.proto.coordinator.JobResultSet result_set = 3; * @return Whether the resultSet field is set. */ boolean hasResultSet(); /** *
     * return result set after query terminated
     * 
* * .cz.proto.coordinator.JobResultSet result_set = 3; * @return The resultSet. */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet getResultSet(); /** *
     * return result set after query terminated
     * 
* * .cz.proto.coordinator.JobResultSet result_set = 3; */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetOrBuilder getResultSetOrBuilder(); } /** * Protobuf type {@code cz.proto.coordinator.GetJobResultResponse} */ public static final class GetJobResultResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.GetJobResultResponse) GetJobResultResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetJobResultResponse.newBuilder() to construct. private GetJobResultResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetJobResultResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetJobResultResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetJobResultResponse( 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.ServiceCommon.ResponseStatus.Builder subBuilder = null; if (respStatus_ != null) { subBuilder = respStatus_.toBuilder(); } respStatus_ = input.readMessage(cz.proto.ServiceCommon.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(respStatus_); respStatus_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(status_); status_ = subBuilder.buildPartial(); } break; } case 26: { cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet.Builder subBuilder = null; if (resultSet_ != null) { subBuilder = resultSet_.toBuilder(); } resultSet_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(resultSet_); resultSet_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobResultResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobResultResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse.Builder.class); } public static final int RESP_STATUS_FIELD_NUMBER = 1; private cz.proto.ServiceCommon.ResponseStatus respStatus_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ @java.lang.Override public boolean hasRespStatus() { return respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } /** * .cz.proto.ResponseStatus resp_status = 1; */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { return getRespStatus(); } public static final int STATUS_FIELD_NUMBER = 2; private cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus status_; /** * .cz.proto.coordinator.JobStatus status = 2; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** * .cz.proto.coordinator.JobStatus status = 2; * @return The status. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus getStatus() { return status_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.getDefaultInstance() : status_; } /** * .cz.proto.coordinator.JobStatus status = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatusOrBuilder getStatusOrBuilder() { return getStatus(); } public static final int RESULT_SET_FIELD_NUMBER = 3; private cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet resultSet_; /** *
     * return result set after query terminated
     * 
* * .cz.proto.coordinator.JobResultSet result_set = 3; * @return Whether the resultSet field is set. */ @java.lang.Override public boolean hasResultSet() { return resultSet_ != null; } /** *
     * return result set after query terminated
     * 
* * .cz.proto.coordinator.JobResultSet result_set = 3; * @return The resultSet. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet getResultSet() { return resultSet_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet.getDefaultInstance() : resultSet_; } /** *
     * return result set after query terminated
     * 
* * .cz.proto.coordinator.JobResultSet result_set = 3; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetOrBuilder getResultSetOrBuilder() { return getResultSet(); } 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 (respStatus_ != null) { output.writeMessage(1, getRespStatus()); } if (status_ != null) { output.writeMessage(2, getStatus()); } if (resultSet_ != null) { output.writeMessage(3, getResultSet()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (respStatus_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRespStatus()); } if (status_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getStatus()); } if (resultSet_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getResultSet()); } 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.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse other = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse) obj; if (hasRespStatus() != other.hasRespStatus()) return false; if (hasRespStatus()) { if (!getRespStatus() .equals(other.getRespStatus())) return false; } if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) return false; } if (hasResultSet() != other.hasResultSet()) return false; if (hasResultSet()) { if (!getResultSet() .equals(other.getResultSet())) 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 (hasRespStatus()) { hash = (37 * hash) + RESP_STATUS_FIELD_NUMBER; hash = (53 * hash) + getRespStatus().hashCode(); } if (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } if (hasResultSet()) { hash = (37 * hash) + RESULT_SET_FIELD_NUMBER; hash = (53 * hash) + getResultSet().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse 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.coordinator.GetJobResultResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.GetJobResultResponse) cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobResultResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobResultResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse.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 (respStatusBuilder_ == null) { respStatus_ = null; } else { respStatus_ = null; respStatusBuilder_ = null; } if (statusBuilder_ == null) { status_ = null; } else { status_ = null; statusBuilder_ = null; } if (resultSetBuilder_ == null) { resultSet_ = null; } else { resultSet_ = null; resultSetBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobResultResponse_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse build() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse result = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse(this); if (respStatusBuilder_ == null) { result.respStatus_ = respStatus_; } else { result.respStatus_ = respStatusBuilder_.build(); } if (statusBuilder_ == null) { result.status_ = status_; } else { result.status_ = statusBuilder_.build(); } if (resultSetBuilder_ == null) { result.resultSet_ = resultSet_; } else { result.resultSet_ = resultSetBuilder_.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.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse.getDefaultInstance()) return this; if (other.hasRespStatus()) { mergeRespStatus(other.getRespStatus()); } if (other.hasStatus()) { mergeStatus(other.getStatus()); } if (other.hasResultSet()) { mergeResultSet(other.getResultSet()); } 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.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ServiceCommon.ResponseStatus respStatus_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> respStatusBuilder_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ public boolean hasRespStatus() { return respStatusBuilder_ != null || respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { if (respStatusBuilder_ == null) { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } else { return respStatusBuilder_.getMessage(); } } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } respStatus_ = value; onChanged(); } else { respStatusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus( cz.proto.ServiceCommon.ResponseStatus.Builder builderForValue) { if (respStatusBuilder_ == null) { respStatus_ = builderForValue.build(); onChanged(); } else { respStatusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder mergeRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (respStatus_ != null) { respStatus_ = cz.proto.ServiceCommon.ResponseStatus.newBuilder(respStatus_).mergeFrom(value).buildPartial(); } else { respStatus_ = value; } onChanged(); } else { respStatusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder clearRespStatus() { if (respStatusBuilder_ == null) { respStatus_ = null; onChanged(); } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatus.Builder getRespStatusBuilder() { onChanged(); return getRespStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { if (respStatusBuilder_ != null) { return respStatusBuilder_.getMessageOrBuilder(); } else { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } } /** * .cz.proto.ResponseStatus resp_status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> getRespStatusFieldBuilder() { if (respStatusBuilder_ == null) { respStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder>( getRespStatus(), getParentForChildren(), isClean()); respStatus_ = null; } return respStatusBuilder_; } private cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatusOrBuilder> statusBuilder_; /** * .cz.proto.coordinator.JobStatus status = 2; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** * .cz.proto.coordinator.JobStatus status = 2; * @return The status. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** * .cz.proto.coordinator.JobStatus status = 2; */ public Builder setStatus(cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.JobStatus status = 2; */ public Builder setStatus( cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.JobStatus status = 2; */ public Builder mergeStatus(cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.JobStatus status = 2; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** * .cz.proto.coordinator.JobStatus status = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.JobStatus status = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.getDefaultInstance() : status_; } } /** * .cz.proto.coordinator.JobStatus status = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatusOrBuilder>( getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } private cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet resultSet_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetOrBuilder> resultSetBuilder_; /** *
       * return result set after query terminated
       * 
* * .cz.proto.coordinator.JobResultSet result_set = 3; * @return Whether the resultSet field is set. */ public boolean hasResultSet() { return resultSetBuilder_ != null || resultSet_ != null; } /** *
       * return result set after query terminated
       * 
* * .cz.proto.coordinator.JobResultSet result_set = 3; * @return The resultSet. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet getResultSet() { if (resultSetBuilder_ == null) { return resultSet_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet.getDefaultInstance() : resultSet_; } else { return resultSetBuilder_.getMessage(); } } /** *
       * return result set after query terminated
       * 
* * .cz.proto.coordinator.JobResultSet result_set = 3; */ public Builder setResultSet(cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet value) { if (resultSetBuilder_ == null) { if (value == null) { throw new NullPointerException(); } resultSet_ = value; onChanged(); } else { resultSetBuilder_.setMessage(value); } return this; } /** *
       * return result set after query terminated
       * 
* * .cz.proto.coordinator.JobResultSet result_set = 3; */ public Builder setResultSet( cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet.Builder builderForValue) { if (resultSetBuilder_ == null) { resultSet_ = builderForValue.build(); onChanged(); } else { resultSetBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * return result set after query terminated
       * 
* * .cz.proto.coordinator.JobResultSet result_set = 3; */ public Builder mergeResultSet(cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet value) { if (resultSetBuilder_ == null) { if (resultSet_ != null) { resultSet_ = cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet.newBuilder(resultSet_).mergeFrom(value).buildPartial(); } else { resultSet_ = value; } onChanged(); } else { resultSetBuilder_.mergeFrom(value); } return this; } /** *
       * return result set after query terminated
       * 
* * .cz.proto.coordinator.JobResultSet result_set = 3; */ public Builder clearResultSet() { if (resultSetBuilder_ == null) { resultSet_ = null; onChanged(); } else { resultSet_ = null; resultSetBuilder_ = null; } return this; } /** *
       * return result set after query terminated
       * 
* * .cz.proto.coordinator.JobResultSet result_set = 3; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet.Builder getResultSetBuilder() { onChanged(); return getResultSetFieldBuilder().getBuilder(); } /** *
       * return result set after query terminated
       * 
* * .cz.proto.coordinator.JobResultSet result_set = 3; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetOrBuilder getResultSetOrBuilder() { if (resultSetBuilder_ != null) { return resultSetBuilder_.getMessageOrBuilder(); } else { return resultSet_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet.getDefaultInstance() : resultSet_; } } /** *
       * return result set after query terminated
       * 
* * .cz.proto.coordinator.JobResultSet result_set = 3; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetOrBuilder> getResultSetFieldBuilder() { if (resultSetBuilder_ == null) { resultSetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSet.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobResultSetOrBuilder>( getResultSet(), getParentForChildren(), isClean()); resultSet_ = null; } return resultSetBuilder_; } @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.coordinator.GetJobResultResponse) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.GetJobResultResponse) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetJobResultResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetJobResultResponse(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.coordinator.CoordinatorServiceOuterClass.GetJobResultResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetJobProfileRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.GetJobProfileRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount(); /** * .cz.proto.coordinator.Account account = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder(); /** * .cz.proto.coordinator.JobID job_id = 2; * @return Whether the jobId field is set. */ boolean hasJobId(); /** * .cz.proto.coordinator.JobID job_id = 2; * @return The jobId. */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId(); /** * .cz.proto.coordinator.JobID job_id = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder(); /** * string user_agent = 10; * @return The userAgent. */ java.lang.String getUserAgent(); /** * string user_agent = 10; * @return The bytes for userAgent. */ com.google.protobuf.ByteString getUserAgentBytes(); } /** * Protobuf type {@code cz.proto.coordinator.GetJobProfileRequest} */ public static final class GetJobProfileRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.GetJobProfileRequest) GetJobProfileRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetJobProfileRequest.newBuilder() to construct. private GetJobProfileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetJobProfileRequest() { userAgent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetJobProfileRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetJobProfileRequest( 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.coordinator.CoordinatorServiceOuterClass.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder subBuilder = null; if (jobId_ != null) { subBuilder = jobId_.toBuilder(); } jobId_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(jobId_); jobId_ = subBuilder.buildPartial(); } break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); userAgent_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } /** * .cz.proto.coordinator.Account account = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int JOB_ID_FIELD_NUMBER = 2; private cz.proto.coordinator.CoordinatorServiceOuterClass.JobID jobId_; /** * .cz.proto.coordinator.JobID job_id = 2; * @return Whether the jobId field is set. */ @java.lang.Override public boolean hasJobId() { return jobId_ != null; } /** * .cz.proto.coordinator.JobID job_id = 2; * @return The jobId. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId() { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } /** * .cz.proto.coordinator.JobID job_id = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder() { return getJobId(); } public static final int USER_AGENT_FIELD_NUMBER = 10; private volatile java.lang.Object userAgent_; /** * string user_agent = 10; * @return The userAgent. */ @java.lang.Override public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; 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(); userAgent_ = s; return s; } } /** * string user_agent = 10; * @return The bytes for userAgent. */ @java.lang.Override public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (account_ != null) { output.writeMessage(1, getAccount()); } if (jobId_ != null) { output.writeMessage(2, getJobId()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, userAgent_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAccount()); } if (jobId_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getJobId()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, userAgent_); } 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.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest other = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (hasJobId() != other.hasJobId()) return false; if (hasJobId()) { if (!getJobId() .equals(other.getJobId())) return false; } if (!getUserAgent() .equals(other.getUserAgent())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } if (hasJobId()) { hash = (37 * hash) + JOB_ID_FIELD_NUMBER; hash = (53 * hash) + getJobId().hashCode(); } hash = (37 * hash) + USER_AGENT_FIELD_NUMBER; hash = (53 * hash) + getUserAgent().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest 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.coordinator.GetJobProfileRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.GetJobProfileRequest) cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobProfileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobProfileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } if (jobIdBuilder_ == null) { jobId_ = null; } else { jobId_ = null; jobIdBuilder_ = null; } userAgent_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobProfileRequest_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest build() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest result = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest(this); if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } if (jobIdBuilder_ == null) { result.jobId_ = jobId_; } else { result.jobId_ = jobIdBuilder_.build(); } result.userAgent_ = userAgent_; 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.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (other.hasJobId()) { mergeJobId(other.getJobId()); } if (!other.getUserAgent().isEmpty()) { userAgent_ = other.userAgent_; 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.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> accountBuilder_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount( cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder mergeAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.coordinator.CoordinatorServiceOuterClass.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } } /** * .cz.proto.coordinator.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private cz.proto.coordinator.CoordinatorServiceOuterClass.JobID jobId_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder> jobIdBuilder_; /** * .cz.proto.coordinator.JobID job_id = 2; * @return Whether the jobId field is set. */ public boolean hasJobId() { return jobIdBuilder_ != null || jobId_ != null; } /** * .cz.proto.coordinator.JobID job_id = 2; * @return The jobId. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId() { if (jobIdBuilder_ == null) { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } else { return jobIdBuilder_.getMessage(); } } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder setJobId(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID value) { if (jobIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } jobId_ = value; onChanged(); } else { jobIdBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder setJobId( cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder builderForValue) { if (jobIdBuilder_ == null) { jobId_ = builderForValue.build(); onChanged(); } else { jobIdBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder mergeJobId(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID value) { if (jobIdBuilder_ == null) { if (jobId_ != null) { jobId_ = cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.newBuilder(jobId_).mergeFrom(value).buildPartial(); } else { jobId_ = value; } onChanged(); } else { jobIdBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder clearJobId() { if (jobIdBuilder_ == null) { jobId_ = null; onChanged(); } else { jobId_ = null; jobIdBuilder_ = null; } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder getJobIdBuilder() { onChanged(); return getJobIdFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.JobID job_id = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder() { if (jobIdBuilder_ != null) { return jobIdBuilder_.getMessageOrBuilder(); } else { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } } /** * .cz.proto.coordinator.JobID job_id = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder> getJobIdFieldBuilder() { if (jobIdBuilder_ == null) { jobIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder>( getJobId(), getParentForChildren(), isClean()); jobId_ = null; } return jobIdBuilder_; } private java.lang.Object userAgent_ = ""; /** * string user_agent = 10; * @return The userAgent. */ public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userAgent_ = s; return s; } else { return (java.lang.String) ref; } } /** * string user_agent = 10; * @return The bytes for userAgent. */ public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string user_agent = 10; * @param value The userAgent to set. * @return This builder for chaining. */ public Builder setUserAgent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userAgent_ = value; onChanged(); return this; } /** * string user_agent = 10; * @return This builder for chaining. */ public Builder clearUserAgent() { userAgent_ = getDefaultInstance().getUserAgent(); onChanged(); return this; } /** * string user_agent = 10; * @param value The bytes for userAgent to set. * @return This builder for chaining. */ public Builder setUserAgentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userAgent_ = 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.coordinator.GetJobProfileRequest) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.GetJobProfileRequest) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetJobProfileRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetJobProfileRequest(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.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetJobProfileResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.GetJobProfileResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ boolean hasRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ cz.proto.ServiceCommon.ResponseStatus getRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; */ cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder(); /** * .cz.proto.coordinator.JobDesc job_desc = 2; * @return Whether the jobDesc field is set. */ boolean hasJobDesc(); /** * .cz.proto.coordinator.JobDesc job_desc = 2; * @return The jobDesc. */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc getJobDesc(); /** * .cz.proto.coordinator.JobDesc job_desc = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobDescOrBuilder getJobDescOrBuilder(); /** * .cz.proto.coordinator.JobStatus job_status = 3; * @return Whether the jobStatus field is set. */ boolean hasJobStatus(); /** * .cz.proto.coordinator.JobStatus job_status = 3; * @return The jobStatus. */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus getJobStatus(); /** * .cz.proto.coordinator.JobStatus job_status = 3; */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatusOrBuilder getJobStatusOrBuilder(); /** * .cz.proto.JobSummary job_summary = 4; * @return Whether the jobSummary field is set. */ boolean hasJobSummary(); /** * .cz.proto.JobSummary job_summary = 4; * @return The jobSummary. */ cz.proto.JobSummary getJobSummary(); /** * .cz.proto.JobSummary job_summary = 4; */ cz.proto.JobSummaryOrBuilder getJobSummaryOrBuilder(); /** * string job_client = 5; * @return The jobClient. */ java.lang.String getJobClient(); /** * string job_client = 5; * @return The bytes for jobClient. */ com.google.protobuf.ByteString getJobClientBytes(); /** * .cz.proto.JobProfiling job_profiling = 6; * @return Whether the jobProfiling field is set. */ boolean hasJobProfiling(); /** * .cz.proto.JobProfiling job_profiling = 6; * @return The jobProfiling. */ cz.proto.JobProfiling getJobProfiling(); /** * .cz.proto.JobProfiling job_profiling = 6; */ cz.proto.JobProfilingOrBuilder getJobProfilingOrBuilder(); /** * string stats_download_url = 7; * @return The statsDownloadUrl. */ java.lang.String getStatsDownloadUrl(); /** * string stats_download_url = 7; * @return The bytes for statsDownloadUrl. */ com.google.protobuf.ByteString getStatsDownloadUrlBytes(); /** * string plan_download_url = 8; * @return The planDownloadUrl. */ java.lang.String getPlanDownloadUrl(); /** * string plan_download_url = 8; * @return The bytes for planDownloadUrl. */ com.google.protobuf.ByteString getPlanDownloadUrlBytes(); /** * repeated .cz.proto.JobHistory job_histories = 9; */ java.util.List getJobHistoriesList(); /** * repeated .cz.proto.JobHistory job_histories = 9; */ cz.proto.JobHistory getJobHistories(int index); /** * repeated .cz.proto.JobHistory job_histories = 9; */ int getJobHistoriesCount(); /** * repeated .cz.proto.JobHistory job_histories = 9; */ java.util.List getJobHistoriesOrBuilderList(); /** * repeated .cz.proto.JobHistory job_histories = 9; */ cz.proto.JobHistoryOrBuilder getJobHistoriesOrBuilder( int index); } /** * Protobuf type {@code cz.proto.coordinator.GetJobProfileResponse} */ public static final class GetJobProfileResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.GetJobProfileResponse) GetJobProfileResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetJobProfileResponse.newBuilder() to construct. private GetJobProfileResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetJobProfileResponse() { jobClient_ = ""; statsDownloadUrl_ = ""; planDownloadUrl_ = ""; jobHistories_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetJobProfileResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetJobProfileResponse( 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.ServiceCommon.ResponseStatus.Builder subBuilder = null; if (respStatus_ != null) { subBuilder = respStatus_.toBuilder(); } respStatus_ = input.readMessage(cz.proto.ServiceCommon.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(respStatus_); respStatus_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.Builder subBuilder = null; if (jobDesc_ != null) { subBuilder = jobDesc_.toBuilder(); } jobDesc_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(jobDesc_); jobDesc_ = subBuilder.buildPartial(); } break; } case 26: { cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder subBuilder = null; if (jobStatus_ != null) { subBuilder = jobStatus_.toBuilder(); } jobStatus_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(jobStatus_); jobStatus_ = subBuilder.buildPartial(); } break; } case 34: { cz.proto.JobSummary.Builder subBuilder = null; if (jobSummary_ != null) { subBuilder = jobSummary_.toBuilder(); } jobSummary_ = input.readMessage(cz.proto.JobSummary.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(jobSummary_); jobSummary_ = subBuilder.buildPartial(); } break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); jobClient_ = s; break; } case 50: { cz.proto.JobProfiling.Builder subBuilder = null; if (jobProfiling_ != null) { subBuilder = jobProfiling_.toBuilder(); } jobProfiling_ = input.readMessage(cz.proto.JobProfiling.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(jobProfiling_); jobProfiling_ = subBuilder.buildPartial(); } break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); statsDownloadUrl_ = s; break; } case 66: { java.lang.String s = input.readStringRequireUtf8(); planDownloadUrl_ = s; break; } case 74: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { jobHistories_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } jobHistories_.add( input.readMessage(cz.proto.JobHistory.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)) { jobHistories_ = java.util.Collections.unmodifiableList(jobHistories_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobProfileResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobProfileResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse.Builder.class); } public static final int RESP_STATUS_FIELD_NUMBER = 1; private cz.proto.ServiceCommon.ResponseStatus respStatus_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ @java.lang.Override public boolean hasRespStatus() { return respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } /** * .cz.proto.ResponseStatus resp_status = 1; */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { return getRespStatus(); } public static final int JOB_DESC_FIELD_NUMBER = 2; private cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc jobDesc_; /** * .cz.proto.coordinator.JobDesc job_desc = 2; * @return Whether the jobDesc field is set. */ @java.lang.Override public boolean hasJobDesc() { return jobDesc_ != null; } /** * .cz.proto.coordinator.JobDesc job_desc = 2; * @return The jobDesc. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc getJobDesc() { return jobDesc_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.getDefaultInstance() : jobDesc_; } /** * .cz.proto.coordinator.JobDesc job_desc = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobDescOrBuilder getJobDescOrBuilder() { return getJobDesc(); } public static final int JOB_STATUS_FIELD_NUMBER = 3; private cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus jobStatus_; /** * .cz.proto.coordinator.JobStatus job_status = 3; * @return Whether the jobStatus field is set. */ @java.lang.Override public boolean hasJobStatus() { return jobStatus_ != null; } /** * .cz.proto.coordinator.JobStatus job_status = 3; * @return The jobStatus. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus getJobStatus() { return jobStatus_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.getDefaultInstance() : jobStatus_; } /** * .cz.proto.coordinator.JobStatus job_status = 3; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatusOrBuilder getJobStatusOrBuilder() { return getJobStatus(); } public static final int JOB_SUMMARY_FIELD_NUMBER = 4; private cz.proto.JobSummary jobSummary_; /** * .cz.proto.JobSummary job_summary = 4; * @return Whether the jobSummary field is set. */ @java.lang.Override public boolean hasJobSummary() { return jobSummary_ != null; } /** * .cz.proto.JobSummary job_summary = 4; * @return The jobSummary. */ @java.lang.Override public cz.proto.JobSummary getJobSummary() { return jobSummary_ == null ? cz.proto.JobSummary.getDefaultInstance() : jobSummary_; } /** * .cz.proto.JobSummary job_summary = 4; */ @java.lang.Override public cz.proto.JobSummaryOrBuilder getJobSummaryOrBuilder() { return getJobSummary(); } public static final int JOB_CLIENT_FIELD_NUMBER = 5; private volatile java.lang.Object jobClient_; /** * string job_client = 5; * @return The jobClient. */ @java.lang.Override public java.lang.String getJobClient() { java.lang.Object ref = jobClient_; 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(); jobClient_ = s; return s; } } /** * string job_client = 5; * @return The bytes for jobClient. */ @java.lang.Override public com.google.protobuf.ByteString getJobClientBytes() { java.lang.Object ref = jobClient_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); jobClient_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int JOB_PROFILING_FIELD_NUMBER = 6; private cz.proto.JobProfiling jobProfiling_; /** * .cz.proto.JobProfiling job_profiling = 6; * @return Whether the jobProfiling field is set. */ @java.lang.Override public boolean hasJobProfiling() { return jobProfiling_ != null; } /** * .cz.proto.JobProfiling job_profiling = 6; * @return The jobProfiling. */ @java.lang.Override public cz.proto.JobProfiling getJobProfiling() { return jobProfiling_ == null ? cz.proto.JobProfiling.getDefaultInstance() : jobProfiling_; } /** * .cz.proto.JobProfiling job_profiling = 6; */ @java.lang.Override public cz.proto.JobProfilingOrBuilder getJobProfilingOrBuilder() { return getJobProfiling(); } public static final int STATS_DOWNLOAD_URL_FIELD_NUMBER = 7; private volatile java.lang.Object statsDownloadUrl_; /** * string stats_download_url = 7; * @return The statsDownloadUrl. */ @java.lang.Override public java.lang.String getStatsDownloadUrl() { java.lang.Object ref = statsDownloadUrl_; 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(); statsDownloadUrl_ = s; return s; } } /** * string stats_download_url = 7; * @return The bytes for statsDownloadUrl. */ @java.lang.Override public com.google.protobuf.ByteString getStatsDownloadUrlBytes() { java.lang.Object ref = statsDownloadUrl_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); statsDownloadUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PLAN_DOWNLOAD_URL_FIELD_NUMBER = 8; private volatile java.lang.Object planDownloadUrl_; /** * string plan_download_url = 8; * @return The planDownloadUrl. */ @java.lang.Override public java.lang.String getPlanDownloadUrl() { java.lang.Object ref = planDownloadUrl_; 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(); planDownloadUrl_ = s; return s; } } /** * string plan_download_url = 8; * @return The bytes for planDownloadUrl. */ @java.lang.Override public com.google.protobuf.ByteString getPlanDownloadUrlBytes() { java.lang.Object ref = planDownloadUrl_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); planDownloadUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int JOB_HISTORIES_FIELD_NUMBER = 9; private java.util.List jobHistories_; /** * repeated .cz.proto.JobHistory job_histories = 9; */ @java.lang.Override public java.util.List getJobHistoriesList() { return jobHistories_; } /** * repeated .cz.proto.JobHistory job_histories = 9; */ @java.lang.Override public java.util.List getJobHistoriesOrBuilderList() { return jobHistories_; } /** * repeated .cz.proto.JobHistory job_histories = 9; */ @java.lang.Override public int getJobHistoriesCount() { return jobHistories_.size(); } /** * repeated .cz.proto.JobHistory job_histories = 9; */ @java.lang.Override public cz.proto.JobHistory getJobHistories(int index) { return jobHistories_.get(index); } /** * repeated .cz.proto.JobHistory job_histories = 9; */ @java.lang.Override public cz.proto.JobHistoryOrBuilder getJobHistoriesOrBuilder( int index) { return jobHistories_.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 (respStatus_ != null) { output.writeMessage(1, getRespStatus()); } if (jobDesc_ != null) { output.writeMessage(2, getJobDesc()); } if (jobStatus_ != null) { output.writeMessage(3, getJobStatus()); } if (jobSummary_ != null) { output.writeMessage(4, getJobSummary()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobClient_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, jobClient_); } if (jobProfiling_ != null) { output.writeMessage(6, getJobProfiling()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statsDownloadUrl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, statsDownloadUrl_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(planDownloadUrl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, planDownloadUrl_); } for (int i = 0; i < jobHistories_.size(); i++) { output.writeMessage(9, jobHistories_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (respStatus_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRespStatus()); } if (jobDesc_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getJobDesc()); } if (jobStatus_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getJobStatus()); } if (jobSummary_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getJobSummary()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(jobClient_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, jobClient_); } if (jobProfiling_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getJobProfiling()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statsDownloadUrl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, statsDownloadUrl_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(planDownloadUrl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, planDownloadUrl_); } for (int i = 0; i < jobHistories_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, jobHistories_.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.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse other = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse) obj; if (hasRespStatus() != other.hasRespStatus()) return false; if (hasRespStatus()) { if (!getRespStatus() .equals(other.getRespStatus())) return false; } if (hasJobDesc() != other.hasJobDesc()) return false; if (hasJobDesc()) { if (!getJobDesc() .equals(other.getJobDesc())) return false; } if (hasJobStatus() != other.hasJobStatus()) return false; if (hasJobStatus()) { if (!getJobStatus() .equals(other.getJobStatus())) return false; } if (hasJobSummary() != other.hasJobSummary()) return false; if (hasJobSummary()) { if (!getJobSummary() .equals(other.getJobSummary())) return false; } if (!getJobClient() .equals(other.getJobClient())) return false; if (hasJobProfiling() != other.hasJobProfiling()) return false; if (hasJobProfiling()) { if (!getJobProfiling() .equals(other.getJobProfiling())) return false; } if (!getStatsDownloadUrl() .equals(other.getStatsDownloadUrl())) return false; if (!getPlanDownloadUrl() .equals(other.getPlanDownloadUrl())) return false; if (!getJobHistoriesList() .equals(other.getJobHistoriesList())) 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 (hasRespStatus()) { hash = (37 * hash) + RESP_STATUS_FIELD_NUMBER; hash = (53 * hash) + getRespStatus().hashCode(); } if (hasJobDesc()) { hash = (37 * hash) + JOB_DESC_FIELD_NUMBER; hash = (53 * hash) + getJobDesc().hashCode(); } if (hasJobStatus()) { hash = (37 * hash) + JOB_STATUS_FIELD_NUMBER; hash = (53 * hash) + getJobStatus().hashCode(); } if (hasJobSummary()) { hash = (37 * hash) + JOB_SUMMARY_FIELD_NUMBER; hash = (53 * hash) + getJobSummary().hashCode(); } hash = (37 * hash) + JOB_CLIENT_FIELD_NUMBER; hash = (53 * hash) + getJobClient().hashCode(); if (hasJobProfiling()) { hash = (37 * hash) + JOB_PROFILING_FIELD_NUMBER; hash = (53 * hash) + getJobProfiling().hashCode(); } hash = (37 * hash) + STATS_DOWNLOAD_URL_FIELD_NUMBER; hash = (53 * hash) + getStatsDownloadUrl().hashCode(); hash = (37 * hash) + PLAN_DOWNLOAD_URL_FIELD_NUMBER; hash = (53 * hash) + getPlanDownloadUrl().hashCode(); if (getJobHistoriesCount() > 0) { hash = (37 * hash) + JOB_HISTORIES_FIELD_NUMBER; hash = (53 * hash) + getJobHistoriesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse 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.coordinator.GetJobProfileResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.GetJobProfileResponse) cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobProfileResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobProfileResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getJobHistoriesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (respStatusBuilder_ == null) { respStatus_ = null; } else { respStatus_ = null; respStatusBuilder_ = null; } if (jobDescBuilder_ == null) { jobDesc_ = null; } else { jobDesc_ = null; jobDescBuilder_ = null; } if (jobStatusBuilder_ == null) { jobStatus_ = null; } else { jobStatus_ = null; jobStatusBuilder_ = null; } if (jobSummaryBuilder_ == null) { jobSummary_ = null; } else { jobSummary_ = null; jobSummaryBuilder_ = null; } jobClient_ = ""; if (jobProfilingBuilder_ == null) { jobProfiling_ = null; } else { jobProfiling_ = null; jobProfilingBuilder_ = null; } statsDownloadUrl_ = ""; planDownloadUrl_ = ""; if (jobHistoriesBuilder_ == null) { jobHistories_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { jobHistoriesBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobProfileResponse_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse build() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse result = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse(this); int from_bitField0_ = bitField0_; if (respStatusBuilder_ == null) { result.respStatus_ = respStatus_; } else { result.respStatus_ = respStatusBuilder_.build(); } if (jobDescBuilder_ == null) { result.jobDesc_ = jobDesc_; } else { result.jobDesc_ = jobDescBuilder_.build(); } if (jobStatusBuilder_ == null) { result.jobStatus_ = jobStatus_; } else { result.jobStatus_ = jobStatusBuilder_.build(); } if (jobSummaryBuilder_ == null) { result.jobSummary_ = jobSummary_; } else { result.jobSummary_ = jobSummaryBuilder_.build(); } result.jobClient_ = jobClient_; if (jobProfilingBuilder_ == null) { result.jobProfiling_ = jobProfiling_; } else { result.jobProfiling_ = jobProfilingBuilder_.build(); } result.statsDownloadUrl_ = statsDownloadUrl_; result.planDownloadUrl_ = planDownloadUrl_; if (jobHistoriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { jobHistories_ = java.util.Collections.unmodifiableList(jobHistories_); bitField0_ = (bitField0_ & ~0x00000001); } result.jobHistories_ = jobHistories_; } else { result.jobHistories_ = jobHistoriesBuilder_.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.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse.getDefaultInstance()) return this; if (other.hasRespStatus()) { mergeRespStatus(other.getRespStatus()); } if (other.hasJobDesc()) { mergeJobDesc(other.getJobDesc()); } if (other.hasJobStatus()) { mergeJobStatus(other.getJobStatus()); } if (other.hasJobSummary()) { mergeJobSummary(other.getJobSummary()); } if (!other.getJobClient().isEmpty()) { jobClient_ = other.jobClient_; onChanged(); } if (other.hasJobProfiling()) { mergeJobProfiling(other.getJobProfiling()); } if (!other.getStatsDownloadUrl().isEmpty()) { statsDownloadUrl_ = other.statsDownloadUrl_; onChanged(); } if (!other.getPlanDownloadUrl().isEmpty()) { planDownloadUrl_ = other.planDownloadUrl_; onChanged(); } if (jobHistoriesBuilder_ == null) { if (!other.jobHistories_.isEmpty()) { if (jobHistories_.isEmpty()) { jobHistories_ = other.jobHistories_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureJobHistoriesIsMutable(); jobHistories_.addAll(other.jobHistories_); } onChanged(); } } else { if (!other.jobHistories_.isEmpty()) { if (jobHistoriesBuilder_.isEmpty()) { jobHistoriesBuilder_.dispose(); jobHistoriesBuilder_ = null; jobHistories_ = other.jobHistories_; bitField0_ = (bitField0_ & ~0x00000001); jobHistoriesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getJobHistoriesFieldBuilder() : null; } else { jobHistoriesBuilder_.addAllMessages(other.jobHistories_); } } } 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.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.ServiceCommon.ResponseStatus respStatus_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> respStatusBuilder_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ public boolean hasRespStatus() { return respStatusBuilder_ != null || respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { if (respStatusBuilder_ == null) { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } else { return respStatusBuilder_.getMessage(); } } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } respStatus_ = value; onChanged(); } else { respStatusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus( cz.proto.ServiceCommon.ResponseStatus.Builder builderForValue) { if (respStatusBuilder_ == null) { respStatus_ = builderForValue.build(); onChanged(); } else { respStatusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder mergeRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (respStatus_ != null) { respStatus_ = cz.proto.ServiceCommon.ResponseStatus.newBuilder(respStatus_).mergeFrom(value).buildPartial(); } else { respStatus_ = value; } onChanged(); } else { respStatusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder clearRespStatus() { if (respStatusBuilder_ == null) { respStatus_ = null; onChanged(); } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatus.Builder getRespStatusBuilder() { onChanged(); return getRespStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { if (respStatusBuilder_ != null) { return respStatusBuilder_.getMessageOrBuilder(); } else { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } } /** * .cz.proto.ResponseStatus resp_status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> getRespStatusFieldBuilder() { if (respStatusBuilder_ == null) { respStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder>( getRespStatus(), getParentForChildren(), isClean()); respStatus_ = null; } return respStatusBuilder_; } private cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc jobDesc_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc, cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobDescOrBuilder> jobDescBuilder_; /** * .cz.proto.coordinator.JobDesc job_desc = 2; * @return Whether the jobDesc field is set. */ public boolean hasJobDesc() { return jobDescBuilder_ != null || jobDesc_ != null; } /** * .cz.proto.coordinator.JobDesc job_desc = 2; * @return The jobDesc. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc getJobDesc() { if (jobDescBuilder_ == null) { return jobDesc_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.getDefaultInstance() : jobDesc_; } else { return jobDescBuilder_.getMessage(); } } /** * .cz.proto.coordinator.JobDesc job_desc = 2; */ public Builder setJobDesc(cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc value) { if (jobDescBuilder_ == null) { if (value == null) { throw new NullPointerException(); } jobDesc_ = value; onChanged(); } else { jobDescBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.JobDesc job_desc = 2; */ public Builder setJobDesc( cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.Builder builderForValue) { if (jobDescBuilder_ == null) { jobDesc_ = builderForValue.build(); onChanged(); } else { jobDescBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.JobDesc job_desc = 2; */ public Builder mergeJobDesc(cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc value) { if (jobDescBuilder_ == null) { if (jobDesc_ != null) { jobDesc_ = cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.newBuilder(jobDesc_).mergeFrom(value).buildPartial(); } else { jobDesc_ = value; } onChanged(); } else { jobDescBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.JobDesc job_desc = 2; */ public Builder clearJobDesc() { if (jobDescBuilder_ == null) { jobDesc_ = null; onChanged(); } else { jobDesc_ = null; jobDescBuilder_ = null; } return this; } /** * .cz.proto.coordinator.JobDesc job_desc = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.Builder getJobDescBuilder() { onChanged(); return getJobDescFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.JobDesc job_desc = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobDescOrBuilder getJobDescOrBuilder() { if (jobDescBuilder_ != null) { return jobDescBuilder_.getMessageOrBuilder(); } else { return jobDesc_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.getDefaultInstance() : jobDesc_; } } /** * .cz.proto.coordinator.JobDesc job_desc = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc, cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobDescOrBuilder> getJobDescFieldBuilder() { if (jobDescBuilder_ == null) { jobDescBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc, cz.proto.coordinator.CoordinatorServiceOuterClass.JobDesc.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobDescOrBuilder>( getJobDesc(), getParentForChildren(), isClean()); jobDesc_ = null; } return jobDescBuilder_; } private cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus jobStatus_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatusOrBuilder> jobStatusBuilder_; /** * .cz.proto.coordinator.JobStatus job_status = 3; * @return Whether the jobStatus field is set. */ public boolean hasJobStatus() { return jobStatusBuilder_ != null || jobStatus_ != null; } /** * .cz.proto.coordinator.JobStatus job_status = 3; * @return The jobStatus. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus getJobStatus() { if (jobStatusBuilder_ == null) { return jobStatus_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.getDefaultInstance() : jobStatus_; } else { return jobStatusBuilder_.getMessage(); } } /** * .cz.proto.coordinator.JobStatus job_status = 3; */ public Builder setJobStatus(cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus value) { if (jobStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } jobStatus_ = value; onChanged(); } else { jobStatusBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.JobStatus job_status = 3; */ public Builder setJobStatus( cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder builderForValue) { if (jobStatusBuilder_ == null) { jobStatus_ = builderForValue.build(); onChanged(); } else { jobStatusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.JobStatus job_status = 3; */ public Builder mergeJobStatus(cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus value) { if (jobStatusBuilder_ == null) { if (jobStatus_ != null) { jobStatus_ = cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.newBuilder(jobStatus_).mergeFrom(value).buildPartial(); } else { jobStatus_ = value; } onChanged(); } else { jobStatusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.JobStatus job_status = 3; */ public Builder clearJobStatus() { if (jobStatusBuilder_ == null) { jobStatus_ = null; onChanged(); } else { jobStatus_ = null; jobStatusBuilder_ = null; } return this; } /** * .cz.proto.coordinator.JobStatus job_status = 3; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder getJobStatusBuilder() { onChanged(); return getJobStatusFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.JobStatus job_status = 3; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatusOrBuilder getJobStatusOrBuilder() { if (jobStatusBuilder_ != null) { return jobStatusBuilder_.getMessageOrBuilder(); } else { return jobStatus_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.getDefaultInstance() : jobStatus_; } } /** * .cz.proto.coordinator.JobStatus job_status = 3; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatusOrBuilder> getJobStatusFieldBuilder() { if (jobStatusBuilder_ == null) { jobStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatus.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobStatusOrBuilder>( getJobStatus(), getParentForChildren(), isClean()); jobStatus_ = null; } return jobStatusBuilder_; } private cz.proto.JobSummary jobSummary_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.JobSummary, cz.proto.JobSummary.Builder, cz.proto.JobSummaryOrBuilder> jobSummaryBuilder_; /** * .cz.proto.JobSummary job_summary = 4; * @return Whether the jobSummary field is set. */ public boolean hasJobSummary() { return jobSummaryBuilder_ != null || jobSummary_ != null; } /** * .cz.proto.JobSummary job_summary = 4; * @return The jobSummary. */ public cz.proto.JobSummary getJobSummary() { if (jobSummaryBuilder_ == null) { return jobSummary_ == null ? cz.proto.JobSummary.getDefaultInstance() : jobSummary_; } else { return jobSummaryBuilder_.getMessage(); } } /** * .cz.proto.JobSummary job_summary = 4; */ public Builder setJobSummary(cz.proto.JobSummary value) { if (jobSummaryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } jobSummary_ = value; onChanged(); } else { jobSummaryBuilder_.setMessage(value); } return this; } /** * .cz.proto.JobSummary job_summary = 4; */ public Builder setJobSummary( cz.proto.JobSummary.Builder builderForValue) { if (jobSummaryBuilder_ == null) { jobSummary_ = builderForValue.build(); onChanged(); } else { jobSummaryBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.JobSummary job_summary = 4; */ public Builder mergeJobSummary(cz.proto.JobSummary value) { if (jobSummaryBuilder_ == null) { if (jobSummary_ != null) { jobSummary_ = cz.proto.JobSummary.newBuilder(jobSummary_).mergeFrom(value).buildPartial(); } else { jobSummary_ = value; } onChanged(); } else { jobSummaryBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.JobSummary job_summary = 4; */ public Builder clearJobSummary() { if (jobSummaryBuilder_ == null) { jobSummary_ = null; onChanged(); } else { jobSummary_ = null; jobSummaryBuilder_ = null; } return this; } /** * .cz.proto.JobSummary job_summary = 4; */ public cz.proto.JobSummary.Builder getJobSummaryBuilder() { onChanged(); return getJobSummaryFieldBuilder().getBuilder(); } /** * .cz.proto.JobSummary job_summary = 4; */ public cz.proto.JobSummaryOrBuilder getJobSummaryOrBuilder() { if (jobSummaryBuilder_ != null) { return jobSummaryBuilder_.getMessageOrBuilder(); } else { return jobSummary_ == null ? cz.proto.JobSummary.getDefaultInstance() : jobSummary_; } } /** * .cz.proto.JobSummary job_summary = 4; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.JobSummary, cz.proto.JobSummary.Builder, cz.proto.JobSummaryOrBuilder> getJobSummaryFieldBuilder() { if (jobSummaryBuilder_ == null) { jobSummaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.JobSummary, cz.proto.JobSummary.Builder, cz.proto.JobSummaryOrBuilder>( getJobSummary(), getParentForChildren(), isClean()); jobSummary_ = null; } return jobSummaryBuilder_; } private java.lang.Object jobClient_ = ""; /** * string job_client = 5; * @return The jobClient. */ public java.lang.String getJobClient() { java.lang.Object ref = jobClient_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); jobClient_ = s; return s; } else { return (java.lang.String) ref; } } /** * string job_client = 5; * @return The bytes for jobClient. */ public com.google.protobuf.ByteString getJobClientBytes() { java.lang.Object ref = jobClient_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); jobClient_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string job_client = 5; * @param value The jobClient to set. * @return This builder for chaining. */ public Builder setJobClient( java.lang.String value) { if (value == null) { throw new NullPointerException(); } jobClient_ = value; onChanged(); return this; } /** * string job_client = 5; * @return This builder for chaining. */ public Builder clearJobClient() { jobClient_ = getDefaultInstance().getJobClient(); onChanged(); return this; } /** * string job_client = 5; * @param value The bytes for jobClient to set. * @return This builder for chaining. */ public Builder setJobClientBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); jobClient_ = value; onChanged(); return this; } private cz.proto.JobProfiling jobProfiling_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.JobProfiling, cz.proto.JobProfiling.Builder, cz.proto.JobProfilingOrBuilder> jobProfilingBuilder_; /** * .cz.proto.JobProfiling job_profiling = 6; * @return Whether the jobProfiling field is set. */ public boolean hasJobProfiling() { return jobProfilingBuilder_ != null || jobProfiling_ != null; } /** * .cz.proto.JobProfiling job_profiling = 6; * @return The jobProfiling. */ public cz.proto.JobProfiling getJobProfiling() { if (jobProfilingBuilder_ == null) { return jobProfiling_ == null ? cz.proto.JobProfiling.getDefaultInstance() : jobProfiling_; } else { return jobProfilingBuilder_.getMessage(); } } /** * .cz.proto.JobProfiling job_profiling = 6; */ public Builder setJobProfiling(cz.proto.JobProfiling value) { if (jobProfilingBuilder_ == null) { if (value == null) { throw new NullPointerException(); } jobProfiling_ = value; onChanged(); } else { jobProfilingBuilder_.setMessage(value); } return this; } /** * .cz.proto.JobProfiling job_profiling = 6; */ public Builder setJobProfiling( cz.proto.JobProfiling.Builder builderForValue) { if (jobProfilingBuilder_ == null) { jobProfiling_ = builderForValue.build(); onChanged(); } else { jobProfilingBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.JobProfiling job_profiling = 6; */ public Builder mergeJobProfiling(cz.proto.JobProfiling value) { if (jobProfilingBuilder_ == null) { if (jobProfiling_ != null) { jobProfiling_ = cz.proto.JobProfiling.newBuilder(jobProfiling_).mergeFrom(value).buildPartial(); } else { jobProfiling_ = value; } onChanged(); } else { jobProfilingBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.JobProfiling job_profiling = 6; */ public Builder clearJobProfiling() { if (jobProfilingBuilder_ == null) { jobProfiling_ = null; onChanged(); } else { jobProfiling_ = null; jobProfilingBuilder_ = null; } return this; } /** * .cz.proto.JobProfiling job_profiling = 6; */ public cz.proto.JobProfiling.Builder getJobProfilingBuilder() { onChanged(); return getJobProfilingFieldBuilder().getBuilder(); } /** * .cz.proto.JobProfiling job_profiling = 6; */ public cz.proto.JobProfilingOrBuilder getJobProfilingOrBuilder() { if (jobProfilingBuilder_ != null) { return jobProfilingBuilder_.getMessageOrBuilder(); } else { return jobProfiling_ == null ? cz.proto.JobProfiling.getDefaultInstance() : jobProfiling_; } } /** * .cz.proto.JobProfiling job_profiling = 6; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.JobProfiling, cz.proto.JobProfiling.Builder, cz.proto.JobProfilingOrBuilder> getJobProfilingFieldBuilder() { if (jobProfilingBuilder_ == null) { jobProfilingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.JobProfiling, cz.proto.JobProfiling.Builder, cz.proto.JobProfilingOrBuilder>( getJobProfiling(), getParentForChildren(), isClean()); jobProfiling_ = null; } return jobProfilingBuilder_; } private java.lang.Object statsDownloadUrl_ = ""; /** * string stats_download_url = 7; * @return The statsDownloadUrl. */ public java.lang.String getStatsDownloadUrl() { java.lang.Object ref = statsDownloadUrl_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statsDownloadUrl_ = s; return s; } else { return (java.lang.String) ref; } } /** * string stats_download_url = 7; * @return The bytes for statsDownloadUrl. */ public com.google.protobuf.ByteString getStatsDownloadUrlBytes() { java.lang.Object ref = statsDownloadUrl_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); statsDownloadUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string stats_download_url = 7; * @param value The statsDownloadUrl to set. * @return This builder for chaining. */ public Builder setStatsDownloadUrl( java.lang.String value) { if (value == null) { throw new NullPointerException(); } statsDownloadUrl_ = value; onChanged(); return this; } /** * string stats_download_url = 7; * @return This builder for chaining. */ public Builder clearStatsDownloadUrl() { statsDownloadUrl_ = getDefaultInstance().getStatsDownloadUrl(); onChanged(); return this; } /** * string stats_download_url = 7; * @param value The bytes for statsDownloadUrl to set. * @return This builder for chaining. */ public Builder setStatsDownloadUrlBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); statsDownloadUrl_ = value; onChanged(); return this; } private java.lang.Object planDownloadUrl_ = ""; /** * string plan_download_url = 8; * @return The planDownloadUrl. */ public java.lang.String getPlanDownloadUrl() { java.lang.Object ref = planDownloadUrl_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); planDownloadUrl_ = s; return s; } else { return (java.lang.String) ref; } } /** * string plan_download_url = 8; * @return The bytes for planDownloadUrl. */ public com.google.protobuf.ByteString getPlanDownloadUrlBytes() { java.lang.Object ref = planDownloadUrl_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); planDownloadUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string plan_download_url = 8; * @param value The planDownloadUrl to set. * @return This builder for chaining. */ public Builder setPlanDownloadUrl( java.lang.String value) { if (value == null) { throw new NullPointerException(); } planDownloadUrl_ = value; onChanged(); return this; } /** * string plan_download_url = 8; * @return This builder for chaining. */ public Builder clearPlanDownloadUrl() { planDownloadUrl_ = getDefaultInstance().getPlanDownloadUrl(); onChanged(); return this; } /** * string plan_download_url = 8; * @param value The bytes for planDownloadUrl to set. * @return This builder for chaining. */ public Builder setPlanDownloadUrlBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); planDownloadUrl_ = value; onChanged(); return this; } private java.util.List jobHistories_ = java.util.Collections.emptyList(); private void ensureJobHistoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobHistories_ = new java.util.ArrayList(jobHistories_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.JobHistory, cz.proto.JobHistory.Builder, cz.proto.JobHistoryOrBuilder> jobHistoriesBuilder_; /** * repeated .cz.proto.JobHistory job_histories = 9; */ public java.util.List getJobHistoriesList() { if (jobHistoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(jobHistories_); } else { return jobHistoriesBuilder_.getMessageList(); } } /** * repeated .cz.proto.JobHistory job_histories = 9; */ public int getJobHistoriesCount() { if (jobHistoriesBuilder_ == null) { return jobHistories_.size(); } else { return jobHistoriesBuilder_.getCount(); } } /** * repeated .cz.proto.JobHistory job_histories = 9; */ public cz.proto.JobHistory getJobHistories(int index) { if (jobHistoriesBuilder_ == null) { return jobHistories_.get(index); } else { return jobHistoriesBuilder_.getMessage(index); } } /** * repeated .cz.proto.JobHistory job_histories = 9; */ public Builder setJobHistories( int index, cz.proto.JobHistory value) { if (jobHistoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureJobHistoriesIsMutable(); jobHistories_.set(index, value); onChanged(); } else { jobHistoriesBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.JobHistory job_histories = 9; */ public Builder setJobHistories( int index, cz.proto.JobHistory.Builder builderForValue) { if (jobHistoriesBuilder_ == null) { ensureJobHistoriesIsMutable(); jobHistories_.set(index, builderForValue.build()); onChanged(); } else { jobHistoriesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.JobHistory job_histories = 9; */ public Builder addJobHistories(cz.proto.JobHistory value) { if (jobHistoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureJobHistoriesIsMutable(); jobHistories_.add(value); onChanged(); } else { jobHistoriesBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.JobHistory job_histories = 9; */ public Builder addJobHistories( int index, cz.proto.JobHistory value) { if (jobHistoriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureJobHistoriesIsMutable(); jobHistories_.add(index, value); onChanged(); } else { jobHistoriesBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.JobHistory job_histories = 9; */ public Builder addJobHistories( cz.proto.JobHistory.Builder builderForValue) { if (jobHistoriesBuilder_ == null) { ensureJobHistoriesIsMutable(); jobHistories_.add(builderForValue.build()); onChanged(); } else { jobHistoriesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.JobHistory job_histories = 9; */ public Builder addJobHistories( int index, cz.proto.JobHistory.Builder builderForValue) { if (jobHistoriesBuilder_ == null) { ensureJobHistoriesIsMutable(); jobHistories_.add(index, builderForValue.build()); onChanged(); } else { jobHistoriesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.JobHistory job_histories = 9; */ public Builder addAllJobHistories( java.lang.Iterable values) { if (jobHistoriesBuilder_ == null) { ensureJobHistoriesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, jobHistories_); onChanged(); } else { jobHistoriesBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.JobHistory job_histories = 9; */ public Builder clearJobHistories() { if (jobHistoriesBuilder_ == null) { jobHistories_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { jobHistoriesBuilder_.clear(); } return this; } /** * repeated .cz.proto.JobHistory job_histories = 9; */ public Builder removeJobHistories(int index) { if (jobHistoriesBuilder_ == null) { ensureJobHistoriesIsMutable(); jobHistories_.remove(index); onChanged(); } else { jobHistoriesBuilder_.remove(index); } return this; } /** * repeated .cz.proto.JobHistory job_histories = 9; */ public cz.proto.JobHistory.Builder getJobHistoriesBuilder( int index) { return getJobHistoriesFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.JobHistory job_histories = 9; */ public cz.proto.JobHistoryOrBuilder getJobHistoriesOrBuilder( int index) { if (jobHistoriesBuilder_ == null) { return jobHistories_.get(index); } else { return jobHistoriesBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.JobHistory job_histories = 9; */ public java.util.List getJobHistoriesOrBuilderList() { if (jobHistoriesBuilder_ != null) { return jobHistoriesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(jobHistories_); } } /** * repeated .cz.proto.JobHistory job_histories = 9; */ public cz.proto.JobHistory.Builder addJobHistoriesBuilder() { return getJobHistoriesFieldBuilder().addBuilder( cz.proto.JobHistory.getDefaultInstance()); } /** * repeated .cz.proto.JobHistory job_histories = 9; */ public cz.proto.JobHistory.Builder addJobHistoriesBuilder( int index) { return getJobHistoriesFieldBuilder().addBuilder( index, cz.proto.JobHistory.getDefaultInstance()); } /** * repeated .cz.proto.JobHistory job_histories = 9; */ public java.util.List getJobHistoriesBuilderList() { return getJobHistoriesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.JobHistory, cz.proto.JobHistory.Builder, cz.proto.JobHistoryOrBuilder> getJobHistoriesFieldBuilder() { if (jobHistoriesBuilder_ == null) { jobHistoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.JobHistory, cz.proto.JobHistory.Builder, cz.proto.JobHistoryOrBuilder>( jobHistories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); jobHistories_ = null; } return jobHistoriesBuilder_; } @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.coordinator.GetJobProfileResponse) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.GetJobProfileResponse) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetJobProfileResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetJobProfileResponse(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.coordinator.CoordinatorServiceOuterClass.GetJobProfileResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetJobSummaryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.GetJobSummaryRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount(); /** * .cz.proto.coordinator.Account account = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder(); /** * .cz.proto.coordinator.JobID job_id = 2; * @return Whether the jobId field is set. */ boolean hasJobId(); /** * .cz.proto.coordinator.JobID job_id = 2; * @return The jobId. */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId(); /** * .cz.proto.coordinator.JobID job_id = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder(); /** * string user_agent = 10; * @return The userAgent. */ java.lang.String getUserAgent(); /** * string user_agent = 10; * @return The bytes for userAgent. */ com.google.protobuf.ByteString getUserAgentBytes(); } /** * Protobuf type {@code cz.proto.coordinator.GetJobSummaryRequest} */ public static final class GetJobSummaryRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.GetJobSummaryRequest) GetJobSummaryRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetJobSummaryRequest.newBuilder() to construct. private GetJobSummaryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetJobSummaryRequest() { userAgent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetJobSummaryRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetJobSummaryRequest( 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.coordinator.CoordinatorServiceOuterClass.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder subBuilder = null; if (jobId_ != null) { subBuilder = jobId_.toBuilder(); } jobId_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(jobId_); jobId_ = subBuilder.buildPartial(); } break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); userAgent_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobSummaryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobSummaryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } /** * .cz.proto.coordinator.Account account = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int JOB_ID_FIELD_NUMBER = 2; private cz.proto.coordinator.CoordinatorServiceOuterClass.JobID jobId_; /** * .cz.proto.coordinator.JobID job_id = 2; * @return Whether the jobId field is set. */ @java.lang.Override public boolean hasJobId() { return jobId_ != null; } /** * .cz.proto.coordinator.JobID job_id = 2; * @return The jobId. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId() { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } /** * .cz.proto.coordinator.JobID job_id = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder() { return getJobId(); } public static final int USER_AGENT_FIELD_NUMBER = 10; private volatile java.lang.Object userAgent_; /** * string user_agent = 10; * @return The userAgent. */ @java.lang.Override public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; 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(); userAgent_ = s; return s; } } /** * string user_agent = 10; * @return The bytes for userAgent. */ @java.lang.Override public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (account_ != null) { output.writeMessage(1, getAccount()); } if (jobId_ != null) { output.writeMessage(2, getJobId()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, userAgent_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAccount()); } if (jobId_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getJobId()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, userAgent_); } 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.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest other = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (hasJobId() != other.hasJobId()) return false; if (hasJobId()) { if (!getJobId() .equals(other.getJobId())) return false; } if (!getUserAgent() .equals(other.getUserAgent())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } if (hasJobId()) { hash = (37 * hash) + JOB_ID_FIELD_NUMBER; hash = (53 * hash) + getJobId().hashCode(); } hash = (37 * hash) + USER_AGENT_FIELD_NUMBER; hash = (53 * hash) + getUserAgent().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest 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.coordinator.GetJobSummaryRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.GetJobSummaryRequest) cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobSummaryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobSummaryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } if (jobIdBuilder_ == null) { jobId_ = null; } else { jobId_ = null; jobIdBuilder_ = null; } userAgent_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobSummaryRequest_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest build() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest result = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest(this); if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } if (jobIdBuilder_ == null) { result.jobId_ = jobId_; } else { result.jobId_ = jobIdBuilder_.build(); } result.userAgent_ = userAgent_; 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.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (other.hasJobId()) { mergeJobId(other.getJobId()); } if (!other.getUserAgent().isEmpty()) { userAgent_ = other.userAgent_; 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.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> accountBuilder_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount( cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder mergeAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.coordinator.CoordinatorServiceOuterClass.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } } /** * .cz.proto.coordinator.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private cz.proto.coordinator.CoordinatorServiceOuterClass.JobID jobId_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder> jobIdBuilder_; /** * .cz.proto.coordinator.JobID job_id = 2; * @return Whether the jobId field is set. */ public boolean hasJobId() { return jobIdBuilder_ != null || jobId_ != null; } /** * .cz.proto.coordinator.JobID job_id = 2; * @return The jobId. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId() { if (jobIdBuilder_ == null) { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } else { return jobIdBuilder_.getMessage(); } } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder setJobId(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID value) { if (jobIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } jobId_ = value; onChanged(); } else { jobIdBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder setJobId( cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder builderForValue) { if (jobIdBuilder_ == null) { jobId_ = builderForValue.build(); onChanged(); } else { jobIdBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder mergeJobId(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID value) { if (jobIdBuilder_ == null) { if (jobId_ != null) { jobId_ = cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.newBuilder(jobId_).mergeFrom(value).buildPartial(); } else { jobId_ = value; } onChanged(); } else { jobIdBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder clearJobId() { if (jobIdBuilder_ == null) { jobId_ = null; onChanged(); } else { jobId_ = null; jobIdBuilder_ = null; } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder getJobIdBuilder() { onChanged(); return getJobIdFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.JobID job_id = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder() { if (jobIdBuilder_ != null) { return jobIdBuilder_.getMessageOrBuilder(); } else { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } } /** * .cz.proto.coordinator.JobID job_id = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder> getJobIdFieldBuilder() { if (jobIdBuilder_ == null) { jobIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder>( getJobId(), getParentForChildren(), isClean()); jobId_ = null; } return jobIdBuilder_; } private java.lang.Object userAgent_ = ""; /** * string user_agent = 10; * @return The userAgent. */ public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userAgent_ = s; return s; } else { return (java.lang.String) ref; } } /** * string user_agent = 10; * @return The bytes for userAgent. */ public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string user_agent = 10; * @param value The userAgent to set. * @return This builder for chaining. */ public Builder setUserAgent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userAgent_ = value; onChanged(); return this; } /** * string user_agent = 10; * @return This builder for chaining. */ public Builder clearUserAgent() { userAgent_ = getDefaultInstance().getUserAgent(); onChanged(); return this; } /** * string user_agent = 10; * @param value The bytes for userAgent to set. * @return This builder for chaining. */ public Builder setUserAgentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userAgent_ = 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.coordinator.GetJobSummaryRequest) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.GetJobSummaryRequest) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetJobSummaryRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetJobSummaryRequest(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.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetJobSummaryResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.GetJobSummaryResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ boolean hasRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ cz.proto.ServiceCommon.ResponseStatus getRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; */ cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder(); /** * .cz.proto.JobSummary job_summary = 2; * @return Whether the jobSummary field is set. */ boolean hasJobSummary(); /** * .cz.proto.JobSummary job_summary = 2; * @return The jobSummary. */ cz.proto.JobSummary getJobSummary(); /** * .cz.proto.JobSummary job_summary = 2; */ cz.proto.JobSummaryOrBuilder getJobSummaryOrBuilder(); } /** * Protobuf type {@code cz.proto.coordinator.GetJobSummaryResponse} */ public static final class GetJobSummaryResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.GetJobSummaryResponse) GetJobSummaryResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetJobSummaryResponse.newBuilder() to construct. private GetJobSummaryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetJobSummaryResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetJobSummaryResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetJobSummaryResponse( 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.ServiceCommon.ResponseStatus.Builder subBuilder = null; if (respStatus_ != null) { subBuilder = respStatus_.toBuilder(); } respStatus_ = input.readMessage(cz.proto.ServiceCommon.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(respStatus_); respStatus_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.JobSummary.Builder subBuilder = null; if (jobSummary_ != null) { subBuilder = jobSummary_.toBuilder(); } jobSummary_ = input.readMessage(cz.proto.JobSummary.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(jobSummary_); jobSummary_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobSummaryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobSummaryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse.Builder.class); } public static final int RESP_STATUS_FIELD_NUMBER = 1; private cz.proto.ServiceCommon.ResponseStatus respStatus_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ @java.lang.Override public boolean hasRespStatus() { return respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } /** * .cz.proto.ResponseStatus resp_status = 1; */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { return getRespStatus(); } public static final int JOB_SUMMARY_FIELD_NUMBER = 2; private cz.proto.JobSummary jobSummary_; /** * .cz.proto.JobSummary job_summary = 2; * @return Whether the jobSummary field is set. */ @java.lang.Override public boolean hasJobSummary() { return jobSummary_ != null; } /** * .cz.proto.JobSummary job_summary = 2; * @return The jobSummary. */ @java.lang.Override public cz.proto.JobSummary getJobSummary() { return jobSummary_ == null ? cz.proto.JobSummary.getDefaultInstance() : jobSummary_; } /** * .cz.proto.JobSummary job_summary = 2; */ @java.lang.Override public cz.proto.JobSummaryOrBuilder getJobSummaryOrBuilder() { return getJobSummary(); } 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 (respStatus_ != null) { output.writeMessage(1, getRespStatus()); } if (jobSummary_ != null) { output.writeMessage(2, getJobSummary()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (respStatus_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRespStatus()); } if (jobSummary_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getJobSummary()); } 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.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse other = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse) obj; if (hasRespStatus() != other.hasRespStatus()) return false; if (hasRespStatus()) { if (!getRespStatus() .equals(other.getRespStatus())) return false; } if (hasJobSummary() != other.hasJobSummary()) return false; if (hasJobSummary()) { if (!getJobSummary() .equals(other.getJobSummary())) 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 (hasRespStatus()) { hash = (37 * hash) + RESP_STATUS_FIELD_NUMBER; hash = (53 * hash) + getRespStatus().hashCode(); } if (hasJobSummary()) { hash = (37 * hash) + JOB_SUMMARY_FIELD_NUMBER; hash = (53 * hash) + getJobSummary().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse 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.coordinator.GetJobSummaryResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.GetJobSummaryResponse) cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobSummaryResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobSummaryResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse.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 (respStatusBuilder_ == null) { respStatus_ = null; } else { respStatus_ = null; respStatusBuilder_ = null; } if (jobSummaryBuilder_ == null) { jobSummary_ = null; } else { jobSummary_ = null; jobSummaryBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobSummaryResponse_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse build() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse result = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse(this); if (respStatusBuilder_ == null) { result.respStatus_ = respStatus_; } else { result.respStatus_ = respStatusBuilder_.build(); } if (jobSummaryBuilder_ == null) { result.jobSummary_ = jobSummary_; } else { result.jobSummary_ = jobSummaryBuilder_.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.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse.getDefaultInstance()) return this; if (other.hasRespStatus()) { mergeRespStatus(other.getRespStatus()); } if (other.hasJobSummary()) { mergeJobSummary(other.getJobSummary()); } 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.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ServiceCommon.ResponseStatus respStatus_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> respStatusBuilder_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ public boolean hasRespStatus() { return respStatusBuilder_ != null || respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { if (respStatusBuilder_ == null) { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } else { return respStatusBuilder_.getMessage(); } } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } respStatus_ = value; onChanged(); } else { respStatusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus( cz.proto.ServiceCommon.ResponseStatus.Builder builderForValue) { if (respStatusBuilder_ == null) { respStatus_ = builderForValue.build(); onChanged(); } else { respStatusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder mergeRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (respStatus_ != null) { respStatus_ = cz.proto.ServiceCommon.ResponseStatus.newBuilder(respStatus_).mergeFrom(value).buildPartial(); } else { respStatus_ = value; } onChanged(); } else { respStatusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder clearRespStatus() { if (respStatusBuilder_ == null) { respStatus_ = null; onChanged(); } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatus.Builder getRespStatusBuilder() { onChanged(); return getRespStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { if (respStatusBuilder_ != null) { return respStatusBuilder_.getMessageOrBuilder(); } else { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } } /** * .cz.proto.ResponseStatus resp_status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> getRespStatusFieldBuilder() { if (respStatusBuilder_ == null) { respStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder>( getRespStatus(), getParentForChildren(), isClean()); respStatus_ = null; } return respStatusBuilder_; } private cz.proto.JobSummary jobSummary_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.JobSummary, cz.proto.JobSummary.Builder, cz.proto.JobSummaryOrBuilder> jobSummaryBuilder_; /** * .cz.proto.JobSummary job_summary = 2; * @return Whether the jobSummary field is set. */ public boolean hasJobSummary() { return jobSummaryBuilder_ != null || jobSummary_ != null; } /** * .cz.proto.JobSummary job_summary = 2; * @return The jobSummary. */ public cz.proto.JobSummary getJobSummary() { if (jobSummaryBuilder_ == null) { return jobSummary_ == null ? cz.proto.JobSummary.getDefaultInstance() : jobSummary_; } else { return jobSummaryBuilder_.getMessage(); } } /** * .cz.proto.JobSummary job_summary = 2; */ public Builder setJobSummary(cz.proto.JobSummary value) { if (jobSummaryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } jobSummary_ = value; onChanged(); } else { jobSummaryBuilder_.setMessage(value); } return this; } /** * .cz.proto.JobSummary job_summary = 2; */ public Builder setJobSummary( cz.proto.JobSummary.Builder builderForValue) { if (jobSummaryBuilder_ == null) { jobSummary_ = builderForValue.build(); onChanged(); } else { jobSummaryBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.JobSummary job_summary = 2; */ public Builder mergeJobSummary(cz.proto.JobSummary value) { if (jobSummaryBuilder_ == null) { if (jobSummary_ != null) { jobSummary_ = cz.proto.JobSummary.newBuilder(jobSummary_).mergeFrom(value).buildPartial(); } else { jobSummary_ = value; } onChanged(); } else { jobSummaryBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.JobSummary job_summary = 2; */ public Builder clearJobSummary() { if (jobSummaryBuilder_ == null) { jobSummary_ = null; onChanged(); } else { jobSummary_ = null; jobSummaryBuilder_ = null; } return this; } /** * .cz.proto.JobSummary job_summary = 2; */ public cz.proto.JobSummary.Builder getJobSummaryBuilder() { onChanged(); return getJobSummaryFieldBuilder().getBuilder(); } /** * .cz.proto.JobSummary job_summary = 2; */ public cz.proto.JobSummaryOrBuilder getJobSummaryOrBuilder() { if (jobSummaryBuilder_ != null) { return jobSummaryBuilder_.getMessageOrBuilder(); } else { return jobSummary_ == null ? cz.proto.JobSummary.getDefaultInstance() : jobSummary_; } } /** * .cz.proto.JobSummary job_summary = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.JobSummary, cz.proto.JobSummary.Builder, cz.proto.JobSummaryOrBuilder> getJobSummaryFieldBuilder() { if (jobSummaryBuilder_ == null) { jobSummaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.JobSummary, cz.proto.JobSummary.Builder, cz.proto.JobSummaryOrBuilder>( getJobSummary(), getParentForChildren(), isClean()); jobSummary_ = null; } return jobSummaryBuilder_; } @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.coordinator.GetJobSummaryResponse) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.GetJobSummaryResponse) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetJobSummaryResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetJobSummaryResponse(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.coordinator.CoordinatorServiceOuterClass.GetJobSummaryResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetJobProgressRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.GetJobProgressRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount(); /** * .cz.proto.coordinator.Account account = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder(); /** * .cz.proto.coordinator.JobID job_id = 2; * @return Whether the jobId field is set. */ boolean hasJobId(); /** * .cz.proto.coordinator.JobID job_id = 2; * @return The jobId. */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId(); /** * .cz.proto.coordinator.JobID job_id = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder(); /** * bool verbose = 3; * @return The verbose. */ boolean getVerbose(); /** * string user_agent = 10; * @return The userAgent. */ java.lang.String getUserAgent(); /** * string user_agent = 10; * @return The bytes for userAgent. */ com.google.protobuf.ByteString getUserAgentBytes(); } /** * Protobuf type {@code cz.proto.coordinator.GetJobProgressRequest} */ public static final class GetJobProgressRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.GetJobProgressRequest) GetJobProgressRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetJobProgressRequest.newBuilder() to construct. private GetJobProgressRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetJobProgressRequest() { userAgent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetJobProgressRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetJobProgressRequest( 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.coordinator.CoordinatorServiceOuterClass.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder subBuilder = null; if (jobId_ != null) { subBuilder = jobId_.toBuilder(); } jobId_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(jobId_); jobId_ = subBuilder.buildPartial(); } break; } case 24: { verbose_ = input.readBool(); break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); userAgent_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobProgressRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobProgressRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } /** * .cz.proto.coordinator.Account account = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int JOB_ID_FIELD_NUMBER = 2; private cz.proto.coordinator.CoordinatorServiceOuterClass.JobID jobId_; /** * .cz.proto.coordinator.JobID job_id = 2; * @return Whether the jobId field is set. */ @java.lang.Override public boolean hasJobId() { return jobId_ != null; } /** * .cz.proto.coordinator.JobID job_id = 2; * @return The jobId. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId() { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } /** * .cz.proto.coordinator.JobID job_id = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder() { return getJobId(); } public static final int VERBOSE_FIELD_NUMBER = 3; private boolean verbose_; /** * bool verbose = 3; * @return The verbose. */ @java.lang.Override public boolean getVerbose() { return verbose_; } public static final int USER_AGENT_FIELD_NUMBER = 10; private volatile java.lang.Object userAgent_; /** * string user_agent = 10; * @return The userAgent. */ @java.lang.Override public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; 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(); userAgent_ = s; return s; } } /** * string user_agent = 10; * @return The bytes for userAgent. */ @java.lang.Override public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (account_ != null) { output.writeMessage(1, getAccount()); } if (jobId_ != null) { output.writeMessage(2, getJobId()); } if (verbose_ != false) { output.writeBool(3, verbose_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, userAgent_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAccount()); } if (jobId_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getJobId()); } if (verbose_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, verbose_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, userAgent_); } 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.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest other = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (hasJobId() != other.hasJobId()) return false; if (hasJobId()) { if (!getJobId() .equals(other.getJobId())) return false; } if (getVerbose() != other.getVerbose()) return false; if (!getUserAgent() .equals(other.getUserAgent())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } if (hasJobId()) { hash = (37 * hash) + JOB_ID_FIELD_NUMBER; hash = (53 * hash) + getJobId().hashCode(); } hash = (37 * hash) + VERBOSE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getVerbose()); hash = (37 * hash) + USER_AGENT_FIELD_NUMBER; hash = (53 * hash) + getUserAgent().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest 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.coordinator.GetJobProgressRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.GetJobProgressRequest) cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobProgressRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobProgressRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } if (jobIdBuilder_ == null) { jobId_ = null; } else { jobId_ = null; jobIdBuilder_ = null; } verbose_ = false; userAgent_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobProgressRequest_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest build() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest result = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest(this); if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } if (jobIdBuilder_ == null) { result.jobId_ = jobId_; } else { result.jobId_ = jobIdBuilder_.build(); } result.verbose_ = verbose_; result.userAgent_ = userAgent_; 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.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (other.hasJobId()) { mergeJobId(other.getJobId()); } if (other.getVerbose() != false) { setVerbose(other.getVerbose()); } if (!other.getUserAgent().isEmpty()) { userAgent_ = other.userAgent_; 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.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> accountBuilder_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount( cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder mergeAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.coordinator.CoordinatorServiceOuterClass.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } } /** * .cz.proto.coordinator.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private cz.proto.coordinator.CoordinatorServiceOuterClass.JobID jobId_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder> jobIdBuilder_; /** * .cz.proto.coordinator.JobID job_id = 2; * @return Whether the jobId field is set. */ public boolean hasJobId() { return jobIdBuilder_ != null || jobId_ != null; } /** * .cz.proto.coordinator.JobID job_id = 2; * @return The jobId. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId() { if (jobIdBuilder_ == null) { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } else { return jobIdBuilder_.getMessage(); } } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder setJobId(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID value) { if (jobIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } jobId_ = value; onChanged(); } else { jobIdBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder setJobId( cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder builderForValue) { if (jobIdBuilder_ == null) { jobId_ = builderForValue.build(); onChanged(); } else { jobIdBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder mergeJobId(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID value) { if (jobIdBuilder_ == null) { if (jobId_ != null) { jobId_ = cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.newBuilder(jobId_).mergeFrom(value).buildPartial(); } else { jobId_ = value; } onChanged(); } else { jobIdBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder clearJobId() { if (jobIdBuilder_ == null) { jobId_ = null; onChanged(); } else { jobId_ = null; jobIdBuilder_ = null; } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder getJobIdBuilder() { onChanged(); return getJobIdFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.JobID job_id = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder() { if (jobIdBuilder_ != null) { return jobIdBuilder_.getMessageOrBuilder(); } else { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } } /** * .cz.proto.coordinator.JobID job_id = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder> getJobIdFieldBuilder() { if (jobIdBuilder_ == null) { jobIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder>( getJobId(), getParentForChildren(), isClean()); jobId_ = null; } return jobIdBuilder_; } private boolean verbose_ ; /** * bool verbose = 3; * @return The verbose. */ @java.lang.Override public boolean getVerbose() { return verbose_; } /** * bool verbose = 3; * @param value The verbose to set. * @return This builder for chaining. */ public Builder setVerbose(boolean value) { verbose_ = value; onChanged(); return this; } /** * bool verbose = 3; * @return This builder for chaining. */ public Builder clearVerbose() { verbose_ = false; onChanged(); return this; } private java.lang.Object userAgent_ = ""; /** * string user_agent = 10; * @return The userAgent. */ public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userAgent_ = s; return s; } else { return (java.lang.String) ref; } } /** * string user_agent = 10; * @return The bytes for userAgent. */ public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string user_agent = 10; * @param value The userAgent to set. * @return This builder for chaining. */ public Builder setUserAgent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userAgent_ = value; onChanged(); return this; } /** * string user_agent = 10; * @return This builder for chaining. */ public Builder clearUserAgent() { userAgent_ = getDefaultInstance().getUserAgent(); onChanged(); return this; } /** * string user_agent = 10; * @param value The bytes for userAgent to set. * @return This builder for chaining. */ public Builder setUserAgentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userAgent_ = 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.coordinator.GetJobProgressRequest) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.GetJobProgressRequest) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetJobProgressRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetJobProgressRequest(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.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetJobProgressResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.GetJobProgressResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ boolean hasRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ cz.proto.ServiceCommon.ResponseStatus getRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; */ cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder(); /** * .cz.proto.JobProgress progress = 2; * @return Whether the progress field is set. */ boolean hasProgress(); /** * .cz.proto.JobProgress progress = 2; * @return The progress. */ cz.proto.JobProgress getProgress(); /** * .cz.proto.JobProgress progress = 2; */ cz.proto.JobProgressOrBuilder getProgressOrBuilder(); } /** * Protobuf type {@code cz.proto.coordinator.GetJobProgressResponse} */ public static final class GetJobProgressResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.GetJobProgressResponse) GetJobProgressResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetJobProgressResponse.newBuilder() to construct. private GetJobProgressResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetJobProgressResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetJobProgressResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetJobProgressResponse( 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.ServiceCommon.ResponseStatus.Builder subBuilder = null; if (respStatus_ != null) { subBuilder = respStatus_.toBuilder(); } respStatus_ = input.readMessage(cz.proto.ServiceCommon.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(respStatus_); respStatus_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.JobProgress.Builder subBuilder = null; if (progress_ != null) { subBuilder = progress_.toBuilder(); } progress_ = input.readMessage(cz.proto.JobProgress.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(progress_); progress_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobProgressResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobProgressResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse.Builder.class); } public static final int RESP_STATUS_FIELD_NUMBER = 1; private cz.proto.ServiceCommon.ResponseStatus respStatus_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ @java.lang.Override public boolean hasRespStatus() { return respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } /** * .cz.proto.ResponseStatus resp_status = 1; */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { return getRespStatus(); } public static final int PROGRESS_FIELD_NUMBER = 2; private cz.proto.JobProgress progress_; /** * .cz.proto.JobProgress progress = 2; * @return Whether the progress field is set. */ @java.lang.Override public boolean hasProgress() { return progress_ != null; } /** * .cz.proto.JobProgress progress = 2; * @return The progress. */ @java.lang.Override public cz.proto.JobProgress getProgress() { return progress_ == null ? cz.proto.JobProgress.getDefaultInstance() : progress_; } /** * .cz.proto.JobProgress progress = 2; */ @java.lang.Override public cz.proto.JobProgressOrBuilder getProgressOrBuilder() { return getProgress(); } 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 (respStatus_ != null) { output.writeMessage(1, getRespStatus()); } if (progress_ != null) { output.writeMessage(2, getProgress()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (respStatus_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRespStatus()); } if (progress_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getProgress()); } 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.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse other = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse) obj; if (hasRespStatus() != other.hasRespStatus()) return false; if (hasRespStatus()) { if (!getRespStatus() .equals(other.getRespStatus())) return false; } if (hasProgress() != other.hasProgress()) return false; if (hasProgress()) { if (!getProgress() .equals(other.getProgress())) 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 (hasRespStatus()) { hash = (37 * hash) + RESP_STATUS_FIELD_NUMBER; hash = (53 * hash) + getRespStatus().hashCode(); } if (hasProgress()) { hash = (37 * hash) + PROGRESS_FIELD_NUMBER; hash = (53 * hash) + getProgress().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse 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.coordinator.GetJobProgressResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.GetJobProgressResponse) cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobProgressResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobProgressResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse.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 (respStatusBuilder_ == null) { respStatus_ = null; } else { respStatus_ = null; respStatusBuilder_ = null; } if (progressBuilder_ == null) { progress_ = null; } else { progress_ = null; progressBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobProgressResponse_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse build() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse result = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse(this); if (respStatusBuilder_ == null) { result.respStatus_ = respStatus_; } else { result.respStatus_ = respStatusBuilder_.build(); } if (progressBuilder_ == null) { result.progress_ = progress_; } else { result.progress_ = progressBuilder_.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.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse.getDefaultInstance()) return this; if (other.hasRespStatus()) { mergeRespStatus(other.getRespStatus()); } if (other.hasProgress()) { mergeProgress(other.getProgress()); } 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.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ServiceCommon.ResponseStatus respStatus_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> respStatusBuilder_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ public boolean hasRespStatus() { return respStatusBuilder_ != null || respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { if (respStatusBuilder_ == null) { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } else { return respStatusBuilder_.getMessage(); } } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } respStatus_ = value; onChanged(); } else { respStatusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus( cz.proto.ServiceCommon.ResponseStatus.Builder builderForValue) { if (respStatusBuilder_ == null) { respStatus_ = builderForValue.build(); onChanged(); } else { respStatusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder mergeRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (respStatus_ != null) { respStatus_ = cz.proto.ServiceCommon.ResponseStatus.newBuilder(respStatus_).mergeFrom(value).buildPartial(); } else { respStatus_ = value; } onChanged(); } else { respStatusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder clearRespStatus() { if (respStatusBuilder_ == null) { respStatus_ = null; onChanged(); } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatus.Builder getRespStatusBuilder() { onChanged(); return getRespStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { if (respStatusBuilder_ != null) { return respStatusBuilder_.getMessageOrBuilder(); } else { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } } /** * .cz.proto.ResponseStatus resp_status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> getRespStatusFieldBuilder() { if (respStatusBuilder_ == null) { respStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder>( getRespStatus(), getParentForChildren(), isClean()); respStatus_ = null; } return respStatusBuilder_; } private cz.proto.JobProgress progress_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.JobProgress, cz.proto.JobProgress.Builder, cz.proto.JobProgressOrBuilder> progressBuilder_; /** * .cz.proto.JobProgress progress = 2; * @return Whether the progress field is set. */ public boolean hasProgress() { return progressBuilder_ != null || progress_ != null; } /** * .cz.proto.JobProgress progress = 2; * @return The progress. */ public cz.proto.JobProgress getProgress() { if (progressBuilder_ == null) { return progress_ == null ? cz.proto.JobProgress.getDefaultInstance() : progress_; } else { return progressBuilder_.getMessage(); } } /** * .cz.proto.JobProgress progress = 2; */ public Builder setProgress(cz.proto.JobProgress value) { if (progressBuilder_ == null) { if (value == null) { throw new NullPointerException(); } progress_ = value; onChanged(); } else { progressBuilder_.setMessage(value); } return this; } /** * .cz.proto.JobProgress progress = 2; */ public Builder setProgress( cz.proto.JobProgress.Builder builderForValue) { if (progressBuilder_ == null) { progress_ = builderForValue.build(); onChanged(); } else { progressBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.JobProgress progress = 2; */ public Builder mergeProgress(cz.proto.JobProgress value) { if (progressBuilder_ == null) { if (progress_ != null) { progress_ = cz.proto.JobProgress.newBuilder(progress_).mergeFrom(value).buildPartial(); } else { progress_ = value; } onChanged(); } else { progressBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.JobProgress progress = 2; */ public Builder clearProgress() { if (progressBuilder_ == null) { progress_ = null; onChanged(); } else { progress_ = null; progressBuilder_ = null; } return this; } /** * .cz.proto.JobProgress progress = 2; */ public cz.proto.JobProgress.Builder getProgressBuilder() { onChanged(); return getProgressFieldBuilder().getBuilder(); } /** * .cz.proto.JobProgress progress = 2; */ public cz.proto.JobProgressOrBuilder getProgressOrBuilder() { if (progressBuilder_ != null) { return progressBuilder_.getMessageOrBuilder(); } else { return progress_ == null ? cz.proto.JobProgress.getDefaultInstance() : progress_; } } /** * .cz.proto.JobProgress progress = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.JobProgress, cz.proto.JobProgress.Builder, cz.proto.JobProgressOrBuilder> getProgressFieldBuilder() { if (progressBuilder_ == null) { progressBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.JobProgress, cz.proto.JobProgress.Builder, cz.proto.JobProgressOrBuilder>( getProgress(), getParentForChildren(), isClean()); progress_ = null; } return progressBuilder_; } @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.coordinator.GetJobProgressResponse) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.GetJobProgressResponse) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetJobProgressResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetJobProgressResponse(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.coordinator.CoordinatorServiceOuterClass.GetJobProgressResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetJobPlanRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.GetJobPlanRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount(); /** * .cz.proto.coordinator.Account account = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder(); /** * .cz.proto.coordinator.JobID job_id = 2; * @return Whether the jobId field is set. */ boolean hasJobId(); /** * .cz.proto.coordinator.JobID job_id = 2; * @return The jobId. */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId(); /** * .cz.proto.coordinator.JobID job_id = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder(); /** * string user_agent = 10; * @return The userAgent. */ java.lang.String getUserAgent(); /** * string user_agent = 10; * @return The bytes for userAgent. */ com.google.protobuf.ByteString getUserAgentBytes(); } /** * Protobuf type {@code cz.proto.coordinator.GetJobPlanRequest} */ public static final class GetJobPlanRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.GetJobPlanRequest) GetJobPlanRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetJobPlanRequest.newBuilder() to construct. private GetJobPlanRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetJobPlanRequest() { userAgent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetJobPlanRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetJobPlanRequest( 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.coordinator.CoordinatorServiceOuterClass.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder subBuilder = null; if (jobId_ != null) { subBuilder = jobId_.toBuilder(); } jobId_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(jobId_); jobId_ = subBuilder.buildPartial(); } break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); userAgent_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobPlanRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobPlanRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } /** * .cz.proto.coordinator.Account account = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int JOB_ID_FIELD_NUMBER = 2; private cz.proto.coordinator.CoordinatorServiceOuterClass.JobID jobId_; /** * .cz.proto.coordinator.JobID job_id = 2; * @return Whether the jobId field is set. */ @java.lang.Override public boolean hasJobId() { return jobId_ != null; } /** * .cz.proto.coordinator.JobID job_id = 2; * @return The jobId. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId() { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } /** * .cz.proto.coordinator.JobID job_id = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder() { return getJobId(); } public static final int USER_AGENT_FIELD_NUMBER = 10; private volatile java.lang.Object userAgent_; /** * string user_agent = 10; * @return The userAgent. */ @java.lang.Override public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; 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(); userAgent_ = s; return s; } } /** * string user_agent = 10; * @return The bytes for userAgent. */ @java.lang.Override public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (account_ != null) { output.writeMessage(1, getAccount()); } if (jobId_ != null) { output.writeMessage(2, getJobId()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, userAgent_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAccount()); } if (jobId_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getJobId()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, userAgent_); } 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.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest other = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (hasJobId() != other.hasJobId()) return false; if (hasJobId()) { if (!getJobId() .equals(other.getJobId())) return false; } if (!getUserAgent() .equals(other.getUserAgent())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } if (hasJobId()) { hash = (37 * hash) + JOB_ID_FIELD_NUMBER; hash = (53 * hash) + getJobId().hashCode(); } hash = (37 * hash) + USER_AGENT_FIELD_NUMBER; hash = (53 * hash) + getUserAgent().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest 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.coordinator.GetJobPlanRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.GetJobPlanRequest) cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobPlanRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobPlanRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } if (jobIdBuilder_ == null) { jobId_ = null; } else { jobId_ = null; jobIdBuilder_ = null; } userAgent_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobPlanRequest_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest build() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest result = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest(this); if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } if (jobIdBuilder_ == null) { result.jobId_ = jobId_; } else { result.jobId_ = jobIdBuilder_.build(); } result.userAgent_ = userAgent_; 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.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (other.hasJobId()) { mergeJobId(other.getJobId()); } if (!other.getUserAgent().isEmpty()) { userAgent_ = other.userAgent_; 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.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> accountBuilder_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount( cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder mergeAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.coordinator.CoordinatorServiceOuterClass.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } } /** * .cz.proto.coordinator.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private cz.proto.coordinator.CoordinatorServiceOuterClass.JobID jobId_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder> jobIdBuilder_; /** * .cz.proto.coordinator.JobID job_id = 2; * @return Whether the jobId field is set. */ public boolean hasJobId() { return jobIdBuilder_ != null || jobId_ != null; } /** * .cz.proto.coordinator.JobID job_id = 2; * @return The jobId. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId() { if (jobIdBuilder_ == null) { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } else { return jobIdBuilder_.getMessage(); } } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder setJobId(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID value) { if (jobIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } jobId_ = value; onChanged(); } else { jobIdBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder setJobId( cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder builderForValue) { if (jobIdBuilder_ == null) { jobId_ = builderForValue.build(); onChanged(); } else { jobIdBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder mergeJobId(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID value) { if (jobIdBuilder_ == null) { if (jobId_ != null) { jobId_ = cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.newBuilder(jobId_).mergeFrom(value).buildPartial(); } else { jobId_ = value; } onChanged(); } else { jobIdBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public Builder clearJobId() { if (jobIdBuilder_ == null) { jobId_ = null; onChanged(); } else { jobId_ = null; jobIdBuilder_ = null; } return this; } /** * .cz.proto.coordinator.JobID job_id = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder getJobIdBuilder() { onChanged(); return getJobIdFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.JobID job_id = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder() { if (jobIdBuilder_ != null) { return jobIdBuilder_.getMessageOrBuilder(); } else { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } } /** * .cz.proto.coordinator.JobID job_id = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder> getJobIdFieldBuilder() { if (jobIdBuilder_ == null) { jobIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder>( getJobId(), getParentForChildren(), isClean()); jobId_ = null; } return jobIdBuilder_; } private java.lang.Object userAgent_ = ""; /** * string user_agent = 10; * @return The userAgent. */ public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userAgent_ = s; return s; } else { return (java.lang.String) ref; } } /** * string user_agent = 10; * @return The bytes for userAgent. */ public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string user_agent = 10; * @param value The userAgent to set. * @return This builder for chaining. */ public Builder setUserAgent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userAgent_ = value; onChanged(); return this; } /** * string user_agent = 10; * @return This builder for chaining. */ public Builder clearUserAgent() { userAgent_ = getDefaultInstance().getUserAgent(); onChanged(); return this; } /** * string user_agent = 10; * @param value The bytes for userAgent to set. * @return This builder for chaining. */ public Builder setUserAgentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userAgent_ = 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.coordinator.GetJobPlanRequest) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.GetJobPlanRequest) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetJobPlanRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetJobPlanRequest(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.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetJobPlanResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.GetJobPlanResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ boolean hasRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ cz.proto.ServiceCommon.ResponseStatus getRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; */ cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder(); /** * .cz.proto.SimplifyDag job_plan = 2; * @return Whether the jobPlan field is set. */ boolean hasJobPlan(); /** * .cz.proto.SimplifyDag job_plan = 2; * @return The jobPlan. */ cz.proto.SimplifyDag getJobPlan(); /** * .cz.proto.SimplifyDag job_plan = 2; */ cz.proto.SimplifyDagOrBuilder getJobPlanOrBuilder(); } /** * Protobuf type {@code cz.proto.coordinator.GetJobPlanResponse} */ public static final class GetJobPlanResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.GetJobPlanResponse) GetJobPlanResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetJobPlanResponse.newBuilder() to construct. private GetJobPlanResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetJobPlanResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetJobPlanResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetJobPlanResponse( 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.ServiceCommon.ResponseStatus.Builder subBuilder = null; if (respStatus_ != null) { subBuilder = respStatus_.toBuilder(); } respStatus_ = input.readMessage(cz.proto.ServiceCommon.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(respStatus_); respStatus_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.SimplifyDag.Builder subBuilder = null; if (jobPlan_ != null) { subBuilder = jobPlan_.toBuilder(); } jobPlan_ = input.readMessage(cz.proto.SimplifyDag.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(jobPlan_); jobPlan_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobPlanResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobPlanResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse.Builder.class); } public static final int RESP_STATUS_FIELD_NUMBER = 1; private cz.proto.ServiceCommon.ResponseStatus respStatus_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ @java.lang.Override public boolean hasRespStatus() { return respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } /** * .cz.proto.ResponseStatus resp_status = 1; */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { return getRespStatus(); } public static final int JOB_PLAN_FIELD_NUMBER = 2; private cz.proto.SimplifyDag jobPlan_; /** * .cz.proto.SimplifyDag job_plan = 2; * @return Whether the jobPlan field is set. */ @java.lang.Override public boolean hasJobPlan() { return jobPlan_ != null; } /** * .cz.proto.SimplifyDag job_plan = 2; * @return The jobPlan. */ @java.lang.Override public cz.proto.SimplifyDag getJobPlan() { return jobPlan_ == null ? cz.proto.SimplifyDag.getDefaultInstance() : jobPlan_; } /** * .cz.proto.SimplifyDag job_plan = 2; */ @java.lang.Override public cz.proto.SimplifyDagOrBuilder getJobPlanOrBuilder() { return getJobPlan(); } 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 (respStatus_ != null) { output.writeMessage(1, getRespStatus()); } if (jobPlan_ != null) { output.writeMessage(2, getJobPlan()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (respStatus_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRespStatus()); } if (jobPlan_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getJobPlan()); } 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.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse other = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse) obj; if (hasRespStatus() != other.hasRespStatus()) return false; if (hasRespStatus()) { if (!getRespStatus() .equals(other.getRespStatus())) return false; } if (hasJobPlan() != other.hasJobPlan()) return false; if (hasJobPlan()) { if (!getJobPlan() .equals(other.getJobPlan())) 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 (hasRespStatus()) { hash = (37 * hash) + RESP_STATUS_FIELD_NUMBER; hash = (53 * hash) + getRespStatus().hashCode(); } if (hasJobPlan()) { hash = (37 * hash) + JOB_PLAN_FIELD_NUMBER; hash = (53 * hash) + getJobPlan().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse 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.coordinator.GetJobPlanResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.GetJobPlanResponse) cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobPlanResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobPlanResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse.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 (respStatusBuilder_ == null) { respStatus_ = null; } else { respStatus_ = null; respStatusBuilder_ = null; } if (jobPlanBuilder_ == null) { jobPlan_ = null; } else { jobPlan_ = null; jobPlanBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobPlanResponse_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse build() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse result = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse(this); if (respStatusBuilder_ == null) { result.respStatus_ = respStatus_; } else { result.respStatus_ = respStatusBuilder_.build(); } if (jobPlanBuilder_ == null) { result.jobPlan_ = jobPlan_; } else { result.jobPlan_ = jobPlanBuilder_.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.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse.getDefaultInstance()) return this; if (other.hasRespStatus()) { mergeRespStatus(other.getRespStatus()); } if (other.hasJobPlan()) { mergeJobPlan(other.getJobPlan()); } 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.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ServiceCommon.ResponseStatus respStatus_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> respStatusBuilder_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ public boolean hasRespStatus() { return respStatusBuilder_ != null || respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { if (respStatusBuilder_ == null) { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } else { return respStatusBuilder_.getMessage(); } } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } respStatus_ = value; onChanged(); } else { respStatusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus( cz.proto.ServiceCommon.ResponseStatus.Builder builderForValue) { if (respStatusBuilder_ == null) { respStatus_ = builderForValue.build(); onChanged(); } else { respStatusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder mergeRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (respStatus_ != null) { respStatus_ = cz.proto.ServiceCommon.ResponseStatus.newBuilder(respStatus_).mergeFrom(value).buildPartial(); } else { respStatus_ = value; } onChanged(); } else { respStatusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder clearRespStatus() { if (respStatusBuilder_ == null) { respStatus_ = null; onChanged(); } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatus.Builder getRespStatusBuilder() { onChanged(); return getRespStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { if (respStatusBuilder_ != null) { return respStatusBuilder_.getMessageOrBuilder(); } else { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } } /** * .cz.proto.ResponseStatus resp_status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> getRespStatusFieldBuilder() { if (respStatusBuilder_ == null) { respStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder>( getRespStatus(), getParentForChildren(), isClean()); respStatus_ = null; } return respStatusBuilder_; } private cz.proto.SimplifyDag jobPlan_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.SimplifyDag, cz.proto.SimplifyDag.Builder, cz.proto.SimplifyDagOrBuilder> jobPlanBuilder_; /** * .cz.proto.SimplifyDag job_plan = 2; * @return Whether the jobPlan field is set. */ public boolean hasJobPlan() { return jobPlanBuilder_ != null || jobPlan_ != null; } /** * .cz.proto.SimplifyDag job_plan = 2; * @return The jobPlan. */ public cz.proto.SimplifyDag getJobPlan() { if (jobPlanBuilder_ == null) { return jobPlan_ == null ? cz.proto.SimplifyDag.getDefaultInstance() : jobPlan_; } else { return jobPlanBuilder_.getMessage(); } } /** * .cz.proto.SimplifyDag job_plan = 2; */ public Builder setJobPlan(cz.proto.SimplifyDag value) { if (jobPlanBuilder_ == null) { if (value == null) { throw new NullPointerException(); } jobPlan_ = value; onChanged(); } else { jobPlanBuilder_.setMessage(value); } return this; } /** * .cz.proto.SimplifyDag job_plan = 2; */ public Builder setJobPlan( cz.proto.SimplifyDag.Builder builderForValue) { if (jobPlanBuilder_ == null) { jobPlan_ = builderForValue.build(); onChanged(); } else { jobPlanBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.SimplifyDag job_plan = 2; */ public Builder mergeJobPlan(cz.proto.SimplifyDag value) { if (jobPlanBuilder_ == null) { if (jobPlan_ != null) { jobPlan_ = cz.proto.SimplifyDag.newBuilder(jobPlan_).mergeFrom(value).buildPartial(); } else { jobPlan_ = value; } onChanged(); } else { jobPlanBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.SimplifyDag job_plan = 2; */ public Builder clearJobPlan() { if (jobPlanBuilder_ == null) { jobPlan_ = null; onChanged(); } else { jobPlan_ = null; jobPlanBuilder_ = null; } return this; } /** * .cz.proto.SimplifyDag job_plan = 2; */ public cz.proto.SimplifyDag.Builder getJobPlanBuilder() { onChanged(); return getJobPlanFieldBuilder().getBuilder(); } /** * .cz.proto.SimplifyDag job_plan = 2; */ public cz.proto.SimplifyDagOrBuilder getJobPlanOrBuilder() { if (jobPlanBuilder_ != null) { return jobPlanBuilder_.getMessageOrBuilder(); } else { return jobPlan_ == null ? cz.proto.SimplifyDag.getDefaultInstance() : jobPlan_; } } /** * .cz.proto.SimplifyDag job_plan = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.SimplifyDag, cz.proto.SimplifyDag.Builder, cz.proto.SimplifyDagOrBuilder> getJobPlanFieldBuilder() { if (jobPlanBuilder_ == null) { jobPlanBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.SimplifyDag, cz.proto.SimplifyDag.Builder, cz.proto.SimplifyDagOrBuilder>( getJobPlan(), getParentForChildren(), isClean()); jobPlan_ = null; } return jobPlanBuilder_; } @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.coordinator.GetJobPlanResponse) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.GetJobPlanResponse) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetJobPlanResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetJobPlanResponse(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.coordinator.CoordinatorServiceOuterClass.GetJobPlanResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface JobRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.JobRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.coordinator.GetJobResultRequest get_result_request = 1; * @return Whether the getResultRequest field is set. */ boolean hasGetResultRequest(); /** * .cz.proto.coordinator.GetJobResultRequest get_result_request = 1; * @return The getResultRequest. */ cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest getGetResultRequest(); /** * .cz.proto.coordinator.GetJobResultRequest get_result_request = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequestOrBuilder getGetResultRequestOrBuilder(); /** * .cz.proto.coordinator.GetJobSummaryRequest get_summary_request = 2; * @return Whether the getSummaryRequest field is set. */ boolean hasGetSummaryRequest(); /** * .cz.proto.coordinator.GetJobSummaryRequest get_summary_request = 2; * @return The getSummaryRequest. */ cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest getGetSummaryRequest(); /** * .cz.proto.coordinator.GetJobSummaryRequest get_summary_request = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequestOrBuilder getGetSummaryRequestOrBuilder(); /** * .cz.proto.coordinator.GetJobPlanRequest get_plan_request = 3; * @return Whether the getPlanRequest field is set. */ boolean hasGetPlanRequest(); /** * .cz.proto.coordinator.GetJobPlanRequest get_plan_request = 3; * @return The getPlanRequest. */ cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest getGetPlanRequest(); /** * .cz.proto.coordinator.GetJobPlanRequest get_plan_request = 3; */ cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequestOrBuilder getGetPlanRequestOrBuilder(); /** * .cz.proto.coordinator.GetJobProfileRequest get_profile_request = 4; * @return Whether the getProfileRequest field is set. */ boolean hasGetProfileRequest(); /** * .cz.proto.coordinator.GetJobProfileRequest get_profile_request = 4; * @return The getProfileRequest. */ cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest getGetProfileRequest(); /** * .cz.proto.coordinator.GetJobProfileRequest get_profile_request = 4; */ cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequestOrBuilder getGetProfileRequestOrBuilder(); /** * .cz.proto.coordinator.GetJobProgressRequest get_progress_request = 5; * @return Whether the getProgressRequest field is set. */ boolean hasGetProgressRequest(); /** * .cz.proto.coordinator.GetJobProgressRequest get_progress_request = 5; * @return The getProgressRequest. */ cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest getGetProgressRequest(); /** * .cz.proto.coordinator.GetJobProgressRequest get_progress_request = 5; */ cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequestOrBuilder getGetProgressRequestOrBuilder(); /** * string user_agent = 30; * @return The userAgent. */ java.lang.String getUserAgent(); /** * string user_agent = 30; * @return The bytes for userAgent. */ com.google.protobuf.ByteString getUserAgentBytes(); public cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest.RequestCase getRequestCase(); } /** * Protobuf type {@code cz.proto.coordinator.JobRequest} */ public static final class JobRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.JobRequest) JobRequestOrBuilder { private static final long serialVersionUID = 0L; // Use JobRequest.newBuilder() to construct. private JobRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private JobRequest() { userAgent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new JobRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private JobRequest( 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.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest.Builder subBuilder = null; if (requestCase_ == 1) { subBuilder = ((cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest) request_).toBuilder(); } request_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest) request_); request_ = subBuilder.buildPartial(); } requestCase_ = 1; break; } case 18: { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest.Builder subBuilder = null; if (requestCase_ == 2) { subBuilder = ((cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest) request_).toBuilder(); } request_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest) request_); request_ = subBuilder.buildPartial(); } requestCase_ = 2; break; } case 26: { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest.Builder subBuilder = null; if (requestCase_ == 3) { subBuilder = ((cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest) request_).toBuilder(); } request_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest) request_); request_ = subBuilder.buildPartial(); } requestCase_ = 3; break; } case 34: { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest.Builder subBuilder = null; if (requestCase_ == 4) { subBuilder = ((cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest) request_).toBuilder(); } request_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest) request_); request_ = subBuilder.buildPartial(); } requestCase_ = 4; break; } case 42: { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest.Builder subBuilder = null; if (requestCase_ == 5) { subBuilder = ((cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest) request_).toBuilder(); } request_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest) request_); request_ = subBuilder.buildPartial(); } requestCase_ = 5; break; } case 242: { java.lang.String s = input.readStringRequireUtf8(); userAgent_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest.Builder.class); } private int requestCase_ = 0; private java.lang.Object request_; public enum RequestCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GET_RESULT_REQUEST(1), GET_SUMMARY_REQUEST(2), GET_PLAN_REQUEST(3), GET_PROFILE_REQUEST(4), GET_PROGRESS_REQUEST(5), REQUEST_NOT_SET(0); private final int value; private RequestCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static RequestCase valueOf(int value) { return forNumber(value); } public static RequestCase forNumber(int value) { switch (value) { case 1: return GET_RESULT_REQUEST; case 2: return GET_SUMMARY_REQUEST; case 3: return GET_PLAN_REQUEST; case 4: return GET_PROFILE_REQUEST; case 5: return GET_PROGRESS_REQUEST; case 0: return REQUEST_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public RequestCase getRequestCase() { return RequestCase.forNumber( requestCase_); } public static final int GET_RESULT_REQUEST_FIELD_NUMBER = 1; /** * .cz.proto.coordinator.GetJobResultRequest get_result_request = 1; * @return Whether the getResultRequest field is set. */ @java.lang.Override public boolean hasGetResultRequest() { return requestCase_ == 1; } /** * .cz.proto.coordinator.GetJobResultRequest get_result_request = 1; * @return The getResultRequest. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest getGetResultRequest() { if (requestCase_ == 1) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest.getDefaultInstance(); } /** * .cz.proto.coordinator.GetJobResultRequest get_result_request = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequestOrBuilder getGetResultRequestOrBuilder() { if (requestCase_ == 1) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest.getDefaultInstance(); } public static final int GET_SUMMARY_REQUEST_FIELD_NUMBER = 2; /** * .cz.proto.coordinator.GetJobSummaryRequest get_summary_request = 2; * @return Whether the getSummaryRequest field is set. */ @java.lang.Override public boolean hasGetSummaryRequest() { return requestCase_ == 2; } /** * .cz.proto.coordinator.GetJobSummaryRequest get_summary_request = 2; * @return The getSummaryRequest. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest getGetSummaryRequest() { if (requestCase_ == 2) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest.getDefaultInstance(); } /** * .cz.proto.coordinator.GetJobSummaryRequest get_summary_request = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequestOrBuilder getGetSummaryRequestOrBuilder() { if (requestCase_ == 2) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest.getDefaultInstance(); } public static final int GET_PLAN_REQUEST_FIELD_NUMBER = 3; /** * .cz.proto.coordinator.GetJobPlanRequest get_plan_request = 3; * @return Whether the getPlanRequest field is set. */ @java.lang.Override public boolean hasGetPlanRequest() { return requestCase_ == 3; } /** * .cz.proto.coordinator.GetJobPlanRequest get_plan_request = 3; * @return The getPlanRequest. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest getGetPlanRequest() { if (requestCase_ == 3) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest.getDefaultInstance(); } /** * .cz.proto.coordinator.GetJobPlanRequest get_plan_request = 3; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequestOrBuilder getGetPlanRequestOrBuilder() { if (requestCase_ == 3) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest.getDefaultInstance(); } public static final int GET_PROFILE_REQUEST_FIELD_NUMBER = 4; /** * .cz.proto.coordinator.GetJobProfileRequest get_profile_request = 4; * @return Whether the getProfileRequest field is set. */ @java.lang.Override public boolean hasGetProfileRequest() { return requestCase_ == 4; } /** * .cz.proto.coordinator.GetJobProfileRequest get_profile_request = 4; * @return The getProfileRequest. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest getGetProfileRequest() { if (requestCase_ == 4) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest.getDefaultInstance(); } /** * .cz.proto.coordinator.GetJobProfileRequest get_profile_request = 4; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequestOrBuilder getGetProfileRequestOrBuilder() { if (requestCase_ == 4) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest.getDefaultInstance(); } public static final int GET_PROGRESS_REQUEST_FIELD_NUMBER = 5; /** * .cz.proto.coordinator.GetJobProgressRequest get_progress_request = 5; * @return Whether the getProgressRequest field is set. */ @java.lang.Override public boolean hasGetProgressRequest() { return requestCase_ == 5; } /** * .cz.proto.coordinator.GetJobProgressRequest get_progress_request = 5; * @return The getProgressRequest. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest getGetProgressRequest() { if (requestCase_ == 5) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest.getDefaultInstance(); } /** * .cz.proto.coordinator.GetJobProgressRequest get_progress_request = 5; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequestOrBuilder getGetProgressRequestOrBuilder() { if (requestCase_ == 5) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest.getDefaultInstance(); } public static final int USER_AGENT_FIELD_NUMBER = 30; private volatile java.lang.Object userAgent_; /** * string user_agent = 30; * @return The userAgent. */ @java.lang.Override public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; 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(); userAgent_ = s; return s; } } /** * string user_agent = 30; * @return The bytes for userAgent. */ @java.lang.Override public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = 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 (requestCase_ == 1) { output.writeMessage(1, (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest) request_); } if (requestCase_ == 2) { output.writeMessage(2, (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest) request_); } if (requestCase_ == 3) { output.writeMessage(3, (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest) request_); } if (requestCase_ == 4) { output.writeMessage(4, (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest) request_); } if (requestCase_ == 5) { output.writeMessage(5, (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest) request_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 30, userAgent_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (requestCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest) request_); } if (requestCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest) request_); } if (requestCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest) request_); } if (requestCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest) request_); } if (requestCase_ == 5) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest) request_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(30, userAgent_); } 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.coordinator.CoordinatorServiceOuterClass.JobRequest)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest other = (cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest) obj; if (!getUserAgent() .equals(other.getUserAgent())) return false; if (!getRequestCase().equals(other.getRequestCase())) return false; switch (requestCase_) { case 1: if (!getGetResultRequest() .equals(other.getGetResultRequest())) return false; break; case 2: if (!getGetSummaryRequest() .equals(other.getGetSummaryRequest())) return false; break; case 3: if (!getGetPlanRequest() .equals(other.getGetPlanRequest())) return false; break; case 4: if (!getGetProfileRequest() .equals(other.getGetProfileRequest())) return false; break; case 5: if (!getGetProgressRequest() .equals(other.getGetProgressRequest())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + USER_AGENT_FIELD_NUMBER; hash = (53 * hash) + getUserAgent().hashCode(); switch (requestCase_) { case 1: hash = (37 * hash) + GET_RESULT_REQUEST_FIELD_NUMBER; hash = (53 * hash) + getGetResultRequest().hashCode(); break; case 2: hash = (37 * hash) + GET_SUMMARY_REQUEST_FIELD_NUMBER; hash = (53 * hash) + getGetSummaryRequest().hashCode(); break; case 3: hash = (37 * hash) + GET_PLAN_REQUEST_FIELD_NUMBER; hash = (53 * hash) + getGetPlanRequest().hashCode(); break; case 4: hash = (37 * hash) + GET_PROFILE_REQUEST_FIELD_NUMBER; hash = (53 * hash) + getGetProfileRequest().hashCode(); break; case 5: hash = (37 * hash) + GET_PROGRESS_REQUEST_FIELD_NUMBER; hash = (53 * hash) + getGetProgressRequest().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest 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.coordinator.CoordinatorServiceOuterClass.JobRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest 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.coordinator.CoordinatorServiceOuterClass.JobRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest 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.coordinator.CoordinatorServiceOuterClass.JobRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest 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.coordinator.CoordinatorServiceOuterClass.JobRequest 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.coordinator.JobRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.JobRequest) cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest.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(); userAgent_ = ""; requestCase_ = 0; request_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_JobRequest_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest build() { cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest result = new cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest(this); if (requestCase_ == 1) { if (getResultRequestBuilder_ == null) { result.request_ = request_; } else { result.request_ = getResultRequestBuilder_.build(); } } if (requestCase_ == 2) { if (getSummaryRequestBuilder_ == null) { result.request_ = request_; } else { result.request_ = getSummaryRequestBuilder_.build(); } } if (requestCase_ == 3) { if (getPlanRequestBuilder_ == null) { result.request_ = request_; } else { result.request_ = getPlanRequestBuilder_.build(); } } if (requestCase_ == 4) { if (getProfileRequestBuilder_ == null) { result.request_ = request_; } else { result.request_ = getProfileRequestBuilder_.build(); } } if (requestCase_ == 5) { if (getProgressRequestBuilder_ == null) { result.request_ = request_; } else { result.request_ = getProgressRequestBuilder_.build(); } } result.userAgent_ = userAgent_; result.requestCase_ = requestCase_; 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.coordinator.CoordinatorServiceOuterClass.JobRequest) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest.getDefaultInstance()) return this; if (!other.getUserAgent().isEmpty()) { userAgent_ = other.userAgent_; onChanged(); } switch (other.getRequestCase()) { case GET_RESULT_REQUEST: { mergeGetResultRequest(other.getGetResultRequest()); break; } case GET_SUMMARY_REQUEST: { mergeGetSummaryRequest(other.getGetSummaryRequest()); break; } case GET_PLAN_REQUEST: { mergeGetPlanRequest(other.getGetPlanRequest()); break; } case GET_PROFILE_REQUEST: { mergeGetProfileRequest(other.getGetProfileRequest()); break; } case GET_PROGRESS_REQUEST: { mergeGetProgressRequest(other.getGetProgressRequest()); break; } case REQUEST_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int requestCase_ = 0; private java.lang.Object request_; public RequestCase getRequestCase() { return RequestCase.forNumber( requestCase_); } public Builder clearRequest() { requestCase_ = 0; request_ = null; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequestOrBuilder> getResultRequestBuilder_; /** * .cz.proto.coordinator.GetJobResultRequest get_result_request = 1; * @return Whether the getResultRequest field is set. */ @java.lang.Override public boolean hasGetResultRequest() { return requestCase_ == 1; } /** * .cz.proto.coordinator.GetJobResultRequest get_result_request = 1; * @return The getResultRequest. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest getGetResultRequest() { if (getResultRequestBuilder_ == null) { if (requestCase_ == 1) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest.getDefaultInstance(); } else { if (requestCase_ == 1) { return getResultRequestBuilder_.getMessage(); } return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest.getDefaultInstance(); } } /** * .cz.proto.coordinator.GetJobResultRequest get_result_request = 1; */ public Builder setGetResultRequest(cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest value) { if (getResultRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } request_ = value; onChanged(); } else { getResultRequestBuilder_.setMessage(value); } requestCase_ = 1; return this; } /** * .cz.proto.coordinator.GetJobResultRequest get_result_request = 1; */ public Builder setGetResultRequest( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest.Builder builderForValue) { if (getResultRequestBuilder_ == null) { request_ = builderForValue.build(); onChanged(); } else { getResultRequestBuilder_.setMessage(builderForValue.build()); } requestCase_ = 1; return this; } /** * .cz.proto.coordinator.GetJobResultRequest get_result_request = 1; */ public Builder mergeGetResultRequest(cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest value) { if (getResultRequestBuilder_ == null) { if (requestCase_ == 1 && request_ != cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest.getDefaultInstance()) { request_ = cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest.newBuilder((cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest) request_) .mergeFrom(value).buildPartial(); } else { request_ = value; } onChanged(); } else { if (requestCase_ == 1) { getResultRequestBuilder_.mergeFrom(value); } getResultRequestBuilder_.setMessage(value); } requestCase_ = 1; return this; } /** * .cz.proto.coordinator.GetJobResultRequest get_result_request = 1; */ public Builder clearGetResultRequest() { if (getResultRequestBuilder_ == null) { if (requestCase_ == 1) { requestCase_ = 0; request_ = null; onChanged(); } } else { if (requestCase_ == 1) { requestCase_ = 0; request_ = null; } getResultRequestBuilder_.clear(); } return this; } /** * .cz.proto.coordinator.GetJobResultRequest get_result_request = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest.Builder getGetResultRequestBuilder() { return getGetResultRequestFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.GetJobResultRequest get_result_request = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequestOrBuilder getGetResultRequestOrBuilder() { if ((requestCase_ == 1) && (getResultRequestBuilder_ != null)) { return getResultRequestBuilder_.getMessageOrBuilder(); } else { if (requestCase_ == 1) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest.getDefaultInstance(); } } /** * .cz.proto.coordinator.GetJobResultRequest get_result_request = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequestOrBuilder> getGetResultRequestFieldBuilder() { if (getResultRequestBuilder_ == null) { if (!(requestCase_ == 1)) { request_ = cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest.getDefaultInstance(); } getResultRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequestOrBuilder>( (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobResultRequest) request_, getParentForChildren(), isClean()); request_ = null; } requestCase_ = 1; onChanged();; return getResultRequestBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequestOrBuilder> getSummaryRequestBuilder_; /** * .cz.proto.coordinator.GetJobSummaryRequest get_summary_request = 2; * @return Whether the getSummaryRequest field is set. */ @java.lang.Override public boolean hasGetSummaryRequest() { return requestCase_ == 2; } /** * .cz.proto.coordinator.GetJobSummaryRequest get_summary_request = 2; * @return The getSummaryRequest. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest getGetSummaryRequest() { if (getSummaryRequestBuilder_ == null) { if (requestCase_ == 2) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest.getDefaultInstance(); } else { if (requestCase_ == 2) { return getSummaryRequestBuilder_.getMessage(); } return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest.getDefaultInstance(); } } /** * .cz.proto.coordinator.GetJobSummaryRequest get_summary_request = 2; */ public Builder setGetSummaryRequest(cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest value) { if (getSummaryRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } request_ = value; onChanged(); } else { getSummaryRequestBuilder_.setMessage(value); } requestCase_ = 2; return this; } /** * .cz.proto.coordinator.GetJobSummaryRequest get_summary_request = 2; */ public Builder setGetSummaryRequest( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest.Builder builderForValue) { if (getSummaryRequestBuilder_ == null) { request_ = builderForValue.build(); onChanged(); } else { getSummaryRequestBuilder_.setMessage(builderForValue.build()); } requestCase_ = 2; return this; } /** * .cz.proto.coordinator.GetJobSummaryRequest get_summary_request = 2; */ public Builder mergeGetSummaryRequest(cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest value) { if (getSummaryRequestBuilder_ == null) { if (requestCase_ == 2 && request_ != cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest.getDefaultInstance()) { request_ = cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest.newBuilder((cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest) request_) .mergeFrom(value).buildPartial(); } else { request_ = value; } onChanged(); } else { if (requestCase_ == 2) { getSummaryRequestBuilder_.mergeFrom(value); } getSummaryRequestBuilder_.setMessage(value); } requestCase_ = 2; return this; } /** * .cz.proto.coordinator.GetJobSummaryRequest get_summary_request = 2; */ public Builder clearGetSummaryRequest() { if (getSummaryRequestBuilder_ == null) { if (requestCase_ == 2) { requestCase_ = 0; request_ = null; onChanged(); } } else { if (requestCase_ == 2) { requestCase_ = 0; request_ = null; } getSummaryRequestBuilder_.clear(); } return this; } /** * .cz.proto.coordinator.GetJobSummaryRequest get_summary_request = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest.Builder getGetSummaryRequestBuilder() { return getGetSummaryRequestFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.GetJobSummaryRequest get_summary_request = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequestOrBuilder getGetSummaryRequestOrBuilder() { if ((requestCase_ == 2) && (getSummaryRequestBuilder_ != null)) { return getSummaryRequestBuilder_.getMessageOrBuilder(); } else { if (requestCase_ == 2) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest.getDefaultInstance(); } } /** * .cz.proto.coordinator.GetJobSummaryRequest get_summary_request = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequestOrBuilder> getGetSummaryRequestFieldBuilder() { if (getSummaryRequestBuilder_ == null) { if (!(requestCase_ == 2)) { request_ = cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest.getDefaultInstance(); } getSummaryRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequestOrBuilder>( (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobSummaryRequest) request_, getParentForChildren(), isClean()); request_ = null; } requestCase_ = 2; onChanged();; return getSummaryRequestBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequestOrBuilder> getPlanRequestBuilder_; /** * .cz.proto.coordinator.GetJobPlanRequest get_plan_request = 3; * @return Whether the getPlanRequest field is set. */ @java.lang.Override public boolean hasGetPlanRequest() { return requestCase_ == 3; } /** * .cz.proto.coordinator.GetJobPlanRequest get_plan_request = 3; * @return The getPlanRequest. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest getGetPlanRequest() { if (getPlanRequestBuilder_ == null) { if (requestCase_ == 3) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest.getDefaultInstance(); } else { if (requestCase_ == 3) { return getPlanRequestBuilder_.getMessage(); } return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest.getDefaultInstance(); } } /** * .cz.proto.coordinator.GetJobPlanRequest get_plan_request = 3; */ public Builder setGetPlanRequest(cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest value) { if (getPlanRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } request_ = value; onChanged(); } else { getPlanRequestBuilder_.setMessage(value); } requestCase_ = 3; return this; } /** * .cz.proto.coordinator.GetJobPlanRequest get_plan_request = 3; */ public Builder setGetPlanRequest( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest.Builder builderForValue) { if (getPlanRequestBuilder_ == null) { request_ = builderForValue.build(); onChanged(); } else { getPlanRequestBuilder_.setMessage(builderForValue.build()); } requestCase_ = 3; return this; } /** * .cz.proto.coordinator.GetJobPlanRequest get_plan_request = 3; */ public Builder mergeGetPlanRequest(cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest value) { if (getPlanRequestBuilder_ == null) { if (requestCase_ == 3 && request_ != cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest.getDefaultInstance()) { request_ = cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest.newBuilder((cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest) request_) .mergeFrom(value).buildPartial(); } else { request_ = value; } onChanged(); } else { if (requestCase_ == 3) { getPlanRequestBuilder_.mergeFrom(value); } getPlanRequestBuilder_.setMessage(value); } requestCase_ = 3; return this; } /** * .cz.proto.coordinator.GetJobPlanRequest get_plan_request = 3; */ public Builder clearGetPlanRequest() { if (getPlanRequestBuilder_ == null) { if (requestCase_ == 3) { requestCase_ = 0; request_ = null; onChanged(); } } else { if (requestCase_ == 3) { requestCase_ = 0; request_ = null; } getPlanRequestBuilder_.clear(); } return this; } /** * .cz.proto.coordinator.GetJobPlanRequest get_plan_request = 3; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest.Builder getGetPlanRequestBuilder() { return getGetPlanRequestFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.GetJobPlanRequest get_plan_request = 3; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequestOrBuilder getGetPlanRequestOrBuilder() { if ((requestCase_ == 3) && (getPlanRequestBuilder_ != null)) { return getPlanRequestBuilder_.getMessageOrBuilder(); } else { if (requestCase_ == 3) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest.getDefaultInstance(); } } /** * .cz.proto.coordinator.GetJobPlanRequest get_plan_request = 3; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequestOrBuilder> getGetPlanRequestFieldBuilder() { if (getPlanRequestBuilder_ == null) { if (!(requestCase_ == 3)) { request_ = cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest.getDefaultInstance(); } getPlanRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequestOrBuilder>( (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobPlanRequest) request_, getParentForChildren(), isClean()); request_ = null; } requestCase_ = 3; onChanged();; return getPlanRequestBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequestOrBuilder> getProfileRequestBuilder_; /** * .cz.proto.coordinator.GetJobProfileRequest get_profile_request = 4; * @return Whether the getProfileRequest field is set. */ @java.lang.Override public boolean hasGetProfileRequest() { return requestCase_ == 4; } /** * .cz.proto.coordinator.GetJobProfileRequest get_profile_request = 4; * @return The getProfileRequest. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest getGetProfileRequest() { if (getProfileRequestBuilder_ == null) { if (requestCase_ == 4) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest.getDefaultInstance(); } else { if (requestCase_ == 4) { return getProfileRequestBuilder_.getMessage(); } return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest.getDefaultInstance(); } } /** * .cz.proto.coordinator.GetJobProfileRequest get_profile_request = 4; */ public Builder setGetProfileRequest(cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest value) { if (getProfileRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } request_ = value; onChanged(); } else { getProfileRequestBuilder_.setMessage(value); } requestCase_ = 4; return this; } /** * .cz.proto.coordinator.GetJobProfileRequest get_profile_request = 4; */ public Builder setGetProfileRequest( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest.Builder builderForValue) { if (getProfileRequestBuilder_ == null) { request_ = builderForValue.build(); onChanged(); } else { getProfileRequestBuilder_.setMessage(builderForValue.build()); } requestCase_ = 4; return this; } /** * .cz.proto.coordinator.GetJobProfileRequest get_profile_request = 4; */ public Builder mergeGetProfileRequest(cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest value) { if (getProfileRequestBuilder_ == null) { if (requestCase_ == 4 && request_ != cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest.getDefaultInstance()) { request_ = cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest.newBuilder((cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest) request_) .mergeFrom(value).buildPartial(); } else { request_ = value; } onChanged(); } else { if (requestCase_ == 4) { getProfileRequestBuilder_.mergeFrom(value); } getProfileRequestBuilder_.setMessage(value); } requestCase_ = 4; return this; } /** * .cz.proto.coordinator.GetJobProfileRequest get_profile_request = 4; */ public Builder clearGetProfileRequest() { if (getProfileRequestBuilder_ == null) { if (requestCase_ == 4) { requestCase_ = 0; request_ = null; onChanged(); } } else { if (requestCase_ == 4) { requestCase_ = 0; request_ = null; } getProfileRequestBuilder_.clear(); } return this; } /** * .cz.proto.coordinator.GetJobProfileRequest get_profile_request = 4; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest.Builder getGetProfileRequestBuilder() { return getGetProfileRequestFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.GetJobProfileRequest get_profile_request = 4; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequestOrBuilder getGetProfileRequestOrBuilder() { if ((requestCase_ == 4) && (getProfileRequestBuilder_ != null)) { return getProfileRequestBuilder_.getMessageOrBuilder(); } else { if (requestCase_ == 4) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest.getDefaultInstance(); } } /** * .cz.proto.coordinator.GetJobProfileRequest get_profile_request = 4; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequestOrBuilder> getGetProfileRequestFieldBuilder() { if (getProfileRequestBuilder_ == null) { if (!(requestCase_ == 4)) { request_ = cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest.getDefaultInstance(); } getProfileRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequestOrBuilder>( (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProfileRequest) request_, getParentForChildren(), isClean()); request_ = null; } requestCase_ = 4; onChanged();; return getProfileRequestBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequestOrBuilder> getProgressRequestBuilder_; /** * .cz.proto.coordinator.GetJobProgressRequest get_progress_request = 5; * @return Whether the getProgressRequest field is set. */ @java.lang.Override public boolean hasGetProgressRequest() { return requestCase_ == 5; } /** * .cz.proto.coordinator.GetJobProgressRequest get_progress_request = 5; * @return The getProgressRequest. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest getGetProgressRequest() { if (getProgressRequestBuilder_ == null) { if (requestCase_ == 5) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest.getDefaultInstance(); } else { if (requestCase_ == 5) { return getProgressRequestBuilder_.getMessage(); } return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest.getDefaultInstance(); } } /** * .cz.proto.coordinator.GetJobProgressRequest get_progress_request = 5; */ public Builder setGetProgressRequest(cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest value) { if (getProgressRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } request_ = value; onChanged(); } else { getProgressRequestBuilder_.setMessage(value); } requestCase_ = 5; return this; } /** * .cz.proto.coordinator.GetJobProgressRequest get_progress_request = 5; */ public Builder setGetProgressRequest( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest.Builder builderForValue) { if (getProgressRequestBuilder_ == null) { request_ = builderForValue.build(); onChanged(); } else { getProgressRequestBuilder_.setMessage(builderForValue.build()); } requestCase_ = 5; return this; } /** * .cz.proto.coordinator.GetJobProgressRequest get_progress_request = 5; */ public Builder mergeGetProgressRequest(cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest value) { if (getProgressRequestBuilder_ == null) { if (requestCase_ == 5 && request_ != cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest.getDefaultInstance()) { request_ = cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest.newBuilder((cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest) request_) .mergeFrom(value).buildPartial(); } else { request_ = value; } onChanged(); } else { if (requestCase_ == 5) { getProgressRequestBuilder_.mergeFrom(value); } getProgressRequestBuilder_.setMessage(value); } requestCase_ = 5; return this; } /** * .cz.proto.coordinator.GetJobProgressRequest get_progress_request = 5; */ public Builder clearGetProgressRequest() { if (getProgressRequestBuilder_ == null) { if (requestCase_ == 5) { requestCase_ = 0; request_ = null; onChanged(); } } else { if (requestCase_ == 5) { requestCase_ = 0; request_ = null; } getProgressRequestBuilder_.clear(); } return this; } /** * .cz.proto.coordinator.GetJobProgressRequest get_progress_request = 5; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest.Builder getGetProgressRequestBuilder() { return getGetProgressRequestFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.GetJobProgressRequest get_progress_request = 5; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequestOrBuilder getGetProgressRequestOrBuilder() { if ((requestCase_ == 5) && (getProgressRequestBuilder_ != null)) { return getProgressRequestBuilder_.getMessageOrBuilder(); } else { if (requestCase_ == 5) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest.getDefaultInstance(); } } /** * .cz.proto.coordinator.GetJobProgressRequest get_progress_request = 5; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequestOrBuilder> getGetProgressRequestFieldBuilder() { if (getProgressRequestBuilder_ == null) { if (!(requestCase_ == 5)) { request_ = cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest.getDefaultInstance(); } getProgressRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequestOrBuilder>( (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobProgressRequest) request_, getParentForChildren(), isClean()); request_ = null; } requestCase_ = 5; onChanged();; return getProgressRequestBuilder_; } private java.lang.Object userAgent_ = ""; /** * string user_agent = 30; * @return The userAgent. */ public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userAgent_ = s; return s; } else { return (java.lang.String) ref; } } /** * string user_agent = 30; * @return The bytes for userAgent. */ public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string user_agent = 30; * @param value The userAgent to set. * @return This builder for chaining. */ public Builder setUserAgent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userAgent_ = value; onChanged(); return this; } /** * string user_agent = 30; * @return This builder for chaining. */ public Builder clearUserAgent() { userAgent_ = getDefaultInstance().getUserAgent(); onChanged(); return this; } /** * string user_agent = 30; * @param value The bytes for userAgent to set. * @return This builder for chaining. */ public Builder setUserAgentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userAgent_ = 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.coordinator.JobRequest) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.JobRequest) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.JobRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public JobRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new JobRequest(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.coordinator.CoordinatorServiceOuterClass.JobRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface InitializeInstanceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.InitializeInstanceRequest) com.google.protobuf.MessageOrBuilder { /** * repeated .cz.proto.coordinator.CreateWorkspaceRequest create_workspace = 1; */ java.util.List getCreateWorkspaceList(); /** * repeated .cz.proto.coordinator.CreateWorkspaceRequest create_workspace = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest getCreateWorkspace(int index); /** * repeated .cz.proto.coordinator.CreateWorkspaceRequest create_workspace = 1; */ int getCreateWorkspaceCount(); /** * repeated .cz.proto.coordinator.CreateWorkspaceRequest create_workspace = 1; */ java.util.List getCreateWorkspaceOrBuilderList(); /** * repeated .cz.proto.coordinator.CreateWorkspaceRequest create_workspace = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequestOrBuilder getCreateWorkspaceOrBuilder( int index); } /** * Protobuf type {@code cz.proto.coordinator.InitializeInstanceRequest} */ public static final class InitializeInstanceRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.InitializeInstanceRequest) InitializeInstanceRequestOrBuilder { private static final long serialVersionUID = 0L; // Use InitializeInstanceRequest.newBuilder() to construct. private InitializeInstanceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private InitializeInstanceRequest() { createWorkspace_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new InitializeInstanceRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private InitializeInstanceRequest( 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)) { createWorkspace_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } createWorkspace_.add( input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.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)) { createWorkspace_ = java.util.Collections.unmodifiableList(createWorkspace_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_InitializeInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_InitializeInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest.Builder.class); } public static final int CREATE_WORKSPACE_FIELD_NUMBER = 1; private java.util.List createWorkspace_; /** * repeated .cz.proto.coordinator.CreateWorkspaceRequest create_workspace = 1; */ @java.lang.Override public java.util.List getCreateWorkspaceList() { return createWorkspace_; } /** * repeated .cz.proto.coordinator.CreateWorkspaceRequest create_workspace = 1; */ @java.lang.Override public java.util.List getCreateWorkspaceOrBuilderList() { return createWorkspace_; } /** * repeated .cz.proto.coordinator.CreateWorkspaceRequest create_workspace = 1; */ @java.lang.Override public int getCreateWorkspaceCount() { return createWorkspace_.size(); } /** * repeated .cz.proto.coordinator.CreateWorkspaceRequest create_workspace = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest getCreateWorkspace(int index) { return createWorkspace_.get(index); } /** * repeated .cz.proto.coordinator.CreateWorkspaceRequest create_workspace = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequestOrBuilder getCreateWorkspaceOrBuilder( int index) { return createWorkspace_.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 { for (int i = 0; i < createWorkspace_.size(); i++) { output.writeMessage(1, createWorkspace_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < createWorkspace_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, createWorkspace_.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.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest other = (cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest) obj; if (!getCreateWorkspaceList() .equals(other.getCreateWorkspaceList())) 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 (getCreateWorkspaceCount() > 0) { hash = (37 * hash) + CREATE_WORKSPACE_FIELD_NUMBER; hash = (53 * hash) + getCreateWorkspaceList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest 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.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest 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.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest 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.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest 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.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest 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.coordinator.InitializeInstanceRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.InitializeInstanceRequest) cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_InitializeInstanceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_InitializeInstanceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getCreateWorkspaceFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (createWorkspaceBuilder_ == null) { createWorkspace_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { createWorkspaceBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_InitializeInstanceRequest_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest build() { cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest result = new cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest(this); int from_bitField0_ = bitField0_; if (createWorkspaceBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { createWorkspace_ = java.util.Collections.unmodifiableList(createWorkspace_); bitField0_ = (bitField0_ & ~0x00000001); } result.createWorkspace_ = createWorkspace_; } else { result.createWorkspace_ = createWorkspaceBuilder_.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.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest.getDefaultInstance()) return this; if (createWorkspaceBuilder_ == null) { if (!other.createWorkspace_.isEmpty()) { if (createWorkspace_.isEmpty()) { createWorkspace_ = other.createWorkspace_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureCreateWorkspaceIsMutable(); createWorkspace_.addAll(other.createWorkspace_); } onChanged(); } } else { if (!other.createWorkspace_.isEmpty()) { if (createWorkspaceBuilder_.isEmpty()) { createWorkspaceBuilder_.dispose(); createWorkspaceBuilder_ = null; createWorkspace_ = other.createWorkspace_; bitField0_ = (bitField0_ & ~0x00000001); createWorkspaceBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getCreateWorkspaceFieldBuilder() : null; } else { createWorkspaceBuilder_.addAllMessages(other.createWorkspace_); } } } 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.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List createWorkspace_ = java.util.Collections.emptyList(); private void ensureCreateWorkspaceIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { createWorkspace_ = new java.util.ArrayList(createWorkspace_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequestOrBuilder> createWorkspaceBuilder_; /** * repeated .cz.proto.coordinator.CreateWorkspaceRequest create_workspace = 1; */ public java.util.List getCreateWorkspaceList() { if (createWorkspaceBuilder_ == null) { return java.util.Collections.unmodifiableList(createWorkspace_); } else { return createWorkspaceBuilder_.getMessageList(); } } /** * repeated .cz.proto.coordinator.CreateWorkspaceRequest create_workspace = 1; */ public int getCreateWorkspaceCount() { if (createWorkspaceBuilder_ == null) { return createWorkspace_.size(); } else { return createWorkspaceBuilder_.getCount(); } } /** * repeated .cz.proto.coordinator.CreateWorkspaceRequest create_workspace = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest getCreateWorkspace(int index) { if (createWorkspaceBuilder_ == null) { return createWorkspace_.get(index); } else { return createWorkspaceBuilder_.getMessage(index); } } /** * repeated .cz.proto.coordinator.CreateWorkspaceRequest create_workspace = 1; */ public Builder setCreateWorkspace( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest value) { if (createWorkspaceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCreateWorkspaceIsMutable(); createWorkspace_.set(index, value); onChanged(); } else { createWorkspaceBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.coordinator.CreateWorkspaceRequest create_workspace = 1; */ public Builder setCreateWorkspace( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.Builder builderForValue) { if (createWorkspaceBuilder_ == null) { ensureCreateWorkspaceIsMutable(); createWorkspace_.set(index, builderForValue.build()); onChanged(); } else { createWorkspaceBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.CreateWorkspaceRequest create_workspace = 1; */ public Builder addCreateWorkspace(cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest value) { if (createWorkspaceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCreateWorkspaceIsMutable(); createWorkspace_.add(value); onChanged(); } else { createWorkspaceBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.coordinator.CreateWorkspaceRequest create_workspace = 1; */ public Builder addCreateWorkspace( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest value) { if (createWorkspaceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCreateWorkspaceIsMutable(); createWorkspace_.add(index, value); onChanged(); } else { createWorkspaceBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.coordinator.CreateWorkspaceRequest create_workspace = 1; */ public Builder addCreateWorkspace( cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.Builder builderForValue) { if (createWorkspaceBuilder_ == null) { ensureCreateWorkspaceIsMutable(); createWorkspace_.add(builderForValue.build()); onChanged(); } else { createWorkspaceBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.CreateWorkspaceRequest create_workspace = 1; */ public Builder addCreateWorkspace( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.Builder builderForValue) { if (createWorkspaceBuilder_ == null) { ensureCreateWorkspaceIsMutable(); createWorkspace_.add(index, builderForValue.build()); onChanged(); } else { createWorkspaceBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.CreateWorkspaceRequest create_workspace = 1; */ public Builder addAllCreateWorkspace( java.lang.Iterable values) { if (createWorkspaceBuilder_ == null) { ensureCreateWorkspaceIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, createWorkspace_); onChanged(); } else { createWorkspaceBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.coordinator.CreateWorkspaceRequest create_workspace = 1; */ public Builder clearCreateWorkspace() { if (createWorkspaceBuilder_ == null) { createWorkspace_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { createWorkspaceBuilder_.clear(); } return this; } /** * repeated .cz.proto.coordinator.CreateWorkspaceRequest create_workspace = 1; */ public Builder removeCreateWorkspace(int index) { if (createWorkspaceBuilder_ == null) { ensureCreateWorkspaceIsMutable(); createWorkspace_.remove(index); onChanged(); } else { createWorkspaceBuilder_.remove(index); } return this; } /** * repeated .cz.proto.coordinator.CreateWorkspaceRequest create_workspace = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.Builder getCreateWorkspaceBuilder( int index) { return getCreateWorkspaceFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.coordinator.CreateWorkspaceRequest create_workspace = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequestOrBuilder getCreateWorkspaceOrBuilder( int index) { if (createWorkspaceBuilder_ == null) { return createWorkspace_.get(index); } else { return createWorkspaceBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.coordinator.CreateWorkspaceRequest create_workspace = 1; */ public java.util.List getCreateWorkspaceOrBuilderList() { if (createWorkspaceBuilder_ != null) { return createWorkspaceBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(createWorkspace_); } } /** * repeated .cz.proto.coordinator.CreateWorkspaceRequest create_workspace = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.Builder addCreateWorkspaceBuilder() { return getCreateWorkspaceFieldBuilder().addBuilder( cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.getDefaultInstance()); } /** * repeated .cz.proto.coordinator.CreateWorkspaceRequest create_workspace = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.Builder addCreateWorkspaceBuilder( int index) { return getCreateWorkspaceFieldBuilder().addBuilder( index, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.getDefaultInstance()); } /** * repeated .cz.proto.coordinator.CreateWorkspaceRequest create_workspace = 1; */ public java.util.List getCreateWorkspaceBuilderList() { return getCreateWorkspaceFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequestOrBuilder> getCreateWorkspaceFieldBuilder() { if (createWorkspaceBuilder_ == null) { createWorkspaceBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequestOrBuilder>( createWorkspace_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); createWorkspace_ = null; } return createWorkspaceBuilder_; } @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.coordinator.InitializeInstanceRequest) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.InitializeInstanceRequest) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public InitializeInstanceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new InitializeInstanceRequest(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.coordinator.CoordinatorServiceOuterClass.InitializeInstanceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface InitializeInstanceResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.InitializeInstanceResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ boolean hasRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ cz.proto.ServiceCommon.ResponseStatus getRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; */ cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder(); /** * repeated .cz.proto.coordinator.CreateWorkspaceResponse create_workspace = 2; */ java.util.List getCreateWorkspaceList(); /** * repeated .cz.proto.coordinator.CreateWorkspaceResponse create_workspace = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse getCreateWorkspace(int index); /** * repeated .cz.proto.coordinator.CreateWorkspaceResponse create_workspace = 2; */ int getCreateWorkspaceCount(); /** * repeated .cz.proto.coordinator.CreateWorkspaceResponse create_workspace = 2; */ java.util.List getCreateWorkspaceOrBuilderList(); /** * repeated .cz.proto.coordinator.CreateWorkspaceResponse create_workspace = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponseOrBuilder getCreateWorkspaceOrBuilder( int index); } /** * Protobuf type {@code cz.proto.coordinator.InitializeInstanceResponse} */ public static final class InitializeInstanceResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.InitializeInstanceResponse) InitializeInstanceResponseOrBuilder { private static final long serialVersionUID = 0L; // Use InitializeInstanceResponse.newBuilder() to construct. private InitializeInstanceResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private InitializeInstanceResponse() { createWorkspace_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new InitializeInstanceResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private InitializeInstanceResponse( 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.ServiceCommon.ResponseStatus.Builder subBuilder = null; if (respStatus_ != null) { subBuilder = respStatus_.toBuilder(); } respStatus_ = input.readMessage(cz.proto.ServiceCommon.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(respStatus_); respStatus_ = subBuilder.buildPartial(); } break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { createWorkspace_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } createWorkspace_.add( input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse.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)) { createWorkspace_ = java.util.Collections.unmodifiableList(createWorkspace_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_InitializeInstanceResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_InitializeInstanceResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse.Builder.class); } public static final int RESP_STATUS_FIELD_NUMBER = 1; private cz.proto.ServiceCommon.ResponseStatus respStatus_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ @java.lang.Override public boolean hasRespStatus() { return respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } /** * .cz.proto.ResponseStatus resp_status = 1; */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { return getRespStatus(); } public static final int CREATE_WORKSPACE_FIELD_NUMBER = 2; private java.util.List createWorkspace_; /** * repeated .cz.proto.coordinator.CreateWorkspaceResponse create_workspace = 2; */ @java.lang.Override public java.util.List getCreateWorkspaceList() { return createWorkspace_; } /** * repeated .cz.proto.coordinator.CreateWorkspaceResponse create_workspace = 2; */ @java.lang.Override public java.util.List getCreateWorkspaceOrBuilderList() { return createWorkspace_; } /** * repeated .cz.proto.coordinator.CreateWorkspaceResponse create_workspace = 2; */ @java.lang.Override public int getCreateWorkspaceCount() { return createWorkspace_.size(); } /** * repeated .cz.proto.coordinator.CreateWorkspaceResponse create_workspace = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse getCreateWorkspace(int index) { return createWorkspace_.get(index); } /** * repeated .cz.proto.coordinator.CreateWorkspaceResponse create_workspace = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponseOrBuilder getCreateWorkspaceOrBuilder( int index) { return createWorkspace_.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 (respStatus_ != null) { output.writeMessage(1, getRespStatus()); } for (int i = 0; i < createWorkspace_.size(); i++) { output.writeMessage(2, createWorkspace_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (respStatus_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRespStatus()); } for (int i = 0; i < createWorkspace_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, createWorkspace_.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.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse other = (cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse) obj; if (hasRespStatus() != other.hasRespStatus()) return false; if (hasRespStatus()) { if (!getRespStatus() .equals(other.getRespStatus())) return false; } if (!getCreateWorkspaceList() .equals(other.getCreateWorkspaceList())) 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 (hasRespStatus()) { hash = (37 * hash) + RESP_STATUS_FIELD_NUMBER; hash = (53 * hash) + getRespStatus().hashCode(); } if (getCreateWorkspaceCount() > 0) { hash = (37 * hash) + CREATE_WORKSPACE_FIELD_NUMBER; hash = (53 * hash) + getCreateWorkspaceList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse 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.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse 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.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse 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.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse 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.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse 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.coordinator.InitializeInstanceResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.InitializeInstanceResponse) cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_InitializeInstanceResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_InitializeInstanceResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getCreateWorkspaceFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (respStatusBuilder_ == null) { respStatus_ = null; } else { respStatus_ = null; respStatusBuilder_ = null; } if (createWorkspaceBuilder_ == null) { createWorkspace_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { createWorkspaceBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_InitializeInstanceResponse_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse build() { cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse result = new cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse(this); int from_bitField0_ = bitField0_; if (respStatusBuilder_ == null) { result.respStatus_ = respStatus_; } else { result.respStatus_ = respStatusBuilder_.build(); } if (createWorkspaceBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { createWorkspace_ = java.util.Collections.unmodifiableList(createWorkspace_); bitField0_ = (bitField0_ & ~0x00000001); } result.createWorkspace_ = createWorkspace_; } else { result.createWorkspace_ = createWorkspaceBuilder_.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.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse.getDefaultInstance()) return this; if (other.hasRespStatus()) { mergeRespStatus(other.getRespStatus()); } if (createWorkspaceBuilder_ == null) { if (!other.createWorkspace_.isEmpty()) { if (createWorkspace_.isEmpty()) { createWorkspace_ = other.createWorkspace_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureCreateWorkspaceIsMutable(); createWorkspace_.addAll(other.createWorkspace_); } onChanged(); } } else { if (!other.createWorkspace_.isEmpty()) { if (createWorkspaceBuilder_.isEmpty()) { createWorkspaceBuilder_.dispose(); createWorkspaceBuilder_ = null; createWorkspace_ = other.createWorkspace_; bitField0_ = (bitField0_ & ~0x00000001); createWorkspaceBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getCreateWorkspaceFieldBuilder() : null; } else { createWorkspaceBuilder_.addAllMessages(other.createWorkspace_); } } } 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.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.ServiceCommon.ResponseStatus respStatus_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> respStatusBuilder_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ public boolean hasRespStatus() { return respStatusBuilder_ != null || respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { if (respStatusBuilder_ == null) { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } else { return respStatusBuilder_.getMessage(); } } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } respStatus_ = value; onChanged(); } else { respStatusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus( cz.proto.ServiceCommon.ResponseStatus.Builder builderForValue) { if (respStatusBuilder_ == null) { respStatus_ = builderForValue.build(); onChanged(); } else { respStatusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder mergeRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (respStatus_ != null) { respStatus_ = cz.proto.ServiceCommon.ResponseStatus.newBuilder(respStatus_).mergeFrom(value).buildPartial(); } else { respStatus_ = value; } onChanged(); } else { respStatusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder clearRespStatus() { if (respStatusBuilder_ == null) { respStatus_ = null; onChanged(); } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatus.Builder getRespStatusBuilder() { onChanged(); return getRespStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { if (respStatusBuilder_ != null) { return respStatusBuilder_.getMessageOrBuilder(); } else { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } } /** * .cz.proto.ResponseStatus resp_status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> getRespStatusFieldBuilder() { if (respStatusBuilder_ == null) { respStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder>( getRespStatus(), getParentForChildren(), isClean()); respStatus_ = null; } return respStatusBuilder_; } private java.util.List createWorkspace_ = java.util.Collections.emptyList(); private void ensureCreateWorkspaceIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { createWorkspace_ = new java.util.ArrayList(createWorkspace_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponseOrBuilder> createWorkspaceBuilder_; /** * repeated .cz.proto.coordinator.CreateWorkspaceResponse create_workspace = 2; */ public java.util.List getCreateWorkspaceList() { if (createWorkspaceBuilder_ == null) { return java.util.Collections.unmodifiableList(createWorkspace_); } else { return createWorkspaceBuilder_.getMessageList(); } } /** * repeated .cz.proto.coordinator.CreateWorkspaceResponse create_workspace = 2; */ public int getCreateWorkspaceCount() { if (createWorkspaceBuilder_ == null) { return createWorkspace_.size(); } else { return createWorkspaceBuilder_.getCount(); } } /** * repeated .cz.proto.coordinator.CreateWorkspaceResponse create_workspace = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse getCreateWorkspace(int index) { if (createWorkspaceBuilder_ == null) { return createWorkspace_.get(index); } else { return createWorkspaceBuilder_.getMessage(index); } } /** * repeated .cz.proto.coordinator.CreateWorkspaceResponse create_workspace = 2; */ public Builder setCreateWorkspace( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse value) { if (createWorkspaceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCreateWorkspaceIsMutable(); createWorkspace_.set(index, value); onChanged(); } else { createWorkspaceBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.coordinator.CreateWorkspaceResponse create_workspace = 2; */ public Builder setCreateWorkspace( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse.Builder builderForValue) { if (createWorkspaceBuilder_ == null) { ensureCreateWorkspaceIsMutable(); createWorkspace_.set(index, builderForValue.build()); onChanged(); } else { createWorkspaceBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.CreateWorkspaceResponse create_workspace = 2; */ public Builder addCreateWorkspace(cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse value) { if (createWorkspaceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCreateWorkspaceIsMutable(); createWorkspace_.add(value); onChanged(); } else { createWorkspaceBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.coordinator.CreateWorkspaceResponse create_workspace = 2; */ public Builder addCreateWorkspace( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse value) { if (createWorkspaceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCreateWorkspaceIsMutable(); createWorkspace_.add(index, value); onChanged(); } else { createWorkspaceBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.coordinator.CreateWorkspaceResponse create_workspace = 2; */ public Builder addCreateWorkspace( cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse.Builder builderForValue) { if (createWorkspaceBuilder_ == null) { ensureCreateWorkspaceIsMutable(); createWorkspace_.add(builderForValue.build()); onChanged(); } else { createWorkspaceBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.CreateWorkspaceResponse create_workspace = 2; */ public Builder addCreateWorkspace( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse.Builder builderForValue) { if (createWorkspaceBuilder_ == null) { ensureCreateWorkspaceIsMutable(); createWorkspace_.add(index, builderForValue.build()); onChanged(); } else { createWorkspaceBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.CreateWorkspaceResponse create_workspace = 2; */ public Builder addAllCreateWorkspace( java.lang.Iterable values) { if (createWorkspaceBuilder_ == null) { ensureCreateWorkspaceIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, createWorkspace_); onChanged(); } else { createWorkspaceBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.coordinator.CreateWorkspaceResponse create_workspace = 2; */ public Builder clearCreateWorkspace() { if (createWorkspaceBuilder_ == null) { createWorkspace_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { createWorkspaceBuilder_.clear(); } return this; } /** * repeated .cz.proto.coordinator.CreateWorkspaceResponse create_workspace = 2; */ public Builder removeCreateWorkspace(int index) { if (createWorkspaceBuilder_ == null) { ensureCreateWorkspaceIsMutable(); createWorkspace_.remove(index); onChanged(); } else { createWorkspaceBuilder_.remove(index); } return this; } /** * repeated .cz.proto.coordinator.CreateWorkspaceResponse create_workspace = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse.Builder getCreateWorkspaceBuilder( int index) { return getCreateWorkspaceFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.coordinator.CreateWorkspaceResponse create_workspace = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponseOrBuilder getCreateWorkspaceOrBuilder( int index) { if (createWorkspaceBuilder_ == null) { return createWorkspace_.get(index); } else { return createWorkspaceBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.coordinator.CreateWorkspaceResponse create_workspace = 2; */ public java.util.List getCreateWorkspaceOrBuilderList() { if (createWorkspaceBuilder_ != null) { return createWorkspaceBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(createWorkspace_); } } /** * repeated .cz.proto.coordinator.CreateWorkspaceResponse create_workspace = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse.Builder addCreateWorkspaceBuilder() { return getCreateWorkspaceFieldBuilder().addBuilder( cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse.getDefaultInstance()); } /** * repeated .cz.proto.coordinator.CreateWorkspaceResponse create_workspace = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse.Builder addCreateWorkspaceBuilder( int index) { return getCreateWorkspaceFieldBuilder().addBuilder( index, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse.getDefaultInstance()); } /** * repeated .cz.proto.coordinator.CreateWorkspaceResponse create_workspace = 2; */ public java.util.List getCreateWorkspaceBuilderList() { return getCreateWorkspaceFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponseOrBuilder> getCreateWorkspaceFieldBuilder() { if (createWorkspaceBuilder_ == null) { createWorkspaceBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponseOrBuilder>( createWorkspace_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); createWorkspace_ = null; } return createWorkspaceBuilder_; } @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.coordinator.InitializeInstanceResponse) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.InitializeInstanceResponse) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public InitializeInstanceResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new InitializeInstanceResponse(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.coordinator.CoordinatorServiceOuterClass.InitializeInstanceResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CreateWorkspaceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.CreateWorkspaceRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.Entity workspace = 1; * @return Whether the workspace field is set. */ boolean hasWorkspace(); /** * .cz.proto.Entity workspace = 1; * @return The workspace. */ cz.proto.MetadataEntity.Entity getWorkspace(); /** * .cz.proto.Entity workspace = 1; */ cz.proto.MetadataEntity.EntityOrBuilder getWorkspaceOrBuilder(); /** * string user_agent = 10; * @return The userAgent. */ java.lang.String getUserAgent(); /** * string user_agent = 10; * @return The bytes for userAgent. */ com.google.protobuf.ByteString getUserAgentBytes(); } /** * Protobuf type {@code cz.proto.coordinator.CreateWorkspaceRequest} */ public static final class CreateWorkspaceRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.CreateWorkspaceRequest) CreateWorkspaceRequestOrBuilder { private static final long serialVersionUID = 0L; // Use CreateWorkspaceRequest.newBuilder() to construct. private CreateWorkspaceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CreateWorkspaceRequest() { userAgent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CreateWorkspaceRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CreateWorkspaceRequest( 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 (workspace_ != null) { subBuilder = workspace_.toBuilder(); } workspace_ = input.readMessage(cz.proto.MetadataEntity.Entity.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(workspace_); workspace_ = subBuilder.buildPartial(); } break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); userAgent_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_CreateWorkspaceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_CreateWorkspaceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.Builder.class); } public static final int WORKSPACE_FIELD_NUMBER = 1; private cz.proto.MetadataEntity.Entity workspace_; /** * .cz.proto.Entity workspace = 1; * @return Whether the workspace field is set. */ @java.lang.Override public boolean hasWorkspace() { return workspace_ != null; } /** * .cz.proto.Entity workspace = 1; * @return The workspace. */ @java.lang.Override public cz.proto.MetadataEntity.Entity getWorkspace() { return workspace_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : workspace_; } /** * .cz.proto.Entity workspace = 1; */ @java.lang.Override public cz.proto.MetadataEntity.EntityOrBuilder getWorkspaceOrBuilder() { return getWorkspace(); } public static final int USER_AGENT_FIELD_NUMBER = 10; private volatile java.lang.Object userAgent_; /** * string user_agent = 10; * @return The userAgent. */ @java.lang.Override public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; 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(); userAgent_ = s; return s; } } /** * string user_agent = 10; * @return The bytes for userAgent. */ @java.lang.Override public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = 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 (workspace_ != null) { output.writeMessage(1, getWorkspace()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, userAgent_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (workspace_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getWorkspace()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, userAgent_); } 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.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest other = (cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest) obj; if (hasWorkspace() != other.hasWorkspace()) return false; if (hasWorkspace()) { if (!getWorkspace() .equals(other.getWorkspace())) return false; } if (!getUserAgent() .equals(other.getUserAgent())) 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 (hasWorkspace()) { hash = (37 * hash) + WORKSPACE_FIELD_NUMBER; hash = (53 * hash) + getWorkspace().hashCode(); } hash = (37 * hash) + USER_AGENT_FIELD_NUMBER; hash = (53 * hash) + getUserAgent().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest 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.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest 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.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest 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.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest 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.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest 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.coordinator.CreateWorkspaceRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.CreateWorkspaceRequest) cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_CreateWorkspaceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_CreateWorkspaceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.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 (workspaceBuilder_ == null) { workspace_ = null; } else { workspace_ = null; workspaceBuilder_ = null; } userAgent_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_CreateWorkspaceRequest_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest build() { cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest result = new cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest(this); if (workspaceBuilder_ == null) { result.workspace_ = workspace_; } else { result.workspace_ = workspaceBuilder_.build(); } result.userAgent_ = userAgent_; 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.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.getDefaultInstance()) return this; if (other.hasWorkspace()) { mergeWorkspace(other.getWorkspace()); } if (!other.getUserAgent().isEmpty()) { userAgent_ = other.userAgent_; 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.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.MetadataEntity.Entity workspace_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder> workspaceBuilder_; /** * .cz.proto.Entity workspace = 1; * @return Whether the workspace field is set. */ public boolean hasWorkspace() { return workspaceBuilder_ != null || workspace_ != null; } /** * .cz.proto.Entity workspace = 1; * @return The workspace. */ public cz.proto.MetadataEntity.Entity getWorkspace() { if (workspaceBuilder_ == null) { return workspace_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : workspace_; } else { return workspaceBuilder_.getMessage(); } } /** * .cz.proto.Entity workspace = 1; */ public Builder setWorkspace(cz.proto.MetadataEntity.Entity value) { if (workspaceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } workspace_ = value; onChanged(); } else { workspaceBuilder_.setMessage(value); } return this; } /** * .cz.proto.Entity workspace = 1; */ public Builder setWorkspace( cz.proto.MetadataEntity.Entity.Builder builderForValue) { if (workspaceBuilder_ == null) { workspace_ = builderForValue.build(); onChanged(); } else { workspaceBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.Entity workspace = 1; */ public Builder mergeWorkspace(cz.proto.MetadataEntity.Entity value) { if (workspaceBuilder_ == null) { if (workspace_ != null) { workspace_ = cz.proto.MetadataEntity.Entity.newBuilder(workspace_).mergeFrom(value).buildPartial(); } else { workspace_ = value; } onChanged(); } else { workspaceBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.Entity workspace = 1; */ public Builder clearWorkspace() { if (workspaceBuilder_ == null) { workspace_ = null; onChanged(); } else { workspace_ = null; workspaceBuilder_ = null; } return this; } /** * .cz.proto.Entity workspace = 1; */ public cz.proto.MetadataEntity.Entity.Builder getWorkspaceBuilder() { onChanged(); return getWorkspaceFieldBuilder().getBuilder(); } /** * .cz.proto.Entity workspace = 1; */ public cz.proto.MetadataEntity.EntityOrBuilder getWorkspaceOrBuilder() { if (workspaceBuilder_ != null) { return workspaceBuilder_.getMessageOrBuilder(); } else { return workspace_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : workspace_; } } /** * .cz.proto.Entity workspace = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder> getWorkspaceFieldBuilder() { if (workspaceBuilder_ == null) { workspaceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder>( getWorkspace(), getParentForChildren(), isClean()); workspace_ = null; } return workspaceBuilder_; } private java.lang.Object userAgent_ = ""; /** * string user_agent = 10; * @return The userAgent. */ public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userAgent_ = s; return s; } else { return (java.lang.String) ref; } } /** * string user_agent = 10; * @return The bytes for userAgent. */ public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string user_agent = 10; * @param value The userAgent to set. * @return This builder for chaining. */ public Builder setUserAgent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userAgent_ = value; onChanged(); return this; } /** * string user_agent = 10; * @return This builder for chaining. */ public Builder clearUserAgent() { userAgent_ = getDefaultInstance().getUserAgent(); onChanged(); return this; } /** * string user_agent = 10; * @param value The bytes for userAgent to set. * @return This builder for chaining. */ public Builder setUserAgentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userAgent_ = 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.coordinator.CreateWorkspaceRequest) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.CreateWorkspaceRequest) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CreateWorkspaceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CreateWorkspaceRequest(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.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CreateWorkspaceResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.CreateWorkspaceResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ boolean hasRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ cz.proto.ServiceCommon.ResponseStatus getRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; */ cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder(); /** * int64 workspace_id = 2; * @return The workspaceId. */ long getWorkspaceId(); } /** * Protobuf type {@code cz.proto.coordinator.CreateWorkspaceResponse} */ public static final class CreateWorkspaceResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.CreateWorkspaceResponse) CreateWorkspaceResponseOrBuilder { private static final long serialVersionUID = 0L; // Use CreateWorkspaceResponse.newBuilder() to construct. private CreateWorkspaceResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CreateWorkspaceResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CreateWorkspaceResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CreateWorkspaceResponse( 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.ServiceCommon.ResponseStatus.Builder subBuilder = null; if (respStatus_ != null) { subBuilder = respStatus_.toBuilder(); } respStatus_ = input.readMessage(cz.proto.ServiceCommon.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(respStatus_); respStatus_ = subBuilder.buildPartial(); } break; } case 16: { workspaceId_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_CreateWorkspaceResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_CreateWorkspaceResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse.Builder.class); } public static final int RESP_STATUS_FIELD_NUMBER = 1; private cz.proto.ServiceCommon.ResponseStatus respStatus_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ @java.lang.Override public boolean hasRespStatus() { return respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } /** * .cz.proto.ResponseStatus resp_status = 1; */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { return getRespStatus(); } public static final int WORKSPACE_ID_FIELD_NUMBER = 2; private long workspaceId_; /** * int64 workspace_id = 2; * @return The workspaceId. */ @java.lang.Override public long getWorkspaceId() { return workspaceId_; } 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 (respStatus_ != null) { output.writeMessage(1, getRespStatus()); } if (workspaceId_ != 0L) { output.writeInt64(2, workspaceId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (respStatus_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRespStatus()); } if (workspaceId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, workspaceId_); } 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.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse other = (cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse) obj; if (hasRespStatus() != other.hasRespStatus()) return false; if (hasRespStatus()) { if (!getRespStatus() .equals(other.getRespStatus())) return false; } if (getWorkspaceId() != other.getWorkspaceId()) 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 (hasRespStatus()) { hash = (37 * hash) + RESP_STATUS_FIELD_NUMBER; hash = (53 * hash) + getRespStatus().hashCode(); } hash = (37 * hash) + WORKSPACE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getWorkspaceId()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse 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.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse 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.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse 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.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse 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.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse 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.coordinator.CreateWorkspaceResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.CreateWorkspaceResponse) cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_CreateWorkspaceResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_CreateWorkspaceResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse.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 (respStatusBuilder_ == null) { respStatus_ = null; } else { respStatus_ = null; respStatusBuilder_ = null; } workspaceId_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_CreateWorkspaceResponse_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse build() { cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse result = new cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse(this); if (respStatusBuilder_ == null) { result.respStatus_ = respStatus_; } else { result.respStatus_ = respStatusBuilder_.build(); } result.workspaceId_ = workspaceId_; 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.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse.getDefaultInstance()) return this; if (other.hasRespStatus()) { mergeRespStatus(other.getRespStatus()); } if (other.getWorkspaceId() != 0L) { setWorkspaceId(other.getWorkspaceId()); } 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.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ServiceCommon.ResponseStatus respStatus_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> respStatusBuilder_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ public boolean hasRespStatus() { return respStatusBuilder_ != null || respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { if (respStatusBuilder_ == null) { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } else { return respStatusBuilder_.getMessage(); } } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } respStatus_ = value; onChanged(); } else { respStatusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus( cz.proto.ServiceCommon.ResponseStatus.Builder builderForValue) { if (respStatusBuilder_ == null) { respStatus_ = builderForValue.build(); onChanged(); } else { respStatusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder mergeRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (respStatus_ != null) { respStatus_ = cz.proto.ServiceCommon.ResponseStatus.newBuilder(respStatus_).mergeFrom(value).buildPartial(); } else { respStatus_ = value; } onChanged(); } else { respStatusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder clearRespStatus() { if (respStatusBuilder_ == null) { respStatus_ = null; onChanged(); } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatus.Builder getRespStatusBuilder() { onChanged(); return getRespStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { if (respStatusBuilder_ != null) { return respStatusBuilder_.getMessageOrBuilder(); } else { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } } /** * .cz.proto.ResponseStatus resp_status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> getRespStatusFieldBuilder() { if (respStatusBuilder_ == null) { respStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder>( getRespStatus(), getParentForChildren(), isClean()); respStatus_ = null; } return respStatusBuilder_; } private long workspaceId_ ; /** * int64 workspace_id = 2; * @return The workspaceId. */ @java.lang.Override public long getWorkspaceId() { return workspaceId_; } /** * int64 workspace_id = 2; * @param value The workspaceId to set. * @return This builder for chaining. */ public Builder setWorkspaceId(long value) { workspaceId_ = value; onChanged(); return this; } /** * int64 workspace_id = 2; * @return This builder for chaining. */ public Builder clearWorkspaceId() { workspaceId_ = 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.coordinator.CreateWorkspaceResponse) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.CreateWorkspaceResponse) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CreateWorkspaceResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CreateWorkspaceResponse(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.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UpdateWorkspaceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.UpdateWorkspaceRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ boolean hasIdentifier(); /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ cz.proto.ObjectIdentifier getIdentifier(); /** * .cz.proto.ObjectIdentifier identifier = 1; */ cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder(); /** * .cz.proto.coordinator.Account account = 2; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.coordinator.Account account = 2; * @return The account. */ cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount(); /** * .cz.proto.coordinator.Account account = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder(); /** * string new_name = 3; * @return The newName. */ java.lang.String getNewName(); /** * string new_name = 3; * @return The bytes for newName. */ com.google.protobuf.ByteString getNewNameBytes(); /** * string new_comment = 4; * @return The newComment. */ java.lang.String getNewComment(); /** * string new_comment = 4; * @return The bytes for newComment. */ com.google.protobuf.ByteString getNewCommentBytes(); /** * .cz.proto.EncryptionConfig encryption_config = 5; * @return Whether the encryptionConfig field is set. */ boolean hasEncryptionConfig(); /** * .cz.proto.EncryptionConfig encryption_config = 5; * @return The encryptionConfig. */ cz.proto.Encryption.EncryptionConfig getEncryptionConfig(); /** * .cz.proto.EncryptionConfig encryption_config = 5; */ cz.proto.Encryption.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder(); /** * string user_agent = 10; * @return The userAgent. */ java.lang.String getUserAgent(); /** * string user_agent = 10; * @return The bytes for userAgent. */ com.google.protobuf.ByteString getUserAgentBytes(); } /** * Protobuf type {@code cz.proto.coordinator.UpdateWorkspaceRequest} */ public static final class UpdateWorkspaceRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.UpdateWorkspaceRequest) UpdateWorkspaceRequestOrBuilder { private static final long serialVersionUID = 0L; // Use UpdateWorkspaceRequest.newBuilder() to construct. private UpdateWorkspaceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UpdateWorkspaceRequest() { newName_ = ""; newComment_ = ""; userAgent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UpdateWorkspaceRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UpdateWorkspaceRequest( 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.ObjectIdentifier.Builder subBuilder = null; if (identifier_ != null) { subBuilder = identifier_.toBuilder(); } identifier_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(identifier_); identifier_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); newName_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); newComment_ = s; break; } case 42: { cz.proto.Encryption.EncryptionConfig.Builder subBuilder = null; if (encryptionConfig_ != null) { subBuilder = encryptionConfig_.toBuilder(); } encryptionConfig_ = input.readMessage(cz.proto.Encryption.EncryptionConfig.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(encryptionConfig_); encryptionConfig_ = subBuilder.buildPartial(); } break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); userAgent_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_UpdateWorkspaceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_UpdateWorkspaceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest.Builder.class); } public static final int IDENTIFIER_FIELD_NUMBER = 1; private cz.proto.ObjectIdentifier identifier_; /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ @java.lang.Override public boolean hasIdentifier() { return identifier_ != null; } /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ @java.lang.Override public cz.proto.ObjectIdentifier getIdentifier() { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() { return getIdentifier(); } public static final int ACCOUNT_FIELD_NUMBER = 2; private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; /** * .cz.proto.coordinator.Account account = 2; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.coordinator.Account account = 2; * @return The account. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } /** * .cz.proto.coordinator.Account account = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int NEW_NAME_FIELD_NUMBER = 3; private volatile java.lang.Object newName_; /** * string new_name = 3; * @return The newName. */ @java.lang.Override public java.lang.String getNewName() { java.lang.Object ref = newName_; 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(); newName_ = s; return s; } } /** * string new_name = 3; * @return The bytes for newName. */ @java.lang.Override public com.google.protobuf.ByteString getNewNameBytes() { java.lang.Object ref = newName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); newName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NEW_COMMENT_FIELD_NUMBER = 4; private volatile java.lang.Object newComment_; /** * string new_comment = 4; * @return The newComment. */ @java.lang.Override public java.lang.String getNewComment() { java.lang.Object ref = newComment_; 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(); newComment_ = s; return s; } } /** * string new_comment = 4; * @return The bytes for newComment. */ @java.lang.Override public com.google.protobuf.ByteString getNewCommentBytes() { java.lang.Object ref = newComment_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); newComment_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ENCRYPTION_CONFIG_FIELD_NUMBER = 5; private cz.proto.Encryption.EncryptionConfig encryptionConfig_; /** * .cz.proto.EncryptionConfig encryption_config = 5; * @return Whether the encryptionConfig field is set. */ @java.lang.Override public boolean hasEncryptionConfig() { return encryptionConfig_ != null; } /** * .cz.proto.EncryptionConfig encryption_config = 5; * @return The encryptionConfig. */ @java.lang.Override public cz.proto.Encryption.EncryptionConfig getEncryptionConfig() { return encryptionConfig_ == null ? cz.proto.Encryption.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } /** * .cz.proto.EncryptionConfig encryption_config = 5; */ @java.lang.Override public cz.proto.Encryption.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { return getEncryptionConfig(); } public static final int USER_AGENT_FIELD_NUMBER = 10; private volatile java.lang.Object userAgent_; /** * string user_agent = 10; * @return The userAgent. */ @java.lang.Override public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; 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(); userAgent_ = s; return s; } } /** * string user_agent = 10; * @return The bytes for userAgent. */ @java.lang.Override public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = 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 (identifier_ != null) { output.writeMessage(1, getIdentifier()); } if (account_ != null) { output.writeMessage(2, getAccount()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, newName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newComment_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, newComment_); } if (encryptionConfig_ != null) { output.writeMessage(5, getEncryptionConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, userAgent_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (identifier_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getIdentifier()); } if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getAccount()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, newName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(newComment_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, newComment_); } if (encryptionConfig_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getEncryptionConfig()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, userAgent_); } 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.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest other = (cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest) obj; if (hasIdentifier() != other.hasIdentifier()) return false; if (hasIdentifier()) { if (!getIdentifier() .equals(other.getIdentifier())) return false; } if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (!getNewName() .equals(other.getNewName())) return false; if (!getNewComment() .equals(other.getNewComment())) return false; if (hasEncryptionConfig() != other.hasEncryptionConfig()) return false; if (hasEncryptionConfig()) { if (!getEncryptionConfig() .equals(other.getEncryptionConfig())) return false; } if (!getUserAgent() .equals(other.getUserAgent())) 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 (hasIdentifier()) { hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getIdentifier().hashCode(); } if (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } hash = (37 * hash) + NEW_NAME_FIELD_NUMBER; hash = (53 * hash) + getNewName().hashCode(); hash = (37 * hash) + NEW_COMMENT_FIELD_NUMBER; hash = (53 * hash) + getNewComment().hashCode(); if (hasEncryptionConfig()) { hash = (37 * hash) + ENCRYPTION_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getEncryptionConfig().hashCode(); } hash = (37 * hash) + USER_AGENT_FIELD_NUMBER; hash = (53 * hash) + getUserAgent().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest 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.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest 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.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest 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.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest 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.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest 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.coordinator.UpdateWorkspaceRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.UpdateWorkspaceRequest) cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_UpdateWorkspaceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_UpdateWorkspaceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest.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 (identifierBuilder_ == null) { identifier_ = null; } else { identifier_ = null; identifierBuilder_ = null; } if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } newName_ = ""; newComment_ = ""; if (encryptionConfigBuilder_ == null) { encryptionConfig_ = null; } else { encryptionConfig_ = null; encryptionConfigBuilder_ = null; } userAgent_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_UpdateWorkspaceRequest_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest build() { cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest result = new cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest(this); if (identifierBuilder_ == null) { result.identifier_ = identifier_; } else { result.identifier_ = identifierBuilder_.build(); } if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } result.newName_ = newName_; result.newComment_ = newComment_; if (encryptionConfigBuilder_ == null) { result.encryptionConfig_ = encryptionConfig_; } else { result.encryptionConfig_ = encryptionConfigBuilder_.build(); } result.userAgent_ = userAgent_; 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.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest.getDefaultInstance()) return this; if (other.hasIdentifier()) { mergeIdentifier(other.getIdentifier()); } if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (!other.getNewName().isEmpty()) { newName_ = other.newName_; onChanged(); } if (!other.getNewComment().isEmpty()) { newComment_ = other.newComment_; onChanged(); } if (other.hasEncryptionConfig()) { mergeEncryptionConfig(other.getEncryptionConfig()); } if (!other.getUserAgent().isEmpty()) { userAgent_ = other.userAgent_; 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.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ObjectIdentifier identifier_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> identifierBuilder_; /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ public boolean hasIdentifier() { return identifierBuilder_ != null || identifier_ != null; } /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ public cz.proto.ObjectIdentifier getIdentifier() { if (identifierBuilder_ == null) { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } else { return identifierBuilder_.getMessage(); } } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder setIdentifier(cz.proto.ObjectIdentifier value) { if (identifierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifier_ = value; onChanged(); } else { identifierBuilder_.setMessage(value); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder setIdentifier( cz.proto.ObjectIdentifier.Builder builderForValue) { if (identifierBuilder_ == null) { identifier_ = builderForValue.build(); onChanged(); } else { identifierBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder mergeIdentifier(cz.proto.ObjectIdentifier value) { if (identifierBuilder_ == null) { if (identifier_ != null) { identifier_ = cz.proto.ObjectIdentifier.newBuilder(identifier_).mergeFrom(value).buildPartial(); } else { identifier_ = value; } onChanged(); } else { identifierBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder clearIdentifier() { if (identifierBuilder_ == null) { identifier_ = null; onChanged(); } else { identifier_ = null; identifierBuilder_ = null; } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public cz.proto.ObjectIdentifier.Builder getIdentifierBuilder() { onChanged(); return getIdentifierFieldBuilder().getBuilder(); } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() { if (identifierBuilder_ != null) { return identifierBuilder_.getMessageOrBuilder(); } else { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } } /** * .cz.proto.ObjectIdentifier identifier = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getIdentifierFieldBuilder() { if (identifierBuilder_ == null) { identifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getIdentifier(), getParentForChildren(), isClean()); identifier_ = null; } return identifierBuilder_; } private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> accountBuilder_; /** * .cz.proto.coordinator.Account account = 2; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.coordinator.Account account = 2; * @return The account. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.coordinator.Account account = 2; */ public Builder setAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.Account account = 2; */ public Builder setAccount( cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.Account account = 2; */ public Builder mergeAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.coordinator.CoordinatorServiceOuterClass.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.Account account = 2; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.coordinator.Account account = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.Account account = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } } /** * .cz.proto.coordinator.Account account = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private java.lang.Object newName_ = ""; /** * string new_name = 3; * @return The newName. */ public java.lang.String getNewName() { java.lang.Object ref = newName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string new_name = 3; * @return The bytes for newName. */ public com.google.protobuf.ByteString getNewNameBytes() { java.lang.Object ref = newName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); newName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string new_name = 3; * @param value The newName to set. * @return This builder for chaining. */ public Builder setNewName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } newName_ = value; onChanged(); return this; } /** * string new_name = 3; * @return This builder for chaining. */ public Builder clearNewName() { newName_ = getDefaultInstance().getNewName(); onChanged(); return this; } /** * string new_name = 3; * @param value The bytes for newName to set. * @return This builder for chaining. */ public Builder setNewNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); newName_ = value; onChanged(); return this; } private java.lang.Object newComment_ = ""; /** * string new_comment = 4; * @return The newComment. */ public java.lang.String getNewComment() { java.lang.Object ref = newComment_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); newComment_ = s; return s; } else { return (java.lang.String) ref; } } /** * string new_comment = 4; * @return The bytes for newComment. */ public com.google.protobuf.ByteString getNewCommentBytes() { java.lang.Object ref = newComment_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); newComment_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string new_comment = 4; * @param value The newComment to set. * @return This builder for chaining. */ public Builder setNewComment( java.lang.String value) { if (value == null) { throw new NullPointerException(); } newComment_ = value; onChanged(); return this; } /** * string new_comment = 4; * @return This builder for chaining. */ public Builder clearNewComment() { newComment_ = getDefaultInstance().getNewComment(); onChanged(); return this; } /** * string new_comment = 4; * @param value The bytes for newComment to set. * @return This builder for chaining. */ public Builder setNewCommentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); newComment_ = value; onChanged(); return this; } private cz.proto.Encryption.EncryptionConfig encryptionConfig_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.Encryption.EncryptionConfig, cz.proto.Encryption.EncryptionConfig.Builder, cz.proto.Encryption.EncryptionConfigOrBuilder> encryptionConfigBuilder_; /** * .cz.proto.EncryptionConfig encryption_config = 5; * @return Whether the encryptionConfig field is set. */ public boolean hasEncryptionConfig() { return encryptionConfigBuilder_ != null || encryptionConfig_ != null; } /** * .cz.proto.EncryptionConfig encryption_config = 5; * @return The encryptionConfig. */ public cz.proto.Encryption.EncryptionConfig getEncryptionConfig() { if (encryptionConfigBuilder_ == null) { return encryptionConfig_ == null ? cz.proto.Encryption.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } else { return encryptionConfigBuilder_.getMessage(); } } /** * .cz.proto.EncryptionConfig encryption_config = 5; */ public Builder setEncryptionConfig(cz.proto.Encryption.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } encryptionConfig_ = value; onChanged(); } else { encryptionConfigBuilder_.setMessage(value); } return this; } /** * .cz.proto.EncryptionConfig encryption_config = 5; */ public Builder setEncryptionConfig( cz.proto.Encryption.EncryptionConfig.Builder builderForValue) { if (encryptionConfigBuilder_ == null) { encryptionConfig_ = builderForValue.build(); onChanged(); } else { encryptionConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.EncryptionConfig encryption_config = 5; */ public Builder mergeEncryptionConfig(cz.proto.Encryption.EncryptionConfig value) { if (encryptionConfigBuilder_ == null) { if (encryptionConfig_ != null) { encryptionConfig_ = cz.proto.Encryption.EncryptionConfig.newBuilder(encryptionConfig_).mergeFrom(value).buildPartial(); } else { encryptionConfig_ = value; } onChanged(); } else { encryptionConfigBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.EncryptionConfig encryption_config = 5; */ public Builder clearEncryptionConfig() { if (encryptionConfigBuilder_ == null) { encryptionConfig_ = null; onChanged(); } else { encryptionConfig_ = null; encryptionConfigBuilder_ = null; } return this; } /** * .cz.proto.EncryptionConfig encryption_config = 5; */ public cz.proto.Encryption.EncryptionConfig.Builder getEncryptionConfigBuilder() { onChanged(); return getEncryptionConfigFieldBuilder().getBuilder(); } /** * .cz.proto.EncryptionConfig encryption_config = 5; */ public cz.proto.Encryption.EncryptionConfigOrBuilder getEncryptionConfigOrBuilder() { if (encryptionConfigBuilder_ != null) { return encryptionConfigBuilder_.getMessageOrBuilder(); } else { return encryptionConfig_ == null ? cz.proto.Encryption.EncryptionConfig.getDefaultInstance() : encryptionConfig_; } } /** * .cz.proto.EncryptionConfig encryption_config = 5; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.Encryption.EncryptionConfig, cz.proto.Encryption.EncryptionConfig.Builder, cz.proto.Encryption.EncryptionConfigOrBuilder> getEncryptionConfigFieldBuilder() { if (encryptionConfigBuilder_ == null) { encryptionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.Encryption.EncryptionConfig, cz.proto.Encryption.EncryptionConfig.Builder, cz.proto.Encryption.EncryptionConfigOrBuilder>( getEncryptionConfig(), getParentForChildren(), isClean()); encryptionConfig_ = null; } return encryptionConfigBuilder_; } private java.lang.Object userAgent_ = ""; /** * string user_agent = 10; * @return The userAgent. */ public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userAgent_ = s; return s; } else { return (java.lang.String) ref; } } /** * string user_agent = 10; * @return The bytes for userAgent. */ public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string user_agent = 10; * @param value The userAgent to set. * @return This builder for chaining. */ public Builder setUserAgent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userAgent_ = value; onChanged(); return this; } /** * string user_agent = 10; * @return This builder for chaining. */ public Builder clearUserAgent() { userAgent_ = getDefaultInstance().getUserAgent(); onChanged(); return this; } /** * string user_agent = 10; * @param value The bytes for userAgent to set. * @return This builder for chaining. */ public Builder setUserAgentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userAgent_ = 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.coordinator.UpdateWorkspaceRequest) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.UpdateWorkspaceRequest) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UpdateWorkspaceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UpdateWorkspaceRequest(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.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UpdateWorkspaceResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.UpdateWorkspaceResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ boolean hasRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ cz.proto.ServiceCommon.ResponseStatus getRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; */ cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder(); } /** * Protobuf type {@code cz.proto.coordinator.UpdateWorkspaceResponse} */ public static final class UpdateWorkspaceResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.UpdateWorkspaceResponse) UpdateWorkspaceResponseOrBuilder { private static final long serialVersionUID = 0L; // Use UpdateWorkspaceResponse.newBuilder() to construct. private UpdateWorkspaceResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UpdateWorkspaceResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UpdateWorkspaceResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UpdateWorkspaceResponse( 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.ServiceCommon.ResponseStatus.Builder subBuilder = null; if (respStatus_ != null) { subBuilder = respStatus_.toBuilder(); } respStatus_ = input.readMessage(cz.proto.ServiceCommon.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(respStatus_); respStatus_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_UpdateWorkspaceResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_UpdateWorkspaceResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse.Builder.class); } public static final int RESP_STATUS_FIELD_NUMBER = 1; private cz.proto.ServiceCommon.ResponseStatus respStatus_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ @java.lang.Override public boolean hasRespStatus() { return respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } /** * .cz.proto.ResponseStatus resp_status = 1; */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { return getRespStatus(); } 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 (respStatus_ != null) { output.writeMessage(1, getRespStatus()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (respStatus_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRespStatus()); } 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.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse other = (cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse) obj; if (hasRespStatus() != other.hasRespStatus()) return false; if (hasRespStatus()) { if (!getRespStatus() .equals(other.getRespStatus())) 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 (hasRespStatus()) { hash = (37 * hash) + RESP_STATUS_FIELD_NUMBER; hash = (53 * hash) + getRespStatus().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse 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.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse 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.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse 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.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse 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.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse 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.coordinator.UpdateWorkspaceResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.UpdateWorkspaceResponse) cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_UpdateWorkspaceResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_UpdateWorkspaceResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse.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 (respStatusBuilder_ == null) { respStatus_ = null; } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_UpdateWorkspaceResponse_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse build() { cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse result = new cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse(this); if (respStatusBuilder_ == null) { result.respStatus_ = respStatus_; } else { result.respStatus_ = respStatusBuilder_.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.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse.getDefaultInstance()) return this; if (other.hasRespStatus()) { mergeRespStatus(other.getRespStatus()); } 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.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ServiceCommon.ResponseStatus respStatus_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> respStatusBuilder_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ public boolean hasRespStatus() { return respStatusBuilder_ != null || respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { if (respStatusBuilder_ == null) { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } else { return respStatusBuilder_.getMessage(); } } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } respStatus_ = value; onChanged(); } else { respStatusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus( cz.proto.ServiceCommon.ResponseStatus.Builder builderForValue) { if (respStatusBuilder_ == null) { respStatus_ = builderForValue.build(); onChanged(); } else { respStatusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder mergeRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (respStatus_ != null) { respStatus_ = cz.proto.ServiceCommon.ResponseStatus.newBuilder(respStatus_).mergeFrom(value).buildPartial(); } else { respStatus_ = value; } onChanged(); } else { respStatusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder clearRespStatus() { if (respStatusBuilder_ == null) { respStatus_ = null; onChanged(); } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatus.Builder getRespStatusBuilder() { onChanged(); return getRespStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { if (respStatusBuilder_ != null) { return respStatusBuilder_.getMessageOrBuilder(); } else { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } } /** * .cz.proto.ResponseStatus resp_status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> getRespStatusFieldBuilder() { if (respStatusBuilder_ == null) { respStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder>( getRespStatus(), getParentForChildren(), isClean()); respStatus_ = null; } return respStatusBuilder_; } @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.coordinator.UpdateWorkspaceResponse) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.UpdateWorkspaceResponse) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UpdateWorkspaceResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UpdateWorkspaceResponse(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.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DeleteWorkspaceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.DeleteWorkspaceRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ boolean hasIdentifier(); /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ cz.proto.ObjectIdentifier getIdentifier(); /** * .cz.proto.ObjectIdentifier identifier = 1; */ cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder(); /** * .cz.proto.coordinator.Account account = 2; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.coordinator.Account account = 2; * @return The account. */ cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount(); /** * .cz.proto.coordinator.Account account = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder(); /** * string user_agent = 10; * @return The userAgent. */ java.lang.String getUserAgent(); /** * string user_agent = 10; * @return The bytes for userAgent. */ com.google.protobuf.ByteString getUserAgentBytes(); } /** * Protobuf type {@code cz.proto.coordinator.DeleteWorkspaceRequest} */ public static final class DeleteWorkspaceRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.DeleteWorkspaceRequest) DeleteWorkspaceRequestOrBuilder { private static final long serialVersionUID = 0L; // Use DeleteWorkspaceRequest.newBuilder() to construct. private DeleteWorkspaceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DeleteWorkspaceRequest() { userAgent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DeleteWorkspaceRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DeleteWorkspaceRequest( 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.ObjectIdentifier.Builder subBuilder = null; if (identifier_ != null) { subBuilder = identifier_.toBuilder(); } identifier_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(identifier_); identifier_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); userAgent_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_DeleteWorkspaceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_DeleteWorkspaceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest.Builder.class); } public static final int IDENTIFIER_FIELD_NUMBER = 1; private cz.proto.ObjectIdentifier identifier_; /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ @java.lang.Override public boolean hasIdentifier() { return identifier_ != null; } /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ @java.lang.Override public cz.proto.ObjectIdentifier getIdentifier() { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() { return getIdentifier(); } public static final int ACCOUNT_FIELD_NUMBER = 2; private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; /** * .cz.proto.coordinator.Account account = 2; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.coordinator.Account account = 2; * @return The account. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } /** * .cz.proto.coordinator.Account account = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int USER_AGENT_FIELD_NUMBER = 10; private volatile java.lang.Object userAgent_; /** * string user_agent = 10; * @return The userAgent. */ @java.lang.Override public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; 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(); userAgent_ = s; return s; } } /** * string user_agent = 10; * @return The bytes for userAgent. */ @java.lang.Override public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = 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 (identifier_ != null) { output.writeMessage(1, getIdentifier()); } if (account_ != null) { output.writeMessage(2, getAccount()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, userAgent_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (identifier_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getIdentifier()); } if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getAccount()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, userAgent_); } 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.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest other = (cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest) obj; if (hasIdentifier() != other.hasIdentifier()) return false; if (hasIdentifier()) { if (!getIdentifier() .equals(other.getIdentifier())) return false; } if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (!getUserAgent() .equals(other.getUserAgent())) 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 (hasIdentifier()) { hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getIdentifier().hashCode(); } if (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } hash = (37 * hash) + USER_AGENT_FIELD_NUMBER; hash = (53 * hash) + getUserAgent().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest 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.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest 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.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest 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.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest 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.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest 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.coordinator.DeleteWorkspaceRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.DeleteWorkspaceRequest) cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_DeleteWorkspaceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_DeleteWorkspaceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest.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 (identifierBuilder_ == null) { identifier_ = null; } else { identifier_ = null; identifierBuilder_ = null; } if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } userAgent_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_DeleteWorkspaceRequest_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest build() { cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest result = new cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest(this); if (identifierBuilder_ == null) { result.identifier_ = identifier_; } else { result.identifier_ = identifierBuilder_.build(); } if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } result.userAgent_ = userAgent_; 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.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest.getDefaultInstance()) return this; if (other.hasIdentifier()) { mergeIdentifier(other.getIdentifier()); } if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (!other.getUserAgent().isEmpty()) { userAgent_ = other.userAgent_; 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.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ObjectIdentifier identifier_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> identifierBuilder_; /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ public boolean hasIdentifier() { return identifierBuilder_ != null || identifier_ != null; } /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ public cz.proto.ObjectIdentifier getIdentifier() { if (identifierBuilder_ == null) { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } else { return identifierBuilder_.getMessage(); } } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder setIdentifier(cz.proto.ObjectIdentifier value) { if (identifierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifier_ = value; onChanged(); } else { identifierBuilder_.setMessage(value); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder setIdentifier( cz.proto.ObjectIdentifier.Builder builderForValue) { if (identifierBuilder_ == null) { identifier_ = builderForValue.build(); onChanged(); } else { identifierBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder mergeIdentifier(cz.proto.ObjectIdentifier value) { if (identifierBuilder_ == null) { if (identifier_ != null) { identifier_ = cz.proto.ObjectIdentifier.newBuilder(identifier_).mergeFrom(value).buildPartial(); } else { identifier_ = value; } onChanged(); } else { identifierBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder clearIdentifier() { if (identifierBuilder_ == null) { identifier_ = null; onChanged(); } else { identifier_ = null; identifierBuilder_ = null; } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public cz.proto.ObjectIdentifier.Builder getIdentifierBuilder() { onChanged(); return getIdentifierFieldBuilder().getBuilder(); } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() { if (identifierBuilder_ != null) { return identifierBuilder_.getMessageOrBuilder(); } else { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } } /** * .cz.proto.ObjectIdentifier identifier = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getIdentifierFieldBuilder() { if (identifierBuilder_ == null) { identifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getIdentifier(), getParentForChildren(), isClean()); identifier_ = null; } return identifierBuilder_; } private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> accountBuilder_; /** * .cz.proto.coordinator.Account account = 2; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.coordinator.Account account = 2; * @return The account. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.coordinator.Account account = 2; */ public Builder setAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.Account account = 2; */ public Builder setAccount( cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.Account account = 2; */ public Builder mergeAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.coordinator.CoordinatorServiceOuterClass.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.Account account = 2; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.coordinator.Account account = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.Account account = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } } /** * .cz.proto.coordinator.Account account = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private java.lang.Object userAgent_ = ""; /** * string user_agent = 10; * @return The userAgent. */ public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userAgent_ = s; return s; } else { return (java.lang.String) ref; } } /** * string user_agent = 10; * @return The bytes for userAgent. */ public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string user_agent = 10; * @param value The userAgent to set. * @return This builder for chaining. */ public Builder setUserAgent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userAgent_ = value; onChanged(); return this; } /** * string user_agent = 10; * @return This builder for chaining. */ public Builder clearUserAgent() { userAgent_ = getDefaultInstance().getUserAgent(); onChanged(); return this; } /** * string user_agent = 10; * @param value The bytes for userAgent to set. * @return This builder for chaining. */ public Builder setUserAgentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userAgent_ = 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.coordinator.DeleteWorkspaceRequest) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.DeleteWorkspaceRequest) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DeleteWorkspaceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DeleteWorkspaceRequest(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.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DeleteWorkspaceResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.DeleteWorkspaceResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ boolean hasRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ cz.proto.ServiceCommon.ResponseStatus getRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; */ cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder(); } /** * Protobuf type {@code cz.proto.coordinator.DeleteWorkspaceResponse} */ public static final class DeleteWorkspaceResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.DeleteWorkspaceResponse) DeleteWorkspaceResponseOrBuilder { private static final long serialVersionUID = 0L; // Use DeleteWorkspaceResponse.newBuilder() to construct. private DeleteWorkspaceResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DeleteWorkspaceResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new DeleteWorkspaceResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DeleteWorkspaceResponse( 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.ServiceCommon.ResponseStatus.Builder subBuilder = null; if (respStatus_ != null) { subBuilder = respStatus_.toBuilder(); } respStatus_ = input.readMessage(cz.proto.ServiceCommon.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(respStatus_); respStatus_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_DeleteWorkspaceResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_DeleteWorkspaceResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse.Builder.class); } public static final int RESP_STATUS_FIELD_NUMBER = 1; private cz.proto.ServiceCommon.ResponseStatus respStatus_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ @java.lang.Override public boolean hasRespStatus() { return respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } /** * .cz.proto.ResponseStatus resp_status = 1; */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { return getRespStatus(); } 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 (respStatus_ != null) { output.writeMessage(1, getRespStatus()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (respStatus_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRespStatus()); } 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.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse other = (cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse) obj; if (hasRespStatus() != other.hasRespStatus()) return false; if (hasRespStatus()) { if (!getRespStatus() .equals(other.getRespStatus())) 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 (hasRespStatus()) { hash = (37 * hash) + RESP_STATUS_FIELD_NUMBER; hash = (53 * hash) + getRespStatus().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse 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.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse 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.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse 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.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse 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.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse 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.coordinator.DeleteWorkspaceResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.DeleteWorkspaceResponse) cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_DeleteWorkspaceResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_DeleteWorkspaceResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse.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 (respStatusBuilder_ == null) { respStatus_ = null; } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_DeleteWorkspaceResponse_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse build() { cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse result = new cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse(this); if (respStatusBuilder_ == null) { result.respStatus_ = respStatus_; } else { result.respStatus_ = respStatusBuilder_.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.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse.getDefaultInstance()) return this; if (other.hasRespStatus()) { mergeRespStatus(other.getRespStatus()); } 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.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ServiceCommon.ResponseStatus respStatus_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> respStatusBuilder_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ public boolean hasRespStatus() { return respStatusBuilder_ != null || respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { if (respStatusBuilder_ == null) { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } else { return respStatusBuilder_.getMessage(); } } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } respStatus_ = value; onChanged(); } else { respStatusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus( cz.proto.ServiceCommon.ResponseStatus.Builder builderForValue) { if (respStatusBuilder_ == null) { respStatus_ = builderForValue.build(); onChanged(); } else { respStatusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder mergeRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (respStatus_ != null) { respStatus_ = cz.proto.ServiceCommon.ResponseStatus.newBuilder(respStatus_).mergeFrom(value).buildPartial(); } else { respStatus_ = value; } onChanged(); } else { respStatusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder clearRespStatus() { if (respStatusBuilder_ == null) { respStatus_ = null; onChanged(); } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatus.Builder getRespStatusBuilder() { onChanged(); return getRespStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { if (respStatusBuilder_ != null) { return respStatusBuilder_.getMessageOrBuilder(); } else { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } } /** * .cz.proto.ResponseStatus resp_status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> getRespStatusFieldBuilder() { if (respStatusBuilder_ == null) { respStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder>( getRespStatus(), getParentForChildren(), isClean()); respStatus_ = null; } return respStatusBuilder_; } @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.coordinator.DeleteWorkspaceResponse) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.DeleteWorkspaceResponse) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public DeleteWorkspaceResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new DeleteWorkspaceResponse(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.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListWorkspacesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.ListWorkspacesRequest) com.google.protobuf.MessageOrBuilder { /** * int64 instance_id = 1; * @return The instanceId. */ long getInstanceId(); /** * .cz.proto.coordinator.Account account = 2; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.coordinator.Account account = 2; * @return The account. */ cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount(); /** * .cz.proto.coordinator.Account account = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder(); /** * string user_agent = 10; * @return The userAgent. */ java.lang.String getUserAgent(); /** * string user_agent = 10; * @return The bytes for userAgent. */ com.google.protobuf.ByteString getUserAgentBytes(); } /** * Protobuf type {@code cz.proto.coordinator.ListWorkspacesRequest} */ public static final class ListWorkspacesRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.ListWorkspacesRequest) ListWorkspacesRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ListWorkspacesRequest.newBuilder() to construct. private ListWorkspacesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListWorkspacesRequest() { userAgent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListWorkspacesRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListWorkspacesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { instanceId_ = input.readInt64(); break; } case 18: { cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); userAgent_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListWorkspacesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListWorkspacesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest.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 ACCOUNT_FIELD_NUMBER = 2; private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; /** * .cz.proto.coordinator.Account account = 2; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.coordinator.Account account = 2; * @return The account. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } /** * .cz.proto.coordinator.Account account = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int USER_AGENT_FIELD_NUMBER = 10; private volatile java.lang.Object userAgent_; /** * string user_agent = 10; * @return The userAgent. */ @java.lang.Override public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; 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(); userAgent_ = s; return s; } } /** * string user_agent = 10; * @return The bytes for userAgent. */ @java.lang.Override public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (instanceId_ != 0L) { output.writeInt64(1, instanceId_); } if (account_ != null) { output.writeMessage(2, getAccount()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, userAgent_); } 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 (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getAccount()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, userAgent_); } 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.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest other = (cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest) obj; if (getInstanceId() != other.getInstanceId()) return false; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (!getUserAgent() .equals(other.getUserAgent())) 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()); if (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } hash = (37 * hash) + USER_AGENT_FIELD_NUMBER; hash = (53 * hash) + getUserAgent().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest 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.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest 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.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest 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.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest 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.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest 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.coordinator.ListWorkspacesRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.ListWorkspacesRequest) cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListWorkspacesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListWorkspacesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest.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; if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } userAgent_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListWorkspacesRequest_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest build() { cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest result = new cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest(this); result.instanceId_ = instanceId_; if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } result.userAgent_ = userAgent_; 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.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest.getDefaultInstance()) return this; if (other.getInstanceId() != 0L) { setInstanceId(other.getInstanceId()); } if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (!other.getUserAgent().isEmpty()) { userAgent_ = other.userAgent_; 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.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long instanceId_ ; /** * int64 instance_id = 1; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } /** * int64 instance_id = 1; * @param value The instanceId to set. * @return This builder for chaining. */ public Builder setInstanceId(long value) { instanceId_ = value; onChanged(); return this; } /** * int64 instance_id = 1; * @return This builder for chaining. */ public Builder clearInstanceId() { instanceId_ = 0L; onChanged(); return this; } private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> accountBuilder_; /** * .cz.proto.coordinator.Account account = 2; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.coordinator.Account account = 2; * @return The account. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.coordinator.Account account = 2; */ public Builder setAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.Account account = 2; */ public Builder setAccount( cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.Account account = 2; */ public Builder mergeAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.coordinator.CoordinatorServiceOuterClass.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.Account account = 2; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.coordinator.Account account = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.Account account = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } } /** * .cz.proto.coordinator.Account account = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private java.lang.Object userAgent_ = ""; /** * string user_agent = 10; * @return The userAgent. */ public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userAgent_ = s; return s; } else { return (java.lang.String) ref; } } /** * string user_agent = 10; * @return The bytes for userAgent. */ public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string user_agent = 10; * @param value The userAgent to set. * @return This builder for chaining. */ public Builder setUserAgent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userAgent_ = value; onChanged(); return this; } /** * string user_agent = 10; * @return This builder for chaining. */ public Builder clearUserAgent() { userAgent_ = getDefaultInstance().getUserAgent(); onChanged(); return this; } /** * string user_agent = 10; * @param value The bytes for userAgent to set. * @return This builder for chaining. */ public Builder setUserAgentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userAgent_ = 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.coordinator.ListWorkspacesRequest) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.ListWorkspacesRequest) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListWorkspacesRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListWorkspacesRequest(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.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListWorkspacesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.ListWorkspacesResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ boolean hasRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ cz.proto.ServiceCommon.ResponseStatus getRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; */ cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder(); /** * repeated .cz.proto.Entity workspaces = 2; */ java.util.List getWorkspacesList(); /** * repeated .cz.proto.Entity workspaces = 2; */ cz.proto.MetadataEntity.Entity getWorkspaces(int index); /** * repeated .cz.proto.Entity workspaces = 2; */ int getWorkspacesCount(); /** * repeated .cz.proto.Entity workspaces = 2; */ java.util.List getWorkspacesOrBuilderList(); /** * repeated .cz.proto.Entity workspaces = 2; */ cz.proto.MetadataEntity.EntityOrBuilder getWorkspacesOrBuilder( int index); } /** * Protobuf type {@code cz.proto.coordinator.ListWorkspacesResponse} */ public static final class ListWorkspacesResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.ListWorkspacesResponse) ListWorkspacesResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ListWorkspacesResponse.newBuilder() to construct. private ListWorkspacesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListWorkspacesResponse() { workspaces_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListWorkspacesResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListWorkspacesResponse( 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.ServiceCommon.ResponseStatus.Builder subBuilder = null; if (respStatus_ != null) { subBuilder = respStatus_.toBuilder(); } respStatus_ = input.readMessage(cz.proto.ServiceCommon.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(respStatus_); respStatus_ = subBuilder.buildPartial(); } break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { workspaces_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } workspaces_.add( input.readMessage(cz.proto.MetadataEntity.Entity.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)) { workspaces_ = java.util.Collections.unmodifiableList(workspaces_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListWorkspacesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListWorkspacesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse.Builder.class); } public static final int RESP_STATUS_FIELD_NUMBER = 1; private cz.proto.ServiceCommon.ResponseStatus respStatus_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ @java.lang.Override public boolean hasRespStatus() { return respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } /** * .cz.proto.ResponseStatus resp_status = 1; */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { return getRespStatus(); } public static final int WORKSPACES_FIELD_NUMBER = 2; private java.util.List workspaces_; /** * repeated .cz.proto.Entity workspaces = 2; */ @java.lang.Override public java.util.List getWorkspacesList() { return workspaces_; } /** * repeated .cz.proto.Entity workspaces = 2; */ @java.lang.Override public java.util.List getWorkspacesOrBuilderList() { return workspaces_; } /** * repeated .cz.proto.Entity workspaces = 2; */ @java.lang.Override public int getWorkspacesCount() { return workspaces_.size(); } /** * repeated .cz.proto.Entity workspaces = 2; */ @java.lang.Override public cz.proto.MetadataEntity.Entity getWorkspaces(int index) { return workspaces_.get(index); } /** * repeated .cz.proto.Entity workspaces = 2; */ @java.lang.Override public cz.proto.MetadataEntity.EntityOrBuilder getWorkspacesOrBuilder( int index) { return workspaces_.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 (respStatus_ != null) { output.writeMessage(1, getRespStatus()); } for (int i = 0; i < workspaces_.size(); i++) { output.writeMessage(2, workspaces_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (respStatus_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRespStatus()); } for (int i = 0; i < workspaces_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, workspaces_.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.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse other = (cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse) obj; if (hasRespStatus() != other.hasRespStatus()) return false; if (hasRespStatus()) { if (!getRespStatus() .equals(other.getRespStatus())) return false; } if (!getWorkspacesList() .equals(other.getWorkspacesList())) 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 (hasRespStatus()) { hash = (37 * hash) + RESP_STATUS_FIELD_NUMBER; hash = (53 * hash) + getRespStatus().hashCode(); } if (getWorkspacesCount() > 0) { hash = (37 * hash) + WORKSPACES_FIELD_NUMBER; hash = (53 * hash) + getWorkspacesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse 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.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse 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.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse 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.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse 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.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse 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.coordinator.ListWorkspacesResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.ListWorkspacesResponse) cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListWorkspacesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListWorkspacesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getWorkspacesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (respStatusBuilder_ == null) { respStatus_ = null; } else { respStatus_ = null; respStatusBuilder_ = null; } if (workspacesBuilder_ == null) { workspaces_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { workspacesBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListWorkspacesResponse_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse build() { cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse result = new cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse(this); int from_bitField0_ = bitField0_; if (respStatusBuilder_ == null) { result.respStatus_ = respStatus_; } else { result.respStatus_ = respStatusBuilder_.build(); } if (workspacesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { workspaces_ = java.util.Collections.unmodifiableList(workspaces_); bitField0_ = (bitField0_ & ~0x00000001); } result.workspaces_ = workspaces_; } else { result.workspaces_ = workspacesBuilder_.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.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse.getDefaultInstance()) return this; if (other.hasRespStatus()) { mergeRespStatus(other.getRespStatus()); } if (workspacesBuilder_ == null) { if (!other.workspaces_.isEmpty()) { if (workspaces_.isEmpty()) { workspaces_ = other.workspaces_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureWorkspacesIsMutable(); workspaces_.addAll(other.workspaces_); } onChanged(); } } else { if (!other.workspaces_.isEmpty()) { if (workspacesBuilder_.isEmpty()) { workspacesBuilder_.dispose(); workspacesBuilder_ = null; workspaces_ = other.workspaces_; bitField0_ = (bitField0_ & ~0x00000001); workspacesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getWorkspacesFieldBuilder() : null; } else { workspacesBuilder_.addAllMessages(other.workspaces_); } } } 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.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.ServiceCommon.ResponseStatus respStatus_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> respStatusBuilder_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ public boolean hasRespStatus() { return respStatusBuilder_ != null || respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { if (respStatusBuilder_ == null) { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } else { return respStatusBuilder_.getMessage(); } } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } respStatus_ = value; onChanged(); } else { respStatusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus( cz.proto.ServiceCommon.ResponseStatus.Builder builderForValue) { if (respStatusBuilder_ == null) { respStatus_ = builderForValue.build(); onChanged(); } else { respStatusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder mergeRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (respStatus_ != null) { respStatus_ = cz.proto.ServiceCommon.ResponseStatus.newBuilder(respStatus_).mergeFrom(value).buildPartial(); } else { respStatus_ = value; } onChanged(); } else { respStatusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder clearRespStatus() { if (respStatusBuilder_ == null) { respStatus_ = null; onChanged(); } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatus.Builder getRespStatusBuilder() { onChanged(); return getRespStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { if (respStatusBuilder_ != null) { return respStatusBuilder_.getMessageOrBuilder(); } else { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } } /** * .cz.proto.ResponseStatus resp_status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> getRespStatusFieldBuilder() { if (respStatusBuilder_ == null) { respStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder>( getRespStatus(), getParentForChildren(), isClean()); respStatus_ = null; } return respStatusBuilder_; } private java.util.List workspaces_ = java.util.Collections.emptyList(); private void ensureWorkspacesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { workspaces_ = new java.util.ArrayList(workspaces_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder> workspacesBuilder_; /** * repeated .cz.proto.Entity workspaces = 2; */ public java.util.List getWorkspacesList() { if (workspacesBuilder_ == null) { return java.util.Collections.unmodifiableList(workspaces_); } else { return workspacesBuilder_.getMessageList(); } } /** * repeated .cz.proto.Entity workspaces = 2; */ public int getWorkspacesCount() { if (workspacesBuilder_ == null) { return workspaces_.size(); } else { return workspacesBuilder_.getCount(); } } /** * repeated .cz.proto.Entity workspaces = 2; */ public cz.proto.MetadataEntity.Entity getWorkspaces(int index) { if (workspacesBuilder_ == null) { return workspaces_.get(index); } else { return workspacesBuilder_.getMessage(index); } } /** * repeated .cz.proto.Entity workspaces = 2; */ public Builder setWorkspaces( int index, cz.proto.MetadataEntity.Entity value) { if (workspacesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureWorkspacesIsMutable(); workspaces_.set(index, value); onChanged(); } else { workspacesBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.Entity workspaces = 2; */ public Builder setWorkspaces( int index, cz.proto.MetadataEntity.Entity.Builder builderForValue) { if (workspacesBuilder_ == null) { ensureWorkspacesIsMutable(); workspaces_.set(index, builderForValue.build()); onChanged(); } else { workspacesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.Entity workspaces = 2; */ public Builder addWorkspaces(cz.proto.MetadataEntity.Entity value) { if (workspacesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureWorkspacesIsMutable(); workspaces_.add(value); onChanged(); } else { workspacesBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.Entity workspaces = 2; */ public Builder addWorkspaces( int index, cz.proto.MetadataEntity.Entity value) { if (workspacesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureWorkspacesIsMutable(); workspaces_.add(index, value); onChanged(); } else { workspacesBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.Entity workspaces = 2; */ public Builder addWorkspaces( cz.proto.MetadataEntity.Entity.Builder builderForValue) { if (workspacesBuilder_ == null) { ensureWorkspacesIsMutable(); workspaces_.add(builderForValue.build()); onChanged(); } else { workspacesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.Entity workspaces = 2; */ public Builder addWorkspaces( int index, cz.proto.MetadataEntity.Entity.Builder builderForValue) { if (workspacesBuilder_ == null) { ensureWorkspacesIsMutable(); workspaces_.add(index, builderForValue.build()); onChanged(); } else { workspacesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.Entity workspaces = 2; */ public Builder addAllWorkspaces( java.lang.Iterable values) { if (workspacesBuilder_ == null) { ensureWorkspacesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, workspaces_); onChanged(); } else { workspacesBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.Entity workspaces = 2; */ public Builder clearWorkspaces() { if (workspacesBuilder_ == null) { workspaces_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { workspacesBuilder_.clear(); } return this; } /** * repeated .cz.proto.Entity workspaces = 2; */ public Builder removeWorkspaces(int index) { if (workspacesBuilder_ == null) { ensureWorkspacesIsMutable(); workspaces_.remove(index); onChanged(); } else { workspacesBuilder_.remove(index); } return this; } /** * repeated .cz.proto.Entity workspaces = 2; */ public cz.proto.MetadataEntity.Entity.Builder getWorkspacesBuilder( int index) { return getWorkspacesFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.Entity workspaces = 2; */ public cz.proto.MetadataEntity.EntityOrBuilder getWorkspacesOrBuilder( int index) { if (workspacesBuilder_ == null) { return workspaces_.get(index); } else { return workspacesBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.Entity workspaces = 2; */ public java.util.List getWorkspacesOrBuilderList() { if (workspacesBuilder_ != null) { return workspacesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(workspaces_); } } /** * repeated .cz.proto.Entity workspaces = 2; */ public cz.proto.MetadataEntity.Entity.Builder addWorkspacesBuilder() { return getWorkspacesFieldBuilder().addBuilder( cz.proto.MetadataEntity.Entity.getDefaultInstance()); } /** * repeated .cz.proto.Entity workspaces = 2; */ public cz.proto.MetadataEntity.Entity.Builder addWorkspacesBuilder( int index) { return getWorkspacesFieldBuilder().addBuilder( index, cz.proto.MetadataEntity.Entity.getDefaultInstance()); } /** * repeated .cz.proto.Entity workspaces = 2; */ public java.util.List getWorkspacesBuilderList() { return getWorkspacesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder> getWorkspacesFieldBuilder() { if (workspacesBuilder_ == null) { workspacesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder>( workspaces_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); workspaces_ = null; } return workspacesBuilder_; } @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.coordinator.ListWorkspacesResponse) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.ListWorkspacesResponse) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListWorkspacesResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListWorkspacesResponse(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.coordinator.CoordinatorServiceOuterClass.ListWorkspacesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetWorkspaceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.GetWorkspaceRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ boolean hasIdentifier(); /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ cz.proto.ObjectIdentifier getIdentifier(); /** * .cz.proto.ObjectIdentifier identifier = 1; */ cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder(); /** * .cz.proto.coordinator.Account account = 2; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.coordinator.Account account = 2; * @return The account. */ cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount(); /** * .cz.proto.coordinator.Account account = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder(); /** * string user_agent = 10; * @return The userAgent. */ java.lang.String getUserAgent(); /** * string user_agent = 10; * @return The bytes for userAgent. */ com.google.protobuf.ByteString getUserAgentBytes(); } /** * Protobuf type {@code cz.proto.coordinator.GetWorkspaceRequest} */ public static final class GetWorkspaceRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.GetWorkspaceRequest) GetWorkspaceRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetWorkspaceRequest.newBuilder() to construct. private GetWorkspaceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetWorkspaceRequest() { userAgent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetWorkspaceRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetWorkspaceRequest( 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.ObjectIdentifier.Builder subBuilder = null; if (identifier_ != null) { subBuilder = identifier_.toBuilder(); } identifier_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(identifier_); identifier_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); userAgent_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetWorkspaceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetWorkspaceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest.Builder.class); } public static final int IDENTIFIER_FIELD_NUMBER = 1; private cz.proto.ObjectIdentifier identifier_; /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ @java.lang.Override public boolean hasIdentifier() { return identifier_ != null; } /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ @java.lang.Override public cz.proto.ObjectIdentifier getIdentifier() { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() { return getIdentifier(); } public static final int ACCOUNT_FIELD_NUMBER = 2; private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; /** * .cz.proto.coordinator.Account account = 2; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.coordinator.Account account = 2; * @return The account. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } /** * .cz.proto.coordinator.Account account = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int USER_AGENT_FIELD_NUMBER = 10; private volatile java.lang.Object userAgent_; /** * string user_agent = 10; * @return The userAgent. */ @java.lang.Override public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; 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(); userAgent_ = s; return s; } } /** * string user_agent = 10; * @return The bytes for userAgent. */ @java.lang.Override public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = 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 (identifier_ != null) { output.writeMessage(1, getIdentifier()); } if (account_ != null) { output.writeMessage(2, getAccount()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, userAgent_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (identifier_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getIdentifier()); } if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getAccount()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, userAgent_); } 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.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest other = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest) obj; if (hasIdentifier() != other.hasIdentifier()) return false; if (hasIdentifier()) { if (!getIdentifier() .equals(other.getIdentifier())) return false; } if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (!getUserAgent() .equals(other.getUserAgent())) 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 (hasIdentifier()) { hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER; hash = (53 * hash) + getIdentifier().hashCode(); } if (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } hash = (37 * hash) + USER_AGENT_FIELD_NUMBER; hash = (53 * hash) + getUserAgent().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest 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.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest 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.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest 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.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest 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.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest 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.coordinator.GetWorkspaceRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.GetWorkspaceRequest) cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetWorkspaceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetWorkspaceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest.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 (identifierBuilder_ == null) { identifier_ = null; } else { identifier_ = null; identifierBuilder_ = null; } if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } userAgent_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetWorkspaceRequest_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest build() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest result = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest(this); if (identifierBuilder_ == null) { result.identifier_ = identifier_; } else { result.identifier_ = identifierBuilder_.build(); } if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } result.userAgent_ = userAgent_; 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.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest.getDefaultInstance()) return this; if (other.hasIdentifier()) { mergeIdentifier(other.getIdentifier()); } if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (!other.getUserAgent().isEmpty()) { userAgent_ = other.userAgent_; 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.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ObjectIdentifier identifier_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> identifierBuilder_; /** * .cz.proto.ObjectIdentifier identifier = 1; * @return Whether the identifier field is set. */ public boolean hasIdentifier() { return identifierBuilder_ != null || identifier_ != null; } /** * .cz.proto.ObjectIdentifier identifier = 1; * @return The identifier. */ public cz.proto.ObjectIdentifier getIdentifier() { if (identifierBuilder_ == null) { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } else { return identifierBuilder_.getMessage(); } } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder setIdentifier(cz.proto.ObjectIdentifier value) { if (identifierBuilder_ == null) { if (value == null) { throw new NullPointerException(); } identifier_ = value; onChanged(); } else { identifierBuilder_.setMessage(value); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder setIdentifier( cz.proto.ObjectIdentifier.Builder builderForValue) { if (identifierBuilder_ == null) { identifier_ = builderForValue.build(); onChanged(); } else { identifierBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder mergeIdentifier(cz.proto.ObjectIdentifier value) { if (identifierBuilder_ == null) { if (identifier_ != null) { identifier_ = cz.proto.ObjectIdentifier.newBuilder(identifier_).mergeFrom(value).buildPartial(); } else { identifier_ = value; } onChanged(); } else { identifierBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public Builder clearIdentifier() { if (identifierBuilder_ == null) { identifier_ = null; onChanged(); } else { identifier_ = null; identifierBuilder_ = null; } return this; } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public cz.proto.ObjectIdentifier.Builder getIdentifierBuilder() { onChanged(); return getIdentifierFieldBuilder().getBuilder(); } /** * .cz.proto.ObjectIdentifier identifier = 1; */ public cz.proto.ObjectIdentifierOrBuilder getIdentifierOrBuilder() { if (identifierBuilder_ != null) { return identifierBuilder_.getMessageOrBuilder(); } else { return identifier_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : identifier_; } } /** * .cz.proto.ObjectIdentifier identifier = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getIdentifierFieldBuilder() { if (identifierBuilder_ == null) { identifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getIdentifier(), getParentForChildren(), isClean()); identifier_ = null; } return identifierBuilder_; } private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> accountBuilder_; /** * .cz.proto.coordinator.Account account = 2; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.coordinator.Account account = 2; * @return The account. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.coordinator.Account account = 2; */ public Builder setAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.Account account = 2; */ public Builder setAccount( cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.Account account = 2; */ public Builder mergeAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.coordinator.CoordinatorServiceOuterClass.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.Account account = 2; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.coordinator.Account account = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.Account account = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } } /** * .cz.proto.coordinator.Account account = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private java.lang.Object userAgent_ = ""; /** * string user_agent = 10; * @return The userAgent. */ public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userAgent_ = s; return s; } else { return (java.lang.String) ref; } } /** * string user_agent = 10; * @return The bytes for userAgent. */ public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string user_agent = 10; * @param value The userAgent to set. * @return This builder for chaining. */ public Builder setUserAgent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userAgent_ = value; onChanged(); return this; } /** * string user_agent = 10; * @return This builder for chaining. */ public Builder clearUserAgent() { userAgent_ = getDefaultInstance().getUserAgent(); onChanged(); return this; } /** * string user_agent = 10; * @param value The bytes for userAgent to set. * @return This builder for chaining. */ public Builder setUserAgentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userAgent_ = 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.coordinator.GetWorkspaceRequest) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.GetWorkspaceRequest) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetWorkspaceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetWorkspaceRequest(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.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetWorkspaceResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.GetWorkspaceResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ boolean hasRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ cz.proto.ServiceCommon.ResponseStatus getRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; */ cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder(); /** * .cz.proto.Entity workspace = 2; * @return Whether the workspace field is set. */ boolean hasWorkspace(); /** * .cz.proto.Entity workspace = 2; * @return The workspace. */ cz.proto.MetadataEntity.Entity getWorkspace(); /** * .cz.proto.Entity workspace = 2; */ cz.proto.MetadataEntity.EntityOrBuilder getWorkspaceOrBuilder(); } /** * Protobuf type {@code cz.proto.coordinator.GetWorkspaceResponse} */ public static final class GetWorkspaceResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.GetWorkspaceResponse) GetWorkspaceResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetWorkspaceResponse.newBuilder() to construct. private GetWorkspaceResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetWorkspaceResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetWorkspaceResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetWorkspaceResponse( 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.ServiceCommon.ResponseStatus.Builder subBuilder = null; if (respStatus_ != null) { subBuilder = respStatus_.toBuilder(); } respStatus_ = input.readMessage(cz.proto.ServiceCommon.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(respStatus_); respStatus_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.MetadataEntity.Entity.Builder subBuilder = null; if (workspace_ != null) { subBuilder = workspace_.toBuilder(); } workspace_ = input.readMessage(cz.proto.MetadataEntity.Entity.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(workspace_); workspace_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetWorkspaceResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetWorkspaceResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse.Builder.class); } public static final int RESP_STATUS_FIELD_NUMBER = 1; private cz.proto.ServiceCommon.ResponseStatus respStatus_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ @java.lang.Override public boolean hasRespStatus() { return respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } /** * .cz.proto.ResponseStatus resp_status = 1; */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { return getRespStatus(); } public static final int WORKSPACE_FIELD_NUMBER = 2; private cz.proto.MetadataEntity.Entity workspace_; /** * .cz.proto.Entity workspace = 2; * @return Whether the workspace field is set. */ @java.lang.Override public boolean hasWorkspace() { return workspace_ != null; } /** * .cz.proto.Entity workspace = 2; * @return The workspace. */ @java.lang.Override public cz.proto.MetadataEntity.Entity getWorkspace() { return workspace_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : workspace_; } /** * .cz.proto.Entity workspace = 2; */ @java.lang.Override public cz.proto.MetadataEntity.EntityOrBuilder getWorkspaceOrBuilder() { return getWorkspace(); } 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 (respStatus_ != null) { output.writeMessage(1, getRespStatus()); } if (workspace_ != null) { output.writeMessage(2, getWorkspace()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (respStatus_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRespStatus()); } if (workspace_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getWorkspace()); } 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.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse other = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse) obj; if (hasRespStatus() != other.hasRespStatus()) return false; if (hasRespStatus()) { if (!getRespStatus() .equals(other.getRespStatus())) return false; } if (hasWorkspace() != other.hasWorkspace()) return false; if (hasWorkspace()) { if (!getWorkspace() .equals(other.getWorkspace())) 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 (hasRespStatus()) { hash = (37 * hash) + RESP_STATUS_FIELD_NUMBER; hash = (53 * hash) + getRespStatus().hashCode(); } if (hasWorkspace()) { hash = (37 * hash) + WORKSPACE_FIELD_NUMBER; hash = (53 * hash) + getWorkspace().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse 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.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse 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.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse 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.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse 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.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse 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.coordinator.GetWorkspaceResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.GetWorkspaceResponse) cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetWorkspaceResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetWorkspaceResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse.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 (respStatusBuilder_ == null) { respStatus_ = null; } else { respStatus_ = null; respStatusBuilder_ = null; } if (workspaceBuilder_ == null) { workspace_ = null; } else { workspace_ = null; workspaceBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetWorkspaceResponse_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse build() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse result = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse(this); if (respStatusBuilder_ == null) { result.respStatus_ = respStatus_; } else { result.respStatus_ = respStatusBuilder_.build(); } if (workspaceBuilder_ == null) { result.workspace_ = workspace_; } else { result.workspace_ = workspaceBuilder_.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.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse.getDefaultInstance()) return this; if (other.hasRespStatus()) { mergeRespStatus(other.getRespStatus()); } if (other.hasWorkspace()) { mergeWorkspace(other.getWorkspace()); } 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.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ServiceCommon.ResponseStatus respStatus_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> respStatusBuilder_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ public boolean hasRespStatus() { return respStatusBuilder_ != null || respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { if (respStatusBuilder_ == null) { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } else { return respStatusBuilder_.getMessage(); } } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } respStatus_ = value; onChanged(); } else { respStatusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus( cz.proto.ServiceCommon.ResponseStatus.Builder builderForValue) { if (respStatusBuilder_ == null) { respStatus_ = builderForValue.build(); onChanged(); } else { respStatusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder mergeRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (respStatus_ != null) { respStatus_ = cz.proto.ServiceCommon.ResponseStatus.newBuilder(respStatus_).mergeFrom(value).buildPartial(); } else { respStatus_ = value; } onChanged(); } else { respStatusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder clearRespStatus() { if (respStatusBuilder_ == null) { respStatus_ = null; onChanged(); } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatus.Builder getRespStatusBuilder() { onChanged(); return getRespStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { if (respStatusBuilder_ != null) { return respStatusBuilder_.getMessageOrBuilder(); } else { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } } /** * .cz.proto.ResponseStatus resp_status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> getRespStatusFieldBuilder() { if (respStatusBuilder_ == null) { respStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder>( getRespStatus(), getParentForChildren(), isClean()); respStatus_ = null; } return respStatusBuilder_; } private cz.proto.MetadataEntity.Entity workspace_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder> workspaceBuilder_; /** * .cz.proto.Entity workspace = 2; * @return Whether the workspace field is set. */ public boolean hasWorkspace() { return workspaceBuilder_ != null || workspace_ != null; } /** * .cz.proto.Entity workspace = 2; * @return The workspace. */ public cz.proto.MetadataEntity.Entity getWorkspace() { if (workspaceBuilder_ == null) { return workspace_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : workspace_; } else { return workspaceBuilder_.getMessage(); } } /** * .cz.proto.Entity workspace = 2; */ public Builder setWorkspace(cz.proto.MetadataEntity.Entity value) { if (workspaceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } workspace_ = value; onChanged(); } else { workspaceBuilder_.setMessage(value); } return this; } /** * .cz.proto.Entity workspace = 2; */ public Builder setWorkspace( cz.proto.MetadataEntity.Entity.Builder builderForValue) { if (workspaceBuilder_ == null) { workspace_ = builderForValue.build(); onChanged(); } else { workspaceBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.Entity workspace = 2; */ public Builder mergeWorkspace(cz.proto.MetadataEntity.Entity value) { if (workspaceBuilder_ == null) { if (workspace_ != null) { workspace_ = cz.proto.MetadataEntity.Entity.newBuilder(workspace_).mergeFrom(value).buildPartial(); } else { workspace_ = value; } onChanged(); } else { workspaceBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.Entity workspace = 2; */ public Builder clearWorkspace() { if (workspaceBuilder_ == null) { workspace_ = null; onChanged(); } else { workspace_ = null; workspaceBuilder_ = null; } return this; } /** * .cz.proto.Entity workspace = 2; */ public cz.proto.MetadataEntity.Entity.Builder getWorkspaceBuilder() { onChanged(); return getWorkspaceFieldBuilder().getBuilder(); } /** * .cz.proto.Entity workspace = 2; */ public cz.proto.MetadataEntity.EntityOrBuilder getWorkspaceOrBuilder() { if (workspaceBuilder_ != null) { return workspaceBuilder_.getMessageOrBuilder(); } else { return workspace_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : workspace_; } } /** * .cz.proto.Entity workspace = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder> getWorkspaceFieldBuilder() { if (workspaceBuilder_ == null) { workspaceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder>( getWorkspace(), getParentForChildren(), isClean()); workspace_ = null; } return workspaceBuilder_; } @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.coordinator.GetWorkspaceResponse) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.GetWorkspaceResponse) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetWorkspaceResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetWorkspaceResponse(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.coordinator.CoordinatorServiceOuterClass.GetWorkspaceResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface WorkspaceRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.WorkspaceRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.coordinator.CreateWorkspaceRequest create_request = 1; * @return Whether the createRequest field is set. */ boolean hasCreateRequest(); /** * .cz.proto.coordinator.CreateWorkspaceRequest create_request = 1; * @return The createRequest. */ cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest getCreateRequest(); /** * .cz.proto.coordinator.CreateWorkspaceRequest create_request = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequestOrBuilder getCreateRequestOrBuilder(); /** * .cz.proto.coordinator.DeleteWorkspaceRequest delete_request = 2; * @return Whether the deleteRequest field is set. */ boolean hasDeleteRequest(); /** * .cz.proto.coordinator.DeleteWorkspaceRequest delete_request = 2; * @return The deleteRequest. */ cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest getDeleteRequest(); /** * .cz.proto.coordinator.DeleteWorkspaceRequest delete_request = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequestOrBuilder getDeleteRequestOrBuilder(); /** * .cz.proto.coordinator.UpdateWorkspaceRequest update_request = 3; * @return Whether the updateRequest field is set. */ boolean hasUpdateRequest(); /** * .cz.proto.coordinator.UpdateWorkspaceRequest update_request = 3; * @return The updateRequest. */ cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest getUpdateRequest(); /** * .cz.proto.coordinator.UpdateWorkspaceRequest update_request = 3; */ cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequestOrBuilder getUpdateRequestOrBuilder(); /** * .cz.proto.coordinator.ListWorkspacesRequest list_request = 4; * @return Whether the listRequest field is set. */ boolean hasListRequest(); /** * .cz.proto.coordinator.ListWorkspacesRequest list_request = 4; * @return The listRequest. */ cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest getListRequest(); /** * .cz.proto.coordinator.ListWorkspacesRequest list_request = 4; */ cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequestOrBuilder getListRequestOrBuilder(); /** * .cz.proto.coordinator.GetWorkspaceRequest get_request = 5; * @return Whether the getRequest field is set. */ boolean hasGetRequest(); /** * .cz.proto.coordinator.GetWorkspaceRequest get_request = 5; * @return The getRequest. */ cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest getGetRequest(); /** * .cz.proto.coordinator.GetWorkspaceRequest get_request = 5; */ cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequestOrBuilder getGetRequestOrBuilder(); /** * string user_agent = 30; * @return The userAgent. */ java.lang.String getUserAgent(); /** * string user_agent = 30; * @return The bytes for userAgent. */ com.google.protobuf.ByteString getUserAgentBytes(); public cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest.RequestCase getRequestCase(); } /** * Protobuf type {@code cz.proto.coordinator.WorkspaceRequest} */ public static final class WorkspaceRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.WorkspaceRequest) WorkspaceRequestOrBuilder { private static final long serialVersionUID = 0L; // Use WorkspaceRequest.newBuilder() to construct. private WorkspaceRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private WorkspaceRequest() { userAgent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new WorkspaceRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private WorkspaceRequest( 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.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.Builder subBuilder = null; if (requestCase_ == 1) { subBuilder = ((cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest) request_).toBuilder(); } request_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest) request_); request_ = subBuilder.buildPartial(); } requestCase_ = 1; break; } case 18: { cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest.Builder subBuilder = null; if (requestCase_ == 2) { subBuilder = ((cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest) request_).toBuilder(); } request_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest) request_); request_ = subBuilder.buildPartial(); } requestCase_ = 2; break; } case 26: { cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest.Builder subBuilder = null; if (requestCase_ == 3) { subBuilder = ((cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest) request_).toBuilder(); } request_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest) request_); request_ = subBuilder.buildPartial(); } requestCase_ = 3; break; } case 34: { cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest.Builder subBuilder = null; if (requestCase_ == 4) { subBuilder = ((cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest) request_).toBuilder(); } request_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest) request_); request_ = subBuilder.buildPartial(); } requestCase_ = 4; break; } case 42: { cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest.Builder subBuilder = null; if (requestCase_ == 5) { subBuilder = ((cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest) request_).toBuilder(); } request_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest) request_); request_ = subBuilder.buildPartial(); } requestCase_ = 5; break; } case 242: { java.lang.String s = input.readStringRequireUtf8(); userAgent_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_WorkspaceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_WorkspaceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest.Builder.class); } private int requestCase_ = 0; private java.lang.Object request_; public enum RequestCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CREATE_REQUEST(1), DELETE_REQUEST(2), UPDATE_REQUEST(3), LIST_REQUEST(4), GET_REQUEST(5), REQUEST_NOT_SET(0); private final int value; private RequestCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static RequestCase valueOf(int value) { return forNumber(value); } public static RequestCase forNumber(int value) { switch (value) { case 1: return CREATE_REQUEST; case 2: return DELETE_REQUEST; case 3: return UPDATE_REQUEST; case 4: return LIST_REQUEST; case 5: return GET_REQUEST; case 0: return REQUEST_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public RequestCase getRequestCase() { return RequestCase.forNumber( requestCase_); } public static final int CREATE_REQUEST_FIELD_NUMBER = 1; /** * .cz.proto.coordinator.CreateWorkspaceRequest create_request = 1; * @return Whether the createRequest field is set. */ @java.lang.Override public boolean hasCreateRequest() { return requestCase_ == 1; } /** * .cz.proto.coordinator.CreateWorkspaceRequest create_request = 1; * @return The createRequest. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest getCreateRequest() { if (requestCase_ == 1) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.getDefaultInstance(); } /** * .cz.proto.coordinator.CreateWorkspaceRequest create_request = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequestOrBuilder getCreateRequestOrBuilder() { if (requestCase_ == 1) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.getDefaultInstance(); } public static final int DELETE_REQUEST_FIELD_NUMBER = 2; /** * .cz.proto.coordinator.DeleteWorkspaceRequest delete_request = 2; * @return Whether the deleteRequest field is set. */ @java.lang.Override public boolean hasDeleteRequest() { return requestCase_ == 2; } /** * .cz.proto.coordinator.DeleteWorkspaceRequest delete_request = 2; * @return The deleteRequest. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest getDeleteRequest() { if (requestCase_ == 2) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest.getDefaultInstance(); } /** * .cz.proto.coordinator.DeleteWorkspaceRequest delete_request = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequestOrBuilder getDeleteRequestOrBuilder() { if (requestCase_ == 2) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest.getDefaultInstance(); } public static final int UPDATE_REQUEST_FIELD_NUMBER = 3; /** * .cz.proto.coordinator.UpdateWorkspaceRequest update_request = 3; * @return Whether the updateRequest field is set. */ @java.lang.Override public boolean hasUpdateRequest() { return requestCase_ == 3; } /** * .cz.proto.coordinator.UpdateWorkspaceRequest update_request = 3; * @return The updateRequest. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest getUpdateRequest() { if (requestCase_ == 3) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest.getDefaultInstance(); } /** * .cz.proto.coordinator.UpdateWorkspaceRequest update_request = 3; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequestOrBuilder getUpdateRequestOrBuilder() { if (requestCase_ == 3) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest.getDefaultInstance(); } public static final int LIST_REQUEST_FIELD_NUMBER = 4; /** * .cz.proto.coordinator.ListWorkspacesRequest list_request = 4; * @return Whether the listRequest field is set. */ @java.lang.Override public boolean hasListRequest() { return requestCase_ == 4; } /** * .cz.proto.coordinator.ListWorkspacesRequest list_request = 4; * @return The listRequest. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest getListRequest() { if (requestCase_ == 4) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest.getDefaultInstance(); } /** * .cz.proto.coordinator.ListWorkspacesRequest list_request = 4; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequestOrBuilder getListRequestOrBuilder() { if (requestCase_ == 4) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest.getDefaultInstance(); } public static final int GET_REQUEST_FIELD_NUMBER = 5; /** * .cz.proto.coordinator.GetWorkspaceRequest get_request = 5; * @return Whether the getRequest field is set. */ @java.lang.Override public boolean hasGetRequest() { return requestCase_ == 5; } /** * .cz.proto.coordinator.GetWorkspaceRequest get_request = 5; * @return The getRequest. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest getGetRequest() { if (requestCase_ == 5) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest.getDefaultInstance(); } /** * .cz.proto.coordinator.GetWorkspaceRequest get_request = 5; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequestOrBuilder getGetRequestOrBuilder() { if (requestCase_ == 5) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest.getDefaultInstance(); } public static final int USER_AGENT_FIELD_NUMBER = 30; private volatile java.lang.Object userAgent_; /** * string user_agent = 30; * @return The userAgent. */ @java.lang.Override public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; 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(); userAgent_ = s; return s; } } /** * string user_agent = 30; * @return The bytes for userAgent. */ @java.lang.Override public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = 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 (requestCase_ == 1) { output.writeMessage(1, (cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest) request_); } if (requestCase_ == 2) { output.writeMessage(2, (cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest) request_); } if (requestCase_ == 3) { output.writeMessage(3, (cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest) request_); } if (requestCase_ == 4) { output.writeMessage(4, (cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest) request_); } if (requestCase_ == 5) { output.writeMessage(5, (cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest) request_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 30, userAgent_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (requestCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest) request_); } if (requestCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest) request_); } if (requestCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest) request_); } if (requestCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, (cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest) request_); } if (requestCase_ == 5) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, (cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest) request_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(30, userAgent_); } 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.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest other = (cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest) obj; if (!getUserAgent() .equals(other.getUserAgent())) return false; if (!getRequestCase().equals(other.getRequestCase())) return false; switch (requestCase_) { case 1: if (!getCreateRequest() .equals(other.getCreateRequest())) return false; break; case 2: if (!getDeleteRequest() .equals(other.getDeleteRequest())) return false; break; case 3: if (!getUpdateRequest() .equals(other.getUpdateRequest())) return false; break; case 4: if (!getListRequest() .equals(other.getListRequest())) return false; break; case 5: if (!getGetRequest() .equals(other.getGetRequest())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + USER_AGENT_FIELD_NUMBER; hash = (53 * hash) + getUserAgent().hashCode(); switch (requestCase_) { case 1: hash = (37 * hash) + CREATE_REQUEST_FIELD_NUMBER; hash = (53 * hash) + getCreateRequest().hashCode(); break; case 2: hash = (37 * hash) + DELETE_REQUEST_FIELD_NUMBER; hash = (53 * hash) + getDeleteRequest().hashCode(); break; case 3: hash = (37 * hash) + UPDATE_REQUEST_FIELD_NUMBER; hash = (53 * hash) + getUpdateRequest().hashCode(); break; case 4: hash = (37 * hash) + LIST_REQUEST_FIELD_NUMBER; hash = (53 * hash) + getListRequest().hashCode(); break; case 5: hash = (37 * hash) + GET_REQUEST_FIELD_NUMBER; hash = (53 * hash) + getGetRequest().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest 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.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest 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.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest 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.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest 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.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest 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.coordinator.WorkspaceRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.WorkspaceRequest) cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_WorkspaceRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_WorkspaceRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest.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(); userAgent_ = ""; requestCase_ = 0; request_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_WorkspaceRequest_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest build() { cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest result = new cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest(this); if (requestCase_ == 1) { if (createRequestBuilder_ == null) { result.request_ = request_; } else { result.request_ = createRequestBuilder_.build(); } } if (requestCase_ == 2) { if (deleteRequestBuilder_ == null) { result.request_ = request_; } else { result.request_ = deleteRequestBuilder_.build(); } } if (requestCase_ == 3) { if (updateRequestBuilder_ == null) { result.request_ = request_; } else { result.request_ = updateRequestBuilder_.build(); } } if (requestCase_ == 4) { if (listRequestBuilder_ == null) { result.request_ = request_; } else { result.request_ = listRequestBuilder_.build(); } } if (requestCase_ == 5) { if (getRequestBuilder_ == null) { result.request_ = request_; } else { result.request_ = getRequestBuilder_.build(); } } result.userAgent_ = userAgent_; result.requestCase_ = requestCase_; 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.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest.getDefaultInstance()) return this; if (!other.getUserAgent().isEmpty()) { userAgent_ = other.userAgent_; onChanged(); } switch (other.getRequestCase()) { case CREATE_REQUEST: { mergeCreateRequest(other.getCreateRequest()); break; } case DELETE_REQUEST: { mergeDeleteRequest(other.getDeleteRequest()); break; } case UPDATE_REQUEST: { mergeUpdateRequest(other.getUpdateRequest()); break; } case LIST_REQUEST: { mergeListRequest(other.getListRequest()); break; } case GET_REQUEST: { mergeGetRequest(other.getGetRequest()); break; } case REQUEST_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int requestCase_ = 0; private java.lang.Object request_; public RequestCase getRequestCase() { return RequestCase.forNumber( requestCase_); } public Builder clearRequest() { requestCase_ = 0; request_ = null; onChanged(); return this; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequestOrBuilder> createRequestBuilder_; /** * .cz.proto.coordinator.CreateWorkspaceRequest create_request = 1; * @return Whether the createRequest field is set. */ @java.lang.Override public boolean hasCreateRequest() { return requestCase_ == 1; } /** * .cz.proto.coordinator.CreateWorkspaceRequest create_request = 1; * @return The createRequest. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest getCreateRequest() { if (createRequestBuilder_ == null) { if (requestCase_ == 1) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.getDefaultInstance(); } else { if (requestCase_ == 1) { return createRequestBuilder_.getMessage(); } return cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.getDefaultInstance(); } } /** * .cz.proto.coordinator.CreateWorkspaceRequest create_request = 1; */ public Builder setCreateRequest(cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest value) { if (createRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } request_ = value; onChanged(); } else { createRequestBuilder_.setMessage(value); } requestCase_ = 1; return this; } /** * .cz.proto.coordinator.CreateWorkspaceRequest create_request = 1; */ public Builder setCreateRequest( cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.Builder builderForValue) { if (createRequestBuilder_ == null) { request_ = builderForValue.build(); onChanged(); } else { createRequestBuilder_.setMessage(builderForValue.build()); } requestCase_ = 1; return this; } /** * .cz.proto.coordinator.CreateWorkspaceRequest create_request = 1; */ public Builder mergeCreateRequest(cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest value) { if (createRequestBuilder_ == null) { if (requestCase_ == 1 && request_ != cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.getDefaultInstance()) { request_ = cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.newBuilder((cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest) request_) .mergeFrom(value).buildPartial(); } else { request_ = value; } onChanged(); } else { if (requestCase_ == 1) { createRequestBuilder_.mergeFrom(value); } createRequestBuilder_.setMessage(value); } requestCase_ = 1; return this; } /** * .cz.proto.coordinator.CreateWorkspaceRequest create_request = 1; */ public Builder clearCreateRequest() { if (createRequestBuilder_ == null) { if (requestCase_ == 1) { requestCase_ = 0; request_ = null; onChanged(); } } else { if (requestCase_ == 1) { requestCase_ = 0; request_ = null; } createRequestBuilder_.clear(); } return this; } /** * .cz.proto.coordinator.CreateWorkspaceRequest create_request = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.Builder getCreateRequestBuilder() { return getCreateRequestFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.CreateWorkspaceRequest create_request = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequestOrBuilder getCreateRequestOrBuilder() { if ((requestCase_ == 1) && (createRequestBuilder_ != null)) { return createRequestBuilder_.getMessageOrBuilder(); } else { if (requestCase_ == 1) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.getDefaultInstance(); } } /** * .cz.proto.coordinator.CreateWorkspaceRequest create_request = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequestOrBuilder> getCreateRequestFieldBuilder() { if (createRequestBuilder_ == null) { if (!(requestCase_ == 1)) { request_ = cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.getDefaultInstance(); } createRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequestOrBuilder>( (cz.proto.coordinator.CoordinatorServiceOuterClass.CreateWorkspaceRequest) request_, getParentForChildren(), isClean()); request_ = null; } requestCase_ = 1; onChanged();; return createRequestBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequestOrBuilder> deleteRequestBuilder_; /** * .cz.proto.coordinator.DeleteWorkspaceRequest delete_request = 2; * @return Whether the deleteRequest field is set. */ @java.lang.Override public boolean hasDeleteRequest() { return requestCase_ == 2; } /** * .cz.proto.coordinator.DeleteWorkspaceRequest delete_request = 2; * @return The deleteRequest. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest getDeleteRequest() { if (deleteRequestBuilder_ == null) { if (requestCase_ == 2) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest.getDefaultInstance(); } else { if (requestCase_ == 2) { return deleteRequestBuilder_.getMessage(); } return cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest.getDefaultInstance(); } } /** * .cz.proto.coordinator.DeleteWorkspaceRequest delete_request = 2; */ public Builder setDeleteRequest(cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest value) { if (deleteRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } request_ = value; onChanged(); } else { deleteRequestBuilder_.setMessage(value); } requestCase_ = 2; return this; } /** * .cz.proto.coordinator.DeleteWorkspaceRequest delete_request = 2; */ public Builder setDeleteRequest( cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest.Builder builderForValue) { if (deleteRequestBuilder_ == null) { request_ = builderForValue.build(); onChanged(); } else { deleteRequestBuilder_.setMessage(builderForValue.build()); } requestCase_ = 2; return this; } /** * .cz.proto.coordinator.DeleteWorkspaceRequest delete_request = 2; */ public Builder mergeDeleteRequest(cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest value) { if (deleteRequestBuilder_ == null) { if (requestCase_ == 2 && request_ != cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest.getDefaultInstance()) { request_ = cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest.newBuilder((cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest) request_) .mergeFrom(value).buildPartial(); } else { request_ = value; } onChanged(); } else { if (requestCase_ == 2) { deleteRequestBuilder_.mergeFrom(value); } deleteRequestBuilder_.setMessage(value); } requestCase_ = 2; return this; } /** * .cz.proto.coordinator.DeleteWorkspaceRequest delete_request = 2; */ public Builder clearDeleteRequest() { if (deleteRequestBuilder_ == null) { if (requestCase_ == 2) { requestCase_ = 0; request_ = null; onChanged(); } } else { if (requestCase_ == 2) { requestCase_ = 0; request_ = null; } deleteRequestBuilder_.clear(); } return this; } /** * .cz.proto.coordinator.DeleteWorkspaceRequest delete_request = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest.Builder getDeleteRequestBuilder() { return getDeleteRequestFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.DeleteWorkspaceRequest delete_request = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequestOrBuilder getDeleteRequestOrBuilder() { if ((requestCase_ == 2) && (deleteRequestBuilder_ != null)) { return deleteRequestBuilder_.getMessageOrBuilder(); } else { if (requestCase_ == 2) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest.getDefaultInstance(); } } /** * .cz.proto.coordinator.DeleteWorkspaceRequest delete_request = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequestOrBuilder> getDeleteRequestFieldBuilder() { if (deleteRequestBuilder_ == null) { if (!(requestCase_ == 2)) { request_ = cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest.getDefaultInstance(); } deleteRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequestOrBuilder>( (cz.proto.coordinator.CoordinatorServiceOuterClass.DeleteWorkspaceRequest) request_, getParentForChildren(), isClean()); request_ = null; } requestCase_ = 2; onChanged();; return deleteRequestBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequestOrBuilder> updateRequestBuilder_; /** * .cz.proto.coordinator.UpdateWorkspaceRequest update_request = 3; * @return Whether the updateRequest field is set. */ @java.lang.Override public boolean hasUpdateRequest() { return requestCase_ == 3; } /** * .cz.proto.coordinator.UpdateWorkspaceRequest update_request = 3; * @return The updateRequest. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest getUpdateRequest() { if (updateRequestBuilder_ == null) { if (requestCase_ == 3) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest.getDefaultInstance(); } else { if (requestCase_ == 3) { return updateRequestBuilder_.getMessage(); } return cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest.getDefaultInstance(); } } /** * .cz.proto.coordinator.UpdateWorkspaceRequest update_request = 3; */ public Builder setUpdateRequest(cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest value) { if (updateRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } request_ = value; onChanged(); } else { updateRequestBuilder_.setMessage(value); } requestCase_ = 3; return this; } /** * .cz.proto.coordinator.UpdateWorkspaceRequest update_request = 3; */ public Builder setUpdateRequest( cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest.Builder builderForValue) { if (updateRequestBuilder_ == null) { request_ = builderForValue.build(); onChanged(); } else { updateRequestBuilder_.setMessage(builderForValue.build()); } requestCase_ = 3; return this; } /** * .cz.proto.coordinator.UpdateWorkspaceRequest update_request = 3; */ public Builder mergeUpdateRequest(cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest value) { if (updateRequestBuilder_ == null) { if (requestCase_ == 3 && request_ != cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest.getDefaultInstance()) { request_ = cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest.newBuilder((cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest) request_) .mergeFrom(value).buildPartial(); } else { request_ = value; } onChanged(); } else { if (requestCase_ == 3) { updateRequestBuilder_.mergeFrom(value); } updateRequestBuilder_.setMessage(value); } requestCase_ = 3; return this; } /** * .cz.proto.coordinator.UpdateWorkspaceRequest update_request = 3; */ public Builder clearUpdateRequest() { if (updateRequestBuilder_ == null) { if (requestCase_ == 3) { requestCase_ = 0; request_ = null; onChanged(); } } else { if (requestCase_ == 3) { requestCase_ = 0; request_ = null; } updateRequestBuilder_.clear(); } return this; } /** * .cz.proto.coordinator.UpdateWorkspaceRequest update_request = 3; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest.Builder getUpdateRequestBuilder() { return getUpdateRequestFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.UpdateWorkspaceRequest update_request = 3; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequestOrBuilder getUpdateRequestOrBuilder() { if ((requestCase_ == 3) && (updateRequestBuilder_ != null)) { return updateRequestBuilder_.getMessageOrBuilder(); } else { if (requestCase_ == 3) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest.getDefaultInstance(); } } /** * .cz.proto.coordinator.UpdateWorkspaceRequest update_request = 3; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequestOrBuilder> getUpdateRequestFieldBuilder() { if (updateRequestBuilder_ == null) { if (!(requestCase_ == 3)) { request_ = cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest.getDefaultInstance(); } updateRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequestOrBuilder>( (cz.proto.coordinator.CoordinatorServiceOuterClass.UpdateWorkspaceRequest) request_, getParentForChildren(), isClean()); request_ = null; } requestCase_ = 3; onChanged();; return updateRequestBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequestOrBuilder> listRequestBuilder_; /** * .cz.proto.coordinator.ListWorkspacesRequest list_request = 4; * @return Whether the listRequest field is set. */ @java.lang.Override public boolean hasListRequest() { return requestCase_ == 4; } /** * .cz.proto.coordinator.ListWorkspacesRequest list_request = 4; * @return The listRequest. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest getListRequest() { if (listRequestBuilder_ == null) { if (requestCase_ == 4) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest.getDefaultInstance(); } else { if (requestCase_ == 4) { return listRequestBuilder_.getMessage(); } return cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest.getDefaultInstance(); } } /** * .cz.proto.coordinator.ListWorkspacesRequest list_request = 4; */ public Builder setListRequest(cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest value) { if (listRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } request_ = value; onChanged(); } else { listRequestBuilder_.setMessage(value); } requestCase_ = 4; return this; } /** * .cz.proto.coordinator.ListWorkspacesRequest list_request = 4; */ public Builder setListRequest( cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest.Builder builderForValue) { if (listRequestBuilder_ == null) { request_ = builderForValue.build(); onChanged(); } else { listRequestBuilder_.setMessage(builderForValue.build()); } requestCase_ = 4; return this; } /** * .cz.proto.coordinator.ListWorkspacesRequest list_request = 4; */ public Builder mergeListRequest(cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest value) { if (listRequestBuilder_ == null) { if (requestCase_ == 4 && request_ != cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest.getDefaultInstance()) { request_ = cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest.newBuilder((cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest) request_) .mergeFrom(value).buildPartial(); } else { request_ = value; } onChanged(); } else { if (requestCase_ == 4) { listRequestBuilder_.mergeFrom(value); } listRequestBuilder_.setMessage(value); } requestCase_ = 4; return this; } /** * .cz.proto.coordinator.ListWorkspacesRequest list_request = 4; */ public Builder clearListRequest() { if (listRequestBuilder_ == null) { if (requestCase_ == 4) { requestCase_ = 0; request_ = null; onChanged(); } } else { if (requestCase_ == 4) { requestCase_ = 0; request_ = null; } listRequestBuilder_.clear(); } return this; } /** * .cz.proto.coordinator.ListWorkspacesRequest list_request = 4; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest.Builder getListRequestBuilder() { return getListRequestFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.ListWorkspacesRequest list_request = 4; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequestOrBuilder getListRequestOrBuilder() { if ((requestCase_ == 4) && (listRequestBuilder_ != null)) { return listRequestBuilder_.getMessageOrBuilder(); } else { if (requestCase_ == 4) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest.getDefaultInstance(); } } /** * .cz.proto.coordinator.ListWorkspacesRequest list_request = 4; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequestOrBuilder> getListRequestFieldBuilder() { if (listRequestBuilder_ == null) { if (!(requestCase_ == 4)) { request_ = cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest.getDefaultInstance(); } listRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequestOrBuilder>( (cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkspacesRequest) request_, getParentForChildren(), isClean()); request_ = null; } requestCase_ = 4; onChanged();; return listRequestBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequestOrBuilder> getRequestBuilder_; /** * .cz.proto.coordinator.GetWorkspaceRequest get_request = 5; * @return Whether the getRequest field is set. */ @java.lang.Override public boolean hasGetRequest() { return requestCase_ == 5; } /** * .cz.proto.coordinator.GetWorkspaceRequest get_request = 5; * @return The getRequest. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest getGetRequest() { if (getRequestBuilder_ == null) { if (requestCase_ == 5) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest.getDefaultInstance(); } else { if (requestCase_ == 5) { return getRequestBuilder_.getMessage(); } return cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest.getDefaultInstance(); } } /** * .cz.proto.coordinator.GetWorkspaceRequest get_request = 5; */ public Builder setGetRequest(cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest value) { if (getRequestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } request_ = value; onChanged(); } else { getRequestBuilder_.setMessage(value); } requestCase_ = 5; return this; } /** * .cz.proto.coordinator.GetWorkspaceRequest get_request = 5; */ public Builder setGetRequest( cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest.Builder builderForValue) { if (getRequestBuilder_ == null) { request_ = builderForValue.build(); onChanged(); } else { getRequestBuilder_.setMessage(builderForValue.build()); } requestCase_ = 5; return this; } /** * .cz.proto.coordinator.GetWorkspaceRequest get_request = 5; */ public Builder mergeGetRequest(cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest value) { if (getRequestBuilder_ == null) { if (requestCase_ == 5 && request_ != cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest.getDefaultInstance()) { request_ = cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest.newBuilder((cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest) request_) .mergeFrom(value).buildPartial(); } else { request_ = value; } onChanged(); } else { if (requestCase_ == 5) { getRequestBuilder_.mergeFrom(value); } getRequestBuilder_.setMessage(value); } requestCase_ = 5; return this; } /** * .cz.proto.coordinator.GetWorkspaceRequest get_request = 5; */ public Builder clearGetRequest() { if (getRequestBuilder_ == null) { if (requestCase_ == 5) { requestCase_ = 0; request_ = null; onChanged(); } } else { if (requestCase_ == 5) { requestCase_ = 0; request_ = null; } getRequestBuilder_.clear(); } return this; } /** * .cz.proto.coordinator.GetWorkspaceRequest get_request = 5; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest.Builder getGetRequestBuilder() { return getGetRequestFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.GetWorkspaceRequest get_request = 5; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequestOrBuilder getGetRequestOrBuilder() { if ((requestCase_ == 5) && (getRequestBuilder_ != null)) { return getRequestBuilder_.getMessageOrBuilder(); } else { if (requestCase_ == 5) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest) request_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest.getDefaultInstance(); } } /** * .cz.proto.coordinator.GetWorkspaceRequest get_request = 5; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequestOrBuilder> getGetRequestFieldBuilder() { if (getRequestBuilder_ == null) { if (!(requestCase_ == 5)) { request_ = cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest.getDefaultInstance(); } getRequestBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest, cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequestOrBuilder>( (cz.proto.coordinator.CoordinatorServiceOuterClass.GetWorkspaceRequest) request_, getParentForChildren(), isClean()); request_ = null; } requestCase_ = 5; onChanged();; return getRequestBuilder_; } private java.lang.Object userAgent_ = ""; /** * string user_agent = 30; * @return The userAgent. */ public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userAgent_ = s; return s; } else { return (java.lang.String) ref; } } /** * string user_agent = 30; * @return The bytes for userAgent. */ public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string user_agent = 30; * @param value The userAgent to set. * @return This builder for chaining. */ public Builder setUserAgent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userAgent_ = value; onChanged(); return this; } /** * string user_agent = 30; * @return This builder for chaining. */ public Builder clearUserAgent() { userAgent_ = getDefaultInstance().getUserAgent(); onChanged(); return this; } /** * string user_agent = 30; * @param value The bytes for userAgent to set. * @return This builder for chaining. */ public Builder setUserAgentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userAgent_ = 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.coordinator.WorkspaceRequest) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.WorkspaceRequest) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public WorkspaceRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new WorkspaceRequest(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.coordinator.CoordinatorServiceOuterClass.WorkspaceRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetUserRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.GetUserRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount(); /** * .cz.proto.coordinator.Account account = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder(); /** * int64 instance_id = 2; * @return The instanceId. */ long getInstanceId(); /** * string workspace = 3; * @return The workspace. */ java.lang.String getWorkspace(); /** * string workspace = 3; * @return The bytes for workspace. */ com.google.protobuf.ByteString getWorkspaceBytes(); /** * string user_agent = 10; * @return The userAgent. */ java.lang.String getUserAgent(); /** * string user_agent = 10; * @return The bytes for userAgent. */ com.google.protobuf.ByteString getUserAgentBytes(); } /** * Protobuf type {@code cz.proto.coordinator.GetUserRequest} */ public static final class GetUserRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.GetUserRequest) GetUserRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetUserRequest.newBuilder() to construct. private GetUserRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetUserRequest() { workspace_ = ""; userAgent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetUserRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetUserRequest( 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.coordinator.CoordinatorServiceOuterClass.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 16: { instanceId_ = input.readInt64(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); workspace_ = s; break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); userAgent_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } /** * .cz.proto.coordinator.Account account = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int INSTANCE_ID_FIELD_NUMBER = 2; private long instanceId_; /** * int64 instance_id = 2; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } public static final int WORKSPACE_FIELD_NUMBER = 3; private volatile java.lang.Object workspace_; /** * string workspace = 3; * @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 = 3; * @return The bytes for workspace. */ @java.lang.Override public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workspace_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int USER_AGENT_FIELD_NUMBER = 10; private volatile java.lang.Object userAgent_; /** * string user_agent = 10; * @return The userAgent. */ @java.lang.Override public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; 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(); userAgent_ = s; return s; } } /** * string user_agent = 10; * @return The bytes for userAgent. */ @java.lang.Override public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (account_ != null) { output.writeMessage(1, getAccount()); } if (instanceId_ != 0L) { output.writeInt64(2, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, workspace_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, userAgent_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAccount()); } if (instanceId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, workspace_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(userAgent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, userAgent_); } 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.coordinator.CoordinatorServiceOuterClass.GetUserRequest)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserRequest other = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (getInstanceId() != other.getInstanceId()) return false; if (!getWorkspace() .equals(other.getWorkspace())) return false; if (!getUserAgent() .equals(other.getUserAgent())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } hash = (37 * hash) + INSTANCE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getInstanceId()); hash = (37 * hash) + WORKSPACE_FIELD_NUMBER; hash = (53 * hash) + getWorkspace().hashCode(); hash = (37 * hash) + USER_AGENT_FIELD_NUMBER; hash = (53 * hash) + getUserAgent().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserRequest 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.coordinator.CoordinatorServiceOuterClass.GetUserRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserRequest 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.coordinator.CoordinatorServiceOuterClass.GetUserRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserRequest 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.coordinator.CoordinatorServiceOuterClass.GetUserRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserRequest 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.coordinator.CoordinatorServiceOuterClass.GetUserRequest 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.coordinator.GetUserRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.GetUserRequest) cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetUserRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetUserRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserRequest.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } instanceId_ = 0L; workspace_ = ""; userAgent_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetUserRequest_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserRequest getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserRequest build() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserRequest buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserRequest result = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserRequest(this); if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } result.instanceId_ = instanceId_; result.workspace_ = workspace_; result.userAgent_ = userAgent_; 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.coordinator.CoordinatorServiceOuterClass.GetUserRequest) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserRequest other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (other.getInstanceId() != 0L) { setInstanceId(other.getInstanceId()); } if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); } if (!other.getUserAgent().isEmpty()) { userAgent_ = other.userAgent_; 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.coordinator.CoordinatorServiceOuterClass.GetUserRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> accountBuilder_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount( cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder mergeAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.coordinator.CoordinatorServiceOuterClass.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } } /** * .cz.proto.coordinator.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private long instanceId_ ; /** * int64 instance_id = 2; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } /** * int64 instance_id = 2; * @param value The instanceId to set. * @return This builder for chaining. */ public Builder setInstanceId(long value) { instanceId_ = value; onChanged(); return this; } /** * int64 instance_id = 2; * @return This builder for chaining. */ public Builder clearInstanceId() { instanceId_ = 0L; onChanged(); return this; } private java.lang.Object workspace_ = ""; /** * string workspace = 3; * @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 = 3; * @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 = 3; * @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 = 3; * @return This builder for chaining. */ public Builder clearWorkspace() { workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** * string workspace = 3; * @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 userAgent_ = ""; /** * string user_agent = 10; * @return The userAgent. */ public java.lang.String getUserAgent() { java.lang.Object ref = userAgent_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); userAgent_ = s; return s; } else { return (java.lang.String) ref; } } /** * string user_agent = 10; * @return The bytes for userAgent. */ public com.google.protobuf.ByteString getUserAgentBytes() { java.lang.Object ref = userAgent_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); userAgent_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string user_agent = 10; * @param value The userAgent to set. * @return This builder for chaining. */ public Builder setUserAgent( java.lang.String value) { if (value == null) { throw new NullPointerException(); } userAgent_ = value; onChanged(); return this; } /** * string user_agent = 10; * @return This builder for chaining. */ public Builder clearUserAgent() { userAgent_ = getDefaultInstance().getUserAgent(); onChanged(); return this; } /** * string user_agent = 10; * @param value The bytes for userAgent to set. * @return This builder for chaining. */ public Builder setUserAgentBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); userAgent_ = 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.coordinator.GetUserRequest) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.GetUserRequest) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserRequest(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetUserRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetUserRequest(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.coordinator.CoordinatorServiceOuterClass.GetUserRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetUserResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.GetUserResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ boolean hasRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ cz.proto.ServiceCommon.ResponseStatus getRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; */ cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder(); /** * .cz.proto.Entity user = 2; * @return Whether the user field is set. */ boolean hasUser(); /** * .cz.proto.Entity user = 2; * @return The user. */ cz.proto.MetadataEntity.Entity getUser(); /** * .cz.proto.Entity user = 2; */ cz.proto.MetadataEntity.EntityOrBuilder getUserOrBuilder(); } /** * Protobuf type {@code cz.proto.coordinator.GetUserResponse} */ public static final class GetUserResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.GetUserResponse) GetUserResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetUserResponse.newBuilder() to construct. private GetUserResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetUserResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetUserResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetUserResponse( 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.ServiceCommon.ResponseStatus.Builder subBuilder = null; if (respStatus_ != null) { subBuilder = respStatus_.toBuilder(); } respStatus_ = input.readMessage(cz.proto.ServiceCommon.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(respStatus_); respStatus_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.MetadataEntity.Entity.Builder subBuilder = null; if (user_ != null) { subBuilder = user_.toBuilder(); } user_ = input.readMessage(cz.proto.MetadataEntity.Entity.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(user_); user_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetUserResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetUserResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserResponse.Builder.class); } public static final int RESP_STATUS_FIELD_NUMBER = 1; private cz.proto.ServiceCommon.ResponseStatus respStatus_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ @java.lang.Override public boolean hasRespStatus() { return respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } /** * .cz.proto.ResponseStatus resp_status = 1; */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { return getRespStatus(); } public static final int USER_FIELD_NUMBER = 2; private cz.proto.MetadataEntity.Entity user_; /** * .cz.proto.Entity user = 2; * @return Whether the user field is set. */ @java.lang.Override public boolean hasUser() { return user_ != null; } /** * .cz.proto.Entity user = 2; * @return The user. */ @java.lang.Override public cz.proto.MetadataEntity.Entity getUser() { return user_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : user_; } /** * .cz.proto.Entity user = 2; */ @java.lang.Override public cz.proto.MetadataEntity.EntityOrBuilder getUserOrBuilder() { return getUser(); } 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 (respStatus_ != null) { output.writeMessage(1, getRespStatus()); } if (user_ != null) { output.writeMessage(2, getUser()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (respStatus_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRespStatus()); } if (user_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getUser()); } 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.coordinator.CoordinatorServiceOuterClass.GetUserResponse)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserResponse other = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserResponse) obj; if (hasRespStatus() != other.hasRespStatus()) return false; if (hasRespStatus()) { if (!getRespStatus() .equals(other.getRespStatus())) return false; } if (hasUser() != other.hasUser()) return false; if (hasUser()) { if (!getUser() .equals(other.getUser())) 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 (hasRespStatus()) { hash = (37 * hash) + RESP_STATUS_FIELD_NUMBER; hash = (53 * hash) + getRespStatus().hashCode(); } if (hasUser()) { hash = (37 * hash) + USER_FIELD_NUMBER; hash = (53 * hash) + getUser().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserResponse 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.coordinator.CoordinatorServiceOuterClass.GetUserResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserResponse 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.coordinator.CoordinatorServiceOuterClass.GetUserResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserResponse 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.coordinator.CoordinatorServiceOuterClass.GetUserResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserResponse 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.coordinator.CoordinatorServiceOuterClass.GetUserResponse 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.coordinator.GetUserResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.GetUserResponse) cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetUserResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetUserResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserResponse.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserResponse.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 (respStatusBuilder_ == null) { respStatus_ = null; } else { respStatus_ = null; respStatusBuilder_ = null; } if (userBuilder_ == null) { user_ = null; } else { user_ = null; userBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetUserResponse_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserResponse getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserResponse build() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserResponse buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserResponse result = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserResponse(this); if (respStatusBuilder_ == null) { result.respStatus_ = respStatus_; } else { result.respStatus_ = respStatusBuilder_.build(); } if (userBuilder_ == null) { result.user_ = user_; } else { result.user_ = userBuilder_.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.coordinator.CoordinatorServiceOuterClass.GetUserResponse) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserResponse other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserResponse.getDefaultInstance()) return this; if (other.hasRespStatus()) { mergeRespStatus(other.getRespStatus()); } if (other.hasUser()) { mergeUser(other.getUser()); } 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.coordinator.CoordinatorServiceOuterClass.GetUserResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ServiceCommon.ResponseStatus respStatus_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> respStatusBuilder_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ public boolean hasRespStatus() { return respStatusBuilder_ != null || respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { if (respStatusBuilder_ == null) { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } else { return respStatusBuilder_.getMessage(); } } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } respStatus_ = value; onChanged(); } else { respStatusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus( cz.proto.ServiceCommon.ResponseStatus.Builder builderForValue) { if (respStatusBuilder_ == null) { respStatus_ = builderForValue.build(); onChanged(); } else { respStatusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder mergeRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (respStatus_ != null) { respStatus_ = cz.proto.ServiceCommon.ResponseStatus.newBuilder(respStatus_).mergeFrom(value).buildPartial(); } else { respStatus_ = value; } onChanged(); } else { respStatusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder clearRespStatus() { if (respStatusBuilder_ == null) { respStatus_ = null; onChanged(); } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatus.Builder getRespStatusBuilder() { onChanged(); return getRespStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { if (respStatusBuilder_ != null) { return respStatusBuilder_.getMessageOrBuilder(); } else { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } } /** * .cz.proto.ResponseStatus resp_status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> getRespStatusFieldBuilder() { if (respStatusBuilder_ == null) { respStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder>( getRespStatus(), getParentForChildren(), isClean()); respStatus_ = null; } return respStatusBuilder_; } private cz.proto.MetadataEntity.Entity user_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder> userBuilder_; /** * .cz.proto.Entity user = 2; * @return Whether the user field is set. */ public boolean hasUser() { return userBuilder_ != null || user_ != null; } /** * .cz.proto.Entity user = 2; * @return The user. */ public cz.proto.MetadataEntity.Entity getUser() { if (userBuilder_ == null) { return user_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : user_; } else { return userBuilder_.getMessage(); } } /** * .cz.proto.Entity user = 2; */ public Builder setUser(cz.proto.MetadataEntity.Entity value) { if (userBuilder_ == null) { if (value == null) { throw new NullPointerException(); } user_ = value; onChanged(); } else { userBuilder_.setMessage(value); } return this; } /** * .cz.proto.Entity user = 2; */ public Builder setUser( cz.proto.MetadataEntity.Entity.Builder builderForValue) { if (userBuilder_ == null) { user_ = builderForValue.build(); onChanged(); } else { userBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.Entity user = 2; */ public Builder mergeUser(cz.proto.MetadataEntity.Entity value) { if (userBuilder_ == null) { if (user_ != null) { user_ = cz.proto.MetadataEntity.Entity.newBuilder(user_).mergeFrom(value).buildPartial(); } else { user_ = value; } onChanged(); } else { userBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.Entity user = 2; */ public Builder clearUser() { if (userBuilder_ == null) { user_ = null; onChanged(); } else { user_ = null; userBuilder_ = null; } return this; } /** * .cz.proto.Entity user = 2; */ public cz.proto.MetadataEntity.Entity.Builder getUserBuilder() { onChanged(); return getUserFieldBuilder().getBuilder(); } /** * .cz.proto.Entity user = 2; */ public cz.proto.MetadataEntity.EntityOrBuilder getUserOrBuilder() { if (userBuilder_ != null) { return userBuilder_.getMessageOrBuilder(); } else { return user_ == null ? cz.proto.MetadataEntity.Entity.getDefaultInstance() : user_; } } /** * .cz.proto.Entity user = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder> getUserFieldBuilder() { if (userBuilder_ == null) { userBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.MetadataEntity.Entity, cz.proto.MetadataEntity.Entity.Builder, cz.proto.MetadataEntity.EntityOrBuilder>( getUser(), getParentForChildren(), isClean()); user_ = null; } return userBuilder_; } @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.coordinator.GetUserResponse) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.GetUserResponse) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserResponse(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetUserResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetUserResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetUserResponse(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.coordinator.CoordinatorServiceOuterClass.GetUserResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SetFlightingRouteTableRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.SetFlightingRouteTableRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount(); /** * .cz.proto.coordinator.Account account = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder(); /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ java.util.List getRouteItemsList(); /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem getRouteItems(int index); /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ int getRouteItemsCount(); /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ java.util.List getRouteItemsOrBuilderList(); /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder getRouteItemsOrBuilder( int index); } /** * Protobuf type {@code cz.proto.coordinator.SetFlightingRouteTableRequest} */ public static final class SetFlightingRouteTableRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.SetFlightingRouteTableRequest) SetFlightingRouteTableRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SetFlightingRouteTableRequest.newBuilder() to construct. private SetFlightingRouteTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SetFlightingRouteTableRequest() { routeItems_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SetFlightingRouteTableRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SetFlightingRouteTableRequest( 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.coordinator.CoordinatorServiceOuterClass.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { routeItems_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } routeItems_.add( input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.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)) { routeItems_ = java.util.Collections.unmodifiableList(routeItems_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_SetFlightingRouteTableRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_SetFlightingRouteTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } /** * .cz.proto.coordinator.Account account = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int ROUTE_ITEMS_FIELD_NUMBER = 2; private java.util.List routeItems_; /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ @java.lang.Override public java.util.List getRouteItemsList() { return routeItems_; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ @java.lang.Override public java.util.List getRouteItemsOrBuilderList() { return routeItems_; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ @java.lang.Override public int getRouteItemsCount() { return routeItems_.size(); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem getRouteItems(int index) { return routeItems_.get(index); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder getRouteItemsOrBuilder( int index) { return routeItems_.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 (account_ != null) { output.writeMessage(1, getAccount()); } for (int i = 0; i < routeItems_.size(); i++) { output.writeMessage(2, routeItems_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAccount()); } for (int i = 0; i < routeItems_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, routeItems_.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.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest other = (cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (!getRouteItemsList() .equals(other.getRouteItemsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } if (getRouteItemsCount() > 0) { hash = (37 * hash) + ROUTE_ITEMS_FIELD_NUMBER; hash = (53 * hash) + getRouteItemsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest 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.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest 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.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest 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.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest 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.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest 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.coordinator.SetFlightingRouteTableRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.SetFlightingRouteTableRequest) cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_SetFlightingRouteTableRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_SetFlightingRouteTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getRouteItemsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } if (routeItemsBuilder_ == null) { routeItems_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { routeItemsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_SetFlightingRouteTableRequest_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest build() { cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest result = new cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest(this); int from_bitField0_ = bitField0_; if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } if (routeItemsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { routeItems_ = java.util.Collections.unmodifiableList(routeItems_); bitField0_ = (bitField0_ & ~0x00000001); } result.routeItems_ = routeItems_; } else { result.routeItems_ = routeItemsBuilder_.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.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (routeItemsBuilder_ == null) { if (!other.routeItems_.isEmpty()) { if (routeItems_.isEmpty()) { routeItems_ = other.routeItems_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureRouteItemsIsMutable(); routeItems_.addAll(other.routeItems_); } onChanged(); } } else { if (!other.routeItems_.isEmpty()) { if (routeItemsBuilder_.isEmpty()) { routeItemsBuilder_.dispose(); routeItemsBuilder_ = null; routeItems_ = other.routeItems_; bitField0_ = (bitField0_ & ~0x00000001); routeItemsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRouteItemsFieldBuilder() : null; } else { routeItemsBuilder_.addAllMessages(other.routeItems_); } } } 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.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> accountBuilder_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount( cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder mergeAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.coordinator.CoordinatorServiceOuterClass.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } } /** * .cz.proto.coordinator.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private java.util.List routeItems_ = java.util.Collections.emptyList(); private void ensureRouteItemsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { routeItems_ = new java.util.ArrayList(routeItems_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder> routeItemsBuilder_; /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public java.util.List getRouteItemsList() { if (routeItemsBuilder_ == null) { return java.util.Collections.unmodifiableList(routeItems_); } else { return routeItemsBuilder_.getMessageList(); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public int getRouteItemsCount() { if (routeItemsBuilder_ == null) { return routeItems_.size(); } else { return routeItemsBuilder_.getCount(); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem getRouteItems(int index) { if (routeItemsBuilder_ == null) { return routeItems_.get(index); } else { return routeItemsBuilder_.getMessage(index); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder setRouteItems( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem value) { if (routeItemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRouteItemsIsMutable(); routeItems_.set(index, value); onChanged(); } else { routeItemsBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder setRouteItems( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder builderForValue) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); routeItems_.set(index, builderForValue.build()); onChanged(); } else { routeItemsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder addRouteItems(cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem value) { if (routeItemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRouteItemsIsMutable(); routeItems_.add(value); onChanged(); } else { routeItemsBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder addRouteItems( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem value) { if (routeItemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRouteItemsIsMutable(); routeItems_.add(index, value); onChanged(); } else { routeItemsBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder addRouteItems( cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder builderForValue) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); routeItems_.add(builderForValue.build()); onChanged(); } else { routeItemsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder addRouteItems( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder builderForValue) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); routeItems_.add(index, builderForValue.build()); onChanged(); } else { routeItemsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder addAllRouteItems( java.lang.Iterable values) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, routeItems_); onChanged(); } else { routeItemsBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder clearRouteItems() { if (routeItemsBuilder_ == null) { routeItems_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { routeItemsBuilder_.clear(); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder removeRouteItems(int index) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); routeItems_.remove(index); onChanged(); } else { routeItemsBuilder_.remove(index); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder getRouteItemsBuilder( int index) { return getRouteItemsFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder getRouteItemsOrBuilder( int index) { if (routeItemsBuilder_ == null) { return routeItems_.get(index); } else { return routeItemsBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public java.util.List getRouteItemsOrBuilderList() { if (routeItemsBuilder_ != null) { return routeItemsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(routeItems_); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder addRouteItemsBuilder() { return getRouteItemsFieldBuilder().addBuilder( cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.getDefaultInstance()); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder addRouteItemsBuilder( int index) { return getRouteItemsFieldBuilder().addBuilder( index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.getDefaultInstance()); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public java.util.List getRouteItemsBuilderList() { return getRouteItemsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder> getRouteItemsFieldBuilder() { if (routeItemsBuilder_ == null) { routeItemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder>( routeItems_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); routeItems_ = null; } return routeItemsBuilder_; } @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.coordinator.SetFlightingRouteTableRequest) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.SetFlightingRouteTableRequest) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SetFlightingRouteTableRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SetFlightingRouteTableRequest(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.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SetFlightingRouteTableResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.SetFlightingRouteTableResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ boolean hasRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ cz.proto.ServiceCommon.ResponseStatus getRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; */ cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder(); } /** * Protobuf type {@code cz.proto.coordinator.SetFlightingRouteTableResponse} */ public static final class SetFlightingRouteTableResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.SetFlightingRouteTableResponse) SetFlightingRouteTableResponseOrBuilder { private static final long serialVersionUID = 0L; // Use SetFlightingRouteTableResponse.newBuilder() to construct. private SetFlightingRouteTableResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SetFlightingRouteTableResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SetFlightingRouteTableResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SetFlightingRouteTableResponse( 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.ServiceCommon.ResponseStatus.Builder subBuilder = null; if (respStatus_ != null) { subBuilder = respStatus_.toBuilder(); } respStatus_ = input.readMessage(cz.proto.ServiceCommon.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(respStatus_); respStatus_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_SetFlightingRouteTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_SetFlightingRouteTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse.Builder.class); } public static final int RESP_STATUS_FIELD_NUMBER = 1; private cz.proto.ServiceCommon.ResponseStatus respStatus_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ @java.lang.Override public boolean hasRespStatus() { return respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } /** * .cz.proto.ResponseStatus resp_status = 1; */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { return getRespStatus(); } 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 (respStatus_ != null) { output.writeMessage(1, getRespStatus()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (respStatus_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRespStatus()); } 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.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse other = (cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse) obj; if (hasRespStatus() != other.hasRespStatus()) return false; if (hasRespStatus()) { if (!getRespStatus() .equals(other.getRespStatus())) 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 (hasRespStatus()) { hash = (37 * hash) + RESP_STATUS_FIELD_NUMBER; hash = (53 * hash) + getRespStatus().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse 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.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse 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.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse 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.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse 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.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse 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.coordinator.SetFlightingRouteTableResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.SetFlightingRouteTableResponse) cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_SetFlightingRouteTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_SetFlightingRouteTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse.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 (respStatusBuilder_ == null) { respStatus_ = null; } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_SetFlightingRouteTableResponse_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse build() { cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse result = new cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse(this); if (respStatusBuilder_ == null) { result.respStatus_ = respStatus_; } else { result.respStatus_ = respStatusBuilder_.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.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse.getDefaultInstance()) return this; if (other.hasRespStatus()) { mergeRespStatus(other.getRespStatus()); } 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.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ServiceCommon.ResponseStatus respStatus_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> respStatusBuilder_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ public boolean hasRespStatus() { return respStatusBuilder_ != null || respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { if (respStatusBuilder_ == null) { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } else { return respStatusBuilder_.getMessage(); } } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } respStatus_ = value; onChanged(); } else { respStatusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus( cz.proto.ServiceCommon.ResponseStatus.Builder builderForValue) { if (respStatusBuilder_ == null) { respStatus_ = builderForValue.build(); onChanged(); } else { respStatusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder mergeRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (respStatus_ != null) { respStatus_ = cz.proto.ServiceCommon.ResponseStatus.newBuilder(respStatus_).mergeFrom(value).buildPartial(); } else { respStatus_ = value; } onChanged(); } else { respStatusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder clearRespStatus() { if (respStatusBuilder_ == null) { respStatus_ = null; onChanged(); } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatus.Builder getRespStatusBuilder() { onChanged(); return getRespStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { if (respStatusBuilder_ != null) { return respStatusBuilder_.getMessageOrBuilder(); } else { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } } /** * .cz.proto.ResponseStatus resp_status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> getRespStatusFieldBuilder() { if (respStatusBuilder_ == null) { respStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder>( getRespStatus(), getParentForChildren(), isClean()); respStatus_ = null; } return respStatusBuilder_; } @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.coordinator.SetFlightingRouteTableResponse) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.SetFlightingRouteTableResponse) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SetFlightingRouteTableResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SetFlightingRouteTableResponse(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.coordinator.CoordinatorServiceOuterClass.SetFlightingRouteTableResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetFlightingRouteTableRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.GetFlightingRouteTableRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount(); /** * .cz.proto.coordinator.Account account = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder(); /** * int64 instance_id = 2; * @return The instanceId. */ long getInstanceId(); /** * string workspace = 3; * @return The workspace. */ java.lang.String getWorkspace(); /** * string workspace = 3; * @return The bytes for workspace. */ com.google.protobuf.ByteString getWorkspaceBytes(); /** * string vc = 4; * @return The vc. */ java.lang.String getVc(); /** * string vc = 4; * @return The bytes for vc. */ com.google.protobuf.ByteString getVcBytes(); } /** * Protobuf type {@code cz.proto.coordinator.GetFlightingRouteTableRequest} */ public static final class GetFlightingRouteTableRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.GetFlightingRouteTableRequest) GetFlightingRouteTableRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetFlightingRouteTableRequest.newBuilder() to construct. private GetFlightingRouteTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetFlightingRouteTableRequest() { workspace_ = ""; vc_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetFlightingRouteTableRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetFlightingRouteTableRequest( 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.coordinator.CoordinatorServiceOuterClass.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 16: { instanceId_ = input.readInt64(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); workspace_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); vc_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetFlightingRouteTableRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetFlightingRouteTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } /** * .cz.proto.coordinator.Account account = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int INSTANCE_ID_FIELD_NUMBER = 2; private long instanceId_; /** * int64 instance_id = 2; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } public static final int WORKSPACE_FIELD_NUMBER = 3; private volatile java.lang.Object workspace_; /** * string workspace = 3; * @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 = 3; * @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 VC_FIELD_NUMBER = 4; private volatile java.lang.Object vc_; /** * string vc = 4; * @return The vc. */ @java.lang.Override public java.lang.String getVc() { java.lang.Object ref = vc_; 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(); vc_ = s; return s; } } /** * string vc = 4; * @return The bytes for vc. */ @java.lang.Override public com.google.protobuf.ByteString getVcBytes() { java.lang.Object ref = vc_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); vc_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (account_ != null) { output.writeMessage(1, getAccount()); } if (instanceId_ != 0L) { output.writeInt64(2, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, workspace_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vc_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, vc_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAccount()); } if (instanceId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, workspace_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vc_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, vc_); } 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.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest other = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (getInstanceId() != other.getInstanceId()) return false; if (!getWorkspace() .equals(other.getWorkspace())) return false; if (!getVc() .equals(other.getVc())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } hash = (37 * hash) + 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) + VC_FIELD_NUMBER; hash = (53 * hash) + getVc().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest 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.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest 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.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest 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.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest 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.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest 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.coordinator.GetFlightingRouteTableRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.GetFlightingRouteTableRequest) cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetFlightingRouteTableRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetFlightingRouteTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } instanceId_ = 0L; workspace_ = ""; vc_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetFlightingRouteTableRequest_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest build() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest result = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest(this); if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } result.instanceId_ = instanceId_; result.workspace_ = workspace_; result.vc_ = vc_; 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.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (other.getInstanceId() != 0L) { setInstanceId(other.getInstanceId()); } if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); } if (!other.getVc().isEmpty()) { vc_ = other.vc_; 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.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> accountBuilder_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount( cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder mergeAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.coordinator.CoordinatorServiceOuterClass.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } } /** * .cz.proto.coordinator.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private long instanceId_ ; /** * int64 instance_id = 2; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } /** * int64 instance_id = 2; * @param value The instanceId to set. * @return This builder for chaining. */ public Builder setInstanceId(long value) { instanceId_ = value; onChanged(); return this; } /** * int64 instance_id = 2; * @return This builder for chaining. */ public Builder clearInstanceId() { instanceId_ = 0L; onChanged(); return this; } private java.lang.Object workspace_ = ""; /** * string workspace = 3; * @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 = 3; * @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 = 3; * @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 = 3; * @return This builder for chaining. */ public Builder clearWorkspace() { workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** * string workspace = 3; * @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 vc_ = ""; /** * string vc = 4; * @return The vc. */ public java.lang.String getVc() { java.lang.Object ref = vc_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vc_ = s; return s; } else { return (java.lang.String) ref; } } /** * string vc = 4; * @return The bytes for vc. */ public com.google.protobuf.ByteString getVcBytes() { java.lang.Object ref = vc_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); vc_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string vc = 4; * @param value The vc to set. * @return This builder for chaining. */ public Builder setVc( java.lang.String value) { if (value == null) { throw new NullPointerException(); } vc_ = value; onChanged(); return this; } /** * string vc = 4; * @return This builder for chaining. */ public Builder clearVc() { vc_ = getDefaultInstance().getVc(); onChanged(); return this; } /** * string vc = 4; * @param value The bytes for vc to set. * @return This builder for chaining. */ public Builder setVcBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); vc_ = 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.coordinator.GetFlightingRouteTableRequest) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.GetFlightingRouteTableRequest) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetFlightingRouteTableRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetFlightingRouteTableRequest(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.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetFlightingRouteTableResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.GetFlightingRouteTableResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ boolean hasRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ cz.proto.ServiceCommon.ResponseStatus getRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; */ cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder(); /** * .cz.proto.coordinator.RouteItem route_item = 2; * @return Whether the routeItem field is set. */ boolean hasRouteItem(); /** * .cz.proto.coordinator.RouteItem route_item = 2; * @return The routeItem. */ cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem getRouteItem(); /** * .cz.proto.coordinator.RouteItem route_item = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder getRouteItemOrBuilder(); } /** * Protobuf type {@code cz.proto.coordinator.GetFlightingRouteTableResponse} */ public static final class GetFlightingRouteTableResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.GetFlightingRouteTableResponse) GetFlightingRouteTableResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetFlightingRouteTableResponse.newBuilder() to construct. private GetFlightingRouteTableResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetFlightingRouteTableResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetFlightingRouteTableResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetFlightingRouteTableResponse( 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.ServiceCommon.ResponseStatus.Builder subBuilder = null; if (respStatus_ != null) { subBuilder = respStatus_.toBuilder(); } respStatus_ = input.readMessage(cz.proto.ServiceCommon.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(respStatus_); respStatus_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder subBuilder = null; if (routeItem_ != null) { subBuilder = routeItem_.toBuilder(); } routeItem_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(routeItem_); routeItem_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetFlightingRouteTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetFlightingRouteTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse.Builder.class); } public static final int RESP_STATUS_FIELD_NUMBER = 1; private cz.proto.ServiceCommon.ResponseStatus respStatus_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ @java.lang.Override public boolean hasRespStatus() { return respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } /** * .cz.proto.ResponseStatus resp_status = 1; */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { return getRespStatus(); } public static final int ROUTE_ITEM_FIELD_NUMBER = 2; private cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem routeItem_; /** * .cz.proto.coordinator.RouteItem route_item = 2; * @return Whether the routeItem field is set. */ @java.lang.Override public boolean hasRouteItem() { return routeItem_ != null; } /** * .cz.proto.coordinator.RouteItem route_item = 2; * @return The routeItem. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem getRouteItem() { return routeItem_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.getDefaultInstance() : routeItem_; } /** * .cz.proto.coordinator.RouteItem route_item = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder getRouteItemOrBuilder() { return getRouteItem(); } 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 (respStatus_ != null) { output.writeMessage(1, getRespStatus()); } if (routeItem_ != null) { output.writeMessage(2, getRouteItem()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (respStatus_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRespStatus()); } if (routeItem_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getRouteItem()); } 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.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse other = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse) obj; if (hasRespStatus() != other.hasRespStatus()) return false; if (hasRespStatus()) { if (!getRespStatus() .equals(other.getRespStatus())) return false; } if (hasRouteItem() != other.hasRouteItem()) return false; if (hasRouteItem()) { if (!getRouteItem() .equals(other.getRouteItem())) 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 (hasRespStatus()) { hash = (37 * hash) + RESP_STATUS_FIELD_NUMBER; hash = (53 * hash) + getRespStatus().hashCode(); } if (hasRouteItem()) { hash = (37 * hash) + ROUTE_ITEM_FIELD_NUMBER; hash = (53 * hash) + getRouteItem().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse 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.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse 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.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse 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.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse 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.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse 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.coordinator.GetFlightingRouteTableResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.GetFlightingRouteTableResponse) cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetFlightingRouteTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetFlightingRouteTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse.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 (respStatusBuilder_ == null) { respStatus_ = null; } else { respStatus_ = null; respStatusBuilder_ = null; } if (routeItemBuilder_ == null) { routeItem_ = null; } else { routeItem_ = null; routeItemBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetFlightingRouteTableResponse_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse build() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse result = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse(this); if (respStatusBuilder_ == null) { result.respStatus_ = respStatus_; } else { result.respStatus_ = respStatusBuilder_.build(); } if (routeItemBuilder_ == null) { result.routeItem_ = routeItem_; } else { result.routeItem_ = routeItemBuilder_.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.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse.getDefaultInstance()) return this; if (other.hasRespStatus()) { mergeRespStatus(other.getRespStatus()); } if (other.hasRouteItem()) { mergeRouteItem(other.getRouteItem()); } 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.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ServiceCommon.ResponseStatus respStatus_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> respStatusBuilder_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ public boolean hasRespStatus() { return respStatusBuilder_ != null || respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { if (respStatusBuilder_ == null) { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } else { return respStatusBuilder_.getMessage(); } } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } respStatus_ = value; onChanged(); } else { respStatusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus( cz.proto.ServiceCommon.ResponseStatus.Builder builderForValue) { if (respStatusBuilder_ == null) { respStatus_ = builderForValue.build(); onChanged(); } else { respStatusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder mergeRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (respStatus_ != null) { respStatus_ = cz.proto.ServiceCommon.ResponseStatus.newBuilder(respStatus_).mergeFrom(value).buildPartial(); } else { respStatus_ = value; } onChanged(); } else { respStatusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder clearRespStatus() { if (respStatusBuilder_ == null) { respStatus_ = null; onChanged(); } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatus.Builder getRespStatusBuilder() { onChanged(); return getRespStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { if (respStatusBuilder_ != null) { return respStatusBuilder_.getMessageOrBuilder(); } else { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } } /** * .cz.proto.ResponseStatus resp_status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> getRespStatusFieldBuilder() { if (respStatusBuilder_ == null) { respStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder>( getRespStatus(), getParentForChildren(), isClean()); respStatus_ = null; } return respStatusBuilder_; } private cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem routeItem_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder> routeItemBuilder_; /** * .cz.proto.coordinator.RouteItem route_item = 2; * @return Whether the routeItem field is set. */ public boolean hasRouteItem() { return routeItemBuilder_ != null || routeItem_ != null; } /** * .cz.proto.coordinator.RouteItem route_item = 2; * @return The routeItem. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem getRouteItem() { if (routeItemBuilder_ == null) { return routeItem_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.getDefaultInstance() : routeItem_; } else { return routeItemBuilder_.getMessage(); } } /** * .cz.proto.coordinator.RouteItem route_item = 2; */ public Builder setRouteItem(cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem value) { if (routeItemBuilder_ == null) { if (value == null) { throw new NullPointerException(); } routeItem_ = value; onChanged(); } else { routeItemBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.RouteItem route_item = 2; */ public Builder setRouteItem( cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder builderForValue) { if (routeItemBuilder_ == null) { routeItem_ = builderForValue.build(); onChanged(); } else { routeItemBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.RouteItem route_item = 2; */ public Builder mergeRouteItem(cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem value) { if (routeItemBuilder_ == null) { if (routeItem_ != null) { routeItem_ = cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.newBuilder(routeItem_).mergeFrom(value).buildPartial(); } else { routeItem_ = value; } onChanged(); } else { routeItemBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.RouteItem route_item = 2; */ public Builder clearRouteItem() { if (routeItemBuilder_ == null) { routeItem_ = null; onChanged(); } else { routeItem_ = null; routeItemBuilder_ = null; } return this; } /** * .cz.proto.coordinator.RouteItem route_item = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder getRouteItemBuilder() { onChanged(); return getRouteItemFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.RouteItem route_item = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder getRouteItemOrBuilder() { if (routeItemBuilder_ != null) { return routeItemBuilder_.getMessageOrBuilder(); } else { return routeItem_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.getDefaultInstance() : routeItem_; } } /** * .cz.proto.coordinator.RouteItem route_item = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder> getRouteItemFieldBuilder() { if (routeItemBuilder_ == null) { routeItemBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder>( getRouteItem(), getParentForChildren(), isClean()); routeItem_ = null; } return routeItemBuilder_; } @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.coordinator.GetFlightingRouteTableResponse) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.GetFlightingRouteTableResponse) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetFlightingRouteTableResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetFlightingRouteTableResponse(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.coordinator.CoordinatorServiceOuterClass.GetFlightingRouteTableResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListFlightingRouteTableRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.ListFlightingRouteTableRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount(); /** * .cz.proto.coordinator.Account account = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder(); /** * int64 instance_id = 2; * @return The instanceId. */ long getInstanceId(); /** * string workspace = 3; * @return The workspace. */ java.lang.String getWorkspace(); /** * string workspace = 3; * @return The bytes for workspace. */ com.google.protobuf.ByteString getWorkspaceBytes(); /** * string vc = 4; * @return The vc. */ java.lang.String getVc(); /** * string vc = 4; * @return The bytes for vc. */ com.google.protobuf.ByteString getVcBytes(); } /** * Protobuf type {@code cz.proto.coordinator.ListFlightingRouteTableRequest} */ public static final class ListFlightingRouteTableRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.ListFlightingRouteTableRequest) ListFlightingRouteTableRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ListFlightingRouteTableRequest.newBuilder() to construct. private ListFlightingRouteTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListFlightingRouteTableRequest() { workspace_ = ""; vc_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListFlightingRouteTableRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListFlightingRouteTableRequest( 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.coordinator.CoordinatorServiceOuterClass.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 16: { instanceId_ = input.readInt64(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); workspace_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); vc_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListFlightingRouteTableRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListFlightingRouteTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } /** * .cz.proto.coordinator.Account account = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int INSTANCE_ID_FIELD_NUMBER = 2; private long instanceId_; /** * int64 instance_id = 2; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } public static final int WORKSPACE_FIELD_NUMBER = 3; private volatile java.lang.Object workspace_; /** * string workspace = 3; * @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 = 3; * @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 VC_FIELD_NUMBER = 4; private volatile java.lang.Object vc_; /** * string vc = 4; * @return The vc. */ @java.lang.Override public java.lang.String getVc() { java.lang.Object ref = vc_; 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(); vc_ = s; return s; } } /** * string vc = 4; * @return The bytes for vc. */ @java.lang.Override public com.google.protobuf.ByteString getVcBytes() { java.lang.Object ref = vc_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); vc_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (account_ != null) { output.writeMessage(1, getAccount()); } if (instanceId_ != 0L) { output.writeInt64(2, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, workspace_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vc_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, vc_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAccount()); } if (instanceId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, workspace_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vc_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, vc_); } 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.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest other = (cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (getInstanceId() != other.getInstanceId()) return false; if (!getWorkspace() .equals(other.getWorkspace())) return false; if (!getVc() .equals(other.getVc())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } hash = (37 * hash) + 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) + VC_FIELD_NUMBER; hash = (53 * hash) + getVc().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest 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.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest 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.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest 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.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest 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.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest 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.coordinator.ListFlightingRouteTableRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.ListFlightingRouteTableRequest) cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListFlightingRouteTableRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListFlightingRouteTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } instanceId_ = 0L; workspace_ = ""; vc_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListFlightingRouteTableRequest_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest build() { cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest result = new cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest(this); if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } result.instanceId_ = instanceId_; result.workspace_ = workspace_; result.vc_ = vc_; 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.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (other.getInstanceId() != 0L) { setInstanceId(other.getInstanceId()); } if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); } if (!other.getVc().isEmpty()) { vc_ = other.vc_; 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.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> accountBuilder_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount( cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder mergeAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.coordinator.CoordinatorServiceOuterClass.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } } /** * .cz.proto.coordinator.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private long instanceId_ ; /** * int64 instance_id = 2; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } /** * int64 instance_id = 2; * @param value The instanceId to set. * @return This builder for chaining. */ public Builder setInstanceId(long value) { instanceId_ = value; onChanged(); return this; } /** * int64 instance_id = 2; * @return This builder for chaining. */ public Builder clearInstanceId() { instanceId_ = 0L; onChanged(); return this; } private java.lang.Object workspace_ = ""; /** * string workspace = 3; * @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 = 3; * @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 = 3; * @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 = 3; * @return This builder for chaining. */ public Builder clearWorkspace() { workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** * string workspace = 3; * @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 vc_ = ""; /** * string vc = 4; * @return The vc. */ public java.lang.String getVc() { java.lang.Object ref = vc_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vc_ = s; return s; } else { return (java.lang.String) ref; } } /** * string vc = 4; * @return The bytes for vc. */ public com.google.protobuf.ByteString getVcBytes() { java.lang.Object ref = vc_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); vc_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string vc = 4; * @param value The vc to set. * @return This builder for chaining. */ public Builder setVc( java.lang.String value) { if (value == null) { throw new NullPointerException(); } vc_ = value; onChanged(); return this; } /** * string vc = 4; * @return This builder for chaining. */ public Builder clearVc() { vc_ = getDefaultInstance().getVc(); onChanged(); return this; } /** * string vc = 4; * @param value The bytes for vc to set. * @return This builder for chaining. */ public Builder setVcBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); vc_ = 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.coordinator.ListFlightingRouteTableRequest) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.ListFlightingRouteTableRequest) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListFlightingRouteTableRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListFlightingRouteTableRequest(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.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RouteItemOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.RouteItem) com.google.protobuf.MessageOrBuilder { /** * string instance_name = 1; * @return The instanceName. */ java.lang.String getInstanceName(); /** * string instance_name = 1; * @return The bytes for instanceName. */ com.google.protobuf.ByteString getInstanceNameBytes(); /** * int64 instance_id = 2; * @return The instanceId. */ long getInstanceId(); /** * string workspace = 3; * @return The workspace. */ java.lang.String getWorkspace(); /** * string workspace = 3; * @return The bytes for workspace. */ com.google.protobuf.ByteString getWorkspaceBytes(); /** * string vc = 4; * @return The vc. */ java.lang.String getVc(); /** * string vc = 4; * @return The bytes for vc. */ com.google.protobuf.ByteString getVcBytes(); /** * string target_release_version = 5; * @return The targetReleaseVersion. */ java.lang.String getTargetReleaseVersion(); /** * string target_release_version = 5; * @return The bytes for targetReleaseVersion. */ com.google.protobuf.ByteString getTargetReleaseVersionBytes(); /** * map<string, int32> flow_bucket = 6; */ int getFlowBucketCount(); /** * map<string, int32> flow_bucket = 6; */ boolean containsFlowBucket( java.lang.String key); /** * Use {@link #getFlowBucketMap()} instead. */ @java.lang.Deprecated java.util.Map getFlowBucket(); /** * map<string, int32> flow_bucket = 6; */ java.util.Map getFlowBucketMap(); /** * map<string, int32> flow_bucket = 6; */ int getFlowBucketOrDefault( java.lang.String key, int defaultValue); /** * map<string, int32> flow_bucket = 6; */ int getFlowBucketOrThrow( java.lang.String key); /** * int64 workspace_id = 7; * @return The workspaceId. */ long getWorkspaceId(); /** * string upgrading_version = 8; * @return The upgradingVersion. */ java.lang.String getUpgradingVersion(); /** * string upgrading_version = 8; * @return The bytes for upgradingVersion. */ com.google.protobuf.ByteString getUpgradingVersionBytes(); /** * optional .cz.proto.coordinator.JobScheduleStrategy schedule_strategy = 9; * @return Whether the scheduleStrategy field is set. */ boolean hasScheduleStrategy(); /** * optional .cz.proto.coordinator.JobScheduleStrategy schedule_strategy = 9; * @return The enum numeric value on the wire for scheduleStrategy. */ int getScheduleStrategyValue(); /** * optional .cz.proto.coordinator.JobScheduleStrategy schedule_strategy = 9; * @return The scheduleStrategy. */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobScheduleStrategy getScheduleStrategy(); } /** * Protobuf type {@code cz.proto.coordinator.RouteItem} */ public static final class RouteItem extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.RouteItem) RouteItemOrBuilder { private static final long serialVersionUID = 0L; // Use RouteItem.newBuilder() to construct. private RouteItem(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RouteItem() { instanceName_ = ""; workspace_ = ""; vc_ = ""; targetReleaseVersion_ = ""; upgradingVersion_ = ""; scheduleStrategy_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RouteItem(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RouteItem( 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(); instanceName_ = s; break; } case 16: { instanceId_ = input.readInt64(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); workspace_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); vc_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); targetReleaseVersion_ = s; break; } case 50: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { flowBucket_ = com.google.protobuf.MapField.newMapField( FlowBucketDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry flowBucket__ = input.readMessage( FlowBucketDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); flowBucket_.getMutableMap().put( flowBucket__.getKey(), flowBucket__.getValue()); break; } case 56: { workspaceId_ = input.readInt64(); break; } case 66: { java.lang.String s = input.readStringRequireUtf8(); upgradingVersion_ = s; break; } case 72: { int rawValue = input.readEnum(); bitField0_ |= 0x00000001; scheduleStrategy_ = rawValue; 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_RouteItem_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 6: return internalGetFlowBucket(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_RouteItem_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.class, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder.class); } private int bitField0_; public static final int INSTANCE_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object instanceName_; /** * string instance_name = 1; * @return The instanceName. */ @java.lang.Override public java.lang.String getInstanceName() { java.lang.Object ref = instanceName_; 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(); instanceName_ = s; return s; } } /** * string instance_name = 1; * @return The bytes for instanceName. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceNameBytes() { java.lang.Object ref = instanceName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instanceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int INSTANCE_ID_FIELD_NUMBER = 2; private long instanceId_; /** * int64 instance_id = 2; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } public static final int WORKSPACE_FIELD_NUMBER = 3; private volatile java.lang.Object workspace_; /** * string workspace = 3; * @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 = 3; * @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 VC_FIELD_NUMBER = 4; private volatile java.lang.Object vc_; /** * string vc = 4; * @return The vc. */ @java.lang.Override public java.lang.String getVc() { java.lang.Object ref = vc_; 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(); vc_ = s; return s; } } /** * string vc = 4; * @return The bytes for vc. */ @java.lang.Override public com.google.protobuf.ByteString getVcBytes() { java.lang.Object ref = vc_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); vc_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TARGET_RELEASE_VERSION_FIELD_NUMBER = 5; private volatile java.lang.Object targetReleaseVersion_; /** * string target_release_version = 5; * @return The targetReleaseVersion. */ @java.lang.Override public java.lang.String getTargetReleaseVersion() { java.lang.Object ref = targetReleaseVersion_; 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(); targetReleaseVersion_ = s; return s; } } /** * string target_release_version = 5; * @return The bytes for targetReleaseVersion. */ @java.lang.Override public com.google.protobuf.ByteString getTargetReleaseVersionBytes() { java.lang.Object ref = targetReleaseVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); targetReleaseVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FLOW_BUCKET_FIELD_NUMBER = 6; private static final class FlowBucketDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.Integer> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_RouteItem_FlowBucketEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.INT32, 0); } private com.google.protobuf.MapField< java.lang.String, java.lang.Integer> flowBucket_; private com.google.protobuf.MapField internalGetFlowBucket() { if (flowBucket_ == null) { return com.google.protobuf.MapField.emptyMapField( FlowBucketDefaultEntryHolder.defaultEntry); } return flowBucket_; } public int getFlowBucketCount() { return internalGetFlowBucket().getMap().size(); } /** * map<string, int32> flow_bucket = 6; */ @java.lang.Override public boolean containsFlowBucket( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetFlowBucket().getMap().containsKey(key); } /** * Use {@link #getFlowBucketMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getFlowBucket() { return getFlowBucketMap(); } /** * map<string, int32> flow_bucket = 6; */ @java.lang.Override public java.util.Map getFlowBucketMap() { return internalGetFlowBucket().getMap(); } /** * map<string, int32> flow_bucket = 6; */ @java.lang.Override public int getFlowBucketOrDefault( java.lang.String key, int defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetFlowBucket().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, int32> flow_bucket = 6; */ @java.lang.Override public int getFlowBucketOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetFlowBucket().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public static final int WORKSPACE_ID_FIELD_NUMBER = 7; private long workspaceId_; /** * int64 workspace_id = 7; * @return The workspaceId. */ @java.lang.Override public long getWorkspaceId() { return workspaceId_; } public static final int UPGRADING_VERSION_FIELD_NUMBER = 8; private volatile java.lang.Object upgradingVersion_; /** * string upgrading_version = 8; * @return The upgradingVersion. */ @java.lang.Override public java.lang.String getUpgradingVersion() { java.lang.Object ref = upgradingVersion_; 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(); upgradingVersion_ = s; return s; } } /** * string upgrading_version = 8; * @return The bytes for upgradingVersion. */ @java.lang.Override public com.google.protobuf.ByteString getUpgradingVersionBytes() { java.lang.Object ref = upgradingVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); upgradingVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SCHEDULE_STRATEGY_FIELD_NUMBER = 9; private int scheduleStrategy_; /** * optional .cz.proto.coordinator.JobScheduleStrategy schedule_strategy = 9; * @return Whether the scheduleStrategy field is set. */ @java.lang.Override public boolean hasScheduleStrategy() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .cz.proto.coordinator.JobScheduleStrategy schedule_strategy = 9; * @return The enum numeric value on the wire for scheduleStrategy. */ @java.lang.Override public int getScheduleStrategyValue() { return scheduleStrategy_; } /** * optional .cz.proto.coordinator.JobScheduleStrategy schedule_strategy = 9; * @return The scheduleStrategy. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobScheduleStrategy getScheduleStrategy() { @SuppressWarnings("deprecation") cz.proto.coordinator.CoordinatorServiceOuterClass.JobScheduleStrategy result = cz.proto.coordinator.CoordinatorServiceOuterClass.JobScheduleStrategy.valueOf(scheduleStrategy_); return result == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobScheduleStrategy.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; 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(instanceName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instanceName_); } if (instanceId_ != 0L) { output.writeInt64(2, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, workspace_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vc_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, vc_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetReleaseVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, targetReleaseVersion_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetFlowBucket(), FlowBucketDefaultEntryHolder.defaultEntry, 6); if (workspaceId_ != 0L) { output.writeInt64(7, workspaceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(upgradingVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, upgradingVersion_); } if (((bitField0_ & 0x00000001) != 0)) { output.writeEnum(9, scheduleStrategy_); } 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(instanceName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instanceName_); } if (instanceId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, workspace_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vc_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, vc_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetReleaseVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, targetReleaseVersion_); } for (java.util.Map.Entry entry : internalGetFlowBucket().getMap().entrySet()) { com.google.protobuf.MapEntry flowBucket__ = FlowBucketDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, flowBucket__); } if (workspaceId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(7, workspaceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(upgradingVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, upgradingVersion_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(9, scheduleStrategy_); } 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.coordinator.CoordinatorServiceOuterClass.RouteItem)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem other = (cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem) obj; if (!getInstanceName() .equals(other.getInstanceName())) return false; if (getInstanceId() != other.getInstanceId()) return false; if (!getWorkspace() .equals(other.getWorkspace())) return false; if (!getVc() .equals(other.getVc())) return false; if (!getTargetReleaseVersion() .equals(other.getTargetReleaseVersion())) return false; if (!internalGetFlowBucket().equals( other.internalGetFlowBucket())) return false; if (getWorkspaceId() != other.getWorkspaceId()) return false; if (!getUpgradingVersion() .equals(other.getUpgradingVersion())) return false; if (hasScheduleStrategy() != other.hasScheduleStrategy()) return false; if (hasScheduleStrategy()) { if (scheduleStrategy_ != other.scheduleStrategy_) 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_NAME_FIELD_NUMBER; hash = (53 * hash) + getInstanceName().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) + VC_FIELD_NUMBER; hash = (53 * hash) + getVc().hashCode(); hash = (37 * hash) + TARGET_RELEASE_VERSION_FIELD_NUMBER; hash = (53 * hash) + getTargetReleaseVersion().hashCode(); if (!internalGetFlowBucket().getMap().isEmpty()) { hash = (37 * hash) + FLOW_BUCKET_FIELD_NUMBER; hash = (53 * hash) + internalGetFlowBucket().hashCode(); } hash = (37 * hash) + WORKSPACE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getWorkspaceId()); hash = (37 * hash) + UPGRADING_VERSION_FIELD_NUMBER; hash = (53 * hash) + getUpgradingVersion().hashCode(); if (hasScheduleStrategy()) { hash = (37 * hash) + SCHEDULE_STRATEGY_FIELD_NUMBER; hash = (53 * hash) + scheduleStrategy_; } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem 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.coordinator.CoordinatorServiceOuterClass.RouteItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem 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.coordinator.CoordinatorServiceOuterClass.RouteItem parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem 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.coordinator.CoordinatorServiceOuterClass.RouteItem parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem 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.coordinator.CoordinatorServiceOuterClass.RouteItem 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.coordinator.RouteItem} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.RouteItem) cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_RouteItem_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 6: return internalGetFlowBucket(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 6: return internalGetMutableFlowBucket(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_RouteItem_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.class, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.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(); instanceName_ = ""; instanceId_ = 0L; workspace_ = ""; vc_ = ""; targetReleaseVersion_ = ""; internalGetMutableFlowBucket().clear(); workspaceId_ = 0L; upgradingVersion_ = ""; scheduleStrategy_ = 0; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_RouteItem_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem build() { cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem result = new cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.instanceName_ = instanceName_; result.instanceId_ = instanceId_; result.workspace_ = workspace_; result.vc_ = vc_; result.targetReleaseVersion_ = targetReleaseVersion_; result.flowBucket_ = internalGetFlowBucket(); result.flowBucket_.makeImmutable(); result.workspaceId_ = workspaceId_; result.upgradingVersion_ = upgradingVersion_; if (((from_bitField0_ & 0x00000002) != 0)) { to_bitField0_ |= 0x00000001; } result.scheduleStrategy_ = scheduleStrategy_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.getDefaultInstance()) return this; if (!other.getInstanceName().isEmpty()) { instanceName_ = other.instanceName_; onChanged(); } if (other.getInstanceId() != 0L) { setInstanceId(other.getInstanceId()); } if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); } if (!other.getVc().isEmpty()) { vc_ = other.vc_; onChanged(); } if (!other.getTargetReleaseVersion().isEmpty()) { targetReleaseVersion_ = other.targetReleaseVersion_; onChanged(); } internalGetMutableFlowBucket().mergeFrom( other.internalGetFlowBucket()); if (other.getWorkspaceId() != 0L) { setWorkspaceId(other.getWorkspaceId()); } if (!other.getUpgradingVersion().isEmpty()) { upgradingVersion_ = other.upgradingVersion_; onChanged(); } if (other.hasScheduleStrategy()) { setScheduleStrategy(other.getScheduleStrategy()); } 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.coordinator.CoordinatorServiceOuterClass.RouteItem parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instanceName_ = ""; /** * string instance_name = 1; * @return The instanceName. */ public java.lang.String getInstanceName() { java.lang.Object ref = instanceName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); instanceName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string instance_name = 1; * @return The bytes for instanceName. */ public com.google.protobuf.ByteString getInstanceNameBytes() { java.lang.Object ref = instanceName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instanceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string instance_name = 1; * @param value The instanceName to set. * @return This builder for chaining. */ public Builder setInstanceName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } instanceName_ = value; onChanged(); return this; } /** * string instance_name = 1; * @return This builder for chaining. */ public Builder clearInstanceName() { instanceName_ = getDefaultInstance().getInstanceName(); onChanged(); return this; } /** * string instance_name = 1; * @param value The bytes for instanceName to set. * @return This builder for chaining. */ public Builder setInstanceNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); instanceName_ = value; onChanged(); return this; } private long instanceId_ ; /** * int64 instance_id = 2; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } /** * int64 instance_id = 2; * @param value The instanceId to set. * @return This builder for chaining. */ public Builder setInstanceId(long value) { instanceId_ = value; onChanged(); return this; } /** * int64 instance_id = 2; * @return This builder for chaining. */ public Builder clearInstanceId() { instanceId_ = 0L; onChanged(); return this; } private java.lang.Object workspace_ = ""; /** * string workspace = 3; * @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 = 3; * @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 = 3; * @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 = 3; * @return This builder for chaining. */ public Builder clearWorkspace() { workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** * string workspace = 3; * @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 vc_ = ""; /** * string vc = 4; * @return The vc. */ public java.lang.String getVc() { java.lang.Object ref = vc_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vc_ = s; return s; } else { return (java.lang.String) ref; } } /** * string vc = 4; * @return The bytes for vc. */ public com.google.protobuf.ByteString getVcBytes() { java.lang.Object ref = vc_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); vc_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string vc = 4; * @param value The vc to set. * @return This builder for chaining. */ public Builder setVc( java.lang.String value) { if (value == null) { throw new NullPointerException(); } vc_ = value; onChanged(); return this; } /** * string vc = 4; * @return This builder for chaining. */ public Builder clearVc() { vc_ = getDefaultInstance().getVc(); onChanged(); return this; } /** * string vc = 4; * @param value The bytes for vc to set. * @return This builder for chaining. */ public Builder setVcBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); vc_ = value; onChanged(); return this; } private java.lang.Object targetReleaseVersion_ = ""; /** * string target_release_version = 5; * @return The targetReleaseVersion. */ public java.lang.String getTargetReleaseVersion() { java.lang.Object ref = targetReleaseVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetReleaseVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * string target_release_version = 5; * @return The bytes for targetReleaseVersion. */ public com.google.protobuf.ByteString getTargetReleaseVersionBytes() { java.lang.Object ref = targetReleaseVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); targetReleaseVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string target_release_version = 5; * @param value The targetReleaseVersion to set. * @return This builder for chaining. */ public Builder setTargetReleaseVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } targetReleaseVersion_ = value; onChanged(); return this; } /** * string target_release_version = 5; * @return This builder for chaining. */ public Builder clearTargetReleaseVersion() { targetReleaseVersion_ = getDefaultInstance().getTargetReleaseVersion(); onChanged(); return this; } /** * string target_release_version = 5; * @param value The bytes for targetReleaseVersion to set. * @return This builder for chaining. */ public Builder setTargetReleaseVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); targetReleaseVersion_ = value; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.Integer> flowBucket_; private com.google.protobuf.MapField internalGetFlowBucket() { if (flowBucket_ == null) { return com.google.protobuf.MapField.emptyMapField( FlowBucketDefaultEntryHolder.defaultEntry); } return flowBucket_; } private com.google.protobuf.MapField internalGetMutableFlowBucket() { onChanged();; if (flowBucket_ == null) { flowBucket_ = com.google.protobuf.MapField.newMapField( FlowBucketDefaultEntryHolder.defaultEntry); } if (!flowBucket_.isMutable()) { flowBucket_ = flowBucket_.copy(); } return flowBucket_; } public int getFlowBucketCount() { return internalGetFlowBucket().getMap().size(); } /** * map<string, int32> flow_bucket = 6; */ @java.lang.Override public boolean containsFlowBucket( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetFlowBucket().getMap().containsKey(key); } /** * Use {@link #getFlowBucketMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getFlowBucket() { return getFlowBucketMap(); } /** * map<string, int32> flow_bucket = 6; */ @java.lang.Override public java.util.Map getFlowBucketMap() { return internalGetFlowBucket().getMap(); } /** * map<string, int32> flow_bucket = 6; */ @java.lang.Override public int getFlowBucketOrDefault( java.lang.String key, int defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetFlowBucket().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, int32> flow_bucket = 6; */ @java.lang.Override public int getFlowBucketOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetFlowBucket().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearFlowBucket() { internalGetMutableFlowBucket().getMutableMap() .clear(); return this; } /** * map<string, int32> flow_bucket = 6; */ public Builder removeFlowBucket( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableFlowBucket().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableFlowBucket() { return internalGetMutableFlowBucket().getMutableMap(); } /** * map<string, int32> flow_bucket = 6; */ public Builder putFlowBucket( java.lang.String key, int value) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableFlowBucket().getMutableMap() .put(key, value); return this; } /** * map<string, int32> flow_bucket = 6; */ public Builder putAllFlowBucket( java.util.Map values) { internalGetMutableFlowBucket().getMutableMap() .putAll(values); return this; } private long workspaceId_ ; /** * int64 workspace_id = 7; * @return The workspaceId. */ @java.lang.Override public long getWorkspaceId() { return workspaceId_; } /** * int64 workspace_id = 7; * @param value The workspaceId to set. * @return This builder for chaining. */ public Builder setWorkspaceId(long value) { workspaceId_ = value; onChanged(); return this; } /** * int64 workspace_id = 7; * @return This builder for chaining. */ public Builder clearWorkspaceId() { workspaceId_ = 0L; onChanged(); return this; } private java.lang.Object upgradingVersion_ = ""; /** * string upgrading_version = 8; * @return The upgradingVersion. */ public java.lang.String getUpgradingVersion() { java.lang.Object ref = upgradingVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); upgradingVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * string upgrading_version = 8; * @return The bytes for upgradingVersion. */ public com.google.protobuf.ByteString getUpgradingVersionBytes() { java.lang.Object ref = upgradingVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); upgradingVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string upgrading_version = 8; * @param value The upgradingVersion to set. * @return This builder for chaining. */ public Builder setUpgradingVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } upgradingVersion_ = value; onChanged(); return this; } /** * string upgrading_version = 8; * @return This builder for chaining. */ public Builder clearUpgradingVersion() { upgradingVersion_ = getDefaultInstance().getUpgradingVersion(); onChanged(); return this; } /** * string upgrading_version = 8; * @param value The bytes for upgradingVersion to set. * @return This builder for chaining. */ public Builder setUpgradingVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); upgradingVersion_ = value; onChanged(); return this; } private int scheduleStrategy_ = 0; /** * optional .cz.proto.coordinator.JobScheduleStrategy schedule_strategy = 9; * @return Whether the scheduleStrategy field is set. */ @java.lang.Override public boolean hasScheduleStrategy() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .cz.proto.coordinator.JobScheduleStrategy schedule_strategy = 9; * @return The enum numeric value on the wire for scheduleStrategy. */ @java.lang.Override public int getScheduleStrategyValue() { return scheduleStrategy_; } /** * optional .cz.proto.coordinator.JobScheduleStrategy schedule_strategy = 9; * @param value The enum numeric value on the wire for scheduleStrategy to set. * @return This builder for chaining. */ public Builder setScheduleStrategyValue(int value) { bitField0_ |= 0x00000002; scheduleStrategy_ = value; onChanged(); return this; } /** * optional .cz.proto.coordinator.JobScheduleStrategy schedule_strategy = 9; * @return The scheduleStrategy. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobScheduleStrategy getScheduleStrategy() { @SuppressWarnings("deprecation") cz.proto.coordinator.CoordinatorServiceOuterClass.JobScheduleStrategy result = cz.proto.coordinator.CoordinatorServiceOuterClass.JobScheduleStrategy.valueOf(scheduleStrategy_); return result == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobScheduleStrategy.UNRECOGNIZED : result; } /** * optional .cz.proto.coordinator.JobScheduleStrategy schedule_strategy = 9; * @param value The scheduleStrategy to set. * @return This builder for chaining. */ public Builder setScheduleStrategy(cz.proto.coordinator.CoordinatorServiceOuterClass.JobScheduleStrategy value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; scheduleStrategy_ = value.getNumber(); onChanged(); return this; } /** * optional .cz.proto.coordinator.JobScheduleStrategy schedule_strategy = 9; * @return This builder for chaining. */ public Builder clearScheduleStrategy() { bitField0_ = (bitField0_ & ~0x00000002); scheduleStrategy_ = 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.coordinator.RouteItem) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.RouteItem) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public RouteItem parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new RouteItem(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.coordinator.CoordinatorServiceOuterClass.RouteItem getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ServiceRouteOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.ServiceRoute) com.google.protobuf.MessageOrBuilder { /** * repeated .cz.proto.coordinator.RouteItem route_items = 1; */ java.util.List getRouteItemsList(); /** * repeated .cz.proto.coordinator.RouteItem route_items = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem getRouteItems(int index); /** * repeated .cz.proto.coordinator.RouteItem route_items = 1; */ int getRouteItemsCount(); /** * repeated .cz.proto.coordinator.RouteItem route_items = 1; */ java.util.List getRouteItemsOrBuilderList(); /** * repeated .cz.proto.coordinator.RouteItem route_items = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder getRouteItemsOrBuilder( int index); /** * int64 version = 2; * @return The version. */ long getVersion(); } /** * Protobuf type {@code cz.proto.coordinator.ServiceRoute} */ public static final class ServiceRoute extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.ServiceRoute) ServiceRouteOrBuilder { private static final long serialVersionUID = 0L; // Use ServiceRoute.newBuilder() to construct. private ServiceRoute(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ServiceRoute() { routeItems_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ServiceRoute(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ServiceRoute( 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)) { routeItems_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } routeItems_.add( input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.parser(), extensionRegistry)); break; } case 16: { version_ = 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)) { routeItems_ = java.util.Collections.unmodifiableList(routeItems_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ServiceRoute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ServiceRoute_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.ServiceRoute.class, cz.proto.coordinator.CoordinatorServiceOuterClass.ServiceRoute.Builder.class); } public static final int ROUTE_ITEMS_FIELD_NUMBER = 1; private java.util.List routeItems_; /** * repeated .cz.proto.coordinator.RouteItem route_items = 1; */ @java.lang.Override public java.util.List getRouteItemsList() { return routeItems_; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 1; */ @java.lang.Override public java.util.List getRouteItemsOrBuilderList() { return routeItems_; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 1; */ @java.lang.Override public int getRouteItemsCount() { return routeItems_.size(); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem getRouteItems(int index) { return routeItems_.get(index); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder getRouteItemsOrBuilder( int index) { return routeItems_.get(index); } public static final int VERSION_FIELD_NUMBER = 2; private long version_; /** * int64 version = 2; * @return The version. */ @java.lang.Override public long 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 { for (int i = 0; i < routeItems_.size(); i++) { output.writeMessage(1, routeItems_.get(i)); } if (version_ != 0L) { output.writeInt64(2, version_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < routeItems_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, routeItems_.get(i)); } if (version_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(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.coordinator.CoordinatorServiceOuterClass.ServiceRoute)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.ServiceRoute other = (cz.proto.coordinator.CoordinatorServiceOuterClass.ServiceRoute) obj; if (!getRouteItemsList() .equals(other.getRouteItemsList())) 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(); if (getRouteItemsCount() > 0) { hash = (37 * hash) + ROUTE_ITEMS_FIELD_NUMBER; hash = (53 * hash) + getRouteItemsList().hashCode(); } hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getVersion()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ServiceRoute parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ServiceRoute parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ServiceRoute parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ServiceRoute 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.coordinator.CoordinatorServiceOuterClass.ServiceRoute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ServiceRoute parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ServiceRoute parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ServiceRoute 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.coordinator.CoordinatorServiceOuterClass.ServiceRoute parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ServiceRoute 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.coordinator.CoordinatorServiceOuterClass.ServiceRoute parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ServiceRoute 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.coordinator.CoordinatorServiceOuterClass.ServiceRoute 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.coordinator.ServiceRoute} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.ServiceRoute) cz.proto.coordinator.CoordinatorServiceOuterClass.ServiceRouteOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ServiceRoute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ServiceRoute_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.ServiceRoute.class, cz.proto.coordinator.CoordinatorServiceOuterClass.ServiceRoute.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.ServiceRoute.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getRouteItemsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (routeItemsBuilder_ == null) { routeItems_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { routeItemsBuilder_.clear(); } version_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ServiceRoute_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ServiceRoute getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.ServiceRoute.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ServiceRoute build() { cz.proto.coordinator.CoordinatorServiceOuterClass.ServiceRoute result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ServiceRoute buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.ServiceRoute result = new cz.proto.coordinator.CoordinatorServiceOuterClass.ServiceRoute(this); int from_bitField0_ = bitField0_; if (routeItemsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { routeItems_ = java.util.Collections.unmodifiableList(routeItems_); bitField0_ = (bitField0_ & ~0x00000001); } result.routeItems_ = routeItems_; } else { result.routeItems_ = routeItemsBuilder_.build(); } 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.coordinator.CoordinatorServiceOuterClass.ServiceRoute) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.ServiceRoute)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.ServiceRoute other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.ServiceRoute.getDefaultInstance()) return this; if (routeItemsBuilder_ == null) { if (!other.routeItems_.isEmpty()) { if (routeItems_.isEmpty()) { routeItems_ = other.routeItems_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureRouteItemsIsMutable(); routeItems_.addAll(other.routeItems_); } onChanged(); } } else { if (!other.routeItems_.isEmpty()) { if (routeItemsBuilder_.isEmpty()) { routeItemsBuilder_.dispose(); routeItemsBuilder_ = null; routeItems_ = other.routeItems_; bitField0_ = (bitField0_ & ~0x00000001); routeItemsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRouteItemsFieldBuilder() : null; } else { routeItemsBuilder_.addAllMessages(other.routeItems_); } } } if (other.getVersion() != 0L) { 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.coordinator.CoordinatorServiceOuterClass.ServiceRoute parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.ServiceRoute) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List routeItems_ = java.util.Collections.emptyList(); private void ensureRouteItemsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { routeItems_ = new java.util.ArrayList(routeItems_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder> routeItemsBuilder_; /** * repeated .cz.proto.coordinator.RouteItem route_items = 1; */ public java.util.List getRouteItemsList() { if (routeItemsBuilder_ == null) { return java.util.Collections.unmodifiableList(routeItems_); } else { return routeItemsBuilder_.getMessageList(); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 1; */ public int getRouteItemsCount() { if (routeItemsBuilder_ == null) { return routeItems_.size(); } else { return routeItemsBuilder_.getCount(); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem getRouteItems(int index) { if (routeItemsBuilder_ == null) { return routeItems_.get(index); } else { return routeItemsBuilder_.getMessage(index); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 1; */ public Builder setRouteItems( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem value) { if (routeItemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRouteItemsIsMutable(); routeItems_.set(index, value); onChanged(); } else { routeItemsBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 1; */ public Builder setRouteItems( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder builderForValue) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); routeItems_.set(index, builderForValue.build()); onChanged(); } else { routeItemsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 1; */ public Builder addRouteItems(cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem value) { if (routeItemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRouteItemsIsMutable(); routeItems_.add(value); onChanged(); } else { routeItemsBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 1; */ public Builder addRouteItems( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem value) { if (routeItemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRouteItemsIsMutable(); routeItems_.add(index, value); onChanged(); } else { routeItemsBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 1; */ public Builder addRouteItems( cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder builderForValue) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); routeItems_.add(builderForValue.build()); onChanged(); } else { routeItemsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 1; */ public Builder addRouteItems( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder builderForValue) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); routeItems_.add(index, builderForValue.build()); onChanged(); } else { routeItemsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 1; */ public Builder addAllRouteItems( java.lang.Iterable values) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, routeItems_); onChanged(); } else { routeItemsBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 1; */ public Builder clearRouteItems() { if (routeItemsBuilder_ == null) { routeItems_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { routeItemsBuilder_.clear(); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 1; */ public Builder removeRouteItems(int index) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); routeItems_.remove(index); onChanged(); } else { routeItemsBuilder_.remove(index); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder getRouteItemsBuilder( int index) { return getRouteItemsFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder getRouteItemsOrBuilder( int index) { if (routeItemsBuilder_ == null) { return routeItems_.get(index); } else { return routeItemsBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 1; */ public java.util.List getRouteItemsOrBuilderList() { if (routeItemsBuilder_ != null) { return routeItemsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(routeItems_); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder addRouteItemsBuilder() { return getRouteItemsFieldBuilder().addBuilder( cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.getDefaultInstance()); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder addRouteItemsBuilder( int index) { return getRouteItemsFieldBuilder().addBuilder( index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.getDefaultInstance()); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 1; */ public java.util.List getRouteItemsBuilderList() { return getRouteItemsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder> getRouteItemsFieldBuilder() { if (routeItemsBuilder_ == null) { routeItemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder>( routeItems_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); routeItems_ = null; } return routeItemsBuilder_; } private long version_ ; /** * int64 version = 2; * @return The version. */ @java.lang.Override public long getVersion() { return version_; } /** * int64 version = 2; * @param value The version to set. * @return This builder for chaining. */ public Builder setVersion(long value) { version_ = value; onChanged(); return this; } /** * int64 version = 2; * @return This builder for chaining. */ public Builder clearVersion() { version_ = 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.coordinator.ServiceRoute) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.ServiceRoute) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.ServiceRoute DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.ServiceRoute(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ServiceRoute getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ServiceRoute parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ServiceRoute(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.coordinator.CoordinatorServiceOuterClass.ServiceRoute getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListFlightingRouteTableResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.ListFlightingRouteTableResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ boolean hasRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ cz.proto.ServiceCommon.ResponseStatus getRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; */ cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder(); /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ java.util.List getRouteItemsList(); /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem getRouteItems(int index); /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ int getRouteItemsCount(); /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ java.util.List getRouteItemsOrBuilderList(); /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder getRouteItemsOrBuilder( int index); } /** * Protobuf type {@code cz.proto.coordinator.ListFlightingRouteTableResponse} */ public static final class ListFlightingRouteTableResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.ListFlightingRouteTableResponse) ListFlightingRouteTableResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ListFlightingRouteTableResponse.newBuilder() to construct. private ListFlightingRouteTableResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListFlightingRouteTableResponse() { routeItems_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListFlightingRouteTableResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListFlightingRouteTableResponse( 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.ServiceCommon.ResponseStatus.Builder subBuilder = null; if (respStatus_ != null) { subBuilder = respStatus_.toBuilder(); } respStatus_ = input.readMessage(cz.proto.ServiceCommon.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(respStatus_); respStatus_ = subBuilder.buildPartial(); } break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { routeItems_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } routeItems_.add( input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.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)) { routeItems_ = java.util.Collections.unmodifiableList(routeItems_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListFlightingRouteTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListFlightingRouteTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse.Builder.class); } public static final int RESP_STATUS_FIELD_NUMBER = 1; private cz.proto.ServiceCommon.ResponseStatus respStatus_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ @java.lang.Override public boolean hasRespStatus() { return respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } /** * .cz.proto.ResponseStatus resp_status = 1; */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { return getRespStatus(); } public static final int ROUTE_ITEMS_FIELD_NUMBER = 2; private java.util.List routeItems_; /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ @java.lang.Override public java.util.List getRouteItemsList() { return routeItems_; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ @java.lang.Override public java.util.List getRouteItemsOrBuilderList() { return routeItems_; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ @java.lang.Override public int getRouteItemsCount() { return routeItems_.size(); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem getRouteItems(int index) { return routeItems_.get(index); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder getRouteItemsOrBuilder( int index) { return routeItems_.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 (respStatus_ != null) { output.writeMessage(1, getRespStatus()); } for (int i = 0; i < routeItems_.size(); i++) { output.writeMessage(2, routeItems_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (respStatus_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRespStatus()); } for (int i = 0; i < routeItems_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, routeItems_.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.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse other = (cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse) obj; if (hasRespStatus() != other.hasRespStatus()) return false; if (hasRespStatus()) { if (!getRespStatus() .equals(other.getRespStatus())) return false; } if (!getRouteItemsList() .equals(other.getRouteItemsList())) 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 (hasRespStatus()) { hash = (37 * hash) + RESP_STATUS_FIELD_NUMBER; hash = (53 * hash) + getRespStatus().hashCode(); } if (getRouteItemsCount() > 0) { hash = (37 * hash) + ROUTE_ITEMS_FIELD_NUMBER; hash = (53 * hash) + getRouteItemsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse 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.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse 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.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse 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.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse 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.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse 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.coordinator.ListFlightingRouteTableResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.ListFlightingRouteTableResponse) cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListFlightingRouteTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListFlightingRouteTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getRouteItemsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (respStatusBuilder_ == null) { respStatus_ = null; } else { respStatus_ = null; respStatusBuilder_ = null; } if (routeItemsBuilder_ == null) { routeItems_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { routeItemsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListFlightingRouteTableResponse_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse build() { cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse result = new cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse(this); int from_bitField0_ = bitField0_; if (respStatusBuilder_ == null) { result.respStatus_ = respStatus_; } else { result.respStatus_ = respStatusBuilder_.build(); } if (routeItemsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { routeItems_ = java.util.Collections.unmodifiableList(routeItems_); bitField0_ = (bitField0_ & ~0x00000001); } result.routeItems_ = routeItems_; } else { result.routeItems_ = routeItemsBuilder_.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.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse.getDefaultInstance()) return this; if (other.hasRespStatus()) { mergeRespStatus(other.getRespStatus()); } if (routeItemsBuilder_ == null) { if (!other.routeItems_.isEmpty()) { if (routeItems_.isEmpty()) { routeItems_ = other.routeItems_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureRouteItemsIsMutable(); routeItems_.addAll(other.routeItems_); } onChanged(); } } else { if (!other.routeItems_.isEmpty()) { if (routeItemsBuilder_.isEmpty()) { routeItemsBuilder_.dispose(); routeItemsBuilder_ = null; routeItems_ = other.routeItems_; bitField0_ = (bitField0_ & ~0x00000001); routeItemsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRouteItemsFieldBuilder() : null; } else { routeItemsBuilder_.addAllMessages(other.routeItems_); } } } 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.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.ServiceCommon.ResponseStatus respStatus_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> respStatusBuilder_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ public boolean hasRespStatus() { return respStatusBuilder_ != null || respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { if (respStatusBuilder_ == null) { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } else { return respStatusBuilder_.getMessage(); } } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } respStatus_ = value; onChanged(); } else { respStatusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus( cz.proto.ServiceCommon.ResponseStatus.Builder builderForValue) { if (respStatusBuilder_ == null) { respStatus_ = builderForValue.build(); onChanged(); } else { respStatusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder mergeRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (respStatus_ != null) { respStatus_ = cz.proto.ServiceCommon.ResponseStatus.newBuilder(respStatus_).mergeFrom(value).buildPartial(); } else { respStatus_ = value; } onChanged(); } else { respStatusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder clearRespStatus() { if (respStatusBuilder_ == null) { respStatus_ = null; onChanged(); } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatus.Builder getRespStatusBuilder() { onChanged(); return getRespStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { if (respStatusBuilder_ != null) { return respStatusBuilder_.getMessageOrBuilder(); } else { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } } /** * .cz.proto.ResponseStatus resp_status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> getRespStatusFieldBuilder() { if (respStatusBuilder_ == null) { respStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder>( getRespStatus(), getParentForChildren(), isClean()); respStatus_ = null; } return respStatusBuilder_; } private java.util.List routeItems_ = java.util.Collections.emptyList(); private void ensureRouteItemsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { routeItems_ = new java.util.ArrayList(routeItems_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder> routeItemsBuilder_; /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public java.util.List getRouteItemsList() { if (routeItemsBuilder_ == null) { return java.util.Collections.unmodifiableList(routeItems_); } else { return routeItemsBuilder_.getMessageList(); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public int getRouteItemsCount() { if (routeItemsBuilder_ == null) { return routeItems_.size(); } else { return routeItemsBuilder_.getCount(); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem getRouteItems(int index) { if (routeItemsBuilder_ == null) { return routeItems_.get(index); } else { return routeItemsBuilder_.getMessage(index); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder setRouteItems( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem value) { if (routeItemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRouteItemsIsMutable(); routeItems_.set(index, value); onChanged(); } else { routeItemsBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder setRouteItems( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder builderForValue) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); routeItems_.set(index, builderForValue.build()); onChanged(); } else { routeItemsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder addRouteItems(cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem value) { if (routeItemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRouteItemsIsMutable(); routeItems_.add(value); onChanged(); } else { routeItemsBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder addRouteItems( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem value) { if (routeItemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRouteItemsIsMutable(); routeItems_.add(index, value); onChanged(); } else { routeItemsBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder addRouteItems( cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder builderForValue) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); routeItems_.add(builderForValue.build()); onChanged(); } else { routeItemsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder addRouteItems( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder builderForValue) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); routeItems_.add(index, builderForValue.build()); onChanged(); } else { routeItemsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder addAllRouteItems( java.lang.Iterable values) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, routeItems_); onChanged(); } else { routeItemsBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder clearRouteItems() { if (routeItemsBuilder_ == null) { routeItems_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { routeItemsBuilder_.clear(); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder removeRouteItems(int index) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); routeItems_.remove(index); onChanged(); } else { routeItemsBuilder_.remove(index); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder getRouteItemsBuilder( int index) { return getRouteItemsFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder getRouteItemsOrBuilder( int index) { if (routeItemsBuilder_ == null) { return routeItems_.get(index); } else { return routeItemsBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public java.util.List getRouteItemsOrBuilderList() { if (routeItemsBuilder_ != null) { return routeItemsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(routeItems_); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder addRouteItemsBuilder() { return getRouteItemsFieldBuilder().addBuilder( cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.getDefaultInstance()); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder addRouteItemsBuilder( int index) { return getRouteItemsFieldBuilder().addBuilder( index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.getDefaultInstance()); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public java.util.List getRouteItemsBuilderList() { return getRouteItemsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder> getRouteItemsFieldBuilder() { if (routeItemsBuilder_ == null) { routeItemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder>( routeItems_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); routeItems_ = null; } return routeItemsBuilder_; } @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.coordinator.ListFlightingRouteTableResponse) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.ListFlightingRouteTableResponse) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListFlightingRouteTableResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListFlightingRouteTableResponse(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.coordinator.CoordinatorServiceOuterClass.ListFlightingRouteTableResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface OpenTableRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.OpenTableRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount(); /** * .cz.proto.coordinator.Account account = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder(); /** * .cz.proto.ObjectIdentifier table = 2; * @return Whether the table field is set. */ boolean hasTable(); /** * .cz.proto.ObjectIdentifier table = 2; * @return The table. */ cz.proto.ObjectIdentifier getTable(); /** * .cz.proto.ObjectIdentifier table = 2; */ cz.proto.ObjectIdentifierOrBuilder getTableOrBuilder(); /** * .cz.proto.coordinator.OpenTableRequest.IcebergFormat iceberg = 10; * @return Whether the iceberg field is set. */ boolean hasIceberg(); /** * .cz.proto.coordinator.OpenTableRequest.IcebergFormat iceberg = 10; * @return The iceberg. */ cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat getIceberg(); /** * .cz.proto.coordinator.OpenTableRequest.IcebergFormat iceberg = 10; */ cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormatOrBuilder getIcebergOrBuilder(); public cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.FormatCase getFormatCase(); } /** * Protobuf type {@code cz.proto.coordinator.OpenTableRequest} */ public static final class OpenTableRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.OpenTableRequest) OpenTableRequestOrBuilder { private static final long serialVersionUID = 0L; // Use OpenTableRequest.newBuilder() to construct. private OpenTableRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private OpenTableRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new OpenTableRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private OpenTableRequest( 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.coordinator.CoordinatorServiceOuterClass.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.ObjectIdentifier.Builder subBuilder = null; if (table_ != null) { subBuilder = table_.toBuilder(); } table_ = input.readMessage(cz.proto.ObjectIdentifier.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(table_); table_ = subBuilder.buildPartial(); } break; } case 82: { cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat.Builder subBuilder = null; if (formatCase_ == 10) { subBuilder = ((cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat) format_).toBuilder(); } format_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat) format_); format_ = subBuilder.buildPartial(); } formatCase_ = 10; 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_OpenTableRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_OpenTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.Builder.class); } public interface IcebergFormatOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.OpenTableRequest.IcebergFormat) com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code cz.proto.coordinator.OpenTableRequest.IcebergFormat} */ public static final class IcebergFormat extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.OpenTableRequest.IcebergFormat) IcebergFormatOrBuilder { private static final long serialVersionUID = 0L; // Use IcebergFormat.newBuilder() to construct. private IcebergFormat(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private IcebergFormat() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new IcebergFormat(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private IcebergFormat( 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; 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_OpenTableRequest_IcebergFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_OpenTableRequest_IcebergFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat.class, cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat.Builder.class); } 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 { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; 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.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat other = (cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat) obj; 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 = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat 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.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat 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.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat 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.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat 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.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat 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.coordinator.OpenTableRequest.IcebergFormat} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.OpenTableRequest.IcebergFormat) cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormatOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_OpenTableRequest_IcebergFormat_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_OpenTableRequest_IcebergFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat.class, cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat.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(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_OpenTableRequest_IcebergFormat_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat build() { cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat result = new cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat(this); 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.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat.getDefaultInstance()) return this; 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.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } 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.coordinator.OpenTableRequest.IcebergFormat) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.OpenTableRequest.IcebergFormat) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public IcebergFormat parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new IcebergFormat(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.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int formatCase_ = 0; private java.lang.Object format_; public enum FormatCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ICEBERG(10), FORMAT_NOT_SET(0); private final int value; private FormatCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static FormatCase valueOf(int value) { return forNumber(value); } public static FormatCase forNumber(int value) { switch (value) { case 10: return ICEBERG; case 0: return FORMAT_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public FormatCase getFormatCase() { return FormatCase.forNumber( formatCase_); } public static final int ACCOUNT_FIELD_NUMBER = 1; private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } /** * .cz.proto.coordinator.Account account = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int TABLE_FIELD_NUMBER = 2; private cz.proto.ObjectIdentifier table_; /** * .cz.proto.ObjectIdentifier table = 2; * @return Whether the table field is set. */ @java.lang.Override public boolean hasTable() { return table_ != null; } /** * .cz.proto.ObjectIdentifier table = 2; * @return The table. */ @java.lang.Override public cz.proto.ObjectIdentifier getTable() { return table_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : table_; } /** * .cz.proto.ObjectIdentifier table = 2; */ @java.lang.Override public cz.proto.ObjectIdentifierOrBuilder getTableOrBuilder() { return getTable(); } public static final int ICEBERG_FIELD_NUMBER = 10; /** * .cz.proto.coordinator.OpenTableRequest.IcebergFormat iceberg = 10; * @return Whether the iceberg field is set. */ @java.lang.Override public boolean hasIceberg() { return formatCase_ == 10; } /** * .cz.proto.coordinator.OpenTableRequest.IcebergFormat iceberg = 10; * @return The iceberg. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat getIceberg() { if (formatCase_ == 10) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat) format_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat.getDefaultInstance(); } /** * .cz.proto.coordinator.OpenTableRequest.IcebergFormat iceberg = 10; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormatOrBuilder getIcebergOrBuilder() { if (formatCase_ == 10) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat) format_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat.getDefaultInstance(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (account_ != null) { output.writeMessage(1, getAccount()); } if (table_ != null) { output.writeMessage(2, getTable()); } if (formatCase_ == 10) { output.writeMessage(10, (cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat) format_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAccount()); } if (table_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getTable()); } if (formatCase_ == 10) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, (cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat) format_); } 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.coordinator.CoordinatorServiceOuterClass.OpenTableRequest)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest other = (cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (hasTable() != other.hasTable()) return false; if (hasTable()) { if (!getTable() .equals(other.getTable())) return false; } if (!getFormatCase().equals(other.getFormatCase())) return false; switch (formatCase_) { case 10: if (!getIceberg() .equals(other.getIceberg())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } if (hasTable()) { hash = (37 * hash) + TABLE_FIELD_NUMBER; hash = (53 * hash) + getTable().hashCode(); } switch (formatCase_) { case 10: hash = (37 * hash) + ICEBERG_FIELD_NUMBER; hash = (53 * hash) + getIceberg().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest 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.coordinator.CoordinatorServiceOuterClass.OpenTableRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest 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.coordinator.CoordinatorServiceOuterClass.OpenTableRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest 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.coordinator.CoordinatorServiceOuterClass.OpenTableRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest 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.coordinator.CoordinatorServiceOuterClass.OpenTableRequest 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.coordinator.OpenTableRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.OpenTableRequest) cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_OpenTableRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_OpenTableRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } if (tableBuilder_ == null) { table_ = null; } else { table_ = null; tableBuilder_ = null; } formatCase_ = 0; format_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_OpenTableRequest_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest build() { cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest result = new cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest(this); if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } if (tableBuilder_ == null) { result.table_ = table_; } else { result.table_ = tableBuilder_.build(); } if (formatCase_ == 10) { if (icebergBuilder_ == null) { result.format_ = format_; } else { result.format_ = icebergBuilder_.build(); } } result.formatCase_ = formatCase_; 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.coordinator.CoordinatorServiceOuterClass.OpenTableRequest) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (other.hasTable()) { mergeTable(other.getTable()); } switch (other.getFormatCase()) { case ICEBERG: { mergeIceberg(other.getIceberg()); break; } case FORMAT_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int formatCase_ = 0; private java.lang.Object format_; public FormatCase getFormatCase() { return FormatCase.forNumber( formatCase_); } public Builder clearFormat() { formatCase_ = 0; format_ = null; onChanged(); return this; } private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> accountBuilder_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount( cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder mergeAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.coordinator.CoordinatorServiceOuterClass.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } } /** * .cz.proto.coordinator.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private cz.proto.ObjectIdentifier table_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> tableBuilder_; /** * .cz.proto.ObjectIdentifier table = 2; * @return Whether the table field is set. */ public boolean hasTable() { return tableBuilder_ != null || table_ != null; } /** * .cz.proto.ObjectIdentifier table = 2; * @return The table. */ public cz.proto.ObjectIdentifier getTable() { if (tableBuilder_ == null) { return table_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : table_; } else { return tableBuilder_.getMessage(); } } /** * .cz.proto.ObjectIdentifier table = 2; */ public Builder setTable(cz.proto.ObjectIdentifier value) { if (tableBuilder_ == null) { if (value == null) { throw new NullPointerException(); } table_ = value; onChanged(); } else { tableBuilder_.setMessage(value); } return this; } /** * .cz.proto.ObjectIdentifier table = 2; */ public Builder setTable( cz.proto.ObjectIdentifier.Builder builderForValue) { if (tableBuilder_ == null) { table_ = builderForValue.build(); onChanged(); } else { tableBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ObjectIdentifier table = 2; */ public Builder mergeTable(cz.proto.ObjectIdentifier value) { if (tableBuilder_ == null) { if (table_ != null) { table_ = cz.proto.ObjectIdentifier.newBuilder(table_).mergeFrom(value).buildPartial(); } else { table_ = value; } onChanged(); } else { tableBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ObjectIdentifier table = 2; */ public Builder clearTable() { if (tableBuilder_ == null) { table_ = null; onChanged(); } else { table_ = null; tableBuilder_ = null; } return this; } /** * .cz.proto.ObjectIdentifier table = 2; */ public cz.proto.ObjectIdentifier.Builder getTableBuilder() { onChanged(); return getTableFieldBuilder().getBuilder(); } /** * .cz.proto.ObjectIdentifier table = 2; */ public cz.proto.ObjectIdentifierOrBuilder getTableOrBuilder() { if (tableBuilder_ != null) { return tableBuilder_.getMessageOrBuilder(); } else { return table_ == null ? cz.proto.ObjectIdentifier.getDefaultInstance() : table_; } } /** * .cz.proto.ObjectIdentifier table = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder> getTableFieldBuilder() { if (tableBuilder_ == null) { tableBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ObjectIdentifier, cz.proto.ObjectIdentifier.Builder, cz.proto.ObjectIdentifierOrBuilder>( getTable(), getParentForChildren(), isClean()); table_ = null; } return tableBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat, cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormatOrBuilder> icebergBuilder_; /** * .cz.proto.coordinator.OpenTableRequest.IcebergFormat iceberg = 10; * @return Whether the iceberg field is set. */ @java.lang.Override public boolean hasIceberg() { return formatCase_ == 10; } /** * .cz.proto.coordinator.OpenTableRequest.IcebergFormat iceberg = 10; * @return The iceberg. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat getIceberg() { if (icebergBuilder_ == null) { if (formatCase_ == 10) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat) format_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat.getDefaultInstance(); } else { if (formatCase_ == 10) { return icebergBuilder_.getMessage(); } return cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat.getDefaultInstance(); } } /** * .cz.proto.coordinator.OpenTableRequest.IcebergFormat iceberg = 10; */ public Builder setIceberg(cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat value) { if (icebergBuilder_ == null) { if (value == null) { throw new NullPointerException(); } format_ = value; onChanged(); } else { icebergBuilder_.setMessage(value); } formatCase_ = 10; return this; } /** * .cz.proto.coordinator.OpenTableRequest.IcebergFormat iceberg = 10; */ public Builder setIceberg( cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat.Builder builderForValue) { if (icebergBuilder_ == null) { format_ = builderForValue.build(); onChanged(); } else { icebergBuilder_.setMessage(builderForValue.build()); } formatCase_ = 10; return this; } /** * .cz.proto.coordinator.OpenTableRequest.IcebergFormat iceberg = 10; */ public Builder mergeIceberg(cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat value) { if (icebergBuilder_ == null) { if (formatCase_ == 10 && format_ != cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat.getDefaultInstance()) { format_ = cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat.newBuilder((cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat) format_) .mergeFrom(value).buildPartial(); } else { format_ = value; } onChanged(); } else { if (formatCase_ == 10) { icebergBuilder_.mergeFrom(value); } icebergBuilder_.setMessage(value); } formatCase_ = 10; return this; } /** * .cz.proto.coordinator.OpenTableRequest.IcebergFormat iceberg = 10; */ public Builder clearIceberg() { if (icebergBuilder_ == null) { if (formatCase_ == 10) { formatCase_ = 0; format_ = null; onChanged(); } } else { if (formatCase_ == 10) { formatCase_ = 0; format_ = null; } icebergBuilder_.clear(); } return this; } /** * .cz.proto.coordinator.OpenTableRequest.IcebergFormat iceberg = 10; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat.Builder getIcebergBuilder() { return getIcebergFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.OpenTableRequest.IcebergFormat iceberg = 10; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormatOrBuilder getIcebergOrBuilder() { if ((formatCase_ == 10) && (icebergBuilder_ != null)) { return icebergBuilder_.getMessageOrBuilder(); } else { if (formatCase_ == 10) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat) format_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat.getDefaultInstance(); } } /** * .cz.proto.coordinator.OpenTableRequest.IcebergFormat iceberg = 10; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat, cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormatOrBuilder> getIcebergFieldBuilder() { if (icebergBuilder_ == null) { if (!(formatCase_ == 10)) { format_ = cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat.getDefaultInstance(); } icebergBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat, cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormatOrBuilder>( (cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest.IcebergFormat) format_, getParentForChildren(), isClean()); format_ = null; } formatCase_ = 10; onChanged();; return icebergBuilder_; } @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.coordinator.OpenTableRequest) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.OpenTableRequest) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public OpenTableRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new OpenTableRequest(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.coordinator.CoordinatorServiceOuterClass.OpenTableRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface OpenTableResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.OpenTableResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ boolean hasRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ cz.proto.ServiceCommon.ResponseStatus getRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; */ cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder(); /** * .cz.proto.coordinator.OpenTableResponse.IcebergFormat iceberg = 10; * @return Whether the iceberg field is set. */ boolean hasIceberg(); /** * .cz.proto.coordinator.OpenTableResponse.IcebergFormat iceberg = 10; * @return The iceberg. */ cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat getIceberg(); /** * .cz.proto.coordinator.OpenTableResponse.IcebergFormat iceberg = 10; */ cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormatOrBuilder getIcebergOrBuilder(); public cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.FormatCase getFormatCase(); } /** * Protobuf type {@code cz.proto.coordinator.OpenTableResponse} */ public static final class OpenTableResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.OpenTableResponse) OpenTableResponseOrBuilder { private static final long serialVersionUID = 0L; // Use OpenTableResponse.newBuilder() to construct. private OpenTableResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private OpenTableResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new OpenTableResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private OpenTableResponse( 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.ServiceCommon.ResponseStatus.Builder subBuilder = null; if (respStatus_ != null) { subBuilder = respStatus_.toBuilder(); } respStatus_ = input.readMessage(cz.proto.ServiceCommon.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(respStatus_); respStatus_ = subBuilder.buildPartial(); } break; } case 82: { cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat.Builder subBuilder = null; if (formatCase_ == 10) { subBuilder = ((cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat) format_).toBuilder(); } format_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat) format_); format_ = subBuilder.buildPartial(); } formatCase_ = 10; 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_OpenTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_OpenTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.Builder.class); } public interface IcebergFormatOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.OpenTableResponse.IcebergFormat) com.google.protobuf.MessageOrBuilder { /** * string metadata_location = 1; * @return The metadataLocation. */ java.lang.String getMetadataLocation(); /** * string metadata_location = 1; * @return The bytes for metadataLocation. */ com.google.protobuf.ByteString getMetadataLocationBytes(); /** * map<string, string> properties = 2; */ int getPropertiesCount(); /** * map<string, string> properties = 2; */ boolean containsProperties( java.lang.String key); /** * Use {@link #getPropertiesMap()} instead. */ @java.lang.Deprecated java.util.Map getProperties(); /** * map<string, string> properties = 2; */ java.util.Map getPropertiesMap(); /** * map<string, string> properties = 2; */ java.lang.String getPropertiesOrDefault( java.lang.String key, java.lang.String defaultValue); /** * map<string, string> properties = 2; */ java.lang.String getPropertiesOrThrow( java.lang.String key); } /** * Protobuf type {@code cz.proto.coordinator.OpenTableResponse.IcebergFormat} */ public static final class IcebergFormat extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.OpenTableResponse.IcebergFormat) IcebergFormatOrBuilder { private static final long serialVersionUID = 0L; // Use IcebergFormat.newBuilder() to construct. private IcebergFormat(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private IcebergFormat() { metadataLocation_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new IcebergFormat(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private IcebergFormat( 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(); metadataLocation_ = s; break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { properties_ = com.google.protobuf.MapField.newMapField( PropertiesDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry properties__ = input.readMessage( PropertiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); properties_.getMutableMap().put( properties__.getKey(), properties__.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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_OpenTableResponse_IcebergFormat_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetProperties(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_OpenTableResponse_IcebergFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat.class, cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat.Builder.class); } public static final int METADATA_LOCATION_FIELD_NUMBER = 1; private volatile java.lang.Object metadataLocation_; /** * string metadata_location = 1; * @return The metadataLocation. */ @java.lang.Override public java.lang.String getMetadataLocation() { java.lang.Object ref = metadataLocation_; 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(); metadataLocation_ = s; return s; } } /** * string metadata_location = 1; * @return The bytes for metadataLocation. */ @java.lang.Override public com.google.protobuf.ByteString getMetadataLocationBytes() { java.lang.Object ref = metadataLocation_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); metadataLocation_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PROPERTIES_FIELD_NUMBER = 2; private static final class PropertiesDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_OpenTableResponse_IcebergFormat_PropertiesEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> properties_; private com.google.protobuf.MapField internalGetProperties() { if (properties_ == null) { return com.google.protobuf.MapField.emptyMapField( PropertiesDefaultEntryHolder.defaultEntry); } return properties_; } public int getPropertiesCount() { return internalGetProperties().getMap().size(); } /** * map<string, string> properties = 2; */ @java.lang.Override public boolean containsProperties( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetProperties().getMap().containsKey(key); } /** * Use {@link #getPropertiesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getProperties() { return getPropertiesMap(); } /** * map<string, string> properties = 2; */ @java.lang.Override public java.util.Map getPropertiesMap() { return internalGetProperties().getMap(); } /** * map<string, string> properties = 2; */ @java.lang.Override public java.lang.String getPropertiesOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetProperties().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> properties = 2; */ @java.lang.Override public java.lang.String getPropertiesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetProperties().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(metadataLocation_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, metadataLocation_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetProperties(), PropertiesDefaultEntryHolder.defaultEntry, 2); 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(metadataLocation_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, metadataLocation_); } for (java.util.Map.Entry entry : internalGetProperties().getMap().entrySet()) { com.google.protobuf.MapEntry properties__ = PropertiesDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, properties__); } 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.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat other = (cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat) obj; if (!getMetadataLocation() .equals(other.getMetadataLocation())) return false; if (!internalGetProperties().equals( other.internalGetProperties())) 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) + METADATA_LOCATION_FIELD_NUMBER; hash = (53 * hash) + getMetadataLocation().hashCode(); if (!internalGetProperties().getMap().isEmpty()) { hash = (37 * hash) + PROPERTIES_FIELD_NUMBER; hash = (53 * hash) + internalGetProperties().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat 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.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat 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.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat 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.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat 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.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat 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.coordinator.OpenTableResponse.IcebergFormat} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.OpenTableResponse.IcebergFormat) cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormatOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_OpenTableResponse_IcebergFormat_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetProperties(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 2: return internalGetMutableProperties(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_OpenTableResponse_IcebergFormat_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat.class, cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat.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(); metadataLocation_ = ""; internalGetMutableProperties().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_OpenTableResponse_IcebergFormat_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat build() { cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat result = new cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat(this); int from_bitField0_ = bitField0_; result.metadataLocation_ = metadataLocation_; result.properties_ = internalGetProperties(); result.properties_.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.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat.getDefaultInstance()) return this; if (!other.getMetadataLocation().isEmpty()) { metadataLocation_ = other.metadataLocation_; onChanged(); } internalGetMutableProperties().mergeFrom( other.internalGetProperties()); 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.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object metadataLocation_ = ""; /** * string metadata_location = 1; * @return The metadataLocation. */ public java.lang.String getMetadataLocation() { java.lang.Object ref = metadataLocation_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); metadataLocation_ = s; return s; } else { return (java.lang.String) ref; } } /** * string metadata_location = 1; * @return The bytes for metadataLocation. */ public com.google.protobuf.ByteString getMetadataLocationBytes() { java.lang.Object ref = metadataLocation_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); metadataLocation_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string metadata_location = 1; * @param value The metadataLocation to set. * @return This builder for chaining. */ public Builder setMetadataLocation( java.lang.String value) { if (value == null) { throw new NullPointerException(); } metadataLocation_ = value; onChanged(); return this; } /** * string metadata_location = 1; * @return This builder for chaining. */ public Builder clearMetadataLocation() { metadataLocation_ = getDefaultInstance().getMetadataLocation(); onChanged(); return this; } /** * string metadata_location = 1; * @param value The bytes for metadataLocation to set. * @return This builder for chaining. */ public Builder setMetadataLocationBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); metadataLocation_ = value; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> properties_; private com.google.protobuf.MapField internalGetProperties() { if (properties_ == null) { return com.google.protobuf.MapField.emptyMapField( PropertiesDefaultEntryHolder.defaultEntry); } return properties_; } private com.google.protobuf.MapField internalGetMutableProperties() { onChanged();; if (properties_ == null) { properties_ = com.google.protobuf.MapField.newMapField( PropertiesDefaultEntryHolder.defaultEntry); } if (!properties_.isMutable()) { properties_ = properties_.copy(); } return properties_; } public int getPropertiesCount() { return internalGetProperties().getMap().size(); } /** * map<string, string> properties = 2; */ @java.lang.Override public boolean containsProperties( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetProperties().getMap().containsKey(key); } /** * Use {@link #getPropertiesMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getProperties() { return getPropertiesMap(); } /** * map<string, string> properties = 2; */ @java.lang.Override public java.util.Map getPropertiesMap() { return internalGetProperties().getMap(); } /** * map<string, string> properties = 2; */ @java.lang.Override public java.lang.String getPropertiesOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetProperties().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> properties = 2; */ @java.lang.Override public java.lang.String getPropertiesOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetProperties().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearProperties() { internalGetMutableProperties().getMutableMap() .clear(); return this; } /** * map<string, string> properties = 2; */ public Builder removeProperties( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableProperties().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableProperties() { return internalGetMutableProperties().getMutableMap(); } /** * map<string, string> properties = 2; */ public Builder putProperties( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableProperties().getMutableMap() .put(key, value); return this; } /** * map<string, string> properties = 2; */ public Builder putAllProperties( java.util.Map values) { internalGetMutableProperties().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.coordinator.OpenTableResponse.IcebergFormat) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.OpenTableResponse.IcebergFormat) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public IcebergFormat parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new IcebergFormat(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.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int formatCase_ = 0; private java.lang.Object format_; public enum FormatCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { ICEBERG(10), FORMAT_NOT_SET(0); private final int value; private FormatCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static FormatCase valueOf(int value) { return forNumber(value); } public static FormatCase forNumber(int value) { switch (value) { case 10: return ICEBERG; case 0: return FORMAT_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public FormatCase getFormatCase() { return FormatCase.forNumber( formatCase_); } public static final int RESP_STATUS_FIELD_NUMBER = 1; private cz.proto.ServiceCommon.ResponseStatus respStatus_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ @java.lang.Override public boolean hasRespStatus() { return respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } /** * .cz.proto.ResponseStatus resp_status = 1; */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { return getRespStatus(); } public static final int ICEBERG_FIELD_NUMBER = 10; /** * .cz.proto.coordinator.OpenTableResponse.IcebergFormat iceberg = 10; * @return Whether the iceberg field is set. */ @java.lang.Override public boolean hasIceberg() { return formatCase_ == 10; } /** * .cz.proto.coordinator.OpenTableResponse.IcebergFormat iceberg = 10; * @return The iceberg. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat getIceberg() { if (formatCase_ == 10) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat) format_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat.getDefaultInstance(); } /** * .cz.proto.coordinator.OpenTableResponse.IcebergFormat iceberg = 10; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormatOrBuilder getIcebergOrBuilder() { if (formatCase_ == 10) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat) format_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat.getDefaultInstance(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (respStatus_ != null) { output.writeMessage(1, getRespStatus()); } if (formatCase_ == 10) { output.writeMessage(10, (cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat) format_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (respStatus_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRespStatus()); } if (formatCase_ == 10) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, (cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat) format_); } 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.coordinator.CoordinatorServiceOuterClass.OpenTableResponse)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse other = (cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse) obj; if (hasRespStatus() != other.hasRespStatus()) return false; if (hasRespStatus()) { if (!getRespStatus() .equals(other.getRespStatus())) return false; } if (!getFormatCase().equals(other.getFormatCase())) return false; switch (formatCase_) { case 10: if (!getIceberg() .equals(other.getIceberg())) return false; break; case 0: default: } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasRespStatus()) { hash = (37 * hash) + RESP_STATUS_FIELD_NUMBER; hash = (53 * hash) + getRespStatus().hashCode(); } switch (formatCase_) { case 10: hash = (37 * hash) + ICEBERG_FIELD_NUMBER; hash = (53 * hash) + getIceberg().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse 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.coordinator.CoordinatorServiceOuterClass.OpenTableResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse 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.coordinator.CoordinatorServiceOuterClass.OpenTableResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse 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.coordinator.CoordinatorServiceOuterClass.OpenTableResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse 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.coordinator.CoordinatorServiceOuterClass.OpenTableResponse 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.coordinator.OpenTableResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.OpenTableResponse) cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_OpenTableResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_OpenTableResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.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 (respStatusBuilder_ == null) { respStatus_ = null; } else { respStatus_ = null; respStatusBuilder_ = null; } formatCase_ = 0; format_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_OpenTableResponse_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse build() { cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse result = new cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse(this); if (respStatusBuilder_ == null) { result.respStatus_ = respStatus_; } else { result.respStatus_ = respStatusBuilder_.build(); } if (formatCase_ == 10) { if (icebergBuilder_ == null) { result.format_ = format_; } else { result.format_ = icebergBuilder_.build(); } } result.formatCase_ = formatCase_; 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.coordinator.CoordinatorServiceOuterClass.OpenTableResponse) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.getDefaultInstance()) return this; if (other.hasRespStatus()) { mergeRespStatus(other.getRespStatus()); } switch (other.getFormatCase()) { case ICEBERG: { mergeIceberg(other.getIceberg()); break; } case FORMAT_NOT_SET: { break; } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int formatCase_ = 0; private java.lang.Object format_; public FormatCase getFormatCase() { return FormatCase.forNumber( formatCase_); } public Builder clearFormat() { formatCase_ = 0; format_ = null; onChanged(); return this; } private cz.proto.ServiceCommon.ResponseStatus respStatus_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> respStatusBuilder_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ public boolean hasRespStatus() { return respStatusBuilder_ != null || respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { if (respStatusBuilder_ == null) { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } else { return respStatusBuilder_.getMessage(); } } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } respStatus_ = value; onChanged(); } else { respStatusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus( cz.proto.ServiceCommon.ResponseStatus.Builder builderForValue) { if (respStatusBuilder_ == null) { respStatus_ = builderForValue.build(); onChanged(); } else { respStatusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder mergeRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (respStatus_ != null) { respStatus_ = cz.proto.ServiceCommon.ResponseStatus.newBuilder(respStatus_).mergeFrom(value).buildPartial(); } else { respStatus_ = value; } onChanged(); } else { respStatusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder clearRespStatus() { if (respStatusBuilder_ == null) { respStatus_ = null; onChanged(); } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatus.Builder getRespStatusBuilder() { onChanged(); return getRespStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { if (respStatusBuilder_ != null) { return respStatusBuilder_.getMessageOrBuilder(); } else { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } } /** * .cz.proto.ResponseStatus resp_status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> getRespStatusFieldBuilder() { if (respStatusBuilder_ == null) { respStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder>( getRespStatus(), getParentForChildren(), isClean()); respStatus_ = null; } return respStatusBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat, cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormatOrBuilder> icebergBuilder_; /** * .cz.proto.coordinator.OpenTableResponse.IcebergFormat iceberg = 10; * @return Whether the iceberg field is set. */ @java.lang.Override public boolean hasIceberg() { return formatCase_ == 10; } /** * .cz.proto.coordinator.OpenTableResponse.IcebergFormat iceberg = 10; * @return The iceberg. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat getIceberg() { if (icebergBuilder_ == null) { if (formatCase_ == 10) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat) format_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat.getDefaultInstance(); } else { if (formatCase_ == 10) { return icebergBuilder_.getMessage(); } return cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat.getDefaultInstance(); } } /** * .cz.proto.coordinator.OpenTableResponse.IcebergFormat iceberg = 10; */ public Builder setIceberg(cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat value) { if (icebergBuilder_ == null) { if (value == null) { throw new NullPointerException(); } format_ = value; onChanged(); } else { icebergBuilder_.setMessage(value); } formatCase_ = 10; return this; } /** * .cz.proto.coordinator.OpenTableResponse.IcebergFormat iceberg = 10; */ public Builder setIceberg( cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat.Builder builderForValue) { if (icebergBuilder_ == null) { format_ = builderForValue.build(); onChanged(); } else { icebergBuilder_.setMessage(builderForValue.build()); } formatCase_ = 10; return this; } /** * .cz.proto.coordinator.OpenTableResponse.IcebergFormat iceberg = 10; */ public Builder mergeIceberg(cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat value) { if (icebergBuilder_ == null) { if (formatCase_ == 10 && format_ != cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat.getDefaultInstance()) { format_ = cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat.newBuilder((cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat) format_) .mergeFrom(value).buildPartial(); } else { format_ = value; } onChanged(); } else { if (formatCase_ == 10) { icebergBuilder_.mergeFrom(value); } icebergBuilder_.setMessage(value); } formatCase_ = 10; return this; } /** * .cz.proto.coordinator.OpenTableResponse.IcebergFormat iceberg = 10; */ public Builder clearIceberg() { if (icebergBuilder_ == null) { if (formatCase_ == 10) { formatCase_ = 0; format_ = null; onChanged(); } } else { if (formatCase_ == 10) { formatCase_ = 0; format_ = null; } icebergBuilder_.clear(); } return this; } /** * .cz.proto.coordinator.OpenTableResponse.IcebergFormat iceberg = 10; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat.Builder getIcebergBuilder() { return getIcebergFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.OpenTableResponse.IcebergFormat iceberg = 10; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormatOrBuilder getIcebergOrBuilder() { if ((formatCase_ == 10) && (icebergBuilder_ != null)) { return icebergBuilder_.getMessageOrBuilder(); } else { if (formatCase_ == 10) { return (cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat) format_; } return cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat.getDefaultInstance(); } } /** * .cz.proto.coordinator.OpenTableResponse.IcebergFormat iceberg = 10; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat, cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormatOrBuilder> getIcebergFieldBuilder() { if (icebergBuilder_ == null) { if (!(formatCase_ == 10)) { format_ = cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat.getDefaultInstance(); } icebergBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat, cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormatOrBuilder>( (cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse.IcebergFormat) format_, getParentForChildren(), isClean()); format_ = null; } formatCase_ = 10; onChanged();; return icebergBuilder_; } @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.coordinator.OpenTableResponse) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.OpenTableResponse) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.OpenTableResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public OpenTableResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new OpenTableResponse(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.coordinator.CoordinatorServiceOuterClass.OpenTableResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface NetworkPolicyRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.NetworkPolicyRequest) 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 username = 3; * @return The username. */ java.lang.String getUsername(); /** * string username = 3; * @return The bytes for username. */ com.google.protobuf.ByteString getUsernameBytes(); /** * string ip = 4; * @return The ip. */ java.lang.String getIp(); /** * string ip = 4; * @return The bytes for ip. */ com.google.protobuf.ByteString getIpBytes(); } /** * Protobuf type {@code cz.proto.coordinator.NetworkPolicyRequest} */ public static final class NetworkPolicyRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.NetworkPolicyRequest) NetworkPolicyRequestOrBuilder { private static final long serialVersionUID = 0L; // Use NetworkPolicyRequest.newBuilder() to construct. private NetworkPolicyRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private NetworkPolicyRequest() { workspace_ = ""; username_ = ""; ip_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new NetworkPolicyRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private NetworkPolicyRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { instanceId_ = input.readInt64(); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); workspace_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); username_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); ip_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_NetworkPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_NetworkPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest.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 USERNAME_FIELD_NUMBER = 3; private volatile java.lang.Object username_; /** * string username = 3; * @return The username. */ @java.lang.Override public java.lang.String getUsername() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; } } /** * string username = 3; * @return The bytes for username. */ @java.lang.Override public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); username_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int IP_FIELD_NUMBER = 4; private volatile java.lang.Object ip_; /** * string ip = 4; * @return The ip. */ @java.lang.Override public java.lang.String getIp() { java.lang.Object ref = ip_; 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(); ip_ = s; return s; } } /** * string ip = 4; * @return The bytes for ip. */ @java.lang.Override public com.google.protobuf.ByteString getIpBytes() { java.lang.Object ref = ip_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ip_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (instanceId_ != 0L) { output.writeInt64(1, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, workspace_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(username_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, username_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ip_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, ip_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (instanceId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, workspace_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(username_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, username_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ip_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, ip_); } 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.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest other = (cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest) obj; if (getInstanceId() != other.getInstanceId()) return false; if (!getWorkspace() .equals(other.getWorkspace())) return false; if (!getUsername() .equals(other.getUsername())) return false; if (!getIp() .equals(other.getIp())) 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) + USERNAME_FIELD_NUMBER; hash = (53 * hash) + getUsername().hashCode(); hash = (37 * hash) + IP_FIELD_NUMBER; hash = (53 * hash) + getIp().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest 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.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest 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.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest 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.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest 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.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest 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.coordinator.NetworkPolicyRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.NetworkPolicyRequest) cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_NetworkPolicyRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_NetworkPolicyRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); instanceId_ = 0L; workspace_ = ""; username_ = ""; ip_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_NetworkPolicyRequest_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest build() { cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest result = new cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest(this); result.instanceId_ = instanceId_; result.workspace_ = workspace_; result.username_ = username_; result.ip_ = ip_; 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.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest.getDefaultInstance()) return this; if (other.getInstanceId() != 0L) { setInstanceId(other.getInstanceId()); } if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); } if (!other.getUsername().isEmpty()) { username_ = other.username_; onChanged(); } if (!other.getIp().isEmpty()) { ip_ = other.ip_; 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.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long instanceId_ ; /** * int64 instance_id = 1; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } /** * int64 instance_id = 1; * @param value The instanceId to set. * @return This builder for chaining. */ public Builder setInstanceId(long value) { instanceId_ = value; onChanged(); return this; } /** * int64 instance_id = 1; * @return This builder for chaining. */ public Builder clearInstanceId() { instanceId_ = 0L; onChanged(); return this; } private java.lang.Object workspace_ = ""; /** * string workspace = 2; * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } else { return (java.lang.String) ref; } } /** * string workspace = 2; * @return The bytes for workspace. */ public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workspace_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string workspace = 2; * @param value The workspace to set. * @return This builder for chaining. */ public Builder setWorkspace( java.lang.String value) { if (value == null) { throw new NullPointerException(); } workspace_ = value; onChanged(); return this; } /** * string workspace = 2; * @return This builder for chaining. */ public Builder clearWorkspace() { workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** * string workspace = 2; * @param value The bytes for workspace to set. * @return This builder for chaining. */ public Builder setWorkspaceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); workspace_ = value; onChanged(); return this; } private java.lang.Object username_ = ""; /** * string username = 3; * @return The username. */ public java.lang.String getUsername() { java.lang.Object ref = username_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; } else { return (java.lang.String) ref; } } /** * string username = 3; * @return The bytes for username. */ public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); username_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string username = 3; * @param value The username to set. * @return This builder for chaining. */ public Builder setUsername( java.lang.String value) { if (value == null) { throw new NullPointerException(); } username_ = value; onChanged(); return this; } /** * string username = 3; * @return This builder for chaining. */ public Builder clearUsername() { username_ = getDefaultInstance().getUsername(); onChanged(); return this; } /** * string username = 3; * @param value The bytes for username to set. * @return This builder for chaining. */ public Builder setUsernameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); username_ = value; onChanged(); return this; } private java.lang.Object ip_ = ""; /** * string ip = 4; * @return The ip. */ public java.lang.String getIp() { java.lang.Object ref = ip_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ip_ = s; return s; } else { return (java.lang.String) ref; } } /** * string ip = 4; * @return The bytes for ip. */ public com.google.protobuf.ByteString getIpBytes() { java.lang.Object ref = ip_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); ip_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string ip = 4; * @param value The ip to set. * @return This builder for chaining. */ public Builder setIp( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ip_ = value; onChanged(); return this; } /** * string ip = 4; * @return This builder for chaining. */ public Builder clearIp() { ip_ = getDefaultInstance().getIp(); onChanged(); return this; } /** * string ip = 4; * @param value The bytes for ip to set. * @return This builder for chaining. */ public Builder setIpBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ip_ = 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.coordinator.NetworkPolicyRequest) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.NetworkPolicyRequest) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public NetworkPolicyRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new NetworkPolicyRequest(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.coordinator.CoordinatorServiceOuterClass.NetworkPolicyRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface NetworkPolicyResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.NetworkPolicyResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ boolean hasRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ cz.proto.ServiceCommon.ResponseStatus getRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; */ cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder(); /** * bool access = 2; * @return The access. */ boolean getAccess(); } /** * Protobuf type {@code cz.proto.coordinator.NetworkPolicyResponse} */ public static final class NetworkPolicyResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.NetworkPolicyResponse) NetworkPolicyResponseOrBuilder { private static final long serialVersionUID = 0L; // Use NetworkPolicyResponse.newBuilder() to construct. private NetworkPolicyResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private NetworkPolicyResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new NetworkPolicyResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private NetworkPolicyResponse( 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.ServiceCommon.ResponseStatus.Builder subBuilder = null; if (respStatus_ != null) { subBuilder = respStatus_.toBuilder(); } respStatus_ = input.readMessage(cz.proto.ServiceCommon.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(respStatus_); respStatus_ = subBuilder.buildPartial(); } break; } case 16: { access_ = input.readBool(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_NetworkPolicyResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_NetworkPolicyResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse.Builder.class); } public static final int RESP_STATUS_FIELD_NUMBER = 1; private cz.proto.ServiceCommon.ResponseStatus respStatus_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ @java.lang.Override public boolean hasRespStatus() { return respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } /** * .cz.proto.ResponseStatus resp_status = 1; */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { return getRespStatus(); } public static final int ACCESS_FIELD_NUMBER = 2; private boolean access_; /** * bool access = 2; * @return The access. */ @java.lang.Override public boolean getAccess() { return access_; } 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 (respStatus_ != null) { output.writeMessage(1, getRespStatus()); } if (access_ != false) { output.writeBool(2, access_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (respStatus_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRespStatus()); } if (access_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, access_); } 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.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse other = (cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse) obj; if (hasRespStatus() != other.hasRespStatus()) return false; if (hasRespStatus()) { if (!getRespStatus() .equals(other.getRespStatus())) return false; } if (getAccess() != other.getAccess()) 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 (hasRespStatus()) { hash = (37 * hash) + RESP_STATUS_FIELD_NUMBER; hash = (53 * hash) + getRespStatus().hashCode(); } hash = (37 * hash) + ACCESS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getAccess()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse 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.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse 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.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse 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.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse 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.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse 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.coordinator.NetworkPolicyResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.NetworkPolicyResponse) cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_NetworkPolicyResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_NetworkPolicyResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse.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 (respStatusBuilder_ == null) { respStatus_ = null; } else { respStatus_ = null; respStatusBuilder_ = null; } access_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_NetworkPolicyResponse_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse build() { cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse result = new cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse(this); if (respStatusBuilder_ == null) { result.respStatus_ = respStatus_; } else { result.respStatus_ = respStatusBuilder_.build(); } result.access_ = access_; 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.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse.getDefaultInstance()) return this; if (other.hasRespStatus()) { mergeRespStatus(other.getRespStatus()); } if (other.getAccess() != false) { setAccess(other.getAccess()); } 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.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ServiceCommon.ResponseStatus respStatus_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> respStatusBuilder_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ public boolean hasRespStatus() { return respStatusBuilder_ != null || respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { if (respStatusBuilder_ == null) { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } else { return respStatusBuilder_.getMessage(); } } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } respStatus_ = value; onChanged(); } else { respStatusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus( cz.proto.ServiceCommon.ResponseStatus.Builder builderForValue) { if (respStatusBuilder_ == null) { respStatus_ = builderForValue.build(); onChanged(); } else { respStatusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder mergeRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (respStatus_ != null) { respStatus_ = cz.proto.ServiceCommon.ResponseStatus.newBuilder(respStatus_).mergeFrom(value).buildPartial(); } else { respStatus_ = value; } onChanged(); } else { respStatusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder clearRespStatus() { if (respStatusBuilder_ == null) { respStatus_ = null; onChanged(); } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatus.Builder getRespStatusBuilder() { onChanged(); return getRespStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { if (respStatusBuilder_ != null) { return respStatusBuilder_.getMessageOrBuilder(); } else { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } } /** * .cz.proto.ResponseStatus resp_status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> getRespStatusFieldBuilder() { if (respStatusBuilder_ == null) { respStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder>( getRespStatus(), getParentForChildren(), isClean()); respStatus_ = null; } return respStatusBuilder_; } private boolean access_ ; /** * bool access = 2; * @return The access. */ @java.lang.Override public boolean getAccess() { return access_; } /** * bool access = 2; * @param value The access to set. * @return This builder for chaining. */ public Builder setAccess(boolean value) { access_ = value; onChanged(); return this; } /** * bool access = 2; * @return This builder for chaining. */ public Builder clearAccess() { access_ = 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.coordinator.NetworkPolicyResponse) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.NetworkPolicyResponse) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public NetworkPolicyResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new NetworkPolicyResponse(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.coordinator.CoordinatorServiceOuterClass.NetworkPolicyResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetJobAddressRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.GetJobAddressRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.coordinator.JobID job_id = 1; * @return Whether the jobId field is set. */ boolean hasJobId(); /** * .cz.proto.coordinator.JobID job_id = 1; * @return The jobId. */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId(); /** * .cz.proto.coordinator.JobID job_id = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder(); } /** * Protobuf type {@code cz.proto.coordinator.GetJobAddressRequest} */ public static final class GetJobAddressRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.GetJobAddressRequest) GetJobAddressRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetJobAddressRequest.newBuilder() to construct. private GetJobAddressRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetJobAddressRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetJobAddressRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetJobAddressRequest( 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.coordinator.CoordinatorServiceOuterClass.JobID.Builder subBuilder = null; if (jobId_ != null) { subBuilder = jobId_.toBuilder(); } jobId_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(jobId_); jobId_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobAddressRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobAddressRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest.Builder.class); } public static final int JOB_ID_FIELD_NUMBER = 1; private cz.proto.coordinator.CoordinatorServiceOuterClass.JobID jobId_; /** * .cz.proto.coordinator.JobID job_id = 1; * @return Whether the jobId field is set. */ @java.lang.Override public boolean hasJobId() { return jobId_ != null; } /** * .cz.proto.coordinator.JobID job_id = 1; * @return The jobId. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId() { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } /** * .cz.proto.coordinator.JobID job_id = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder() { return getJobId(); } 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 (jobId_ != null) { output.writeMessage(1, getJobId()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (jobId_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getJobId()); } 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.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest other = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest) obj; if (hasJobId() != other.hasJobId()) return false; if (hasJobId()) { if (!getJobId() .equals(other.getJobId())) 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 (hasJobId()) { hash = (37 * hash) + JOB_ID_FIELD_NUMBER; hash = (53 * hash) + getJobId().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest 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.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest 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.coordinator.GetJobAddressRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.GetJobAddressRequest) cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobAddressRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobAddressRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest.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 (jobIdBuilder_ == null) { jobId_ = null; } else { jobId_ = null; jobIdBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobAddressRequest_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest build() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest result = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest(this); if (jobIdBuilder_ == null) { result.jobId_ = jobId_; } else { result.jobId_ = jobIdBuilder_.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.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest.getDefaultInstance()) return this; if (other.hasJobId()) { mergeJobId(other.getJobId()); } 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.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.coordinator.CoordinatorServiceOuterClass.JobID jobId_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder> jobIdBuilder_; /** * .cz.proto.coordinator.JobID job_id = 1; * @return Whether the jobId field is set. */ public boolean hasJobId() { return jobIdBuilder_ != null || jobId_ != null; } /** * .cz.proto.coordinator.JobID job_id = 1; * @return The jobId. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobId() { if (jobIdBuilder_ == null) { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } else { return jobIdBuilder_.getMessage(); } } /** * .cz.proto.coordinator.JobID job_id = 1; */ public Builder setJobId(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID value) { if (jobIdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } jobId_ = value; onChanged(); } else { jobIdBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.JobID job_id = 1; */ public Builder setJobId( cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder builderForValue) { if (jobIdBuilder_ == null) { jobId_ = builderForValue.build(); onChanged(); } else { jobIdBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.JobID job_id = 1; */ public Builder mergeJobId(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID value) { if (jobIdBuilder_ == null) { if (jobId_ != null) { jobId_ = cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.newBuilder(jobId_).mergeFrom(value).buildPartial(); } else { jobId_ = value; } onChanged(); } else { jobIdBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.JobID job_id = 1; */ public Builder clearJobId() { if (jobIdBuilder_ == null) { jobId_ = null; onChanged(); } else { jobId_ = null; jobIdBuilder_ = null; } return this; } /** * .cz.proto.coordinator.JobID job_id = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder getJobIdBuilder() { onChanged(); return getJobIdFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.JobID job_id = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdOrBuilder() { if (jobIdBuilder_ != null) { return jobIdBuilder_.getMessageOrBuilder(); } else { return jobId_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance() : jobId_; } } /** * .cz.proto.coordinator.JobID job_id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder> getJobIdFieldBuilder() { if (jobIdBuilder_ == null) { jobIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder>( getJobId(), getParentForChildren(), isClean()); jobId_ = null; } return jobIdBuilder_; } @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.coordinator.GetJobAddressRequest) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.GetJobAddressRequest) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetJobAddressRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetJobAddressRequest(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.coordinator.CoordinatorServiceOuterClass.GetJobAddressRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetJobAddressResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.GetJobAddressResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ boolean hasRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ cz.proto.ServiceCommon.ResponseStatus getRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; */ cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder(); /** * string address = 2; * @return The address. */ java.lang.String getAddress(); /** * string address = 2; * @return The bytes for address. */ com.google.protobuf.ByteString getAddressBytes(); /** * int64 worker_version = 3; * @return The workerVersion. */ long getWorkerVersion(); } /** * Protobuf type {@code cz.proto.coordinator.GetJobAddressResponse} */ public static final class GetJobAddressResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.GetJobAddressResponse) GetJobAddressResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetJobAddressResponse.newBuilder() to construct. private GetJobAddressResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetJobAddressResponse() { address_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetJobAddressResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetJobAddressResponse( 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.ServiceCommon.ResponseStatus.Builder subBuilder = null; if (respStatus_ != null) { subBuilder = respStatus_.toBuilder(); } respStatus_ = input.readMessage(cz.proto.ServiceCommon.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(respStatus_); respStatus_ = subBuilder.buildPartial(); } break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); address_ = s; break; } case 24: { workerVersion_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobAddressResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobAddressResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse.Builder.class); } public static final int RESP_STATUS_FIELD_NUMBER = 1; private cz.proto.ServiceCommon.ResponseStatus respStatus_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ @java.lang.Override public boolean hasRespStatus() { return respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } /** * .cz.proto.ResponseStatus resp_status = 1; */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { return getRespStatus(); } public static final int ADDRESS_FIELD_NUMBER = 2; private volatile java.lang.Object address_; /** * string address = 2; * @return The address. */ @java.lang.Override public java.lang.String getAddress() { java.lang.Object ref = address_; 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(); address_ = s; return s; } } /** * string address = 2; * @return The bytes for address. */ @java.lang.Override public com.google.protobuf.ByteString getAddressBytes() { java.lang.Object ref = address_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); address_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int WORKER_VERSION_FIELD_NUMBER = 3; private long workerVersion_; /** * int64 worker_version = 3; * @return The workerVersion. */ @java.lang.Override public long getWorkerVersion() { return workerVersion_; } 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 (respStatus_ != null) { output.writeMessage(1, getRespStatus()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(address_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, address_); } if (workerVersion_ != 0L) { output.writeInt64(3, workerVersion_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (respStatus_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRespStatus()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(address_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, address_); } if (workerVersion_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, workerVersion_); } 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.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse other = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse) obj; if (hasRespStatus() != other.hasRespStatus()) return false; if (hasRespStatus()) { if (!getRespStatus() .equals(other.getRespStatus())) return false; } if (!getAddress() .equals(other.getAddress())) return false; if (getWorkerVersion() != other.getWorkerVersion()) 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 (hasRespStatus()) { hash = (37 * hash) + RESP_STATUS_FIELD_NUMBER; hash = (53 * hash) + getRespStatus().hashCode(); } hash = (37 * hash) + ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getAddress().hashCode(); hash = (37 * hash) + WORKER_VERSION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getWorkerVersion()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse 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.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse 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.coordinator.GetJobAddressResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.GetJobAddressResponse) cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobAddressResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobAddressResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse.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 (respStatusBuilder_ == null) { respStatus_ = null; } else { respStatus_ = null; respStatusBuilder_ = null; } address_ = ""; workerVersion_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetJobAddressResponse_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse build() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse result = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse(this); if (respStatusBuilder_ == null) { result.respStatus_ = respStatus_; } else { result.respStatus_ = respStatusBuilder_.build(); } result.address_ = address_; result.workerVersion_ = workerVersion_; 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.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse.getDefaultInstance()) return this; if (other.hasRespStatus()) { mergeRespStatus(other.getRespStatus()); } if (!other.getAddress().isEmpty()) { address_ = other.address_; onChanged(); } if (other.getWorkerVersion() != 0L) { setWorkerVersion(other.getWorkerVersion()); } 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.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.ServiceCommon.ResponseStatus respStatus_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> respStatusBuilder_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ public boolean hasRespStatus() { return respStatusBuilder_ != null || respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { if (respStatusBuilder_ == null) { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } else { return respStatusBuilder_.getMessage(); } } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } respStatus_ = value; onChanged(); } else { respStatusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus( cz.proto.ServiceCommon.ResponseStatus.Builder builderForValue) { if (respStatusBuilder_ == null) { respStatus_ = builderForValue.build(); onChanged(); } else { respStatusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder mergeRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (respStatus_ != null) { respStatus_ = cz.proto.ServiceCommon.ResponseStatus.newBuilder(respStatus_).mergeFrom(value).buildPartial(); } else { respStatus_ = value; } onChanged(); } else { respStatusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder clearRespStatus() { if (respStatusBuilder_ == null) { respStatus_ = null; onChanged(); } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatus.Builder getRespStatusBuilder() { onChanged(); return getRespStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { if (respStatusBuilder_ != null) { return respStatusBuilder_.getMessageOrBuilder(); } else { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } } /** * .cz.proto.ResponseStatus resp_status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> getRespStatusFieldBuilder() { if (respStatusBuilder_ == null) { respStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder>( getRespStatus(), getParentForChildren(), isClean()); respStatus_ = null; } return respStatusBuilder_; } private java.lang.Object address_ = ""; /** * string address = 2; * @return The address. */ public java.lang.String getAddress() { java.lang.Object ref = address_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); address_ = s; return s; } else { return (java.lang.String) ref; } } /** * string address = 2; * @return The bytes for address. */ public com.google.protobuf.ByteString getAddressBytes() { java.lang.Object ref = address_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); address_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string address = 2; * @param value The address to set. * @return This builder for chaining. */ public Builder setAddress( java.lang.String value) { if (value == null) { throw new NullPointerException(); } address_ = value; onChanged(); return this; } /** * string address = 2; * @return This builder for chaining. */ public Builder clearAddress() { address_ = getDefaultInstance().getAddress(); onChanged(); return this; } /** * string address = 2; * @param value The bytes for address to set. * @return This builder for chaining. */ public Builder setAddressBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); address_ = value; onChanged(); return this; } private long workerVersion_ ; /** * int64 worker_version = 3; * @return The workerVersion. */ @java.lang.Override public long getWorkerVersion() { return workerVersion_; } /** * int64 worker_version = 3; * @param value The workerVersion to set. * @return This builder for chaining. */ public Builder setWorkerVersion(long value) { workerVersion_ = value; onChanged(); return this; } /** * int64 worker_version = 3; * @return This builder for chaining. */ public Builder clearWorkerVersion() { workerVersion_ = 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.coordinator.GetJobAddressResponse) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.GetJobAddressResponse) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetJobAddressResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetJobAddressResponse(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.coordinator.CoordinatorServiceOuterClass.GetJobAddressResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ProcessInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.ProcessInfo) com.google.protobuf.MessageOrBuilder { /** * int64 memory_mb = 1; * @return The memoryMb. */ long getMemoryMb(); /** * int32 execute_thread = 2; * @return The executeThread. */ int getExecuteThread(); /** * int32 job_waiting = 3; * @return The jobWaiting. */ int getJobWaiting(); /** * int32 job_running = 4; * @return The jobRunning. */ int getJobRunning(); } /** * Protobuf type {@code cz.proto.coordinator.ProcessInfo} */ public static final class ProcessInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.ProcessInfo) ProcessInfoOrBuilder { private static final long serialVersionUID = 0L; // Use ProcessInfo.newBuilder() to construct. private ProcessInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ProcessInfo() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ProcessInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ProcessInfo( 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: { memoryMb_ = input.readInt64(); break; } case 16: { executeThread_ = input.readInt32(); break; } case 24: { jobWaiting_ = input.readInt32(); break; } case 32: { jobRunning_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ProcessInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ProcessInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo.class, cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo.Builder.class); } public static final int MEMORY_MB_FIELD_NUMBER = 1; private long memoryMb_; /** * int64 memory_mb = 1; * @return The memoryMb. */ @java.lang.Override public long getMemoryMb() { return memoryMb_; } public static final int EXECUTE_THREAD_FIELD_NUMBER = 2; private int executeThread_; /** * int32 execute_thread = 2; * @return The executeThread. */ @java.lang.Override public int getExecuteThread() { return executeThread_; } public static final int JOB_WAITING_FIELD_NUMBER = 3; private int jobWaiting_; /** * int32 job_waiting = 3; * @return The jobWaiting. */ @java.lang.Override public int getJobWaiting() { return jobWaiting_; } public static final int JOB_RUNNING_FIELD_NUMBER = 4; private int jobRunning_; /** * int32 job_running = 4; * @return The jobRunning. */ @java.lang.Override public int getJobRunning() { return jobRunning_; } 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 (memoryMb_ != 0L) { output.writeInt64(1, memoryMb_); } if (executeThread_ != 0) { output.writeInt32(2, executeThread_); } if (jobWaiting_ != 0) { output.writeInt32(3, jobWaiting_); } if (jobRunning_ != 0) { output.writeInt32(4, jobRunning_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (memoryMb_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, memoryMb_); } if (executeThread_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(2, executeThread_); } if (jobWaiting_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, jobWaiting_); } if (jobRunning_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(4, jobRunning_); } 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.coordinator.CoordinatorServiceOuterClass.ProcessInfo)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo other = (cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo) obj; if (getMemoryMb() != other.getMemoryMb()) return false; if (getExecuteThread() != other.getExecuteThread()) return false; if (getJobWaiting() != other.getJobWaiting()) return false; if (getJobRunning() != other.getJobRunning()) 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) + MEMORY_MB_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMemoryMb()); hash = (37 * hash) + EXECUTE_THREAD_FIELD_NUMBER; hash = (53 * hash) + getExecuteThread(); hash = (37 * hash) + JOB_WAITING_FIELD_NUMBER; hash = (53 * hash) + getJobWaiting(); hash = (37 * hash) + JOB_RUNNING_FIELD_NUMBER; hash = (53 * hash) + getJobRunning(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo 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.coordinator.CoordinatorServiceOuterClass.ProcessInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo 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.coordinator.CoordinatorServiceOuterClass.ProcessInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo 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.coordinator.CoordinatorServiceOuterClass.ProcessInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo 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.coordinator.CoordinatorServiceOuterClass.ProcessInfo 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.coordinator.ProcessInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.ProcessInfo) cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ProcessInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ProcessInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo.class, cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo.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(); memoryMb_ = 0L; executeThread_ = 0; jobWaiting_ = 0; jobRunning_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ProcessInfo_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo build() { cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo result = new cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo(this); result.memoryMb_ = memoryMb_; result.executeThread_ = executeThread_; result.jobWaiting_ = jobWaiting_; result.jobRunning_ = jobRunning_; 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.coordinator.CoordinatorServiceOuterClass.ProcessInfo) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo.getDefaultInstance()) return this; if (other.getMemoryMb() != 0L) { setMemoryMb(other.getMemoryMb()); } if (other.getExecuteThread() != 0) { setExecuteThread(other.getExecuteThread()); } if (other.getJobWaiting() != 0) { setJobWaiting(other.getJobWaiting()); } if (other.getJobRunning() != 0) { setJobRunning(other.getJobRunning()); } 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.coordinator.CoordinatorServiceOuterClass.ProcessInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long memoryMb_ ; /** * int64 memory_mb = 1; * @return The memoryMb. */ @java.lang.Override public long getMemoryMb() { return memoryMb_; } /** * int64 memory_mb = 1; * @param value The memoryMb to set. * @return This builder for chaining. */ public Builder setMemoryMb(long value) { memoryMb_ = value; onChanged(); return this; } /** * int64 memory_mb = 1; * @return This builder for chaining. */ public Builder clearMemoryMb() { memoryMb_ = 0L; onChanged(); return this; } private int executeThread_ ; /** * int32 execute_thread = 2; * @return The executeThread. */ @java.lang.Override public int getExecuteThread() { return executeThread_; } /** * int32 execute_thread = 2; * @param value The executeThread to set. * @return This builder for chaining. */ public Builder setExecuteThread(int value) { executeThread_ = value; onChanged(); return this; } /** * int32 execute_thread = 2; * @return This builder for chaining. */ public Builder clearExecuteThread() { executeThread_ = 0; onChanged(); return this; } private int jobWaiting_ ; /** * int32 job_waiting = 3; * @return The jobWaiting. */ @java.lang.Override public int getJobWaiting() { return jobWaiting_; } /** * int32 job_waiting = 3; * @param value The jobWaiting to set. * @return This builder for chaining. */ public Builder setJobWaiting(int value) { jobWaiting_ = value; onChanged(); return this; } /** * int32 job_waiting = 3; * @return This builder for chaining. */ public Builder clearJobWaiting() { jobWaiting_ = 0; onChanged(); return this; } private int jobRunning_ ; /** * int32 job_running = 4; * @return The jobRunning. */ @java.lang.Override public int getJobRunning() { return jobRunning_; } /** * int32 job_running = 4; * @param value The jobRunning to set. * @return This builder for chaining. */ public Builder setJobRunning(int value) { jobRunning_ = value; onChanged(); return this; } /** * int32 job_running = 4; * @return This builder for chaining. */ public Builder clearJobRunning() { jobRunning_ = 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.coordinator.ProcessInfo) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.ProcessInfo) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ProcessInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ProcessInfo(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.coordinator.CoordinatorServiceOuterClass.ProcessInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface HystrixInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.HystrixInfo) com.google.protobuf.MessageOrBuilder { /** * int64 instance_id = 1; * @return The instanceId. */ long getInstanceId(); /** * optional string workspace = 2; * @return Whether the workspace field is set. */ boolean hasWorkspace(); /** * optional string workspace = 2; * @return The workspace. */ java.lang.String getWorkspace(); /** * optional string workspace = 2; * @return The bytes for workspace. */ com.google.protobuf.ByteString getWorkspaceBytes(); /** * optional bool prohibit = 3; * @return Whether the prohibit field is set. */ boolean hasProhibit(); /** * optional bool prohibit = 3; * @return The prohibit. */ boolean getProhibit(); } /** * Protobuf type {@code cz.proto.coordinator.HystrixInfo} */ public static final class HystrixInfo extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.HystrixInfo) HystrixInfoOrBuilder { private static final long serialVersionUID = 0L; // Use HystrixInfo.newBuilder() to construct. private HystrixInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private HystrixInfo() { workspace_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new HystrixInfo(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private HystrixInfo( 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(); bitField0_ |= 0x00000001; workspace_ = s; break; } case 24: { bitField0_ |= 0x00000002; prohibit_ = input.readBool(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HystrixInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HystrixInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo.class, cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo.Builder.class); } private int bitField0_; 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_; /** * optional string workspace = 2; * @return Whether the workspace field is set. */ @java.lang.Override public boolean hasWorkspace() { return ((bitField0_ & 0x00000001) != 0); } /** * optional 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; } } /** * optional 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 PROHIBIT_FIELD_NUMBER = 3; private boolean prohibit_; /** * optional bool prohibit = 3; * @return Whether the prohibit field is set. */ @java.lang.Override public boolean hasProhibit() { return ((bitField0_ & 0x00000002) != 0); } /** * optional bool prohibit = 3; * @return The prohibit. */ @java.lang.Override public boolean getProhibit() { return prohibit_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (instanceId_ != 0L) { output.writeInt64(1, instanceId_); } if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, workspace_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeBool(3, prohibit_); } 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 (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, workspace_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, prohibit_); } 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.coordinator.CoordinatorServiceOuterClass.HystrixInfo)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo other = (cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo) obj; if (getInstanceId() != other.getInstanceId()) return false; if (hasWorkspace() != other.hasWorkspace()) return false; if (hasWorkspace()) { if (!getWorkspace() .equals(other.getWorkspace())) return false; } if (hasProhibit() != other.hasProhibit()) return false; if (hasProhibit()) { if (getProhibit() != other.getProhibit()) 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()); if (hasWorkspace()) { hash = (37 * hash) + WORKSPACE_FIELD_NUMBER; hash = (53 * hash) + getWorkspace().hashCode(); } if (hasProhibit()) { hash = (37 * hash) + PROHIBIT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getProhibit()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo 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.coordinator.CoordinatorServiceOuterClass.HystrixInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo 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.coordinator.CoordinatorServiceOuterClass.HystrixInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo 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.coordinator.CoordinatorServiceOuterClass.HystrixInfo parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo 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.coordinator.CoordinatorServiceOuterClass.HystrixInfo 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.coordinator.HystrixInfo} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.HystrixInfo) cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HystrixInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HystrixInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo.class, cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo.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_ = ""; bitField0_ = (bitField0_ & ~0x00000001); prohibit_ = false; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HystrixInfo_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo build() { cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo result = new cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; result.instanceId_ = instanceId_; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.workspace_ = workspace_; if (((from_bitField0_ & 0x00000002) != 0)) { result.prohibit_ = prohibit_; to_bitField0_ |= 0x00000002; } result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo.getDefaultInstance()) return this; if (other.getInstanceId() != 0L) { setInstanceId(other.getInstanceId()); } if (other.hasWorkspace()) { bitField0_ |= 0x00000001; workspace_ = other.workspace_; onChanged(); } if (other.hasProhibit()) { setProhibit(other.getProhibit()); } 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.coordinator.CoordinatorServiceOuterClass.HystrixInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo) 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_ = ""; /** * optional string workspace = 2; * @return Whether the workspace field is set. */ public boolean hasWorkspace() { return ((bitField0_ & 0x00000001) != 0); } /** * optional 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; } } /** * optional 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; } } /** * optional 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(); } bitField0_ |= 0x00000001; workspace_ = value; onChanged(); return this; } /** * optional string workspace = 2; * @return This builder for chaining. */ public Builder clearWorkspace() { bitField0_ = (bitField0_ & ~0x00000001); workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** * optional 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); bitField0_ |= 0x00000001; workspace_ = value; onChanged(); return this; } private boolean prohibit_ ; /** * optional bool prohibit = 3; * @return Whether the prohibit field is set. */ @java.lang.Override public boolean hasProhibit() { return ((bitField0_ & 0x00000002) != 0); } /** * optional bool prohibit = 3; * @return The prohibit. */ @java.lang.Override public boolean getProhibit() { return prohibit_; } /** * optional bool prohibit = 3; * @param value The prohibit to set. * @return This builder for chaining. */ public Builder setProhibit(boolean value) { bitField0_ |= 0x00000002; prohibit_ = value; onChanged(); return this; } /** * optional bool prohibit = 3; * @return This builder for chaining. */ public Builder clearProhibit() { bitField0_ = (bitField0_ & ~0x00000002); prohibit_ = 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.coordinator.HystrixInfo) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.HystrixInfo) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public HystrixInfo parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new HystrixInfo(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.coordinator.CoordinatorServiceOuterClass.HystrixInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface HeartBeatOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.HeartBeat) com.google.protobuf.MessageOrBuilder { /** *
     * timestamp(us) when worker started
     * 
* * int64 worker_version = 1; * @return The workerVersion. */ long getWorkerVersion(); /** * string worker_address = 2; * @return The workerAddress. */ java.lang.String getWorkerAddress(); /** * string worker_address = 2; * @return The bytes for workerAddress. */ com.google.protobuf.ByteString getWorkerAddressBytes(); /** *
     * timestamp(us)
     * 
* * int64 hb_time = 3; * @return The hbTime. */ long getHbTime(); /** * int64 sequence_num = 4; * @return The sequenceNum. */ long getSequenceNum(); /** *
     * report current running job list for address cache
     * 
* * repeated .cz.proto.coordinator.JobID job_ids = 5; */ java.util.List getJobIdsList(); /** *
     * report current running job list for address cache
     * 
* * repeated .cz.proto.coordinator.JobID job_ids = 5; */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobIds(int index); /** *
     * report current running job list for address cache
     * 
* * repeated .cz.proto.coordinator.JobID job_ids = 5; */ int getJobIdsCount(); /** *
     * report current running job list for address cache
     * 
* * repeated .cz.proto.coordinator.JobID job_ids = 5; */ java.util.List getJobIdsOrBuilderList(); /** *
     * report current running job list for address cache
     * 
* * repeated .cz.proto.coordinator.JobID job_ids = 5; */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdsOrBuilder( int index); /** *
     * report terminated job list for address cache
     * 
* * repeated .cz.proto.coordinator.JobID terminated_job_ids = 6; */ java.util.List getTerminatedJobIdsList(); /** *
     * report terminated job list for address cache
     * 
* * repeated .cz.proto.coordinator.JobID terminated_job_ids = 6; */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getTerminatedJobIds(int index); /** *
     * report terminated job list for address cache
     * 
* * repeated .cz.proto.coordinator.JobID terminated_job_ids = 6; */ int getTerminatedJobIdsCount(); /** *
     * report terminated job list for address cache
     * 
* * repeated .cz.proto.coordinator.JobID terminated_job_ids = 6; */ java.util.List getTerminatedJobIdsOrBuilderList(); /** *
     * report terminated job list for address cache
     * 
* * repeated .cz.proto.coordinator.JobID terminated_job_ids = 6; */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getTerminatedJobIdsOrBuilder( int index); /** *
     * worker release version: release1/release2/flighting1/flighting2
     * 
* * string release_version = 7; * @return The releaseVersion. */ java.lang.String getReleaseVersion(); /** *
     * worker release version: release1/release2/flighting1/flighting2
     * 
* * string release_version = 7; * @return The bytes for releaseVersion. */ com.google.protobuf.ByteString getReleaseVersionBytes(); /** * .cz.proto.coordinator.ProcessInfo process_info = 8; * @return Whether the processInfo field is set. */ boolean hasProcessInfo(); /** * .cz.proto.coordinator.ProcessInfo process_info = 8; * @return The processInfo. */ cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo getProcessInfo(); /** * .cz.proto.coordinator.ProcessInfo process_info = 8; */ cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfoOrBuilder getProcessInfoOrBuilder(); /** * int64 service_route_version = 9; * @return The serviceRouteVersion. */ long getServiceRouteVersion(); /** * map<string, .cz.proto.JobProfiling> job_profilings = 10; */ int getJobProfilingsCount(); /** * map<string, .cz.proto.JobProfiling> job_profilings = 10; */ boolean containsJobProfilings( java.lang.String key); /** * Use {@link #getJobProfilingsMap()} instead. */ @java.lang.Deprecated java.util.Map getJobProfilings(); /** * map<string, .cz.proto.JobProfiling> job_profilings = 10; */ java.util.Map getJobProfilingsMap(); /** * map<string, .cz.proto.JobProfiling> job_profilings = 10; */ cz.proto.JobProfiling getJobProfilingsOrDefault( java.lang.String key, cz.proto.JobProfiling defaultValue); /** * map<string, .cz.proto.JobProfiling> job_profilings = 10; */ cz.proto.JobProfiling getJobProfilingsOrThrow( java.lang.String key); } /** * Protobuf type {@code cz.proto.coordinator.HeartBeat} */ public static final class HeartBeat extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.HeartBeat) HeartBeatOrBuilder { private static final long serialVersionUID = 0L; // Use HeartBeat.newBuilder() to construct. private HeartBeat(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private HeartBeat() { workerAddress_ = ""; jobIds_ = java.util.Collections.emptyList(); terminatedJobIds_ = java.util.Collections.emptyList(); releaseVersion_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new HeartBeat(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private HeartBeat( 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: { workerVersion_ = input.readInt64(); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); workerAddress_ = s; break; } case 24: { hbTime_ = input.readInt64(); break; } case 32: { sequenceNum_ = input.readInt64(); break; } case 42: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { jobIds_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } jobIds_.add( input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.parser(), extensionRegistry)); break; } case 50: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { terminatedJobIds_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } terminatedJobIds_.add( input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.parser(), extensionRegistry)); break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); releaseVersion_ = s; break; } case 66: { cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo.Builder subBuilder = null; if (processInfo_ != null) { subBuilder = processInfo_.toBuilder(); } processInfo_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(processInfo_); processInfo_ = subBuilder.buildPartial(); } break; } case 72: { serviceRouteVersion_ = input.readInt64(); break; } case 82: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { jobProfilings_ = com.google.protobuf.MapField.newMapField( JobProfilingsDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000004; } com.google.protobuf.MapEntry jobProfilings__ = input.readMessage( JobProfilingsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); jobProfilings_.getMutableMap().put( jobProfilings__.getKey(), jobProfilings__.getValue()); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { jobIds_ = java.util.Collections.unmodifiableList(jobIds_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { terminatedJobIds_ = java.util.Collections.unmodifiableList(terminatedJobIds_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HeartBeat_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 10: return internalGetJobProfilings(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HeartBeat_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat.class, cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat.Builder.class); } public static final int WORKER_VERSION_FIELD_NUMBER = 1; private long workerVersion_; /** *
     * timestamp(us) when worker started
     * 
* * int64 worker_version = 1; * @return The workerVersion. */ @java.lang.Override public long getWorkerVersion() { return workerVersion_; } public static final int WORKER_ADDRESS_FIELD_NUMBER = 2; private volatile java.lang.Object workerAddress_; /** * string worker_address = 2; * @return The workerAddress. */ @java.lang.Override public java.lang.String getWorkerAddress() { java.lang.Object ref = workerAddress_; 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(); workerAddress_ = s; return s; } } /** * string worker_address = 2; * @return The bytes for workerAddress. */ @java.lang.Override public com.google.protobuf.ByteString getWorkerAddressBytes() { java.lang.Object ref = workerAddress_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workerAddress_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int HB_TIME_FIELD_NUMBER = 3; private long hbTime_; /** *
     * timestamp(us)
     * 
* * int64 hb_time = 3; * @return The hbTime. */ @java.lang.Override public long getHbTime() { return hbTime_; } public static final int SEQUENCE_NUM_FIELD_NUMBER = 4; private long sequenceNum_; /** * int64 sequence_num = 4; * @return The sequenceNum. */ @java.lang.Override public long getSequenceNum() { return sequenceNum_; } public static final int JOB_IDS_FIELD_NUMBER = 5; private java.util.List jobIds_; /** *
     * report current running job list for address cache
     * 
* * repeated .cz.proto.coordinator.JobID job_ids = 5; */ @java.lang.Override public java.util.List getJobIdsList() { return jobIds_; } /** *
     * report current running job list for address cache
     * 
* * repeated .cz.proto.coordinator.JobID job_ids = 5; */ @java.lang.Override public java.util.List getJobIdsOrBuilderList() { return jobIds_; } /** *
     * report current running job list for address cache
     * 
* * repeated .cz.proto.coordinator.JobID job_ids = 5; */ @java.lang.Override public int getJobIdsCount() { return jobIds_.size(); } /** *
     * report current running job list for address cache
     * 
* * repeated .cz.proto.coordinator.JobID job_ids = 5; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobIds(int index) { return jobIds_.get(index); } /** *
     * report current running job list for address cache
     * 
* * repeated .cz.proto.coordinator.JobID job_ids = 5; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdsOrBuilder( int index) { return jobIds_.get(index); } public static final int TERMINATED_JOB_IDS_FIELD_NUMBER = 6; private java.util.List terminatedJobIds_; /** *
     * report terminated job list for address cache
     * 
* * repeated .cz.proto.coordinator.JobID terminated_job_ids = 6; */ @java.lang.Override public java.util.List getTerminatedJobIdsList() { return terminatedJobIds_; } /** *
     * report terminated job list for address cache
     * 
* * repeated .cz.proto.coordinator.JobID terminated_job_ids = 6; */ @java.lang.Override public java.util.List getTerminatedJobIdsOrBuilderList() { return terminatedJobIds_; } /** *
     * report terminated job list for address cache
     * 
* * repeated .cz.proto.coordinator.JobID terminated_job_ids = 6; */ @java.lang.Override public int getTerminatedJobIdsCount() { return terminatedJobIds_.size(); } /** *
     * report terminated job list for address cache
     * 
* * repeated .cz.proto.coordinator.JobID terminated_job_ids = 6; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getTerminatedJobIds(int index) { return terminatedJobIds_.get(index); } /** *
     * report terminated job list for address cache
     * 
* * repeated .cz.proto.coordinator.JobID terminated_job_ids = 6; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getTerminatedJobIdsOrBuilder( int index) { return terminatedJobIds_.get(index); } public static final int RELEASE_VERSION_FIELD_NUMBER = 7; private volatile java.lang.Object releaseVersion_; /** *
     * worker release version: release1/release2/flighting1/flighting2
     * 
* * string release_version = 7; * @return The releaseVersion. */ @java.lang.Override public java.lang.String getReleaseVersion() { java.lang.Object ref = releaseVersion_; 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(); releaseVersion_ = s; return s; } } /** *
     * worker release version: release1/release2/flighting1/flighting2
     * 
* * string release_version = 7; * @return The bytes for releaseVersion. */ @java.lang.Override public com.google.protobuf.ByteString getReleaseVersionBytes() { java.lang.Object ref = releaseVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); releaseVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PROCESS_INFO_FIELD_NUMBER = 8; private cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo processInfo_; /** * .cz.proto.coordinator.ProcessInfo process_info = 8; * @return Whether the processInfo field is set. */ @java.lang.Override public boolean hasProcessInfo() { return processInfo_ != null; } /** * .cz.proto.coordinator.ProcessInfo process_info = 8; * @return The processInfo. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo getProcessInfo() { return processInfo_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo.getDefaultInstance() : processInfo_; } /** * .cz.proto.coordinator.ProcessInfo process_info = 8; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfoOrBuilder getProcessInfoOrBuilder() { return getProcessInfo(); } public static final int SERVICE_ROUTE_VERSION_FIELD_NUMBER = 9; private long serviceRouteVersion_; /** * int64 service_route_version = 9; * @return The serviceRouteVersion. */ @java.lang.Override public long getServiceRouteVersion() { return serviceRouteVersion_; } public static final int JOB_PROFILINGS_FIELD_NUMBER = 10; private static final class JobProfilingsDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, cz.proto.JobProfiling> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HeartBeat_JobProfilingsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, cz.proto.JobProfiling.getDefaultInstance()); } private com.google.protobuf.MapField< java.lang.String, cz.proto.JobProfiling> jobProfilings_; private com.google.protobuf.MapField internalGetJobProfilings() { if (jobProfilings_ == null) { return com.google.protobuf.MapField.emptyMapField( JobProfilingsDefaultEntryHolder.defaultEntry); } return jobProfilings_; } public int getJobProfilingsCount() { return internalGetJobProfilings().getMap().size(); } /** * map<string, .cz.proto.JobProfiling> job_profilings = 10; */ @java.lang.Override public boolean containsJobProfilings( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetJobProfilings().getMap().containsKey(key); } /** * Use {@link #getJobProfilingsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getJobProfilings() { return getJobProfilingsMap(); } /** * map<string, .cz.proto.JobProfiling> job_profilings = 10; */ @java.lang.Override public java.util.Map getJobProfilingsMap() { return internalGetJobProfilings().getMap(); } /** * map<string, .cz.proto.JobProfiling> job_profilings = 10; */ @java.lang.Override public cz.proto.JobProfiling getJobProfilingsOrDefault( java.lang.String key, cz.proto.JobProfiling defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetJobProfilings().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .cz.proto.JobProfiling> job_profilings = 10; */ @java.lang.Override public cz.proto.JobProfiling getJobProfilingsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetJobProfilings().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 (workerVersion_ != 0L) { output.writeInt64(1, workerVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workerAddress_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, workerAddress_); } if (hbTime_ != 0L) { output.writeInt64(3, hbTime_); } if (sequenceNum_ != 0L) { output.writeInt64(4, sequenceNum_); } for (int i = 0; i < jobIds_.size(); i++) { output.writeMessage(5, jobIds_.get(i)); } for (int i = 0; i < terminatedJobIds_.size(); i++) { output.writeMessage(6, terminatedJobIds_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(releaseVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, releaseVersion_); } if (processInfo_ != null) { output.writeMessage(8, getProcessInfo()); } if (serviceRouteVersion_ != 0L) { output.writeInt64(9, serviceRouteVersion_); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetJobProfilings(), JobProfilingsDefaultEntryHolder.defaultEntry, 10); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (workerVersion_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, workerVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workerAddress_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, workerAddress_); } if (hbTime_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, hbTime_); } if (sequenceNum_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, sequenceNum_); } for (int i = 0; i < jobIds_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, jobIds_.get(i)); } for (int i = 0; i < terminatedJobIds_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, terminatedJobIds_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(releaseVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, releaseVersion_); } if (processInfo_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getProcessInfo()); } if (serviceRouteVersion_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(9, serviceRouteVersion_); } for (java.util.Map.Entry entry : internalGetJobProfilings().getMap().entrySet()) { com.google.protobuf.MapEntry jobProfilings__ = JobProfilingsDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, jobProfilings__); } 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.coordinator.CoordinatorServiceOuterClass.HeartBeat)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat other = (cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat) obj; if (getWorkerVersion() != other.getWorkerVersion()) return false; if (!getWorkerAddress() .equals(other.getWorkerAddress())) return false; if (getHbTime() != other.getHbTime()) return false; if (getSequenceNum() != other.getSequenceNum()) return false; if (!getJobIdsList() .equals(other.getJobIdsList())) return false; if (!getTerminatedJobIdsList() .equals(other.getTerminatedJobIdsList())) return false; if (!getReleaseVersion() .equals(other.getReleaseVersion())) return false; if (hasProcessInfo() != other.hasProcessInfo()) return false; if (hasProcessInfo()) { if (!getProcessInfo() .equals(other.getProcessInfo())) return false; } if (getServiceRouteVersion() != other.getServiceRouteVersion()) return false; if (!internalGetJobProfilings().equals( other.internalGetJobProfilings())) 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_VERSION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getWorkerVersion()); hash = (37 * hash) + WORKER_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getWorkerAddress().hashCode(); hash = (37 * hash) + HB_TIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getHbTime()); hash = (37 * hash) + SEQUENCE_NUM_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSequenceNum()); if (getJobIdsCount() > 0) { hash = (37 * hash) + JOB_IDS_FIELD_NUMBER; hash = (53 * hash) + getJobIdsList().hashCode(); } if (getTerminatedJobIdsCount() > 0) { hash = (37 * hash) + TERMINATED_JOB_IDS_FIELD_NUMBER; hash = (53 * hash) + getTerminatedJobIdsList().hashCode(); } hash = (37 * hash) + RELEASE_VERSION_FIELD_NUMBER; hash = (53 * hash) + getReleaseVersion().hashCode(); if (hasProcessInfo()) { hash = (37 * hash) + PROCESS_INFO_FIELD_NUMBER; hash = (53 * hash) + getProcessInfo().hashCode(); } hash = (37 * hash) + SERVICE_ROUTE_VERSION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getServiceRouteVersion()); if (!internalGetJobProfilings().getMap().isEmpty()) { hash = (37 * hash) + JOB_PROFILINGS_FIELD_NUMBER; hash = (53 * hash) + internalGetJobProfilings().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat 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.coordinator.CoordinatorServiceOuterClass.HeartBeat parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat 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.coordinator.CoordinatorServiceOuterClass.HeartBeat parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat 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.coordinator.CoordinatorServiceOuterClass.HeartBeat parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat 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.coordinator.CoordinatorServiceOuterClass.HeartBeat 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.coordinator.HeartBeat} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.HeartBeat) cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HeartBeat_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 10: return internalGetJobProfilings(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 10: return internalGetMutableJobProfilings(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HeartBeat_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat.class, cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getJobIdsFieldBuilder(); getTerminatedJobIdsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); workerVersion_ = 0L; workerAddress_ = ""; hbTime_ = 0L; sequenceNum_ = 0L; if (jobIdsBuilder_ == null) { jobIds_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { jobIdsBuilder_.clear(); } if (terminatedJobIdsBuilder_ == null) { terminatedJobIds_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { terminatedJobIdsBuilder_.clear(); } releaseVersion_ = ""; if (processInfoBuilder_ == null) { processInfo_ = null; } else { processInfo_ = null; processInfoBuilder_ = null; } serviceRouteVersion_ = 0L; internalGetMutableJobProfilings().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HeartBeat_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat build() { cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat result = new cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat(this); int from_bitField0_ = bitField0_; result.workerVersion_ = workerVersion_; result.workerAddress_ = workerAddress_; result.hbTime_ = hbTime_; result.sequenceNum_ = sequenceNum_; if (jobIdsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { jobIds_ = java.util.Collections.unmodifiableList(jobIds_); bitField0_ = (bitField0_ & ~0x00000001); } result.jobIds_ = jobIds_; } else { result.jobIds_ = jobIdsBuilder_.build(); } if (terminatedJobIdsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { terminatedJobIds_ = java.util.Collections.unmodifiableList(terminatedJobIds_); bitField0_ = (bitField0_ & ~0x00000002); } result.terminatedJobIds_ = terminatedJobIds_; } else { result.terminatedJobIds_ = terminatedJobIdsBuilder_.build(); } result.releaseVersion_ = releaseVersion_; if (processInfoBuilder_ == null) { result.processInfo_ = processInfo_; } else { result.processInfo_ = processInfoBuilder_.build(); } result.serviceRouteVersion_ = serviceRouteVersion_; result.jobProfilings_ = internalGetJobProfilings(); result.jobProfilings_.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.coordinator.CoordinatorServiceOuterClass.HeartBeat) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat.getDefaultInstance()) return this; if (other.getWorkerVersion() != 0L) { setWorkerVersion(other.getWorkerVersion()); } if (!other.getWorkerAddress().isEmpty()) { workerAddress_ = other.workerAddress_; onChanged(); } if (other.getHbTime() != 0L) { setHbTime(other.getHbTime()); } if (other.getSequenceNum() != 0L) { setSequenceNum(other.getSequenceNum()); } if (jobIdsBuilder_ == null) { if (!other.jobIds_.isEmpty()) { if (jobIds_.isEmpty()) { jobIds_ = other.jobIds_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureJobIdsIsMutable(); jobIds_.addAll(other.jobIds_); } onChanged(); } } else { if (!other.jobIds_.isEmpty()) { if (jobIdsBuilder_.isEmpty()) { jobIdsBuilder_.dispose(); jobIdsBuilder_ = null; jobIds_ = other.jobIds_; bitField0_ = (bitField0_ & ~0x00000001); jobIdsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getJobIdsFieldBuilder() : null; } else { jobIdsBuilder_.addAllMessages(other.jobIds_); } } } if (terminatedJobIdsBuilder_ == null) { if (!other.terminatedJobIds_.isEmpty()) { if (terminatedJobIds_.isEmpty()) { terminatedJobIds_ = other.terminatedJobIds_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureTerminatedJobIdsIsMutable(); terminatedJobIds_.addAll(other.terminatedJobIds_); } onChanged(); } } else { if (!other.terminatedJobIds_.isEmpty()) { if (terminatedJobIdsBuilder_.isEmpty()) { terminatedJobIdsBuilder_.dispose(); terminatedJobIdsBuilder_ = null; terminatedJobIds_ = other.terminatedJobIds_; bitField0_ = (bitField0_ & ~0x00000002); terminatedJobIdsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTerminatedJobIdsFieldBuilder() : null; } else { terminatedJobIdsBuilder_.addAllMessages(other.terminatedJobIds_); } } } if (!other.getReleaseVersion().isEmpty()) { releaseVersion_ = other.releaseVersion_; onChanged(); } if (other.hasProcessInfo()) { mergeProcessInfo(other.getProcessInfo()); } if (other.getServiceRouteVersion() != 0L) { setServiceRouteVersion(other.getServiceRouteVersion()); } internalGetMutableJobProfilings().mergeFrom( other.internalGetJobProfilings()); 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.coordinator.CoordinatorServiceOuterClass.HeartBeat parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long workerVersion_ ; /** *
       * timestamp(us) when worker started
       * 
* * int64 worker_version = 1; * @return The workerVersion. */ @java.lang.Override public long getWorkerVersion() { return workerVersion_; } /** *
       * timestamp(us) when worker started
       * 
* * int64 worker_version = 1; * @param value The workerVersion to set. * @return This builder for chaining. */ public Builder setWorkerVersion(long value) { workerVersion_ = value; onChanged(); return this; } /** *
       * timestamp(us) when worker started
       * 
* * int64 worker_version = 1; * @return This builder for chaining. */ public Builder clearWorkerVersion() { workerVersion_ = 0L; onChanged(); return this; } private java.lang.Object workerAddress_ = ""; /** * string worker_address = 2; * @return The workerAddress. */ public java.lang.String getWorkerAddress() { java.lang.Object ref = workerAddress_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workerAddress_ = s; return s; } else { return (java.lang.String) ref; } } /** * string worker_address = 2; * @return The bytes for workerAddress. */ public com.google.protobuf.ByteString getWorkerAddressBytes() { java.lang.Object ref = workerAddress_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workerAddress_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string worker_address = 2; * @param value The workerAddress to set. * @return This builder for chaining. */ public Builder setWorkerAddress( java.lang.String value) { if (value == null) { throw new NullPointerException(); } workerAddress_ = value; onChanged(); return this; } /** * string worker_address = 2; * @return This builder for chaining. */ public Builder clearWorkerAddress() { workerAddress_ = getDefaultInstance().getWorkerAddress(); onChanged(); return this; } /** * string worker_address = 2; * @param value The bytes for workerAddress to set. * @return This builder for chaining. */ public Builder setWorkerAddressBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); workerAddress_ = value; onChanged(); return this; } private long hbTime_ ; /** *
       * timestamp(us)
       * 
* * int64 hb_time = 3; * @return The hbTime. */ @java.lang.Override public long getHbTime() { return hbTime_; } /** *
       * timestamp(us)
       * 
* * int64 hb_time = 3; * @param value The hbTime to set. * @return This builder for chaining. */ public Builder setHbTime(long value) { hbTime_ = value; onChanged(); return this; } /** *
       * timestamp(us)
       * 
* * int64 hb_time = 3; * @return This builder for chaining. */ public Builder clearHbTime() { hbTime_ = 0L; onChanged(); return this; } private long sequenceNum_ ; /** * int64 sequence_num = 4; * @return The sequenceNum. */ @java.lang.Override public long getSequenceNum() { return sequenceNum_; } /** * int64 sequence_num = 4; * @param value The sequenceNum to set. * @return This builder for chaining. */ public Builder setSequenceNum(long value) { sequenceNum_ = value; onChanged(); return this; } /** * int64 sequence_num = 4; * @return This builder for chaining. */ public Builder clearSequenceNum() { sequenceNum_ = 0L; onChanged(); return this; } private java.util.List jobIds_ = java.util.Collections.emptyList(); private void ensureJobIdsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { jobIds_ = new java.util.ArrayList(jobIds_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder> jobIdsBuilder_; /** *
       * report current running job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID job_ids = 5; */ public java.util.List getJobIdsList() { if (jobIdsBuilder_ == null) { return java.util.Collections.unmodifiableList(jobIds_); } else { return jobIdsBuilder_.getMessageList(); } } /** *
       * report current running job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID job_ids = 5; */ public int getJobIdsCount() { if (jobIdsBuilder_ == null) { return jobIds_.size(); } else { return jobIdsBuilder_.getCount(); } } /** *
       * report current running job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID job_ids = 5; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getJobIds(int index) { if (jobIdsBuilder_ == null) { return jobIds_.get(index); } else { return jobIdsBuilder_.getMessage(index); } } /** *
       * report current running job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID job_ids = 5; */ public Builder setJobIds( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID value) { if (jobIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureJobIdsIsMutable(); jobIds_.set(index, value); onChanged(); } else { jobIdsBuilder_.setMessage(index, value); } return this; } /** *
       * report current running job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID job_ids = 5; */ public Builder setJobIds( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder builderForValue) { if (jobIdsBuilder_ == null) { ensureJobIdsIsMutable(); jobIds_.set(index, builderForValue.build()); onChanged(); } else { jobIdsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * report current running job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID job_ids = 5; */ public Builder addJobIds(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID value) { if (jobIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureJobIdsIsMutable(); jobIds_.add(value); onChanged(); } else { jobIdsBuilder_.addMessage(value); } return this; } /** *
       * report current running job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID job_ids = 5; */ public Builder addJobIds( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID value) { if (jobIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureJobIdsIsMutable(); jobIds_.add(index, value); onChanged(); } else { jobIdsBuilder_.addMessage(index, value); } return this; } /** *
       * report current running job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID job_ids = 5; */ public Builder addJobIds( cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder builderForValue) { if (jobIdsBuilder_ == null) { ensureJobIdsIsMutable(); jobIds_.add(builderForValue.build()); onChanged(); } else { jobIdsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * report current running job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID job_ids = 5; */ public Builder addJobIds( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder builderForValue) { if (jobIdsBuilder_ == null) { ensureJobIdsIsMutable(); jobIds_.add(index, builderForValue.build()); onChanged(); } else { jobIdsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * report current running job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID job_ids = 5; */ public Builder addAllJobIds( java.lang.Iterable values) { if (jobIdsBuilder_ == null) { ensureJobIdsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, jobIds_); onChanged(); } else { jobIdsBuilder_.addAllMessages(values); } return this; } /** *
       * report current running job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID job_ids = 5; */ public Builder clearJobIds() { if (jobIdsBuilder_ == null) { jobIds_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { jobIdsBuilder_.clear(); } return this; } /** *
       * report current running job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID job_ids = 5; */ public Builder removeJobIds(int index) { if (jobIdsBuilder_ == null) { ensureJobIdsIsMutable(); jobIds_.remove(index); onChanged(); } else { jobIdsBuilder_.remove(index); } return this; } /** *
       * report current running job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID job_ids = 5; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder getJobIdsBuilder( int index) { return getJobIdsFieldBuilder().getBuilder(index); } /** *
       * report current running job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID job_ids = 5; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getJobIdsOrBuilder( int index) { if (jobIdsBuilder_ == null) { return jobIds_.get(index); } else { return jobIdsBuilder_.getMessageOrBuilder(index); } } /** *
       * report current running job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID job_ids = 5; */ public java.util.List getJobIdsOrBuilderList() { if (jobIdsBuilder_ != null) { return jobIdsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(jobIds_); } } /** *
       * report current running job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID job_ids = 5; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder addJobIdsBuilder() { return getJobIdsFieldBuilder().addBuilder( cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance()); } /** *
       * report current running job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID job_ids = 5; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder addJobIdsBuilder( int index) { return getJobIdsFieldBuilder().addBuilder( index, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance()); } /** *
       * report current running job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID job_ids = 5; */ public java.util.List getJobIdsBuilderList() { return getJobIdsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder> getJobIdsFieldBuilder() { if (jobIdsBuilder_ == null) { jobIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder>( jobIds_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); jobIds_ = null; } return jobIdsBuilder_; } private java.util.List terminatedJobIds_ = java.util.Collections.emptyList(); private void ensureTerminatedJobIdsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { terminatedJobIds_ = new java.util.ArrayList(terminatedJobIds_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder> terminatedJobIdsBuilder_; /** *
       * report terminated job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID terminated_job_ids = 6; */ public java.util.List getTerminatedJobIdsList() { if (terminatedJobIdsBuilder_ == null) { return java.util.Collections.unmodifiableList(terminatedJobIds_); } else { return terminatedJobIdsBuilder_.getMessageList(); } } /** *
       * report terminated job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID terminated_job_ids = 6; */ public int getTerminatedJobIdsCount() { if (terminatedJobIdsBuilder_ == null) { return terminatedJobIds_.size(); } else { return terminatedJobIdsBuilder_.getCount(); } } /** *
       * report terminated job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID terminated_job_ids = 6; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID getTerminatedJobIds(int index) { if (terminatedJobIdsBuilder_ == null) { return terminatedJobIds_.get(index); } else { return terminatedJobIdsBuilder_.getMessage(index); } } /** *
       * report terminated job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID terminated_job_ids = 6; */ public Builder setTerminatedJobIds( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID value) { if (terminatedJobIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTerminatedJobIdsIsMutable(); terminatedJobIds_.set(index, value); onChanged(); } else { terminatedJobIdsBuilder_.setMessage(index, value); } return this; } /** *
       * report terminated job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID terminated_job_ids = 6; */ public Builder setTerminatedJobIds( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder builderForValue) { if (terminatedJobIdsBuilder_ == null) { ensureTerminatedJobIdsIsMutable(); terminatedJobIds_.set(index, builderForValue.build()); onChanged(); } else { terminatedJobIdsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * report terminated job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID terminated_job_ids = 6; */ public Builder addTerminatedJobIds(cz.proto.coordinator.CoordinatorServiceOuterClass.JobID value) { if (terminatedJobIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTerminatedJobIdsIsMutable(); terminatedJobIds_.add(value); onChanged(); } else { terminatedJobIdsBuilder_.addMessage(value); } return this; } /** *
       * report terminated job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID terminated_job_ids = 6; */ public Builder addTerminatedJobIds( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID value) { if (terminatedJobIdsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTerminatedJobIdsIsMutable(); terminatedJobIds_.add(index, value); onChanged(); } else { terminatedJobIdsBuilder_.addMessage(index, value); } return this; } /** *
       * report terminated job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID terminated_job_ids = 6; */ public Builder addTerminatedJobIds( cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder builderForValue) { if (terminatedJobIdsBuilder_ == null) { ensureTerminatedJobIdsIsMutable(); terminatedJobIds_.add(builderForValue.build()); onChanged(); } else { terminatedJobIdsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * report terminated job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID terminated_job_ids = 6; */ public Builder addTerminatedJobIds( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder builderForValue) { if (terminatedJobIdsBuilder_ == null) { ensureTerminatedJobIdsIsMutable(); terminatedJobIds_.add(index, builderForValue.build()); onChanged(); } else { terminatedJobIdsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * report terminated job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID terminated_job_ids = 6; */ public Builder addAllTerminatedJobIds( java.lang.Iterable values) { if (terminatedJobIdsBuilder_ == null) { ensureTerminatedJobIdsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, terminatedJobIds_); onChanged(); } else { terminatedJobIdsBuilder_.addAllMessages(values); } return this; } /** *
       * report terminated job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID terminated_job_ids = 6; */ public Builder clearTerminatedJobIds() { if (terminatedJobIdsBuilder_ == null) { terminatedJobIds_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { terminatedJobIdsBuilder_.clear(); } return this; } /** *
       * report terminated job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID terminated_job_ids = 6; */ public Builder removeTerminatedJobIds(int index) { if (terminatedJobIdsBuilder_ == null) { ensureTerminatedJobIdsIsMutable(); terminatedJobIds_.remove(index); onChanged(); } else { terminatedJobIdsBuilder_.remove(index); } return this; } /** *
       * report terminated job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID terminated_job_ids = 6; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder getTerminatedJobIdsBuilder( int index) { return getTerminatedJobIdsFieldBuilder().getBuilder(index); } /** *
       * report terminated job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID terminated_job_ids = 6; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder getTerminatedJobIdsOrBuilder( int index) { if (terminatedJobIdsBuilder_ == null) { return terminatedJobIds_.get(index); } else { return terminatedJobIdsBuilder_.getMessageOrBuilder(index); } } /** *
       * report terminated job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID terminated_job_ids = 6; */ public java.util.List getTerminatedJobIdsOrBuilderList() { if (terminatedJobIdsBuilder_ != null) { return terminatedJobIdsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(terminatedJobIds_); } } /** *
       * report terminated job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID terminated_job_ids = 6; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder addTerminatedJobIdsBuilder() { return getTerminatedJobIdsFieldBuilder().addBuilder( cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance()); } /** *
       * report terminated job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID terminated_job_ids = 6; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder addTerminatedJobIdsBuilder( int index) { return getTerminatedJobIdsFieldBuilder().addBuilder( index, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.getDefaultInstance()); } /** *
       * report terminated job list for address cache
       * 
* * repeated .cz.proto.coordinator.JobID terminated_job_ids = 6; */ public java.util.List getTerminatedJobIdsBuilderList() { return getTerminatedJobIdsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder> getTerminatedJobIdsFieldBuilder() { if (terminatedJobIdsBuilder_ == null) { terminatedJobIdsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.JobID, cz.proto.coordinator.CoordinatorServiceOuterClass.JobID.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.JobIDOrBuilder>( terminatedJobIds_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); terminatedJobIds_ = null; } return terminatedJobIdsBuilder_; } private java.lang.Object releaseVersion_ = ""; /** *
       * worker release version: release1/release2/flighting1/flighting2
       * 
* * string release_version = 7; * @return The releaseVersion. */ public java.lang.String getReleaseVersion() { java.lang.Object ref = releaseVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); releaseVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * worker release version: release1/release2/flighting1/flighting2
       * 
* * string release_version = 7; * @return The bytes for releaseVersion. */ public com.google.protobuf.ByteString getReleaseVersionBytes() { java.lang.Object ref = releaseVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); releaseVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * worker release version: release1/release2/flighting1/flighting2
       * 
* * string release_version = 7; * @param value The releaseVersion to set. * @return This builder for chaining. */ public Builder setReleaseVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } releaseVersion_ = value; onChanged(); return this; } /** *
       * worker release version: release1/release2/flighting1/flighting2
       * 
* * string release_version = 7; * @return This builder for chaining. */ public Builder clearReleaseVersion() { releaseVersion_ = getDefaultInstance().getReleaseVersion(); onChanged(); return this; } /** *
       * worker release version: release1/release2/flighting1/flighting2
       * 
* * string release_version = 7; * @param value The bytes for releaseVersion to set. * @return This builder for chaining. */ public Builder setReleaseVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); releaseVersion_ = value; onChanged(); return this; } private cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo processInfo_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo, cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfoOrBuilder> processInfoBuilder_; /** * .cz.proto.coordinator.ProcessInfo process_info = 8; * @return Whether the processInfo field is set. */ public boolean hasProcessInfo() { return processInfoBuilder_ != null || processInfo_ != null; } /** * .cz.proto.coordinator.ProcessInfo process_info = 8; * @return The processInfo. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo getProcessInfo() { if (processInfoBuilder_ == null) { return processInfo_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo.getDefaultInstance() : processInfo_; } else { return processInfoBuilder_.getMessage(); } } /** * .cz.proto.coordinator.ProcessInfo process_info = 8; */ public Builder setProcessInfo(cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo value) { if (processInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } processInfo_ = value; onChanged(); } else { processInfoBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.ProcessInfo process_info = 8; */ public Builder setProcessInfo( cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo.Builder builderForValue) { if (processInfoBuilder_ == null) { processInfo_ = builderForValue.build(); onChanged(); } else { processInfoBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.ProcessInfo process_info = 8; */ public Builder mergeProcessInfo(cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo value) { if (processInfoBuilder_ == null) { if (processInfo_ != null) { processInfo_ = cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo.newBuilder(processInfo_).mergeFrom(value).buildPartial(); } else { processInfo_ = value; } onChanged(); } else { processInfoBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.ProcessInfo process_info = 8; */ public Builder clearProcessInfo() { if (processInfoBuilder_ == null) { processInfo_ = null; onChanged(); } else { processInfo_ = null; processInfoBuilder_ = null; } return this; } /** * .cz.proto.coordinator.ProcessInfo process_info = 8; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo.Builder getProcessInfoBuilder() { onChanged(); return getProcessInfoFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.ProcessInfo process_info = 8; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfoOrBuilder getProcessInfoOrBuilder() { if (processInfoBuilder_ != null) { return processInfoBuilder_.getMessageOrBuilder(); } else { return processInfo_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo.getDefaultInstance() : processInfo_; } } /** * .cz.proto.coordinator.ProcessInfo process_info = 8; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo, cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfoOrBuilder> getProcessInfoFieldBuilder() { if (processInfoBuilder_ == null) { processInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo, cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfoOrBuilder>( getProcessInfo(), getParentForChildren(), isClean()); processInfo_ = null; } return processInfoBuilder_; } private long serviceRouteVersion_ ; /** * int64 service_route_version = 9; * @return The serviceRouteVersion. */ @java.lang.Override public long getServiceRouteVersion() { return serviceRouteVersion_; } /** * int64 service_route_version = 9; * @param value The serviceRouteVersion to set. * @return This builder for chaining. */ public Builder setServiceRouteVersion(long value) { serviceRouteVersion_ = value; onChanged(); return this; } /** * int64 service_route_version = 9; * @return This builder for chaining. */ public Builder clearServiceRouteVersion() { serviceRouteVersion_ = 0L; onChanged(); return this; } private com.google.protobuf.MapField< java.lang.String, cz.proto.JobProfiling> jobProfilings_; private com.google.protobuf.MapField internalGetJobProfilings() { if (jobProfilings_ == null) { return com.google.protobuf.MapField.emptyMapField( JobProfilingsDefaultEntryHolder.defaultEntry); } return jobProfilings_; } private com.google.protobuf.MapField internalGetMutableJobProfilings() { onChanged();; if (jobProfilings_ == null) { jobProfilings_ = com.google.protobuf.MapField.newMapField( JobProfilingsDefaultEntryHolder.defaultEntry); } if (!jobProfilings_.isMutable()) { jobProfilings_ = jobProfilings_.copy(); } return jobProfilings_; } public int getJobProfilingsCount() { return internalGetJobProfilings().getMap().size(); } /** * map<string, .cz.proto.JobProfiling> job_profilings = 10; */ @java.lang.Override public boolean containsJobProfilings( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetJobProfilings().getMap().containsKey(key); } /** * Use {@link #getJobProfilingsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getJobProfilings() { return getJobProfilingsMap(); } /** * map<string, .cz.proto.JobProfiling> job_profilings = 10; */ @java.lang.Override public java.util.Map getJobProfilingsMap() { return internalGetJobProfilings().getMap(); } /** * map<string, .cz.proto.JobProfiling> job_profilings = 10; */ @java.lang.Override public cz.proto.JobProfiling getJobProfilingsOrDefault( java.lang.String key, cz.proto.JobProfiling defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetJobProfilings().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .cz.proto.JobProfiling> job_profilings = 10; */ @java.lang.Override public cz.proto.JobProfiling getJobProfilingsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetJobProfilings().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearJobProfilings() { internalGetMutableJobProfilings().getMutableMap() .clear(); return this; } /** * map<string, .cz.proto.JobProfiling> job_profilings = 10; */ public Builder removeJobProfilings( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableJobProfilings().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableJobProfilings() { return internalGetMutableJobProfilings().getMutableMap(); } /** * map<string, .cz.proto.JobProfiling> job_profilings = 10; */ public Builder putJobProfilings( java.lang.String key, cz.proto.JobProfiling value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableJobProfilings().getMutableMap() .put(key, value); return this; } /** * map<string, .cz.proto.JobProfiling> job_profilings = 10; */ public Builder putAllJobProfilings( java.util.Map values) { internalGetMutableJobProfilings().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.coordinator.HeartBeat) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.HeartBeat) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public HeartBeat parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new HeartBeat(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.coordinator.CoordinatorServiceOuterClass.HeartBeat getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface HeartBeatResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.HeartBeatResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ boolean hasRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ cz.proto.ServiceCommon.ResponseStatus getRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; */ cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder(); /** *
     * tell coordinator to refresh job cache
     * 
* * bool refresh_cache = 2; * @return The refreshCache. */ boolean getRefreshCache(); /** *
     * tell coordinator to suicide
     * 
* * bool suicide = 3; * @return The suicide. */ boolean getSuicide(); /** *
     * timestamp(us)
     * 
* * int64 master_version = 4; * @return The masterVersion. */ long getMasterVersion(); /** *
     * hystrix info
     * 
* * repeated .cz.proto.coordinator.HystrixInfo hystrix = 5; */ java.util.List getHystrixList(); /** *
     * hystrix info
     * 
* * repeated .cz.proto.coordinator.HystrixInfo hystrix = 5; */ cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo getHystrix(int index); /** *
     * hystrix info
     * 
* * repeated .cz.proto.coordinator.HystrixInfo hystrix = 5; */ int getHystrixCount(); /** *
     * hystrix info
     * 
* * repeated .cz.proto.coordinator.HystrixInfo hystrix = 5; */ java.util.List getHystrixOrBuilderList(); /** *
     * hystrix info
     * 
* * repeated .cz.proto.coordinator.HystrixInfo hystrix = 5; */ cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfoOrBuilder getHystrixOrBuilder( int index); /** * repeated .cz.proto.coordinator.RouteItem route_items = 6; */ java.util.List getRouteItemsList(); /** * repeated .cz.proto.coordinator.RouteItem route_items = 6; */ cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem getRouteItems(int index); /** * repeated .cz.proto.coordinator.RouteItem route_items = 6; */ int getRouteItemsCount(); /** * repeated .cz.proto.coordinator.RouteItem route_items = 6; */ java.util.List getRouteItemsOrBuilderList(); /** * repeated .cz.proto.coordinator.RouteItem route_items = 6; */ cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder getRouteItemsOrBuilder( int index); /** * int64 service_route_version = 7; * @return The serviceRouteVersion. */ long getServiceRouteVersion(); } /** * Protobuf type {@code cz.proto.coordinator.HeartBeatResponse} */ public static final class HeartBeatResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.HeartBeatResponse) HeartBeatResponseOrBuilder { private static final long serialVersionUID = 0L; // Use HeartBeatResponse.newBuilder() to construct. private HeartBeatResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private HeartBeatResponse() { hystrix_ = java.util.Collections.emptyList(); routeItems_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new HeartBeatResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private HeartBeatResponse( 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.ServiceCommon.ResponseStatus.Builder subBuilder = null; if (respStatus_ != null) { subBuilder = respStatus_.toBuilder(); } respStatus_ = input.readMessage(cz.proto.ServiceCommon.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(respStatus_); respStatus_ = subBuilder.buildPartial(); } break; } case 16: { refreshCache_ = input.readBool(); break; } case 24: { suicide_ = input.readBool(); break; } case 32: { masterVersion_ = input.readInt64(); break; } case 42: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { hystrix_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } hystrix_.add( input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo.parser(), extensionRegistry)); break; } case 50: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { routeItems_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } routeItems_.add( input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.parser(), extensionRegistry)); break; } case 56: { serviceRouteVersion_ = 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)) { hystrix_ = java.util.Collections.unmodifiableList(hystrix_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { routeItems_ = java.util.Collections.unmodifiableList(routeItems_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HeartBeatResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HeartBeatResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse.Builder.class); } public static final int RESP_STATUS_FIELD_NUMBER = 1; private cz.proto.ServiceCommon.ResponseStatus respStatus_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ @java.lang.Override public boolean hasRespStatus() { return respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } /** * .cz.proto.ResponseStatus resp_status = 1; */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { return getRespStatus(); } public static final int REFRESH_CACHE_FIELD_NUMBER = 2; private boolean refreshCache_; /** *
     * tell coordinator to refresh job cache
     * 
* * bool refresh_cache = 2; * @return The refreshCache. */ @java.lang.Override public boolean getRefreshCache() { return refreshCache_; } public static final int SUICIDE_FIELD_NUMBER = 3; private boolean suicide_; /** *
     * tell coordinator to suicide
     * 
* * bool suicide = 3; * @return The suicide. */ @java.lang.Override public boolean getSuicide() { return suicide_; } public static final int MASTER_VERSION_FIELD_NUMBER = 4; private long masterVersion_; /** *
     * timestamp(us)
     * 
* * int64 master_version = 4; * @return The masterVersion. */ @java.lang.Override public long getMasterVersion() { return masterVersion_; } public static final int HYSTRIX_FIELD_NUMBER = 5; private java.util.List hystrix_; /** *
     * hystrix info
     * 
* * repeated .cz.proto.coordinator.HystrixInfo hystrix = 5; */ @java.lang.Override public java.util.List getHystrixList() { return hystrix_; } /** *
     * hystrix info
     * 
* * repeated .cz.proto.coordinator.HystrixInfo hystrix = 5; */ @java.lang.Override public java.util.List getHystrixOrBuilderList() { return hystrix_; } /** *
     * hystrix info
     * 
* * repeated .cz.proto.coordinator.HystrixInfo hystrix = 5; */ @java.lang.Override public int getHystrixCount() { return hystrix_.size(); } /** *
     * hystrix info
     * 
* * repeated .cz.proto.coordinator.HystrixInfo hystrix = 5; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo getHystrix(int index) { return hystrix_.get(index); } /** *
     * hystrix info
     * 
* * repeated .cz.proto.coordinator.HystrixInfo hystrix = 5; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfoOrBuilder getHystrixOrBuilder( int index) { return hystrix_.get(index); } public static final int ROUTE_ITEMS_FIELD_NUMBER = 6; private java.util.List routeItems_; /** * repeated .cz.proto.coordinator.RouteItem route_items = 6; */ @java.lang.Override public java.util.List getRouteItemsList() { return routeItems_; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 6; */ @java.lang.Override public java.util.List getRouteItemsOrBuilderList() { return routeItems_; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 6; */ @java.lang.Override public int getRouteItemsCount() { return routeItems_.size(); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 6; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem getRouteItems(int index) { return routeItems_.get(index); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 6; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder getRouteItemsOrBuilder( int index) { return routeItems_.get(index); } public static final int SERVICE_ROUTE_VERSION_FIELD_NUMBER = 7; private long serviceRouteVersion_; /** * int64 service_route_version = 7; * @return The serviceRouteVersion. */ @java.lang.Override public long getServiceRouteVersion() { return serviceRouteVersion_; } 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 (respStatus_ != null) { output.writeMessage(1, getRespStatus()); } if (refreshCache_ != false) { output.writeBool(2, refreshCache_); } if (suicide_ != false) { output.writeBool(3, suicide_); } if (masterVersion_ != 0L) { output.writeInt64(4, masterVersion_); } for (int i = 0; i < hystrix_.size(); i++) { output.writeMessage(5, hystrix_.get(i)); } for (int i = 0; i < routeItems_.size(); i++) { output.writeMessage(6, routeItems_.get(i)); } if (serviceRouteVersion_ != 0L) { output.writeInt64(7, serviceRouteVersion_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (respStatus_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRespStatus()); } if (refreshCache_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, refreshCache_); } if (suicide_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, suicide_); } if (masterVersion_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, masterVersion_); } for (int i = 0; i < hystrix_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, hystrix_.get(i)); } for (int i = 0; i < routeItems_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, routeItems_.get(i)); } if (serviceRouteVersion_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(7, serviceRouteVersion_); } 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.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse other = (cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse) obj; if (hasRespStatus() != other.hasRespStatus()) return false; if (hasRespStatus()) { if (!getRespStatus() .equals(other.getRespStatus())) return false; } if (getRefreshCache() != other.getRefreshCache()) return false; if (getSuicide() != other.getSuicide()) return false; if (getMasterVersion() != other.getMasterVersion()) return false; if (!getHystrixList() .equals(other.getHystrixList())) return false; if (!getRouteItemsList() .equals(other.getRouteItemsList())) return false; if (getServiceRouteVersion() != other.getServiceRouteVersion()) 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 (hasRespStatus()) { hash = (37 * hash) + RESP_STATUS_FIELD_NUMBER; hash = (53 * hash) + getRespStatus().hashCode(); } hash = (37 * hash) + REFRESH_CACHE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getRefreshCache()); hash = (37 * hash) + SUICIDE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getSuicide()); hash = (37 * hash) + MASTER_VERSION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMasterVersion()); if (getHystrixCount() > 0) { hash = (37 * hash) + HYSTRIX_FIELD_NUMBER; hash = (53 * hash) + getHystrixList().hashCode(); } if (getRouteItemsCount() > 0) { hash = (37 * hash) + ROUTE_ITEMS_FIELD_NUMBER; hash = (53 * hash) + getRouteItemsList().hashCode(); } hash = (37 * hash) + SERVICE_ROUTE_VERSION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getServiceRouteVersion()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse 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.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse 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.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse 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.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse 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.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse 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.coordinator.HeartBeatResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.HeartBeatResponse) cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HeartBeatResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HeartBeatResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getHystrixFieldBuilder(); getRouteItemsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (respStatusBuilder_ == null) { respStatus_ = null; } else { respStatus_ = null; respStatusBuilder_ = null; } refreshCache_ = false; suicide_ = false; masterVersion_ = 0L; if (hystrixBuilder_ == null) { hystrix_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { hystrixBuilder_.clear(); } if (routeItemsBuilder_ == null) { routeItems_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { routeItemsBuilder_.clear(); } serviceRouteVersion_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HeartBeatResponse_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse build() { cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse result = new cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse(this); int from_bitField0_ = bitField0_; if (respStatusBuilder_ == null) { result.respStatus_ = respStatus_; } else { result.respStatus_ = respStatusBuilder_.build(); } result.refreshCache_ = refreshCache_; result.suicide_ = suicide_; result.masterVersion_ = masterVersion_; if (hystrixBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { hystrix_ = java.util.Collections.unmodifiableList(hystrix_); bitField0_ = (bitField0_ & ~0x00000001); } result.hystrix_ = hystrix_; } else { result.hystrix_ = hystrixBuilder_.build(); } if (routeItemsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { routeItems_ = java.util.Collections.unmodifiableList(routeItems_); bitField0_ = (bitField0_ & ~0x00000002); } result.routeItems_ = routeItems_; } else { result.routeItems_ = routeItemsBuilder_.build(); } result.serviceRouteVersion_ = serviceRouteVersion_; 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.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse.getDefaultInstance()) return this; if (other.hasRespStatus()) { mergeRespStatus(other.getRespStatus()); } if (other.getRefreshCache() != false) { setRefreshCache(other.getRefreshCache()); } if (other.getSuicide() != false) { setSuicide(other.getSuicide()); } if (other.getMasterVersion() != 0L) { setMasterVersion(other.getMasterVersion()); } if (hystrixBuilder_ == null) { if (!other.hystrix_.isEmpty()) { if (hystrix_.isEmpty()) { hystrix_ = other.hystrix_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureHystrixIsMutable(); hystrix_.addAll(other.hystrix_); } onChanged(); } } else { if (!other.hystrix_.isEmpty()) { if (hystrixBuilder_.isEmpty()) { hystrixBuilder_.dispose(); hystrixBuilder_ = null; hystrix_ = other.hystrix_; bitField0_ = (bitField0_ & ~0x00000001); hystrixBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getHystrixFieldBuilder() : null; } else { hystrixBuilder_.addAllMessages(other.hystrix_); } } } if (routeItemsBuilder_ == null) { if (!other.routeItems_.isEmpty()) { if (routeItems_.isEmpty()) { routeItems_ = other.routeItems_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureRouteItemsIsMutable(); routeItems_.addAll(other.routeItems_); } onChanged(); } } else { if (!other.routeItems_.isEmpty()) { if (routeItemsBuilder_.isEmpty()) { routeItemsBuilder_.dispose(); routeItemsBuilder_ = null; routeItems_ = other.routeItems_; bitField0_ = (bitField0_ & ~0x00000002); routeItemsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRouteItemsFieldBuilder() : null; } else { routeItemsBuilder_.addAllMessages(other.routeItems_); } } } if (other.getServiceRouteVersion() != 0L) { setServiceRouteVersion(other.getServiceRouteVersion()); } 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.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.ServiceCommon.ResponseStatus respStatus_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> respStatusBuilder_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ public boolean hasRespStatus() { return respStatusBuilder_ != null || respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { if (respStatusBuilder_ == null) { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } else { return respStatusBuilder_.getMessage(); } } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } respStatus_ = value; onChanged(); } else { respStatusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus( cz.proto.ServiceCommon.ResponseStatus.Builder builderForValue) { if (respStatusBuilder_ == null) { respStatus_ = builderForValue.build(); onChanged(); } else { respStatusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder mergeRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (respStatus_ != null) { respStatus_ = cz.proto.ServiceCommon.ResponseStatus.newBuilder(respStatus_).mergeFrom(value).buildPartial(); } else { respStatus_ = value; } onChanged(); } else { respStatusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder clearRespStatus() { if (respStatusBuilder_ == null) { respStatus_ = null; onChanged(); } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatus.Builder getRespStatusBuilder() { onChanged(); return getRespStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { if (respStatusBuilder_ != null) { return respStatusBuilder_.getMessageOrBuilder(); } else { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } } /** * .cz.proto.ResponseStatus resp_status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> getRespStatusFieldBuilder() { if (respStatusBuilder_ == null) { respStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder>( getRespStatus(), getParentForChildren(), isClean()); respStatus_ = null; } return respStatusBuilder_; } private boolean refreshCache_ ; /** *
       * tell coordinator to refresh job cache
       * 
* * bool refresh_cache = 2; * @return The refreshCache. */ @java.lang.Override public boolean getRefreshCache() { return refreshCache_; } /** *
       * tell coordinator to refresh job cache
       * 
* * bool refresh_cache = 2; * @param value The refreshCache to set. * @return This builder for chaining. */ public Builder setRefreshCache(boolean value) { refreshCache_ = value; onChanged(); return this; } /** *
       * tell coordinator to refresh job cache
       * 
* * bool refresh_cache = 2; * @return This builder for chaining. */ public Builder clearRefreshCache() { refreshCache_ = false; onChanged(); return this; } private boolean suicide_ ; /** *
       * tell coordinator to suicide
       * 
* * bool suicide = 3; * @return The suicide. */ @java.lang.Override public boolean getSuicide() { return suicide_; } /** *
       * tell coordinator to suicide
       * 
* * bool suicide = 3; * @param value The suicide to set. * @return This builder for chaining. */ public Builder setSuicide(boolean value) { suicide_ = value; onChanged(); return this; } /** *
       * tell coordinator to suicide
       * 
* * bool suicide = 3; * @return This builder for chaining. */ public Builder clearSuicide() { suicide_ = false; onChanged(); return this; } private long masterVersion_ ; /** *
       * timestamp(us)
       * 
* * int64 master_version = 4; * @return The masterVersion. */ @java.lang.Override public long getMasterVersion() { return masterVersion_; } /** *
       * timestamp(us)
       * 
* * int64 master_version = 4; * @param value The masterVersion to set. * @return This builder for chaining. */ public Builder setMasterVersion(long value) { masterVersion_ = value; onChanged(); return this; } /** *
       * timestamp(us)
       * 
* * int64 master_version = 4; * @return This builder for chaining. */ public Builder clearMasterVersion() { masterVersion_ = 0L; onChanged(); return this; } private java.util.List hystrix_ = java.util.Collections.emptyList(); private void ensureHystrixIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { hystrix_ = new java.util.ArrayList(hystrix_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo, cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfoOrBuilder> hystrixBuilder_; /** *
       * hystrix info
       * 
* * repeated .cz.proto.coordinator.HystrixInfo hystrix = 5; */ public java.util.List getHystrixList() { if (hystrixBuilder_ == null) { return java.util.Collections.unmodifiableList(hystrix_); } else { return hystrixBuilder_.getMessageList(); } } /** *
       * hystrix info
       * 
* * repeated .cz.proto.coordinator.HystrixInfo hystrix = 5; */ public int getHystrixCount() { if (hystrixBuilder_ == null) { return hystrix_.size(); } else { return hystrixBuilder_.getCount(); } } /** *
       * hystrix info
       * 
* * repeated .cz.proto.coordinator.HystrixInfo hystrix = 5; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo getHystrix(int index) { if (hystrixBuilder_ == null) { return hystrix_.get(index); } else { return hystrixBuilder_.getMessage(index); } } /** *
       * hystrix info
       * 
* * repeated .cz.proto.coordinator.HystrixInfo hystrix = 5; */ public Builder setHystrix( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo value) { if (hystrixBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureHystrixIsMutable(); hystrix_.set(index, value); onChanged(); } else { hystrixBuilder_.setMessage(index, value); } return this; } /** *
       * hystrix info
       * 
* * repeated .cz.proto.coordinator.HystrixInfo hystrix = 5; */ public Builder setHystrix( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo.Builder builderForValue) { if (hystrixBuilder_ == null) { ensureHystrixIsMutable(); hystrix_.set(index, builderForValue.build()); onChanged(); } else { hystrixBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * hystrix info
       * 
* * repeated .cz.proto.coordinator.HystrixInfo hystrix = 5; */ public Builder addHystrix(cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo value) { if (hystrixBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureHystrixIsMutable(); hystrix_.add(value); onChanged(); } else { hystrixBuilder_.addMessage(value); } return this; } /** *
       * hystrix info
       * 
* * repeated .cz.proto.coordinator.HystrixInfo hystrix = 5; */ public Builder addHystrix( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo value) { if (hystrixBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureHystrixIsMutable(); hystrix_.add(index, value); onChanged(); } else { hystrixBuilder_.addMessage(index, value); } return this; } /** *
       * hystrix info
       * 
* * repeated .cz.proto.coordinator.HystrixInfo hystrix = 5; */ public Builder addHystrix( cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo.Builder builderForValue) { if (hystrixBuilder_ == null) { ensureHystrixIsMutable(); hystrix_.add(builderForValue.build()); onChanged(); } else { hystrixBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * hystrix info
       * 
* * repeated .cz.proto.coordinator.HystrixInfo hystrix = 5; */ public Builder addHystrix( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo.Builder builderForValue) { if (hystrixBuilder_ == null) { ensureHystrixIsMutable(); hystrix_.add(index, builderForValue.build()); onChanged(); } else { hystrixBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * hystrix info
       * 
* * repeated .cz.proto.coordinator.HystrixInfo hystrix = 5; */ public Builder addAllHystrix( java.lang.Iterable values) { if (hystrixBuilder_ == null) { ensureHystrixIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, hystrix_); onChanged(); } else { hystrixBuilder_.addAllMessages(values); } return this; } /** *
       * hystrix info
       * 
* * repeated .cz.proto.coordinator.HystrixInfo hystrix = 5; */ public Builder clearHystrix() { if (hystrixBuilder_ == null) { hystrix_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { hystrixBuilder_.clear(); } return this; } /** *
       * hystrix info
       * 
* * repeated .cz.proto.coordinator.HystrixInfo hystrix = 5; */ public Builder removeHystrix(int index) { if (hystrixBuilder_ == null) { ensureHystrixIsMutable(); hystrix_.remove(index); onChanged(); } else { hystrixBuilder_.remove(index); } return this; } /** *
       * hystrix info
       * 
* * repeated .cz.proto.coordinator.HystrixInfo hystrix = 5; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo.Builder getHystrixBuilder( int index) { return getHystrixFieldBuilder().getBuilder(index); } /** *
       * hystrix info
       * 
* * repeated .cz.proto.coordinator.HystrixInfo hystrix = 5; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfoOrBuilder getHystrixOrBuilder( int index) { if (hystrixBuilder_ == null) { return hystrix_.get(index); } else { return hystrixBuilder_.getMessageOrBuilder(index); } } /** *
       * hystrix info
       * 
* * repeated .cz.proto.coordinator.HystrixInfo hystrix = 5; */ public java.util.List getHystrixOrBuilderList() { if (hystrixBuilder_ != null) { return hystrixBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(hystrix_); } } /** *
       * hystrix info
       * 
* * repeated .cz.proto.coordinator.HystrixInfo hystrix = 5; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo.Builder addHystrixBuilder() { return getHystrixFieldBuilder().addBuilder( cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo.getDefaultInstance()); } /** *
       * hystrix info
       * 
* * repeated .cz.proto.coordinator.HystrixInfo hystrix = 5; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo.Builder addHystrixBuilder( int index) { return getHystrixFieldBuilder().addBuilder( index, cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo.getDefaultInstance()); } /** *
       * hystrix info
       * 
* * repeated .cz.proto.coordinator.HystrixInfo hystrix = 5; */ public java.util.List getHystrixBuilderList() { return getHystrixFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo, cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfoOrBuilder> getHystrixFieldBuilder() { if (hystrixBuilder_ == null) { hystrixBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo, cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfo.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.HystrixInfoOrBuilder>( hystrix_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); hystrix_ = null; } return hystrixBuilder_; } private java.util.List routeItems_ = java.util.Collections.emptyList(); private void ensureRouteItemsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { routeItems_ = new java.util.ArrayList(routeItems_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder> routeItemsBuilder_; /** * repeated .cz.proto.coordinator.RouteItem route_items = 6; */ public java.util.List getRouteItemsList() { if (routeItemsBuilder_ == null) { return java.util.Collections.unmodifiableList(routeItems_); } else { return routeItemsBuilder_.getMessageList(); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 6; */ public int getRouteItemsCount() { if (routeItemsBuilder_ == null) { return routeItems_.size(); } else { return routeItemsBuilder_.getCount(); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 6; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem getRouteItems(int index) { if (routeItemsBuilder_ == null) { return routeItems_.get(index); } else { return routeItemsBuilder_.getMessage(index); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 6; */ public Builder setRouteItems( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem value) { if (routeItemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRouteItemsIsMutable(); routeItems_.set(index, value); onChanged(); } else { routeItemsBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 6; */ public Builder setRouteItems( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder builderForValue) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); routeItems_.set(index, builderForValue.build()); onChanged(); } else { routeItemsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 6; */ public Builder addRouteItems(cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem value) { if (routeItemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRouteItemsIsMutable(); routeItems_.add(value); onChanged(); } else { routeItemsBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 6; */ public Builder addRouteItems( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem value) { if (routeItemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRouteItemsIsMutable(); routeItems_.add(index, value); onChanged(); } else { routeItemsBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 6; */ public Builder addRouteItems( cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder builderForValue) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); routeItems_.add(builderForValue.build()); onChanged(); } else { routeItemsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 6; */ public Builder addRouteItems( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder builderForValue) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); routeItems_.add(index, builderForValue.build()); onChanged(); } else { routeItemsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 6; */ public Builder addAllRouteItems( java.lang.Iterable values) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, routeItems_); onChanged(); } else { routeItemsBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 6; */ public Builder clearRouteItems() { if (routeItemsBuilder_ == null) { routeItems_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { routeItemsBuilder_.clear(); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 6; */ public Builder removeRouteItems(int index) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); routeItems_.remove(index); onChanged(); } else { routeItemsBuilder_.remove(index); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 6; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder getRouteItemsBuilder( int index) { return getRouteItemsFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 6; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder getRouteItemsOrBuilder( int index) { if (routeItemsBuilder_ == null) { return routeItems_.get(index); } else { return routeItemsBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 6; */ public java.util.List getRouteItemsOrBuilderList() { if (routeItemsBuilder_ != null) { return routeItemsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(routeItems_); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 6; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder addRouteItemsBuilder() { return getRouteItemsFieldBuilder().addBuilder( cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.getDefaultInstance()); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 6; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder addRouteItemsBuilder( int index) { return getRouteItemsFieldBuilder().addBuilder( index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.getDefaultInstance()); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 6; */ public java.util.List getRouteItemsBuilderList() { return getRouteItemsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder> getRouteItemsFieldBuilder() { if (routeItemsBuilder_ == null) { routeItemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder>( routeItems_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); routeItems_ = null; } return routeItemsBuilder_; } private long serviceRouteVersion_ ; /** * int64 service_route_version = 7; * @return The serviceRouteVersion. */ @java.lang.Override public long getServiceRouteVersion() { return serviceRouteVersion_; } /** * int64 service_route_version = 7; * @param value The serviceRouteVersion to set. * @return This builder for chaining. */ public Builder setServiceRouteVersion(long value) { serviceRouteVersion_ = value; onChanged(); return this; } /** * int64 service_route_version = 7; * @return This builder for chaining. */ public Builder clearServiceRouteVersion() { serviceRouteVersion_ = 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.coordinator.HeartBeatResponse) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.HeartBeatResponse) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public HeartBeatResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new HeartBeatResponse(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.coordinator.CoordinatorServiceOuterClass.HeartBeatResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListWorkerRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.ListWorkerRequest) com.google.protobuf.MessageOrBuilder { /** * bool verbose = 1; * @return The verbose. */ boolean getVerbose(); /** * bool get_flighting_route_table = 2; * @return The getFlightingRouteTable. */ boolean getGetFlightingRouteTable(); /** * int64 service_route_version = 3; * @return The serviceRouteVersion. */ long getServiceRouteVersion(); } /** * Protobuf type {@code cz.proto.coordinator.ListWorkerRequest} */ public static final class ListWorkerRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.ListWorkerRequest) ListWorkerRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ListWorkerRequest.newBuilder() to construct. private ListWorkerRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListWorkerRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListWorkerRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListWorkerRequest( 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: { verbose_ = input.readBool(); break; } case 16: { getFlightingRouteTable_ = input.readBool(); break; } case 24: { serviceRouteVersion_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListWorkerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListWorkerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest.Builder.class); } public static final int VERBOSE_FIELD_NUMBER = 1; private boolean verbose_; /** * bool verbose = 1; * @return The verbose. */ @java.lang.Override public boolean getVerbose() { return verbose_; } public static final int GET_FLIGHTING_ROUTE_TABLE_FIELD_NUMBER = 2; private boolean getFlightingRouteTable_; /** * bool get_flighting_route_table = 2; * @return The getFlightingRouteTable. */ @java.lang.Override public boolean getGetFlightingRouteTable() { return getFlightingRouteTable_; } public static final int SERVICE_ROUTE_VERSION_FIELD_NUMBER = 3; private long serviceRouteVersion_; /** * int64 service_route_version = 3; * @return The serviceRouteVersion. */ @java.lang.Override public long getServiceRouteVersion() { return serviceRouteVersion_; } 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 (verbose_ != false) { output.writeBool(1, verbose_); } if (getFlightingRouteTable_ != false) { output.writeBool(2, getFlightingRouteTable_); } if (serviceRouteVersion_ != 0L) { output.writeInt64(3, serviceRouteVersion_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (verbose_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, verbose_); } if (getFlightingRouteTable_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, getFlightingRouteTable_); } if (serviceRouteVersion_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, serviceRouteVersion_); } 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.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest other = (cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest) obj; if (getVerbose() != other.getVerbose()) return false; if (getGetFlightingRouteTable() != other.getGetFlightingRouteTable()) return false; if (getServiceRouteVersion() != other.getServiceRouteVersion()) 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) + VERBOSE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getVerbose()); hash = (37 * hash) + GET_FLIGHTING_ROUTE_TABLE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getGetFlightingRouteTable()); hash = (37 * hash) + SERVICE_ROUTE_VERSION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getServiceRouteVersion()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest 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.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest 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.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest 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.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest 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.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest 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.coordinator.ListWorkerRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.ListWorkerRequest) cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListWorkerRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListWorkerRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest.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(); verbose_ = false; getFlightingRouteTable_ = false; serviceRouteVersion_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListWorkerRequest_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest build() { cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest result = new cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest(this); result.verbose_ = verbose_; result.getFlightingRouteTable_ = getFlightingRouteTable_; result.serviceRouteVersion_ = serviceRouteVersion_; 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.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest.getDefaultInstance()) return this; if (other.getVerbose() != false) { setVerbose(other.getVerbose()); } if (other.getGetFlightingRouteTable() != false) { setGetFlightingRouteTable(other.getGetFlightingRouteTable()); } if (other.getServiceRouteVersion() != 0L) { setServiceRouteVersion(other.getServiceRouteVersion()); } 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.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private boolean verbose_ ; /** * bool verbose = 1; * @return The verbose. */ @java.lang.Override public boolean getVerbose() { return verbose_; } /** * bool verbose = 1; * @param value The verbose to set. * @return This builder for chaining. */ public Builder setVerbose(boolean value) { verbose_ = value; onChanged(); return this; } /** * bool verbose = 1; * @return This builder for chaining. */ public Builder clearVerbose() { verbose_ = false; onChanged(); return this; } private boolean getFlightingRouteTable_ ; /** * bool get_flighting_route_table = 2; * @return The getFlightingRouteTable. */ @java.lang.Override public boolean getGetFlightingRouteTable() { return getFlightingRouteTable_; } /** * bool get_flighting_route_table = 2; * @param value The getFlightingRouteTable to set. * @return This builder for chaining. */ public Builder setGetFlightingRouteTable(boolean value) { getFlightingRouteTable_ = value; onChanged(); return this; } /** * bool get_flighting_route_table = 2; * @return This builder for chaining. */ public Builder clearGetFlightingRouteTable() { getFlightingRouteTable_ = false; onChanged(); return this; } private long serviceRouteVersion_ ; /** * int64 service_route_version = 3; * @return The serviceRouteVersion. */ @java.lang.Override public long getServiceRouteVersion() { return serviceRouteVersion_; } /** * int64 service_route_version = 3; * @param value The serviceRouteVersion to set. * @return This builder for chaining. */ public Builder setServiceRouteVersion(long value) { serviceRouteVersion_ = value; onChanged(); return this; } /** * int64 service_route_version = 3; * @return This builder for chaining. */ public Builder clearServiceRouteVersion() { serviceRouteVersion_ = 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.coordinator.ListWorkerRequest) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.ListWorkerRequest) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListWorkerRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListWorkerRequest(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.coordinator.CoordinatorServiceOuterClass.ListWorkerRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface WorkDetailOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.WorkDetail) com.google.protobuf.MessageOrBuilder { /** * string worker_address = 1; * @return The workerAddress. */ java.lang.String getWorkerAddress(); /** * string worker_address = 1; * @return The bytes for workerAddress. */ com.google.protobuf.ByteString getWorkerAddressBytes(); /** * int64 worker_version = 2; * @return The workerVersion. */ long getWorkerVersion(); /** *
     * NORMAL/DISCONNECTED
     * 
* * string worker_state = 3; * @return The workerState. */ java.lang.String getWorkerState(); /** *
     * NORMAL/DISCONNECTED
     * 
* * string worker_state = 3; * @return The bytes for workerState. */ com.google.protobuf.ByteString getWorkerStateBytes(); /** * int64 load_balance_score = 4; * @return The loadBalanceScore. */ long getLoadBalanceScore(); /** *
     * return in verbose mode, latest heartbeat
     * 
* * .cz.proto.coordinator.HeartBeat status = 5; * @return Whether the status field is set. */ boolean hasStatus(); /** *
     * return in verbose mode, latest heartbeat
     * 
* * .cz.proto.coordinator.HeartBeat status = 5; * @return The status. */ cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat getStatus(); /** *
     * return in verbose mode, latest heartbeat
     * 
* * .cz.proto.coordinator.HeartBeat status = 5; */ cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatOrBuilder getStatusOrBuilder(); /** * string release_version = 6; * @return The releaseVersion. */ java.lang.String getReleaseVersion(); /** * string release_version = 6; * @return The bytes for releaseVersion. */ com.google.protobuf.ByteString getReleaseVersionBytes(); /** * .cz.proto.coordinator.ProcessInfo process_info = 7; * @return Whether the processInfo field is set. */ boolean hasProcessInfo(); /** * .cz.proto.coordinator.ProcessInfo process_info = 7; * @return The processInfo. */ cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo getProcessInfo(); /** * .cz.proto.coordinator.ProcessInfo process_info = 7; */ cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfoOrBuilder getProcessInfoOrBuilder(); } /** * Protobuf type {@code cz.proto.coordinator.WorkDetail} */ public static final class WorkDetail extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.WorkDetail) WorkDetailOrBuilder { private static final long serialVersionUID = 0L; // Use WorkDetail.newBuilder() to construct. private WorkDetail(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private WorkDetail() { workerAddress_ = ""; workerState_ = ""; releaseVersion_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new WorkDetail(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private WorkDetail( 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(); workerAddress_ = s; break; } case 16: { workerVersion_ = input.readInt64(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); workerState_ = s; break; } case 32: { loadBalanceScore_ = input.readInt64(); break; } case 42: { cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat.Builder subBuilder = null; if (status_ != null) { subBuilder = status_.toBuilder(); } status_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(status_); status_ = subBuilder.buildPartial(); } break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); releaseVersion_ = s; break; } case 58: { cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo.Builder subBuilder = null; if (processInfo_ != null) { subBuilder = processInfo_.toBuilder(); } processInfo_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(processInfo_); processInfo_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_WorkDetail_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_WorkDetail_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail.class, cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail.Builder.class); } public static final int WORKER_ADDRESS_FIELD_NUMBER = 1; private volatile java.lang.Object workerAddress_; /** * string worker_address = 1; * @return The workerAddress. */ @java.lang.Override public java.lang.String getWorkerAddress() { java.lang.Object ref = workerAddress_; 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(); workerAddress_ = s; return s; } } /** * string worker_address = 1; * @return The bytes for workerAddress. */ @java.lang.Override public com.google.protobuf.ByteString getWorkerAddressBytes() { java.lang.Object ref = workerAddress_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workerAddress_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int WORKER_VERSION_FIELD_NUMBER = 2; private long workerVersion_; /** * int64 worker_version = 2; * @return The workerVersion. */ @java.lang.Override public long getWorkerVersion() { return workerVersion_; } public static final int WORKER_STATE_FIELD_NUMBER = 3; private volatile java.lang.Object workerState_; /** *
     * NORMAL/DISCONNECTED
     * 
* * string worker_state = 3; * @return The workerState. */ @java.lang.Override public java.lang.String getWorkerState() { java.lang.Object ref = workerState_; 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(); workerState_ = s; return s; } } /** *
     * NORMAL/DISCONNECTED
     * 
* * string worker_state = 3; * @return The bytes for workerState. */ @java.lang.Override public com.google.protobuf.ByteString getWorkerStateBytes() { java.lang.Object ref = workerState_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workerState_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int LOAD_BALANCE_SCORE_FIELD_NUMBER = 4; private long loadBalanceScore_; /** * int64 load_balance_score = 4; * @return The loadBalanceScore. */ @java.lang.Override public long getLoadBalanceScore() { return loadBalanceScore_; } public static final int STATUS_FIELD_NUMBER = 5; private cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat status_; /** *
     * return in verbose mode, latest heartbeat
     * 
* * .cz.proto.coordinator.HeartBeat status = 5; * @return Whether the status field is set. */ @java.lang.Override public boolean hasStatus() { return status_ != null; } /** *
     * return in verbose mode, latest heartbeat
     * 
* * .cz.proto.coordinator.HeartBeat status = 5; * @return The status. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat getStatus() { return status_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat.getDefaultInstance() : status_; } /** *
     * return in verbose mode, latest heartbeat
     * 
* * .cz.proto.coordinator.HeartBeat status = 5; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatOrBuilder getStatusOrBuilder() { return getStatus(); } public static final int RELEASE_VERSION_FIELD_NUMBER = 6; private volatile java.lang.Object releaseVersion_; /** * string release_version = 6; * @return The releaseVersion. */ @java.lang.Override public java.lang.String getReleaseVersion() { java.lang.Object ref = releaseVersion_; 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(); releaseVersion_ = s; return s; } } /** * string release_version = 6; * @return The bytes for releaseVersion. */ @java.lang.Override public com.google.protobuf.ByteString getReleaseVersionBytes() { java.lang.Object ref = releaseVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); releaseVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PROCESS_INFO_FIELD_NUMBER = 7; private cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo processInfo_; /** * .cz.proto.coordinator.ProcessInfo process_info = 7; * @return Whether the processInfo field is set. */ @java.lang.Override public boolean hasProcessInfo() { return processInfo_ != null; } /** * .cz.proto.coordinator.ProcessInfo process_info = 7; * @return The processInfo. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo getProcessInfo() { return processInfo_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo.getDefaultInstance() : processInfo_; } /** * .cz.proto.coordinator.ProcessInfo process_info = 7; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfoOrBuilder getProcessInfoOrBuilder() { return getProcessInfo(); } 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(workerAddress_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, workerAddress_); } if (workerVersion_ != 0L) { output.writeInt64(2, workerVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workerState_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, workerState_); } if (loadBalanceScore_ != 0L) { output.writeInt64(4, loadBalanceScore_); } if (status_ != null) { output.writeMessage(5, getStatus()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(releaseVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, releaseVersion_); } if (processInfo_ != null) { output.writeMessage(7, getProcessInfo()); } 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(workerAddress_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, workerAddress_); } if (workerVersion_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, workerVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workerState_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, workerState_); } if (loadBalanceScore_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, loadBalanceScore_); } if (status_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getStatus()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(releaseVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, releaseVersion_); } if (processInfo_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getProcessInfo()); } 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.coordinator.CoordinatorServiceOuterClass.WorkDetail)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail other = (cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail) obj; if (!getWorkerAddress() .equals(other.getWorkerAddress())) return false; if (getWorkerVersion() != other.getWorkerVersion()) return false; if (!getWorkerState() .equals(other.getWorkerState())) return false; if (getLoadBalanceScore() != other.getLoadBalanceScore()) return false; if (hasStatus() != other.hasStatus()) return false; if (hasStatus()) { if (!getStatus() .equals(other.getStatus())) return false; } if (!getReleaseVersion() .equals(other.getReleaseVersion())) return false; if (hasProcessInfo() != other.hasProcessInfo()) return false; if (hasProcessInfo()) { if (!getProcessInfo() .equals(other.getProcessInfo())) 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_ADDRESS_FIELD_NUMBER; hash = (53 * hash) + getWorkerAddress().hashCode(); hash = (37 * hash) + WORKER_VERSION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getWorkerVersion()); hash = (37 * hash) + WORKER_STATE_FIELD_NUMBER; hash = (53 * hash) + getWorkerState().hashCode(); hash = (37 * hash) + LOAD_BALANCE_SCORE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLoadBalanceScore()); if (hasStatus()) { hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + getStatus().hashCode(); } hash = (37 * hash) + RELEASE_VERSION_FIELD_NUMBER; hash = (53 * hash) + getReleaseVersion().hashCode(); if (hasProcessInfo()) { hash = (37 * hash) + PROCESS_INFO_FIELD_NUMBER; hash = (53 * hash) + getProcessInfo().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail 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.coordinator.CoordinatorServiceOuterClass.WorkDetail parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail 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.coordinator.CoordinatorServiceOuterClass.WorkDetail parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail 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.coordinator.CoordinatorServiceOuterClass.WorkDetail parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail 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.coordinator.CoordinatorServiceOuterClass.WorkDetail 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.coordinator.WorkDetail} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.WorkDetail) cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetailOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_WorkDetail_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_WorkDetail_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail.class, cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail.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(); workerAddress_ = ""; workerVersion_ = 0L; workerState_ = ""; loadBalanceScore_ = 0L; if (statusBuilder_ == null) { status_ = null; } else { status_ = null; statusBuilder_ = null; } releaseVersion_ = ""; if (processInfoBuilder_ == null) { processInfo_ = null; } else { processInfo_ = null; processInfoBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_WorkDetail_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail build() { cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail result = new cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail(this); result.workerAddress_ = workerAddress_; result.workerVersion_ = workerVersion_; result.workerState_ = workerState_; result.loadBalanceScore_ = loadBalanceScore_; if (statusBuilder_ == null) { result.status_ = status_; } else { result.status_ = statusBuilder_.build(); } result.releaseVersion_ = releaseVersion_; if (processInfoBuilder_ == null) { result.processInfo_ = processInfo_; } else { result.processInfo_ = processInfoBuilder_.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.coordinator.CoordinatorServiceOuterClass.WorkDetail) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail.getDefaultInstance()) return this; if (!other.getWorkerAddress().isEmpty()) { workerAddress_ = other.workerAddress_; onChanged(); } if (other.getWorkerVersion() != 0L) { setWorkerVersion(other.getWorkerVersion()); } if (!other.getWorkerState().isEmpty()) { workerState_ = other.workerState_; onChanged(); } if (other.getLoadBalanceScore() != 0L) { setLoadBalanceScore(other.getLoadBalanceScore()); } if (other.hasStatus()) { mergeStatus(other.getStatus()); } if (!other.getReleaseVersion().isEmpty()) { releaseVersion_ = other.releaseVersion_; onChanged(); } if (other.hasProcessInfo()) { mergeProcessInfo(other.getProcessInfo()); } 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.coordinator.CoordinatorServiceOuterClass.WorkDetail parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object workerAddress_ = ""; /** * string worker_address = 1; * @return The workerAddress. */ public java.lang.String getWorkerAddress() { java.lang.Object ref = workerAddress_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workerAddress_ = s; return s; } else { return (java.lang.String) ref; } } /** * string worker_address = 1; * @return The bytes for workerAddress. */ public com.google.protobuf.ByteString getWorkerAddressBytes() { java.lang.Object ref = workerAddress_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workerAddress_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string worker_address = 1; * @param value The workerAddress to set. * @return This builder for chaining. */ public Builder setWorkerAddress( java.lang.String value) { if (value == null) { throw new NullPointerException(); } workerAddress_ = value; onChanged(); return this; } /** * string worker_address = 1; * @return This builder for chaining. */ public Builder clearWorkerAddress() { workerAddress_ = getDefaultInstance().getWorkerAddress(); onChanged(); return this; } /** * string worker_address = 1; * @param value The bytes for workerAddress to set. * @return This builder for chaining. */ public Builder setWorkerAddressBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); workerAddress_ = value; onChanged(); return this; } private long workerVersion_ ; /** * int64 worker_version = 2; * @return The workerVersion. */ @java.lang.Override public long getWorkerVersion() { return workerVersion_; } /** * int64 worker_version = 2; * @param value The workerVersion to set. * @return This builder for chaining. */ public Builder setWorkerVersion(long value) { workerVersion_ = value; onChanged(); return this; } /** * int64 worker_version = 2; * @return This builder for chaining. */ public Builder clearWorkerVersion() { workerVersion_ = 0L; onChanged(); return this; } private java.lang.Object workerState_ = ""; /** *
       * NORMAL/DISCONNECTED
       * 
* * string worker_state = 3; * @return The workerState. */ public java.lang.String getWorkerState() { java.lang.Object ref = workerState_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workerState_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * NORMAL/DISCONNECTED
       * 
* * string worker_state = 3; * @return The bytes for workerState. */ public com.google.protobuf.ByteString getWorkerStateBytes() { java.lang.Object ref = workerState_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workerState_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * NORMAL/DISCONNECTED
       * 
* * string worker_state = 3; * @param value The workerState to set. * @return This builder for chaining. */ public Builder setWorkerState( java.lang.String value) { if (value == null) { throw new NullPointerException(); } workerState_ = value; onChanged(); return this; } /** *
       * NORMAL/DISCONNECTED
       * 
* * string worker_state = 3; * @return This builder for chaining. */ public Builder clearWorkerState() { workerState_ = getDefaultInstance().getWorkerState(); onChanged(); return this; } /** *
       * NORMAL/DISCONNECTED
       * 
* * string worker_state = 3; * @param value The bytes for workerState to set. * @return This builder for chaining. */ public Builder setWorkerStateBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); workerState_ = value; onChanged(); return this; } private long loadBalanceScore_ ; /** * int64 load_balance_score = 4; * @return The loadBalanceScore. */ @java.lang.Override public long getLoadBalanceScore() { return loadBalanceScore_; } /** * int64 load_balance_score = 4; * @param value The loadBalanceScore to set. * @return This builder for chaining. */ public Builder setLoadBalanceScore(long value) { loadBalanceScore_ = value; onChanged(); return this; } /** * int64 load_balance_score = 4; * @return This builder for chaining. */ public Builder clearLoadBalanceScore() { loadBalanceScore_ = 0L; onChanged(); return this; } private cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat status_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat, cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatOrBuilder> statusBuilder_; /** *
       * return in verbose mode, latest heartbeat
       * 
* * .cz.proto.coordinator.HeartBeat status = 5; * @return Whether the status field is set. */ public boolean hasStatus() { return statusBuilder_ != null || status_ != null; } /** *
       * return in verbose mode, latest heartbeat
       * 
* * .cz.proto.coordinator.HeartBeat status = 5; * @return The status. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat getStatus() { if (statusBuilder_ == null) { return status_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat.getDefaultInstance() : status_; } else { return statusBuilder_.getMessage(); } } /** *
       * return in verbose mode, latest heartbeat
       * 
* * .cz.proto.coordinator.HeartBeat status = 5; */ public Builder setStatus(cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat value) { if (statusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } status_ = value; onChanged(); } else { statusBuilder_.setMessage(value); } return this; } /** *
       * return in verbose mode, latest heartbeat
       * 
* * .cz.proto.coordinator.HeartBeat status = 5; */ public Builder setStatus( cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat.Builder builderForValue) { if (statusBuilder_ == null) { status_ = builderForValue.build(); onChanged(); } else { statusBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * return in verbose mode, latest heartbeat
       * 
* * .cz.proto.coordinator.HeartBeat status = 5; */ public Builder mergeStatus(cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat value) { if (statusBuilder_ == null) { if (status_ != null) { status_ = cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat.newBuilder(status_).mergeFrom(value).buildPartial(); } else { status_ = value; } onChanged(); } else { statusBuilder_.mergeFrom(value); } return this; } /** *
       * return in verbose mode, latest heartbeat
       * 
* * .cz.proto.coordinator.HeartBeat status = 5; */ public Builder clearStatus() { if (statusBuilder_ == null) { status_ = null; onChanged(); } else { status_ = null; statusBuilder_ = null; } return this; } /** *
       * return in verbose mode, latest heartbeat
       * 
* * .cz.proto.coordinator.HeartBeat status = 5; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat.Builder getStatusBuilder() { onChanged(); return getStatusFieldBuilder().getBuilder(); } /** *
       * return in verbose mode, latest heartbeat
       * 
* * .cz.proto.coordinator.HeartBeat status = 5; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { return status_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat.getDefaultInstance() : status_; } } /** *
       * return in verbose mode, latest heartbeat
       * 
* * .cz.proto.coordinator.HeartBeat status = 5; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat, cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat, cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeat.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.HeartBeatOrBuilder>( getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } private java.lang.Object releaseVersion_ = ""; /** * string release_version = 6; * @return The releaseVersion. */ public java.lang.String getReleaseVersion() { java.lang.Object ref = releaseVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); releaseVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * string release_version = 6; * @return The bytes for releaseVersion. */ public com.google.protobuf.ByteString getReleaseVersionBytes() { java.lang.Object ref = releaseVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); releaseVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string release_version = 6; * @param value The releaseVersion to set. * @return This builder for chaining. */ public Builder setReleaseVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } releaseVersion_ = value; onChanged(); return this; } /** * string release_version = 6; * @return This builder for chaining. */ public Builder clearReleaseVersion() { releaseVersion_ = getDefaultInstance().getReleaseVersion(); onChanged(); return this; } /** * string release_version = 6; * @param value The bytes for releaseVersion to set. * @return This builder for chaining. */ public Builder setReleaseVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); releaseVersion_ = value; onChanged(); return this; } private cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo processInfo_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo, cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfoOrBuilder> processInfoBuilder_; /** * .cz.proto.coordinator.ProcessInfo process_info = 7; * @return Whether the processInfo field is set. */ public boolean hasProcessInfo() { return processInfoBuilder_ != null || processInfo_ != null; } /** * .cz.proto.coordinator.ProcessInfo process_info = 7; * @return The processInfo. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo getProcessInfo() { if (processInfoBuilder_ == null) { return processInfo_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo.getDefaultInstance() : processInfo_; } else { return processInfoBuilder_.getMessage(); } } /** * .cz.proto.coordinator.ProcessInfo process_info = 7; */ public Builder setProcessInfo(cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo value) { if (processInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } processInfo_ = value; onChanged(); } else { processInfoBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.ProcessInfo process_info = 7; */ public Builder setProcessInfo( cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo.Builder builderForValue) { if (processInfoBuilder_ == null) { processInfo_ = builderForValue.build(); onChanged(); } else { processInfoBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.ProcessInfo process_info = 7; */ public Builder mergeProcessInfo(cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo value) { if (processInfoBuilder_ == null) { if (processInfo_ != null) { processInfo_ = cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo.newBuilder(processInfo_).mergeFrom(value).buildPartial(); } else { processInfo_ = value; } onChanged(); } else { processInfoBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.ProcessInfo process_info = 7; */ public Builder clearProcessInfo() { if (processInfoBuilder_ == null) { processInfo_ = null; onChanged(); } else { processInfo_ = null; processInfoBuilder_ = null; } return this; } /** * .cz.proto.coordinator.ProcessInfo process_info = 7; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo.Builder getProcessInfoBuilder() { onChanged(); return getProcessInfoFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.ProcessInfo process_info = 7; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfoOrBuilder getProcessInfoOrBuilder() { if (processInfoBuilder_ != null) { return processInfoBuilder_.getMessageOrBuilder(); } else { return processInfo_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo.getDefaultInstance() : processInfo_; } } /** * .cz.proto.coordinator.ProcessInfo process_info = 7; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo, cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfoOrBuilder> getProcessInfoFieldBuilder() { if (processInfoBuilder_ == null) { processInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo, cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfo.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.ProcessInfoOrBuilder>( getProcessInfo(), getParentForChildren(), isClean()); processInfo_ = null; } return processInfoBuilder_; } @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.coordinator.WorkDetail) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.WorkDetail) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public WorkDetail parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new WorkDetail(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.coordinator.CoordinatorServiceOuterClass.WorkDetail getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListWorkerResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.ListWorkerResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ boolean hasRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ cz.proto.ServiceCommon.ResponseStatus getRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; */ cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder(); /** * repeated .cz.proto.coordinator.WorkDetail worker = 2; */ java.util.List getWorkerList(); /** * repeated .cz.proto.coordinator.WorkDetail worker = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail getWorker(int index); /** * repeated .cz.proto.coordinator.WorkDetail worker = 2; */ int getWorkerCount(); /** * repeated .cz.proto.coordinator.WorkDetail worker = 2; */ java.util.List getWorkerOrBuilderList(); /** * repeated .cz.proto.coordinator.WorkDetail worker = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetailOrBuilder getWorkerOrBuilder( int index); /** * int64 load_score_hard_limit = 3; * @return The loadScoreHardLimit. */ long getLoadScoreHardLimit(); /** * repeated .cz.proto.coordinator.RouteItem route_items = 4; */ java.util.List getRouteItemsList(); /** * repeated .cz.proto.coordinator.RouteItem route_items = 4; */ cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem getRouteItems(int index); /** * repeated .cz.proto.coordinator.RouteItem route_items = 4; */ int getRouteItemsCount(); /** * repeated .cz.proto.coordinator.RouteItem route_items = 4; */ java.util.List getRouteItemsOrBuilderList(); /** * repeated .cz.proto.coordinator.RouteItem route_items = 4; */ cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder getRouteItemsOrBuilder( int index); /** * .cz.proto.coordinator.JobScheduleStrategy job_schedule_strategy = 5; * @return The enum numeric value on the wire for jobScheduleStrategy. */ int getJobScheduleStrategyValue(); /** * .cz.proto.coordinator.JobScheduleStrategy job_schedule_strategy = 5; * @return The jobScheduleStrategy. */ cz.proto.coordinator.CoordinatorServiceOuterClass.JobScheduleStrategy getJobScheduleStrategy(); /** * int32 job_schedule_load_balance_scope = 6; * @return The jobScheduleLoadBalanceScope. */ int getJobScheduleLoadBalanceScope(); /** * int64 service_route_version = 7; * @return The serviceRouteVersion. */ long getServiceRouteVersion(); /** * int32 submit_busy_punish_ms = 8; * @return The submitBusyPunishMs. */ int getSubmitBusyPunishMs(); } /** * Protobuf type {@code cz.proto.coordinator.ListWorkerResponse} */ public static final class ListWorkerResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.ListWorkerResponse) ListWorkerResponseOrBuilder { private static final long serialVersionUID = 0L; // Use ListWorkerResponse.newBuilder() to construct. private ListWorkerResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListWorkerResponse() { worker_ = java.util.Collections.emptyList(); routeItems_ = java.util.Collections.emptyList(); jobScheduleStrategy_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListWorkerResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListWorkerResponse( 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.ServiceCommon.ResponseStatus.Builder subBuilder = null; if (respStatus_ != null) { subBuilder = respStatus_.toBuilder(); } respStatus_ = input.readMessage(cz.proto.ServiceCommon.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(respStatus_); respStatus_ = subBuilder.buildPartial(); } break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { worker_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } worker_.add( input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail.parser(), extensionRegistry)); break; } case 24: { loadScoreHardLimit_ = input.readInt64(); break; } case 34: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { routeItems_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } routeItems_.add( input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.parser(), extensionRegistry)); break; } case 40: { int rawValue = input.readEnum(); jobScheduleStrategy_ = rawValue; break; } case 48: { jobScheduleLoadBalanceScope_ = input.readInt32(); break; } case 56: { serviceRouteVersion_ = input.readInt64(); break; } case 64: { submitBusyPunishMs_ = 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)) { worker_ = java.util.Collections.unmodifiableList(worker_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { routeItems_ = java.util.Collections.unmodifiableList(routeItems_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListWorkerResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListWorkerResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse.Builder.class); } public static final int RESP_STATUS_FIELD_NUMBER = 1; private cz.proto.ServiceCommon.ResponseStatus respStatus_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ @java.lang.Override public boolean hasRespStatus() { return respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } /** * .cz.proto.ResponseStatus resp_status = 1; */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { return getRespStatus(); } public static final int WORKER_FIELD_NUMBER = 2; private java.util.List worker_; /** * repeated .cz.proto.coordinator.WorkDetail worker = 2; */ @java.lang.Override public java.util.List getWorkerList() { return worker_; } /** * repeated .cz.proto.coordinator.WorkDetail worker = 2; */ @java.lang.Override public java.util.List getWorkerOrBuilderList() { return worker_; } /** * repeated .cz.proto.coordinator.WorkDetail worker = 2; */ @java.lang.Override public int getWorkerCount() { return worker_.size(); } /** * repeated .cz.proto.coordinator.WorkDetail worker = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail getWorker(int index) { return worker_.get(index); } /** * repeated .cz.proto.coordinator.WorkDetail worker = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetailOrBuilder getWorkerOrBuilder( int index) { return worker_.get(index); } public static final int LOAD_SCORE_HARD_LIMIT_FIELD_NUMBER = 3; private long loadScoreHardLimit_; /** * int64 load_score_hard_limit = 3; * @return The loadScoreHardLimit. */ @java.lang.Override public long getLoadScoreHardLimit() { return loadScoreHardLimit_; } public static final int ROUTE_ITEMS_FIELD_NUMBER = 4; private java.util.List routeItems_; /** * repeated .cz.proto.coordinator.RouteItem route_items = 4; */ @java.lang.Override public java.util.List getRouteItemsList() { return routeItems_; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 4; */ @java.lang.Override public java.util.List getRouteItemsOrBuilderList() { return routeItems_; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 4; */ @java.lang.Override public int getRouteItemsCount() { return routeItems_.size(); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 4; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem getRouteItems(int index) { return routeItems_.get(index); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 4; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder getRouteItemsOrBuilder( int index) { return routeItems_.get(index); } public static final int JOB_SCHEDULE_STRATEGY_FIELD_NUMBER = 5; private int jobScheduleStrategy_; /** * .cz.proto.coordinator.JobScheduleStrategy job_schedule_strategy = 5; * @return The enum numeric value on the wire for jobScheduleStrategy. */ @java.lang.Override public int getJobScheduleStrategyValue() { return jobScheduleStrategy_; } /** * .cz.proto.coordinator.JobScheduleStrategy job_schedule_strategy = 5; * @return The jobScheduleStrategy. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobScheduleStrategy getJobScheduleStrategy() { @SuppressWarnings("deprecation") cz.proto.coordinator.CoordinatorServiceOuterClass.JobScheduleStrategy result = cz.proto.coordinator.CoordinatorServiceOuterClass.JobScheduleStrategy.valueOf(jobScheduleStrategy_); return result == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobScheduleStrategy.UNRECOGNIZED : result; } public static final int JOB_SCHEDULE_LOAD_BALANCE_SCOPE_FIELD_NUMBER = 6; private int jobScheduleLoadBalanceScope_; /** * int32 job_schedule_load_balance_scope = 6; * @return The jobScheduleLoadBalanceScope. */ @java.lang.Override public int getJobScheduleLoadBalanceScope() { return jobScheduleLoadBalanceScope_; } public static final int SERVICE_ROUTE_VERSION_FIELD_NUMBER = 7; private long serviceRouteVersion_; /** * int64 service_route_version = 7; * @return The serviceRouteVersion. */ @java.lang.Override public long getServiceRouteVersion() { return serviceRouteVersion_; } public static final int SUBMIT_BUSY_PUNISH_MS_FIELD_NUMBER = 8; private int submitBusyPunishMs_; /** * int32 submit_busy_punish_ms = 8; * @return The submitBusyPunishMs. */ @java.lang.Override public int getSubmitBusyPunishMs() { return submitBusyPunishMs_; } 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 (respStatus_ != null) { output.writeMessage(1, getRespStatus()); } for (int i = 0; i < worker_.size(); i++) { output.writeMessage(2, worker_.get(i)); } if (loadScoreHardLimit_ != 0L) { output.writeInt64(3, loadScoreHardLimit_); } for (int i = 0; i < routeItems_.size(); i++) { output.writeMessage(4, routeItems_.get(i)); } if (jobScheduleStrategy_ != cz.proto.coordinator.CoordinatorServiceOuterClass.JobScheduleStrategy.JOB_AFFINITY.getNumber()) { output.writeEnum(5, jobScheduleStrategy_); } if (jobScheduleLoadBalanceScope_ != 0) { output.writeInt32(6, jobScheduleLoadBalanceScope_); } if (serviceRouteVersion_ != 0L) { output.writeInt64(7, serviceRouteVersion_); } if (submitBusyPunishMs_ != 0) { output.writeInt32(8, submitBusyPunishMs_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (respStatus_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRespStatus()); } for (int i = 0; i < worker_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, worker_.get(i)); } if (loadScoreHardLimit_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, loadScoreHardLimit_); } for (int i = 0; i < routeItems_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, routeItems_.get(i)); } if (jobScheduleStrategy_ != cz.proto.coordinator.CoordinatorServiceOuterClass.JobScheduleStrategy.JOB_AFFINITY.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, jobScheduleStrategy_); } if (jobScheduleLoadBalanceScope_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(6, jobScheduleLoadBalanceScope_); } if (serviceRouteVersion_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(7, serviceRouteVersion_); } if (submitBusyPunishMs_ != 0) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(8, submitBusyPunishMs_); } 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.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse other = (cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse) obj; if (hasRespStatus() != other.hasRespStatus()) return false; if (hasRespStatus()) { if (!getRespStatus() .equals(other.getRespStatus())) return false; } if (!getWorkerList() .equals(other.getWorkerList())) return false; if (getLoadScoreHardLimit() != other.getLoadScoreHardLimit()) return false; if (!getRouteItemsList() .equals(other.getRouteItemsList())) return false; if (jobScheduleStrategy_ != other.jobScheduleStrategy_) return false; if (getJobScheduleLoadBalanceScope() != other.getJobScheduleLoadBalanceScope()) return false; if (getServiceRouteVersion() != other.getServiceRouteVersion()) return false; if (getSubmitBusyPunishMs() != other.getSubmitBusyPunishMs()) 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 (hasRespStatus()) { hash = (37 * hash) + RESP_STATUS_FIELD_NUMBER; hash = (53 * hash) + getRespStatus().hashCode(); } if (getWorkerCount() > 0) { hash = (37 * hash) + WORKER_FIELD_NUMBER; hash = (53 * hash) + getWorkerList().hashCode(); } hash = (37 * hash) + LOAD_SCORE_HARD_LIMIT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLoadScoreHardLimit()); if (getRouteItemsCount() > 0) { hash = (37 * hash) + ROUTE_ITEMS_FIELD_NUMBER; hash = (53 * hash) + getRouteItemsList().hashCode(); } hash = (37 * hash) + JOB_SCHEDULE_STRATEGY_FIELD_NUMBER; hash = (53 * hash) + jobScheduleStrategy_; hash = (37 * hash) + JOB_SCHEDULE_LOAD_BALANCE_SCOPE_FIELD_NUMBER; hash = (53 * hash) + getJobScheduleLoadBalanceScope(); hash = (37 * hash) + SERVICE_ROUTE_VERSION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getServiceRouteVersion()); hash = (37 * hash) + SUBMIT_BUSY_PUNISH_MS_FIELD_NUMBER; hash = (53 * hash) + getSubmitBusyPunishMs(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse 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.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse 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.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse 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.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse 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.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse 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.coordinator.ListWorkerResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.ListWorkerResponse) cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListWorkerResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListWorkerResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getWorkerFieldBuilder(); getRouteItemsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (respStatusBuilder_ == null) { respStatus_ = null; } else { respStatus_ = null; respStatusBuilder_ = null; } if (workerBuilder_ == null) { worker_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { workerBuilder_.clear(); } loadScoreHardLimit_ = 0L; if (routeItemsBuilder_ == null) { routeItems_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { routeItemsBuilder_.clear(); } jobScheduleStrategy_ = 0; jobScheduleLoadBalanceScope_ = 0; serviceRouteVersion_ = 0L; submitBusyPunishMs_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListWorkerResponse_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse build() { cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse result = new cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse(this); int from_bitField0_ = bitField0_; if (respStatusBuilder_ == null) { result.respStatus_ = respStatus_; } else { result.respStatus_ = respStatusBuilder_.build(); } if (workerBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { worker_ = java.util.Collections.unmodifiableList(worker_); bitField0_ = (bitField0_ & ~0x00000001); } result.worker_ = worker_; } else { result.worker_ = workerBuilder_.build(); } result.loadScoreHardLimit_ = loadScoreHardLimit_; if (routeItemsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { routeItems_ = java.util.Collections.unmodifiableList(routeItems_); bitField0_ = (bitField0_ & ~0x00000002); } result.routeItems_ = routeItems_; } else { result.routeItems_ = routeItemsBuilder_.build(); } result.jobScheduleStrategy_ = jobScheduleStrategy_; result.jobScheduleLoadBalanceScope_ = jobScheduleLoadBalanceScope_; result.serviceRouteVersion_ = serviceRouteVersion_; result.submitBusyPunishMs_ = submitBusyPunishMs_; 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.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse.getDefaultInstance()) return this; if (other.hasRespStatus()) { mergeRespStatus(other.getRespStatus()); } if (workerBuilder_ == null) { if (!other.worker_.isEmpty()) { if (worker_.isEmpty()) { worker_ = other.worker_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureWorkerIsMutable(); worker_.addAll(other.worker_); } onChanged(); } } else { if (!other.worker_.isEmpty()) { if (workerBuilder_.isEmpty()) { workerBuilder_.dispose(); workerBuilder_ = null; worker_ = other.worker_; bitField0_ = (bitField0_ & ~0x00000001); workerBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getWorkerFieldBuilder() : null; } else { workerBuilder_.addAllMessages(other.worker_); } } } if (other.getLoadScoreHardLimit() != 0L) { setLoadScoreHardLimit(other.getLoadScoreHardLimit()); } if (routeItemsBuilder_ == null) { if (!other.routeItems_.isEmpty()) { if (routeItems_.isEmpty()) { routeItems_ = other.routeItems_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureRouteItemsIsMutable(); routeItems_.addAll(other.routeItems_); } onChanged(); } } else { if (!other.routeItems_.isEmpty()) { if (routeItemsBuilder_.isEmpty()) { routeItemsBuilder_.dispose(); routeItemsBuilder_ = null; routeItems_ = other.routeItems_; bitField0_ = (bitField0_ & ~0x00000002); routeItemsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRouteItemsFieldBuilder() : null; } else { routeItemsBuilder_.addAllMessages(other.routeItems_); } } } if (other.jobScheduleStrategy_ != 0) { setJobScheduleStrategyValue(other.getJobScheduleStrategyValue()); } if (other.getJobScheduleLoadBalanceScope() != 0) { setJobScheduleLoadBalanceScope(other.getJobScheduleLoadBalanceScope()); } if (other.getServiceRouteVersion() != 0L) { setServiceRouteVersion(other.getServiceRouteVersion()); } if (other.getSubmitBusyPunishMs() != 0) { setSubmitBusyPunishMs(other.getSubmitBusyPunishMs()); } 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.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.ServiceCommon.ResponseStatus respStatus_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> respStatusBuilder_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ public boolean hasRespStatus() { return respStatusBuilder_ != null || respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { if (respStatusBuilder_ == null) { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } else { return respStatusBuilder_.getMessage(); } } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } respStatus_ = value; onChanged(); } else { respStatusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus( cz.proto.ServiceCommon.ResponseStatus.Builder builderForValue) { if (respStatusBuilder_ == null) { respStatus_ = builderForValue.build(); onChanged(); } else { respStatusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder mergeRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (respStatus_ != null) { respStatus_ = cz.proto.ServiceCommon.ResponseStatus.newBuilder(respStatus_).mergeFrom(value).buildPartial(); } else { respStatus_ = value; } onChanged(); } else { respStatusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder clearRespStatus() { if (respStatusBuilder_ == null) { respStatus_ = null; onChanged(); } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatus.Builder getRespStatusBuilder() { onChanged(); return getRespStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { if (respStatusBuilder_ != null) { return respStatusBuilder_.getMessageOrBuilder(); } else { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } } /** * .cz.proto.ResponseStatus resp_status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> getRespStatusFieldBuilder() { if (respStatusBuilder_ == null) { respStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder>( getRespStatus(), getParentForChildren(), isClean()); respStatus_ = null; } return respStatusBuilder_; } private java.util.List worker_ = java.util.Collections.emptyList(); private void ensureWorkerIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { worker_ = new java.util.ArrayList(worker_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail, cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetailOrBuilder> workerBuilder_; /** * repeated .cz.proto.coordinator.WorkDetail worker = 2; */ public java.util.List getWorkerList() { if (workerBuilder_ == null) { return java.util.Collections.unmodifiableList(worker_); } else { return workerBuilder_.getMessageList(); } } /** * repeated .cz.proto.coordinator.WorkDetail worker = 2; */ public int getWorkerCount() { if (workerBuilder_ == null) { return worker_.size(); } else { return workerBuilder_.getCount(); } } /** * repeated .cz.proto.coordinator.WorkDetail worker = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail getWorker(int index) { if (workerBuilder_ == null) { return worker_.get(index); } else { return workerBuilder_.getMessage(index); } } /** * repeated .cz.proto.coordinator.WorkDetail worker = 2; */ public Builder setWorker( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail value) { if (workerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureWorkerIsMutable(); worker_.set(index, value); onChanged(); } else { workerBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.coordinator.WorkDetail worker = 2; */ public Builder setWorker( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail.Builder builderForValue) { if (workerBuilder_ == null) { ensureWorkerIsMutable(); worker_.set(index, builderForValue.build()); onChanged(); } else { workerBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.WorkDetail worker = 2; */ public Builder addWorker(cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail value) { if (workerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureWorkerIsMutable(); worker_.add(value); onChanged(); } else { workerBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.coordinator.WorkDetail worker = 2; */ public Builder addWorker( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail value) { if (workerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureWorkerIsMutable(); worker_.add(index, value); onChanged(); } else { workerBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.coordinator.WorkDetail worker = 2; */ public Builder addWorker( cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail.Builder builderForValue) { if (workerBuilder_ == null) { ensureWorkerIsMutable(); worker_.add(builderForValue.build()); onChanged(); } else { workerBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.WorkDetail worker = 2; */ public Builder addWorker( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail.Builder builderForValue) { if (workerBuilder_ == null) { ensureWorkerIsMutable(); worker_.add(index, builderForValue.build()); onChanged(); } else { workerBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.WorkDetail worker = 2; */ public Builder addAllWorker( java.lang.Iterable values) { if (workerBuilder_ == null) { ensureWorkerIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, worker_); onChanged(); } else { workerBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.coordinator.WorkDetail worker = 2; */ public Builder clearWorker() { if (workerBuilder_ == null) { worker_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { workerBuilder_.clear(); } return this; } /** * repeated .cz.proto.coordinator.WorkDetail worker = 2; */ public Builder removeWorker(int index) { if (workerBuilder_ == null) { ensureWorkerIsMutable(); worker_.remove(index); onChanged(); } else { workerBuilder_.remove(index); } return this; } /** * repeated .cz.proto.coordinator.WorkDetail worker = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail.Builder getWorkerBuilder( int index) { return getWorkerFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.coordinator.WorkDetail worker = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetailOrBuilder getWorkerOrBuilder( int index) { if (workerBuilder_ == null) { return worker_.get(index); } else { return workerBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.coordinator.WorkDetail worker = 2; */ public java.util.List getWorkerOrBuilderList() { if (workerBuilder_ != null) { return workerBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(worker_); } } /** * repeated .cz.proto.coordinator.WorkDetail worker = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail.Builder addWorkerBuilder() { return getWorkerFieldBuilder().addBuilder( cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail.getDefaultInstance()); } /** * repeated .cz.proto.coordinator.WorkDetail worker = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail.Builder addWorkerBuilder( int index) { return getWorkerFieldBuilder().addBuilder( index, cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail.getDefaultInstance()); } /** * repeated .cz.proto.coordinator.WorkDetail worker = 2; */ public java.util.List getWorkerBuilderList() { return getWorkerFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail, cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetailOrBuilder> getWorkerFieldBuilder() { if (workerBuilder_ == null) { workerBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail, cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetail.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.WorkDetailOrBuilder>( worker_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); worker_ = null; } return workerBuilder_; } private long loadScoreHardLimit_ ; /** * int64 load_score_hard_limit = 3; * @return The loadScoreHardLimit. */ @java.lang.Override public long getLoadScoreHardLimit() { return loadScoreHardLimit_; } /** * int64 load_score_hard_limit = 3; * @param value The loadScoreHardLimit to set. * @return This builder for chaining. */ public Builder setLoadScoreHardLimit(long value) { loadScoreHardLimit_ = value; onChanged(); return this; } /** * int64 load_score_hard_limit = 3; * @return This builder for chaining. */ public Builder clearLoadScoreHardLimit() { loadScoreHardLimit_ = 0L; onChanged(); return this; } private java.util.List routeItems_ = java.util.Collections.emptyList(); private void ensureRouteItemsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { routeItems_ = new java.util.ArrayList(routeItems_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder> routeItemsBuilder_; /** * repeated .cz.proto.coordinator.RouteItem route_items = 4; */ public java.util.List getRouteItemsList() { if (routeItemsBuilder_ == null) { return java.util.Collections.unmodifiableList(routeItems_); } else { return routeItemsBuilder_.getMessageList(); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 4; */ public int getRouteItemsCount() { if (routeItemsBuilder_ == null) { return routeItems_.size(); } else { return routeItemsBuilder_.getCount(); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 4; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem getRouteItems(int index) { if (routeItemsBuilder_ == null) { return routeItems_.get(index); } else { return routeItemsBuilder_.getMessage(index); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 4; */ public Builder setRouteItems( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem value) { if (routeItemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRouteItemsIsMutable(); routeItems_.set(index, value); onChanged(); } else { routeItemsBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 4; */ public Builder setRouteItems( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder builderForValue) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); routeItems_.set(index, builderForValue.build()); onChanged(); } else { routeItemsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 4; */ public Builder addRouteItems(cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem value) { if (routeItemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRouteItemsIsMutable(); routeItems_.add(value); onChanged(); } else { routeItemsBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 4; */ public Builder addRouteItems( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem value) { if (routeItemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRouteItemsIsMutable(); routeItems_.add(index, value); onChanged(); } else { routeItemsBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 4; */ public Builder addRouteItems( cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder builderForValue) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); routeItems_.add(builderForValue.build()); onChanged(); } else { routeItemsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 4; */ public Builder addRouteItems( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder builderForValue) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); routeItems_.add(index, builderForValue.build()); onChanged(); } else { routeItemsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 4; */ public Builder addAllRouteItems( java.lang.Iterable values) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, routeItems_); onChanged(); } else { routeItemsBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 4; */ public Builder clearRouteItems() { if (routeItemsBuilder_ == null) { routeItems_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { routeItemsBuilder_.clear(); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 4; */ public Builder removeRouteItems(int index) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); routeItems_.remove(index); onChanged(); } else { routeItemsBuilder_.remove(index); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 4; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder getRouteItemsBuilder( int index) { return getRouteItemsFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 4; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder getRouteItemsOrBuilder( int index) { if (routeItemsBuilder_ == null) { return routeItems_.get(index); } else { return routeItemsBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 4; */ public java.util.List getRouteItemsOrBuilderList() { if (routeItemsBuilder_ != null) { return routeItemsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(routeItems_); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 4; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder addRouteItemsBuilder() { return getRouteItemsFieldBuilder().addBuilder( cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.getDefaultInstance()); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 4; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder addRouteItemsBuilder( int index) { return getRouteItemsFieldBuilder().addBuilder( index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.getDefaultInstance()); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 4; */ public java.util.List getRouteItemsBuilderList() { return getRouteItemsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder> getRouteItemsFieldBuilder() { if (routeItemsBuilder_ == null) { routeItemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder>( routeItems_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); routeItems_ = null; } return routeItemsBuilder_; } private int jobScheduleStrategy_ = 0; /** * .cz.proto.coordinator.JobScheduleStrategy job_schedule_strategy = 5; * @return The enum numeric value on the wire for jobScheduleStrategy. */ @java.lang.Override public int getJobScheduleStrategyValue() { return jobScheduleStrategy_; } /** * .cz.proto.coordinator.JobScheduleStrategy job_schedule_strategy = 5; * @param value The enum numeric value on the wire for jobScheduleStrategy to set. * @return This builder for chaining. */ public Builder setJobScheduleStrategyValue(int value) { jobScheduleStrategy_ = value; onChanged(); return this; } /** * .cz.proto.coordinator.JobScheduleStrategy job_schedule_strategy = 5; * @return The jobScheduleStrategy. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.JobScheduleStrategy getJobScheduleStrategy() { @SuppressWarnings("deprecation") cz.proto.coordinator.CoordinatorServiceOuterClass.JobScheduleStrategy result = cz.proto.coordinator.CoordinatorServiceOuterClass.JobScheduleStrategy.valueOf(jobScheduleStrategy_); return result == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.JobScheduleStrategy.UNRECOGNIZED : result; } /** * .cz.proto.coordinator.JobScheduleStrategy job_schedule_strategy = 5; * @param value The jobScheduleStrategy to set. * @return This builder for chaining. */ public Builder setJobScheduleStrategy(cz.proto.coordinator.CoordinatorServiceOuterClass.JobScheduleStrategy value) { if (value == null) { throw new NullPointerException(); } jobScheduleStrategy_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.coordinator.JobScheduleStrategy job_schedule_strategy = 5; * @return This builder for chaining. */ public Builder clearJobScheduleStrategy() { jobScheduleStrategy_ = 0; onChanged(); return this; } private int jobScheduleLoadBalanceScope_ ; /** * int32 job_schedule_load_balance_scope = 6; * @return The jobScheduleLoadBalanceScope. */ @java.lang.Override public int getJobScheduleLoadBalanceScope() { return jobScheduleLoadBalanceScope_; } /** * int32 job_schedule_load_balance_scope = 6; * @param value The jobScheduleLoadBalanceScope to set. * @return This builder for chaining. */ public Builder setJobScheduleLoadBalanceScope(int value) { jobScheduleLoadBalanceScope_ = value; onChanged(); return this; } /** * int32 job_schedule_load_balance_scope = 6; * @return This builder for chaining. */ public Builder clearJobScheduleLoadBalanceScope() { jobScheduleLoadBalanceScope_ = 0; onChanged(); return this; } private long serviceRouteVersion_ ; /** * int64 service_route_version = 7; * @return The serviceRouteVersion. */ @java.lang.Override public long getServiceRouteVersion() { return serviceRouteVersion_; } /** * int64 service_route_version = 7; * @param value The serviceRouteVersion to set. * @return This builder for chaining. */ public Builder setServiceRouteVersion(long value) { serviceRouteVersion_ = value; onChanged(); return this; } /** * int64 service_route_version = 7; * @return This builder for chaining. */ public Builder clearServiceRouteVersion() { serviceRouteVersion_ = 0L; onChanged(); return this; } private int submitBusyPunishMs_ ; /** * int32 submit_busy_punish_ms = 8; * @return The submitBusyPunishMs. */ @java.lang.Override public int getSubmitBusyPunishMs() { return submitBusyPunishMs_; } /** * int32 submit_busy_punish_ms = 8; * @param value The submitBusyPunishMs to set. * @return This builder for chaining. */ public Builder setSubmitBusyPunishMs(int value) { submitBusyPunishMs_ = value; onChanged(); return this; } /** * int32 submit_busy_punish_ms = 8; * @return This builder for chaining. */ public Builder clearSubmitBusyPunishMs() { submitBusyPunishMs_ = 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.coordinator.ListWorkerResponse) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.ListWorkerResponse) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListWorkerResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListWorkerResponse(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.coordinator.CoordinatorServiceOuterClass.ListWorkerResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SetServiceRouteRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.SetServiceRouteRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount(); /** * .cz.proto.coordinator.Account account = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder(); /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ java.util.List getRouteItemsList(); /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem getRouteItems(int index); /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ int getRouteItemsCount(); /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ java.util.List getRouteItemsOrBuilderList(); /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder getRouteItemsOrBuilder( int index); /** * bool force = 3; * @return The force. */ boolean getForce(); /** * bool dedup = 4; * @return The dedup. */ boolean getDedup(); } /** * Protobuf type {@code cz.proto.coordinator.SetServiceRouteRequest} */ public static final class SetServiceRouteRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.SetServiceRouteRequest) SetServiceRouteRequestOrBuilder { private static final long serialVersionUID = 0L; // Use SetServiceRouteRequest.newBuilder() to construct. private SetServiceRouteRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SetServiceRouteRequest() { routeItems_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SetServiceRouteRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SetServiceRouteRequest( 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.coordinator.CoordinatorServiceOuterClass.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { routeItems_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } routeItems_.add( input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.parser(), extensionRegistry)); break; } case 24: { force_ = input.readBool(); break; } case 32: { dedup_ = 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)) { routeItems_ = java.util.Collections.unmodifiableList(routeItems_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_SetServiceRouteRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_SetServiceRouteRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } /** * .cz.proto.coordinator.Account account = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int ROUTE_ITEMS_FIELD_NUMBER = 2; private java.util.List routeItems_; /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ @java.lang.Override public java.util.List getRouteItemsList() { return routeItems_; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ @java.lang.Override public java.util.List getRouteItemsOrBuilderList() { return routeItems_; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ @java.lang.Override public int getRouteItemsCount() { return routeItems_.size(); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem getRouteItems(int index) { return routeItems_.get(index); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder getRouteItemsOrBuilder( int index) { return routeItems_.get(index); } public static final int FORCE_FIELD_NUMBER = 3; private boolean force_; /** * bool force = 3; * @return The force. */ @java.lang.Override public boolean getForce() { return force_; } public static final int DEDUP_FIELD_NUMBER = 4; private boolean dedup_; /** * bool dedup = 4; * @return The dedup. */ @java.lang.Override public boolean getDedup() { return dedup_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (account_ != null) { output.writeMessage(1, getAccount()); } for (int i = 0; i < routeItems_.size(); i++) { output.writeMessage(2, routeItems_.get(i)); } if (force_ != false) { output.writeBool(3, force_); } if (dedup_ != false) { output.writeBool(4, dedup_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAccount()); } for (int i = 0; i < routeItems_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, routeItems_.get(i)); } if (force_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(3, force_); } if (dedup_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(4, dedup_); } 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.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest other = (cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (!getRouteItemsList() .equals(other.getRouteItemsList())) return false; if (getForce() != other.getForce()) return false; if (getDedup() != other.getDedup()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } if (getRouteItemsCount() > 0) { hash = (37 * hash) + ROUTE_ITEMS_FIELD_NUMBER; hash = (53 * hash) + getRouteItemsList().hashCode(); } hash = (37 * hash) + FORCE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getForce()); hash = (37 * hash) + DEDUP_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDedup()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest 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.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest 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.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest 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.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest 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.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest 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.coordinator.SetServiceRouteRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.SetServiceRouteRequest) cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_SetServiceRouteRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_SetServiceRouteRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getRouteItemsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } if (routeItemsBuilder_ == null) { routeItems_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { routeItemsBuilder_.clear(); } force_ = false; dedup_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_SetServiceRouteRequest_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest build() { cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest result = new cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest(this); int from_bitField0_ = bitField0_; if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } if (routeItemsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { routeItems_ = java.util.Collections.unmodifiableList(routeItems_); bitField0_ = (bitField0_ & ~0x00000001); } result.routeItems_ = routeItems_; } else { result.routeItems_ = routeItemsBuilder_.build(); } result.force_ = force_; result.dedup_ = dedup_; 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.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (routeItemsBuilder_ == null) { if (!other.routeItems_.isEmpty()) { if (routeItems_.isEmpty()) { routeItems_ = other.routeItems_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureRouteItemsIsMutable(); routeItems_.addAll(other.routeItems_); } onChanged(); } } else { if (!other.routeItems_.isEmpty()) { if (routeItemsBuilder_.isEmpty()) { routeItemsBuilder_.dispose(); routeItemsBuilder_ = null; routeItems_ = other.routeItems_; bitField0_ = (bitField0_ & ~0x00000001); routeItemsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRouteItemsFieldBuilder() : null; } else { routeItemsBuilder_.addAllMessages(other.routeItems_); } } } if (other.getForce() != false) { setForce(other.getForce()); } if (other.getDedup() != false) { setDedup(other.getDedup()); } 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.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> accountBuilder_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount( cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder mergeAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.coordinator.CoordinatorServiceOuterClass.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } } /** * .cz.proto.coordinator.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private java.util.List routeItems_ = java.util.Collections.emptyList(); private void ensureRouteItemsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { routeItems_ = new java.util.ArrayList(routeItems_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder> routeItemsBuilder_; /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public java.util.List getRouteItemsList() { if (routeItemsBuilder_ == null) { return java.util.Collections.unmodifiableList(routeItems_); } else { return routeItemsBuilder_.getMessageList(); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public int getRouteItemsCount() { if (routeItemsBuilder_ == null) { return routeItems_.size(); } else { return routeItemsBuilder_.getCount(); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem getRouteItems(int index) { if (routeItemsBuilder_ == null) { return routeItems_.get(index); } else { return routeItemsBuilder_.getMessage(index); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder setRouteItems( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem value) { if (routeItemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRouteItemsIsMutable(); routeItems_.set(index, value); onChanged(); } else { routeItemsBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder setRouteItems( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder builderForValue) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); routeItems_.set(index, builderForValue.build()); onChanged(); } else { routeItemsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder addRouteItems(cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem value) { if (routeItemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRouteItemsIsMutable(); routeItems_.add(value); onChanged(); } else { routeItemsBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder addRouteItems( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem value) { if (routeItemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRouteItemsIsMutable(); routeItems_.add(index, value); onChanged(); } else { routeItemsBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder addRouteItems( cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder builderForValue) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); routeItems_.add(builderForValue.build()); onChanged(); } else { routeItemsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder addRouteItems( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder builderForValue) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); routeItems_.add(index, builderForValue.build()); onChanged(); } else { routeItemsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder addAllRouteItems( java.lang.Iterable values) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, routeItems_); onChanged(); } else { routeItemsBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder clearRouteItems() { if (routeItemsBuilder_ == null) { routeItems_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { routeItemsBuilder_.clear(); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder removeRouteItems(int index) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); routeItems_.remove(index); onChanged(); } else { routeItemsBuilder_.remove(index); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder getRouteItemsBuilder( int index) { return getRouteItemsFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder getRouteItemsOrBuilder( int index) { if (routeItemsBuilder_ == null) { return routeItems_.get(index); } else { return routeItemsBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public java.util.List getRouteItemsOrBuilderList() { if (routeItemsBuilder_ != null) { return routeItemsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(routeItems_); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder addRouteItemsBuilder() { return getRouteItemsFieldBuilder().addBuilder( cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.getDefaultInstance()); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder addRouteItemsBuilder( int index) { return getRouteItemsFieldBuilder().addBuilder( index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.getDefaultInstance()); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public java.util.List getRouteItemsBuilderList() { return getRouteItemsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder> getRouteItemsFieldBuilder() { if (routeItemsBuilder_ == null) { routeItemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder>( routeItems_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); routeItems_ = null; } return routeItemsBuilder_; } private boolean force_ ; /** * bool force = 3; * @return The force. */ @java.lang.Override public boolean getForce() { return force_; } /** * bool force = 3; * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { force_ = value; onChanged(); return this; } /** * bool force = 3; * @return This builder for chaining. */ public Builder clearForce() { force_ = false; onChanged(); return this; } private boolean dedup_ ; /** * bool dedup = 4; * @return The dedup. */ @java.lang.Override public boolean getDedup() { return dedup_; } /** * bool dedup = 4; * @param value The dedup to set. * @return This builder for chaining. */ public Builder setDedup(boolean value) { dedup_ = value; onChanged(); return this; } /** * bool dedup = 4; * @return This builder for chaining. */ public Builder clearDedup() { dedup_ = 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.coordinator.SetServiceRouteRequest) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.SetServiceRouteRequest) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SetServiceRouteRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SetServiceRouteRequest(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.coordinator.CoordinatorServiceOuterClass.SetServiceRouteRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface SetServiceRouteResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.SetServiceRouteResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ boolean hasRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ cz.proto.ServiceCommon.ResponseStatus getRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; */ cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder(); /** * map<string, string> details = 2; */ int getDetailsCount(); /** * map<string, string> details = 2; */ boolean containsDetails( java.lang.String key); /** * Use {@link #getDetailsMap()} instead. */ @java.lang.Deprecated java.util.Map getDetails(); /** * map<string, string> details = 2; */ java.util.Map getDetailsMap(); /** * map<string, string> details = 2; */ java.lang.String getDetailsOrDefault( java.lang.String key, java.lang.String defaultValue); /** * map<string, string> details = 2; */ java.lang.String getDetailsOrThrow( java.lang.String key); } /** * Protobuf type {@code cz.proto.coordinator.SetServiceRouteResponse} */ public static final class SetServiceRouteResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.SetServiceRouteResponse) SetServiceRouteResponseOrBuilder { private static final long serialVersionUID = 0L; // Use SetServiceRouteResponse.newBuilder() to construct. private SetServiceRouteResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private SetServiceRouteResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new SetServiceRouteResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private SetServiceRouteResponse( 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.ServiceCommon.ResponseStatus.Builder subBuilder = null; if (respStatus_ != null) { subBuilder = respStatus_.toBuilder(); } respStatus_ = input.readMessage(cz.proto.ServiceCommon.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(respStatus_); respStatus_ = subBuilder.buildPartial(); } break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { details_ = com.google.protobuf.MapField.newMapField( DetailsDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry details__ = input.readMessage( DetailsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); details_.getMutableMap().put( details__.getKey(), details__.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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_SetServiceRouteResponse_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetDetails(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_SetServiceRouteResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse.Builder.class); } public static final int RESP_STATUS_FIELD_NUMBER = 1; private cz.proto.ServiceCommon.ResponseStatus respStatus_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ @java.lang.Override public boolean hasRespStatus() { return respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } /** * .cz.proto.ResponseStatus resp_status = 1; */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { return getRespStatus(); } public static final int DETAILS_FIELD_NUMBER = 2; private static final class DetailsDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_SetServiceRouteResponse_DetailsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> details_; private com.google.protobuf.MapField internalGetDetails() { if (details_ == null) { return com.google.protobuf.MapField.emptyMapField( DetailsDefaultEntryHolder.defaultEntry); } return details_; } public int getDetailsCount() { return internalGetDetails().getMap().size(); } /** * map<string, string> details = 2; */ @java.lang.Override public boolean containsDetails( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetDetails().getMap().containsKey(key); } /** * Use {@link #getDetailsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getDetails() { return getDetailsMap(); } /** * map<string, string> details = 2; */ @java.lang.Override public java.util.Map getDetailsMap() { return internalGetDetails().getMap(); } /** * map<string, string> details = 2; */ @java.lang.Override public java.lang.String getDetailsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetDetails().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> details = 2; */ @java.lang.Override public java.lang.String getDetailsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetDetails().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 (respStatus_ != null) { output.writeMessage(1, getRespStatus()); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetDetails(), DetailsDefaultEntryHolder.defaultEntry, 2); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (respStatus_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRespStatus()); } for (java.util.Map.Entry entry : internalGetDetails().getMap().entrySet()) { com.google.protobuf.MapEntry details__ = DetailsDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, details__); } 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.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse other = (cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse) obj; if (hasRespStatus() != other.hasRespStatus()) return false; if (hasRespStatus()) { if (!getRespStatus() .equals(other.getRespStatus())) return false; } if (!internalGetDetails().equals( other.internalGetDetails())) 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 (hasRespStatus()) { hash = (37 * hash) + RESP_STATUS_FIELD_NUMBER; hash = (53 * hash) + getRespStatus().hashCode(); } if (!internalGetDetails().getMap().isEmpty()) { hash = (37 * hash) + DETAILS_FIELD_NUMBER; hash = (53 * hash) + internalGetDetails().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse 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.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse 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.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse 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.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse 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.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse 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.coordinator.SetServiceRouteResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.SetServiceRouteResponse) cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_SetServiceRouteResponse_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetDetails(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 2: return internalGetMutableDetails(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_SetServiceRouteResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse.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 (respStatusBuilder_ == null) { respStatus_ = null; } else { respStatus_ = null; respStatusBuilder_ = null; } internalGetMutableDetails().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_SetServiceRouteResponse_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse build() { cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse result = new cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse(this); int from_bitField0_ = bitField0_; if (respStatusBuilder_ == null) { result.respStatus_ = respStatus_; } else { result.respStatus_ = respStatusBuilder_.build(); } result.details_ = internalGetDetails(); result.details_.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.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse.getDefaultInstance()) return this; if (other.hasRespStatus()) { mergeRespStatus(other.getRespStatus()); } internalGetMutableDetails().mergeFrom( other.internalGetDetails()); 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.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.ServiceCommon.ResponseStatus respStatus_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> respStatusBuilder_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ public boolean hasRespStatus() { return respStatusBuilder_ != null || respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { if (respStatusBuilder_ == null) { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } else { return respStatusBuilder_.getMessage(); } } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } respStatus_ = value; onChanged(); } else { respStatusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus( cz.proto.ServiceCommon.ResponseStatus.Builder builderForValue) { if (respStatusBuilder_ == null) { respStatus_ = builderForValue.build(); onChanged(); } else { respStatusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder mergeRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (respStatus_ != null) { respStatus_ = cz.proto.ServiceCommon.ResponseStatus.newBuilder(respStatus_).mergeFrom(value).buildPartial(); } else { respStatus_ = value; } onChanged(); } else { respStatusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder clearRespStatus() { if (respStatusBuilder_ == null) { respStatus_ = null; onChanged(); } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatus.Builder getRespStatusBuilder() { onChanged(); return getRespStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { if (respStatusBuilder_ != null) { return respStatusBuilder_.getMessageOrBuilder(); } else { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } } /** * .cz.proto.ResponseStatus resp_status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> getRespStatusFieldBuilder() { if (respStatusBuilder_ == null) { respStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder>( getRespStatus(), getParentForChildren(), isClean()); respStatus_ = null; } return respStatusBuilder_; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> details_; private com.google.protobuf.MapField internalGetDetails() { if (details_ == null) { return com.google.protobuf.MapField.emptyMapField( DetailsDefaultEntryHolder.defaultEntry); } return details_; } private com.google.protobuf.MapField internalGetMutableDetails() { onChanged();; if (details_ == null) { details_ = com.google.protobuf.MapField.newMapField( DetailsDefaultEntryHolder.defaultEntry); } if (!details_.isMutable()) { details_ = details_.copy(); } return details_; } public int getDetailsCount() { return internalGetDetails().getMap().size(); } /** * map<string, string> details = 2; */ @java.lang.Override public boolean containsDetails( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetDetails().getMap().containsKey(key); } /** * Use {@link #getDetailsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getDetails() { return getDetailsMap(); } /** * map<string, string> details = 2; */ @java.lang.Override public java.util.Map getDetailsMap() { return internalGetDetails().getMap(); } /** * map<string, string> details = 2; */ @java.lang.Override public java.lang.String getDetailsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetDetails().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> details = 2; */ @java.lang.Override public java.lang.String getDetailsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetDetails().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearDetails() { internalGetMutableDetails().getMutableMap() .clear(); return this; } /** * map<string, string> details = 2; */ public Builder removeDetails( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableDetails().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableDetails() { return internalGetMutableDetails().getMutableMap(); } /** * map<string, string> details = 2; */ public Builder putDetails( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableDetails().getMutableMap() .put(key, value); return this; } /** * map<string, string> details = 2; */ public Builder putAllDetails( java.util.Map values) { internalGetMutableDetails().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.coordinator.SetServiceRouteResponse) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.SetServiceRouteResponse) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public SetServiceRouteResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new SetServiceRouteResponse(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.coordinator.CoordinatorServiceOuterClass.SetServiceRouteResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetServiceRouteRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.GetServiceRouteRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount(); /** * .cz.proto.coordinator.Account account = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder(); } /** * Protobuf type {@code cz.proto.coordinator.GetServiceRouteRequest} */ public static final class GetServiceRouteRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.GetServiceRouteRequest) GetServiceRouteRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetServiceRouteRequest.newBuilder() to construct. private GetServiceRouteRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetServiceRouteRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetServiceRouteRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetServiceRouteRequest( 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.coordinator.CoordinatorServiceOuterClass.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetServiceRouteRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetServiceRouteRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } /** * .cz.proto.coordinator.Account account = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.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 (account_ != null) { output.writeMessage(1, getAccount()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAccount()); } 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.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest other = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest) obj; 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(); 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.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest 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.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest 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.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest 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.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest 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.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest 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.coordinator.GetServiceRouteRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.GetServiceRouteRequest) cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetServiceRouteRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetServiceRouteRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetServiceRouteRequest_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest build() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest result = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest(this); 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.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest.getDefaultInstance()) return this; 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.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> accountBuilder_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount( cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder mergeAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.coordinator.CoordinatorServiceOuterClass.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } } /** * .cz.proto.coordinator.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.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.coordinator.GetServiceRouteRequest) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.GetServiceRouteRequest) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetServiceRouteRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetServiceRouteRequest(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.coordinator.CoordinatorServiceOuterClass.GetServiceRouteRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetServiceRouteResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.GetServiceRouteResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ boolean hasRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ cz.proto.ServiceCommon.ResponseStatus getRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; */ cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder(); /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ java.util.List getRouteItemsList(); /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem getRouteItems(int index); /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ int getRouteItemsCount(); /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ java.util.List getRouteItemsOrBuilderList(); /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder getRouteItemsOrBuilder( int index); /** * int64 route_version = 3; * @return The routeVersion. */ long getRouteVersion(); } /** * Protobuf type {@code cz.proto.coordinator.GetServiceRouteResponse} */ public static final class GetServiceRouteResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.GetServiceRouteResponse) GetServiceRouteResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetServiceRouteResponse.newBuilder() to construct. private GetServiceRouteResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetServiceRouteResponse() { routeItems_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetServiceRouteResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetServiceRouteResponse( 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.ServiceCommon.ResponseStatus.Builder subBuilder = null; if (respStatus_ != null) { subBuilder = respStatus_.toBuilder(); } respStatus_ = input.readMessage(cz.proto.ServiceCommon.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(respStatus_); respStatus_ = subBuilder.buildPartial(); } break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { routeItems_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } routeItems_.add( input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.parser(), extensionRegistry)); break; } case 24: { routeVersion_ = 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)) { routeItems_ = java.util.Collections.unmodifiableList(routeItems_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetServiceRouteResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetServiceRouteResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse.Builder.class); } public static final int RESP_STATUS_FIELD_NUMBER = 1; private cz.proto.ServiceCommon.ResponseStatus respStatus_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ @java.lang.Override public boolean hasRespStatus() { return respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } /** * .cz.proto.ResponseStatus resp_status = 1; */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { return getRespStatus(); } public static final int ROUTE_ITEMS_FIELD_NUMBER = 2; private java.util.List routeItems_; /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ @java.lang.Override public java.util.List getRouteItemsList() { return routeItems_; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ @java.lang.Override public java.util.List getRouteItemsOrBuilderList() { return routeItems_; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ @java.lang.Override public int getRouteItemsCount() { return routeItems_.size(); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem getRouteItems(int index) { return routeItems_.get(index); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder getRouteItemsOrBuilder( int index) { return routeItems_.get(index); } public static final int ROUTE_VERSION_FIELD_NUMBER = 3; private long routeVersion_; /** * int64 route_version = 3; * @return The routeVersion. */ @java.lang.Override public long getRouteVersion() { return routeVersion_; } 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 (respStatus_ != null) { output.writeMessage(1, getRespStatus()); } for (int i = 0; i < routeItems_.size(); i++) { output.writeMessage(2, routeItems_.get(i)); } if (routeVersion_ != 0L) { output.writeInt64(3, routeVersion_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (respStatus_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRespStatus()); } for (int i = 0; i < routeItems_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, routeItems_.get(i)); } if (routeVersion_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, routeVersion_); } 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.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse other = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse) obj; if (hasRespStatus() != other.hasRespStatus()) return false; if (hasRespStatus()) { if (!getRespStatus() .equals(other.getRespStatus())) return false; } if (!getRouteItemsList() .equals(other.getRouteItemsList())) return false; if (getRouteVersion() != other.getRouteVersion()) 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 (hasRespStatus()) { hash = (37 * hash) + RESP_STATUS_FIELD_NUMBER; hash = (53 * hash) + getRespStatus().hashCode(); } if (getRouteItemsCount() > 0) { hash = (37 * hash) + ROUTE_ITEMS_FIELD_NUMBER; hash = (53 * hash) + getRouteItemsList().hashCode(); } hash = (37 * hash) + ROUTE_VERSION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getRouteVersion()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse 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.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse 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.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse 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.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse 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.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse 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.coordinator.GetServiceRouteResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.GetServiceRouteResponse) cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetServiceRouteResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetServiceRouteResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getRouteItemsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (respStatusBuilder_ == null) { respStatus_ = null; } else { respStatus_ = null; respStatusBuilder_ = null; } if (routeItemsBuilder_ == null) { routeItems_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { routeItemsBuilder_.clear(); } routeVersion_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetServiceRouteResponse_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse build() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse result = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse(this); int from_bitField0_ = bitField0_; if (respStatusBuilder_ == null) { result.respStatus_ = respStatus_; } else { result.respStatus_ = respStatusBuilder_.build(); } if (routeItemsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { routeItems_ = java.util.Collections.unmodifiableList(routeItems_); bitField0_ = (bitField0_ & ~0x00000001); } result.routeItems_ = routeItems_; } else { result.routeItems_ = routeItemsBuilder_.build(); } result.routeVersion_ = routeVersion_; 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.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse.getDefaultInstance()) return this; if (other.hasRespStatus()) { mergeRespStatus(other.getRespStatus()); } if (routeItemsBuilder_ == null) { if (!other.routeItems_.isEmpty()) { if (routeItems_.isEmpty()) { routeItems_ = other.routeItems_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureRouteItemsIsMutable(); routeItems_.addAll(other.routeItems_); } onChanged(); } } else { if (!other.routeItems_.isEmpty()) { if (routeItemsBuilder_.isEmpty()) { routeItemsBuilder_.dispose(); routeItemsBuilder_ = null; routeItems_ = other.routeItems_; bitField0_ = (bitField0_ & ~0x00000001); routeItemsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRouteItemsFieldBuilder() : null; } else { routeItemsBuilder_.addAllMessages(other.routeItems_); } } } if (other.getRouteVersion() != 0L) { setRouteVersion(other.getRouteVersion()); } 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.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.ServiceCommon.ResponseStatus respStatus_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> respStatusBuilder_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ public boolean hasRespStatus() { return respStatusBuilder_ != null || respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { if (respStatusBuilder_ == null) { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } else { return respStatusBuilder_.getMessage(); } } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } respStatus_ = value; onChanged(); } else { respStatusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus( cz.proto.ServiceCommon.ResponseStatus.Builder builderForValue) { if (respStatusBuilder_ == null) { respStatus_ = builderForValue.build(); onChanged(); } else { respStatusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder mergeRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (respStatus_ != null) { respStatus_ = cz.proto.ServiceCommon.ResponseStatus.newBuilder(respStatus_).mergeFrom(value).buildPartial(); } else { respStatus_ = value; } onChanged(); } else { respStatusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder clearRespStatus() { if (respStatusBuilder_ == null) { respStatus_ = null; onChanged(); } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatus.Builder getRespStatusBuilder() { onChanged(); return getRespStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { if (respStatusBuilder_ != null) { return respStatusBuilder_.getMessageOrBuilder(); } else { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } } /** * .cz.proto.ResponseStatus resp_status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> getRespStatusFieldBuilder() { if (respStatusBuilder_ == null) { respStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder>( getRespStatus(), getParentForChildren(), isClean()); respStatus_ = null; } return respStatusBuilder_; } private java.util.List routeItems_ = java.util.Collections.emptyList(); private void ensureRouteItemsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { routeItems_ = new java.util.ArrayList(routeItems_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder> routeItemsBuilder_; /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public java.util.List getRouteItemsList() { if (routeItemsBuilder_ == null) { return java.util.Collections.unmodifiableList(routeItems_); } else { return routeItemsBuilder_.getMessageList(); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public int getRouteItemsCount() { if (routeItemsBuilder_ == null) { return routeItems_.size(); } else { return routeItemsBuilder_.getCount(); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem getRouteItems(int index) { if (routeItemsBuilder_ == null) { return routeItems_.get(index); } else { return routeItemsBuilder_.getMessage(index); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder setRouteItems( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem value) { if (routeItemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRouteItemsIsMutable(); routeItems_.set(index, value); onChanged(); } else { routeItemsBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder setRouteItems( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder builderForValue) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); routeItems_.set(index, builderForValue.build()); onChanged(); } else { routeItemsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder addRouteItems(cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem value) { if (routeItemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRouteItemsIsMutable(); routeItems_.add(value); onChanged(); } else { routeItemsBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder addRouteItems( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem value) { if (routeItemsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRouteItemsIsMutable(); routeItems_.add(index, value); onChanged(); } else { routeItemsBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder addRouteItems( cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder builderForValue) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); routeItems_.add(builderForValue.build()); onChanged(); } else { routeItemsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder addRouteItems( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder builderForValue) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); routeItems_.add(index, builderForValue.build()); onChanged(); } else { routeItemsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder addAllRouteItems( java.lang.Iterable values) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, routeItems_); onChanged(); } else { routeItemsBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder clearRouteItems() { if (routeItemsBuilder_ == null) { routeItems_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { routeItemsBuilder_.clear(); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public Builder removeRouteItems(int index) { if (routeItemsBuilder_ == null) { ensureRouteItemsIsMutable(); routeItems_.remove(index); onChanged(); } else { routeItemsBuilder_.remove(index); } return this; } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder getRouteItemsBuilder( int index) { return getRouteItemsFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder getRouteItemsOrBuilder( int index) { if (routeItemsBuilder_ == null) { return routeItems_.get(index); } else { return routeItemsBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public java.util.List getRouteItemsOrBuilderList() { if (routeItemsBuilder_ != null) { return routeItemsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(routeItems_); } } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder addRouteItemsBuilder() { return getRouteItemsFieldBuilder().addBuilder( cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.getDefaultInstance()); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder addRouteItemsBuilder( int index) { return getRouteItemsFieldBuilder().addBuilder( index, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.getDefaultInstance()); } /** * repeated .cz.proto.coordinator.RouteItem route_items = 2; */ public java.util.List getRouteItemsBuilderList() { return getRouteItemsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder> getRouteItemsFieldBuilder() { if (routeItemsBuilder_ == null) { routeItemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItem.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.RouteItemOrBuilder>( routeItems_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); routeItems_ = null; } return routeItemsBuilder_; } private long routeVersion_ ; /** * int64 route_version = 3; * @return The routeVersion. */ @java.lang.Override public long getRouteVersion() { return routeVersion_; } /** * int64 route_version = 3; * @param value The routeVersion to set. * @return This builder for chaining. */ public Builder setRouteVersion(long value) { routeVersion_ = value; onChanged(); return this; } /** * int64 route_version = 3; * @return This builder for chaining. */ public Builder clearRouteVersion() { routeVersion_ = 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.coordinator.GetServiceRouteResponse) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.GetServiceRouteResponse) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetServiceRouteResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetServiceRouteResponse(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.coordinator.CoordinatorServiceOuterClass.GetServiceRouteResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UpgradeUnitOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.UpgradeUnit) 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 vc = 3; * @return The vc. */ java.lang.String getVc(); /** * string vc = 3; * @return The bytes for vc. */ com.google.protobuf.ByteString getVcBytes(); /** * int64 workspace_id = 4; * @return The workspaceId. */ long getWorkspaceId(); } /** * Protobuf type {@code cz.proto.coordinator.UpgradeUnit} */ public static final class UpgradeUnit extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.UpgradeUnit) UpgradeUnitOrBuilder { private static final long serialVersionUID = 0L; // Use UpgradeUnit.newBuilder() to construct. private UpgradeUnit(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UpgradeUnit() { workspace_ = ""; vc_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UpgradeUnit(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UpgradeUnit( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { instanceId_ = input.readInt64(); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); workspace_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); vc_ = s; break; } case 32: { workspaceId_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_UpgradeUnit_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_UpgradeUnit_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.class, cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.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 VC_FIELD_NUMBER = 3; private volatile java.lang.Object vc_; /** * string vc = 3; * @return The vc. */ @java.lang.Override public java.lang.String getVc() { java.lang.Object ref = vc_; 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(); vc_ = s; return s; } } /** * string vc = 3; * @return The bytes for vc. */ @java.lang.Override public com.google.protobuf.ByteString getVcBytes() { java.lang.Object ref = vc_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); vc_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int WORKSPACE_ID_FIELD_NUMBER = 4; private long workspaceId_; /** * int64 workspace_id = 4; * @return The workspaceId. */ @java.lang.Override public long getWorkspaceId() { return workspaceId_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (instanceId_ != 0L) { output.writeInt64(1, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, workspace_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vc_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, vc_); } if (workspaceId_ != 0L) { output.writeInt64(4, workspaceId_); } 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(vc_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, vc_); } if (workspaceId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, workspaceId_); } 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.coordinator.CoordinatorServiceOuterClass.UpgradeUnit)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit other = (cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit) obj; if (getInstanceId() != other.getInstanceId()) return false; if (!getWorkspace() .equals(other.getWorkspace())) return false; if (!getVc() .equals(other.getVc())) return false; if (getWorkspaceId() != other.getWorkspaceId()) 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) + VC_FIELD_NUMBER; hash = (53 * hash) + getVc().hashCode(); hash = (37 * hash) + WORKSPACE_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getWorkspaceId()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit 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.coordinator.CoordinatorServiceOuterClass.UpgradeUnit parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit 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.coordinator.CoordinatorServiceOuterClass.UpgradeUnit parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit 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.coordinator.CoordinatorServiceOuterClass.UpgradeUnit parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit 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.coordinator.CoordinatorServiceOuterClass.UpgradeUnit 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.coordinator.UpgradeUnit} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.UpgradeUnit) cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnitOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_UpgradeUnit_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_UpgradeUnit_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.class, cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.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_ = ""; vc_ = ""; workspaceId_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_UpgradeUnit_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit build() { cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit result = new cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit(this); result.instanceId_ = instanceId_; result.workspace_ = workspace_; result.vc_ = vc_; result.workspaceId_ = workspaceId_; 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.coordinator.CoordinatorServiceOuterClass.UpgradeUnit) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.getDefaultInstance()) return this; if (other.getInstanceId() != 0L) { setInstanceId(other.getInstanceId()); } if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); } if (!other.getVc().isEmpty()) { vc_ = other.vc_; onChanged(); } if (other.getWorkspaceId() != 0L) { setWorkspaceId(other.getWorkspaceId()); } 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.coordinator.CoordinatorServiceOuterClass.UpgradeUnit parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long instanceId_ ; /** * int64 instance_id = 1; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } /** * int64 instance_id = 1; * @param value The instanceId to set. * @return This builder for chaining. */ public Builder setInstanceId(long value) { instanceId_ = value; onChanged(); return this; } /** * int64 instance_id = 1; * @return This builder for chaining. */ public Builder clearInstanceId() { instanceId_ = 0L; onChanged(); return this; } private java.lang.Object workspace_ = ""; /** * string workspace = 2; * @return The workspace. */ public java.lang.String getWorkspace() { java.lang.Object ref = workspace_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workspace_ = s; return s; } else { return (java.lang.String) ref; } } /** * string workspace = 2; * @return The bytes for workspace. */ public com.google.protobuf.ByteString getWorkspaceBytes() { java.lang.Object ref = workspace_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); workspace_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string workspace = 2; * @param value The workspace to set. * @return This builder for chaining. */ public Builder setWorkspace( java.lang.String value) { if (value == null) { throw new NullPointerException(); } workspace_ = value; onChanged(); return this; } /** * string workspace = 2; * @return This builder for chaining. */ public Builder clearWorkspace() { workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** * string workspace = 2; * @param value The bytes for workspace to set. * @return This builder for chaining. */ public Builder setWorkspaceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); workspace_ = value; onChanged(); return this; } private java.lang.Object vc_ = ""; /** * string vc = 3; * @return The vc. */ public java.lang.String getVc() { java.lang.Object ref = vc_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vc_ = s; return s; } else { return (java.lang.String) ref; } } /** * string vc = 3; * @return The bytes for vc. */ public com.google.protobuf.ByteString getVcBytes() { java.lang.Object ref = vc_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); vc_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string vc = 3; * @param value The vc to set. * @return This builder for chaining. */ public Builder setVc( java.lang.String value) { if (value == null) { throw new NullPointerException(); } vc_ = value; onChanged(); return this; } /** * string vc = 3; * @return This builder for chaining. */ public Builder clearVc() { vc_ = getDefaultInstance().getVc(); onChanged(); return this; } /** * string vc = 3; * @param value The bytes for vc to set. * @return This builder for chaining. */ public Builder setVcBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); vc_ = value; onChanged(); return this; } private long workspaceId_ ; /** * int64 workspace_id = 4; * @return The workspaceId. */ @java.lang.Override public long getWorkspaceId() { return workspaceId_; } /** * int64 workspace_id = 4; * @param value The workspaceId to set. * @return This builder for chaining. */ public Builder setWorkspaceId(long value) { workspaceId_ = value; onChanged(); return this; } /** * int64 workspace_id = 4; * @return This builder for chaining. */ public Builder clearWorkspaceId() { workspaceId_ = 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.coordinator.UpgradeUnit) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.UpgradeUnit) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UpgradeUnit parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new UpgradeUnit(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.coordinator.CoordinatorServiceOuterClass.UpgradeUnit getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface HotUpgradeRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.HotUpgradeRequest) com.google.protobuf.MessageOrBuilder { /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ java.util.List getUnitsList(); /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit getUnits(int index); /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ int getUnitsCount(); /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ java.util.List getUnitsOrBuilderList(); /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnitOrBuilder getUnitsOrBuilder( int index); /** * string source_version = 2; * @return The sourceVersion. */ java.lang.String getSourceVersion(); /** * string source_version = 2; * @return The bytes for sourceVersion. */ com.google.protobuf.ByteString getSourceVersionBytes(); /** * string target_version = 3; * @return The targetVersion. */ java.lang.String getTargetVersion(); /** * string target_version = 3; * @return The bytes for targetVersion. */ com.google.protobuf.ByteString getTargetVersionBytes(); /** * .cz.proto.coordinator.UpgradeActionType type = 4; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** * .cz.proto.coordinator.UpgradeActionType type = 4; * @return The type. */ cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeActionType getType(); } /** * Protobuf type {@code cz.proto.coordinator.HotUpgradeRequest} */ public static final class HotUpgradeRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.HotUpgradeRequest) HotUpgradeRequestOrBuilder { private static final long serialVersionUID = 0L; // Use HotUpgradeRequest.newBuilder() to construct. private HotUpgradeRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private HotUpgradeRequest() { units_ = java.util.Collections.emptyList(); sourceVersion_ = ""; targetVersion_ = ""; type_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new HotUpgradeRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private HotUpgradeRequest( 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)) { units_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } units_.add( input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.parser(), extensionRegistry)); break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); sourceVersion_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); targetVersion_ = s; break; } case 32: { int rawValue = input.readEnum(); type_ = rawValue; 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)) { units_ = java.util.Collections.unmodifiableList(units_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HotUpgradeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HotUpgradeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest.Builder.class); } public static final int UNITS_FIELD_NUMBER = 1; private java.util.List units_; /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ @java.lang.Override public java.util.List getUnitsList() { return units_; } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ @java.lang.Override public java.util.List getUnitsOrBuilderList() { return units_; } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ @java.lang.Override public int getUnitsCount() { return units_.size(); } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit getUnits(int index) { return units_.get(index); } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnitOrBuilder getUnitsOrBuilder( int index) { return units_.get(index); } public static final int SOURCE_VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object sourceVersion_; /** * string source_version = 2; * @return The sourceVersion. */ @java.lang.Override public java.lang.String getSourceVersion() { java.lang.Object ref = sourceVersion_; 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(); sourceVersion_ = s; return s; } } /** * string source_version = 2; * @return The bytes for sourceVersion. */ @java.lang.Override public com.google.protobuf.ByteString getSourceVersionBytes() { java.lang.Object ref = sourceVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourceVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TARGET_VERSION_FIELD_NUMBER = 3; private volatile java.lang.Object targetVersion_; /** * string target_version = 3; * @return The targetVersion. */ @java.lang.Override public java.lang.String getTargetVersion() { java.lang.Object ref = targetVersion_; 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(); targetVersion_ = s; return s; } } /** * string target_version = 3; * @return The bytes for targetVersion. */ @java.lang.Override public com.google.protobuf.ByteString getTargetVersionBytes() { java.lang.Object ref = targetVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); targetVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TYPE_FIELD_NUMBER = 4; private int type_; /** * .cz.proto.coordinator.UpgradeActionType type = 4; * @return The enum numeric value on the wire for type. */ @java.lang.Override public int getTypeValue() { return type_; } /** * .cz.proto.coordinator.UpgradeActionType type = 4; * @return The type. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeActionType getType() { @SuppressWarnings("deprecation") cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeActionType result = cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeActionType.valueOf(type_); return result == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeActionType.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < units_.size(); i++) { output.writeMessage(1, units_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, sourceVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, targetVersion_); } if (type_ != cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeActionType.START_UPGRADE.getNumber()) { output.writeEnum(4, type_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < units_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, units_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, sourceVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, targetVersion_); } if (type_ != cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeActionType.START_UPGRADE.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, type_); } 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.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest other = (cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest) obj; if (!getUnitsList() .equals(other.getUnitsList())) return false; if (!getSourceVersion() .equals(other.getSourceVersion())) return false; if (!getTargetVersion() .equals(other.getTargetVersion())) return false; if (type_ != other.type_) 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 (getUnitsCount() > 0) { hash = (37 * hash) + UNITS_FIELD_NUMBER; hash = (53 * hash) + getUnitsList().hashCode(); } hash = (37 * hash) + SOURCE_VERSION_FIELD_NUMBER; hash = (53 * hash) + getSourceVersion().hashCode(); hash = (37 * hash) + TARGET_VERSION_FIELD_NUMBER; hash = (53 * hash) + getTargetVersion().hashCode(); hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest 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.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest 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.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest 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.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest 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.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest 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.coordinator.HotUpgradeRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.HotUpgradeRequest) cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HotUpgradeRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HotUpgradeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getUnitsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (unitsBuilder_ == null) { units_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { unitsBuilder_.clear(); } sourceVersion_ = ""; targetVersion_ = ""; type_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HotUpgradeRequest_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest build() { cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest result = new cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest(this); int from_bitField0_ = bitField0_; if (unitsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { units_ = java.util.Collections.unmodifiableList(units_); bitField0_ = (bitField0_ & ~0x00000001); } result.units_ = units_; } else { result.units_ = unitsBuilder_.build(); } result.sourceVersion_ = sourceVersion_; result.targetVersion_ = targetVersion_; result.type_ = type_; 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.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest.getDefaultInstance()) return this; if (unitsBuilder_ == null) { if (!other.units_.isEmpty()) { if (units_.isEmpty()) { units_ = other.units_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureUnitsIsMutable(); units_.addAll(other.units_); } onChanged(); } } else { if (!other.units_.isEmpty()) { if (unitsBuilder_.isEmpty()) { unitsBuilder_.dispose(); unitsBuilder_ = null; units_ = other.units_; bitField0_ = (bitField0_ & ~0x00000001); unitsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getUnitsFieldBuilder() : null; } else { unitsBuilder_.addAllMessages(other.units_); } } } if (!other.getSourceVersion().isEmpty()) { sourceVersion_ = other.sourceVersion_; onChanged(); } if (!other.getTargetVersion().isEmpty()) { targetVersion_ = other.targetVersion_; onChanged(); } if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } 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.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List units_ = java.util.Collections.emptyList(); private void ensureUnitsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { units_ = new java.util.ArrayList(units_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit, cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnitOrBuilder> unitsBuilder_; /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public java.util.List getUnitsList() { if (unitsBuilder_ == null) { return java.util.Collections.unmodifiableList(units_); } else { return unitsBuilder_.getMessageList(); } } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public int getUnitsCount() { if (unitsBuilder_ == null) { return units_.size(); } else { return unitsBuilder_.getCount(); } } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit getUnits(int index) { if (unitsBuilder_ == null) { return units_.get(index); } else { return unitsBuilder_.getMessage(index); } } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public Builder setUnits( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit value) { if (unitsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUnitsIsMutable(); units_.set(index, value); onChanged(); } else { unitsBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public Builder setUnits( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.Builder builderForValue) { if (unitsBuilder_ == null) { ensureUnitsIsMutable(); units_.set(index, builderForValue.build()); onChanged(); } else { unitsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public Builder addUnits(cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit value) { if (unitsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUnitsIsMutable(); units_.add(value); onChanged(); } else { unitsBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public Builder addUnits( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit value) { if (unitsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUnitsIsMutable(); units_.add(index, value); onChanged(); } else { unitsBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public Builder addUnits( cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.Builder builderForValue) { if (unitsBuilder_ == null) { ensureUnitsIsMutable(); units_.add(builderForValue.build()); onChanged(); } else { unitsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public Builder addUnits( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.Builder builderForValue) { if (unitsBuilder_ == null) { ensureUnitsIsMutable(); units_.add(index, builderForValue.build()); onChanged(); } else { unitsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public Builder addAllUnits( java.lang.Iterable values) { if (unitsBuilder_ == null) { ensureUnitsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, units_); onChanged(); } else { unitsBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public Builder clearUnits() { if (unitsBuilder_ == null) { units_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { unitsBuilder_.clear(); } return this; } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public Builder removeUnits(int index) { if (unitsBuilder_ == null) { ensureUnitsIsMutable(); units_.remove(index); onChanged(); } else { unitsBuilder_.remove(index); } return this; } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.Builder getUnitsBuilder( int index) { return getUnitsFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnitOrBuilder getUnitsOrBuilder( int index) { if (unitsBuilder_ == null) { return units_.get(index); } else { return unitsBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public java.util.List getUnitsOrBuilderList() { if (unitsBuilder_ != null) { return unitsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(units_); } } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.Builder addUnitsBuilder() { return getUnitsFieldBuilder().addBuilder( cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.getDefaultInstance()); } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.Builder addUnitsBuilder( int index) { return getUnitsFieldBuilder().addBuilder( index, cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.getDefaultInstance()); } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public java.util.List getUnitsBuilderList() { return getUnitsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit, cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnitOrBuilder> getUnitsFieldBuilder() { if (unitsBuilder_ == null) { unitsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit, cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnitOrBuilder>( units_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); units_ = null; } return unitsBuilder_; } private java.lang.Object sourceVersion_ = ""; /** * string source_version = 2; * @return The sourceVersion. */ public java.lang.String getSourceVersion() { java.lang.Object ref = sourceVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); sourceVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * string source_version = 2; * @return The bytes for sourceVersion. */ public com.google.protobuf.ByteString getSourceVersionBytes() { java.lang.Object ref = sourceVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sourceVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string source_version = 2; * @param value The sourceVersion to set. * @return This builder for chaining. */ public Builder setSourceVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } sourceVersion_ = value; onChanged(); return this; } /** * string source_version = 2; * @return This builder for chaining. */ public Builder clearSourceVersion() { sourceVersion_ = getDefaultInstance().getSourceVersion(); onChanged(); return this; } /** * string source_version = 2; * @param value The bytes for sourceVersion to set. * @return This builder for chaining. */ public Builder setSourceVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); sourceVersion_ = value; onChanged(); return this; } private java.lang.Object targetVersion_ = ""; /** * string target_version = 3; * @return The targetVersion. */ public java.lang.String getTargetVersion() { java.lang.Object ref = targetVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * string target_version = 3; * @return The bytes for targetVersion. */ public com.google.protobuf.ByteString getTargetVersionBytes() { java.lang.Object ref = targetVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); targetVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string target_version = 3; * @param value The targetVersion to set. * @return This builder for chaining. */ public Builder setTargetVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } targetVersion_ = value; onChanged(); return this; } /** * string target_version = 3; * @return This builder for chaining. */ public Builder clearTargetVersion() { targetVersion_ = getDefaultInstance().getTargetVersion(); onChanged(); return this; } /** * string target_version = 3; * @param value The bytes for targetVersion to set. * @return This builder for chaining. */ public Builder setTargetVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); targetVersion_ = value; onChanged(); return this; } private int type_ = 0; /** * .cz.proto.coordinator.UpgradeActionType type = 4; * @return The enum numeric value on the wire for type. */ @java.lang.Override public int getTypeValue() { return type_; } /** * .cz.proto.coordinator.UpgradeActionType type = 4; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { type_ = value; onChanged(); return this; } /** * .cz.proto.coordinator.UpgradeActionType type = 4; * @return The type. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeActionType getType() { @SuppressWarnings("deprecation") cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeActionType result = cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeActionType.valueOf(type_); return result == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeActionType.UNRECOGNIZED : result; } /** * .cz.proto.coordinator.UpgradeActionType type = 4; * @param value The type to set. * @return This builder for chaining. */ public Builder setType(cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeActionType value) { if (value == null) { throw new NullPointerException(); } type_ = value.getNumber(); onChanged(); return this; } /** * .cz.proto.coordinator.UpgradeActionType type = 4; * @return This builder for chaining. */ public Builder clearType() { type_ = 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.coordinator.HotUpgradeRequest) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.HotUpgradeRequest) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public HotUpgradeRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new HotUpgradeRequest(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.coordinator.CoordinatorServiceOuterClass.HotUpgradeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface HotUpgradeResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.HotUpgradeResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ boolean hasRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ cz.proto.ServiceCommon.ResponseStatus getRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; */ cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder(); /** * map<string, string> details = 2; */ int getDetailsCount(); /** * map<string, string> details = 2; */ boolean containsDetails( java.lang.String key); /** * Use {@link #getDetailsMap()} instead. */ @java.lang.Deprecated java.util.Map getDetails(); /** * map<string, string> details = 2; */ java.util.Map getDetailsMap(); /** * map<string, string> details = 2; */ java.lang.String getDetailsOrDefault( java.lang.String key, java.lang.String defaultValue); /** * map<string, string> details = 2; */ java.lang.String getDetailsOrThrow( java.lang.String key); } /** * Protobuf type {@code cz.proto.coordinator.HotUpgradeResponse} */ public static final class HotUpgradeResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.HotUpgradeResponse) HotUpgradeResponseOrBuilder { private static final long serialVersionUID = 0L; // Use HotUpgradeResponse.newBuilder() to construct. private HotUpgradeResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private HotUpgradeResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new HotUpgradeResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private HotUpgradeResponse( 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.ServiceCommon.ResponseStatus.Builder subBuilder = null; if (respStatus_ != null) { subBuilder = respStatus_.toBuilder(); } respStatus_ = input.readMessage(cz.proto.ServiceCommon.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(respStatus_); respStatus_ = subBuilder.buildPartial(); } break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { details_ = com.google.protobuf.MapField.newMapField( DetailsDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry details__ = input.readMessage( DetailsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); details_.getMutableMap().put( details__.getKey(), details__.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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HotUpgradeResponse_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetDetails(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HotUpgradeResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse.Builder.class); } public static final int RESP_STATUS_FIELD_NUMBER = 1; private cz.proto.ServiceCommon.ResponseStatus respStatus_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ @java.lang.Override public boolean hasRespStatus() { return respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } /** * .cz.proto.ResponseStatus resp_status = 1; */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { return getRespStatus(); } public static final int DETAILS_FIELD_NUMBER = 2; private static final class DetailsDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HotUpgradeResponse_DetailsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> details_; private com.google.protobuf.MapField internalGetDetails() { if (details_ == null) { return com.google.protobuf.MapField.emptyMapField( DetailsDefaultEntryHolder.defaultEntry); } return details_; } public int getDetailsCount() { return internalGetDetails().getMap().size(); } /** * map<string, string> details = 2; */ @java.lang.Override public boolean containsDetails( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetDetails().getMap().containsKey(key); } /** * Use {@link #getDetailsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getDetails() { return getDetailsMap(); } /** * map<string, string> details = 2; */ @java.lang.Override public java.util.Map getDetailsMap() { return internalGetDetails().getMap(); } /** * map<string, string> details = 2; */ @java.lang.Override public java.lang.String getDetailsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetDetails().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> details = 2; */ @java.lang.Override public java.lang.String getDetailsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetDetails().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 (respStatus_ != null) { output.writeMessage(1, getRespStatus()); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetDetails(), DetailsDefaultEntryHolder.defaultEntry, 2); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (respStatus_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRespStatus()); } for (java.util.Map.Entry entry : internalGetDetails().getMap().entrySet()) { com.google.protobuf.MapEntry details__ = DetailsDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, details__); } 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.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse other = (cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse) obj; if (hasRespStatus() != other.hasRespStatus()) return false; if (hasRespStatus()) { if (!getRespStatus() .equals(other.getRespStatus())) return false; } if (!internalGetDetails().equals( other.internalGetDetails())) 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 (hasRespStatus()) { hash = (37 * hash) + RESP_STATUS_FIELD_NUMBER; hash = (53 * hash) + getRespStatus().hashCode(); } if (!internalGetDetails().getMap().isEmpty()) { hash = (37 * hash) + DETAILS_FIELD_NUMBER; hash = (53 * hash) + internalGetDetails().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse 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.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse 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.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse 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.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse 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.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse 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.coordinator.HotUpgradeResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.HotUpgradeResponse) cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HotUpgradeResponse_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetDetails(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 2: return internalGetMutableDetails(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HotUpgradeResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse.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 (respStatusBuilder_ == null) { respStatus_ = null; } else { respStatus_ = null; respStatusBuilder_ = null; } internalGetMutableDetails().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HotUpgradeResponse_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse build() { cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse result = new cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse(this); int from_bitField0_ = bitField0_; if (respStatusBuilder_ == null) { result.respStatus_ = respStatus_; } else { result.respStatus_ = respStatusBuilder_.build(); } result.details_ = internalGetDetails(); result.details_.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.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse.getDefaultInstance()) return this; if (other.hasRespStatus()) { mergeRespStatus(other.getRespStatus()); } internalGetMutableDetails().mergeFrom( other.internalGetDetails()); 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.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.ServiceCommon.ResponseStatus respStatus_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> respStatusBuilder_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ public boolean hasRespStatus() { return respStatusBuilder_ != null || respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { if (respStatusBuilder_ == null) { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } else { return respStatusBuilder_.getMessage(); } } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } respStatus_ = value; onChanged(); } else { respStatusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus( cz.proto.ServiceCommon.ResponseStatus.Builder builderForValue) { if (respStatusBuilder_ == null) { respStatus_ = builderForValue.build(); onChanged(); } else { respStatusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder mergeRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (respStatus_ != null) { respStatus_ = cz.proto.ServiceCommon.ResponseStatus.newBuilder(respStatus_).mergeFrom(value).buildPartial(); } else { respStatus_ = value; } onChanged(); } else { respStatusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder clearRespStatus() { if (respStatusBuilder_ == null) { respStatus_ = null; onChanged(); } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatus.Builder getRespStatusBuilder() { onChanged(); return getRespStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { if (respStatusBuilder_ != null) { return respStatusBuilder_.getMessageOrBuilder(); } else { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } } /** * .cz.proto.ResponseStatus resp_status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> getRespStatusFieldBuilder() { if (respStatusBuilder_ == null) { respStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder>( getRespStatus(), getParentForChildren(), isClean()); respStatus_ = null; } return respStatusBuilder_; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> details_; private com.google.protobuf.MapField internalGetDetails() { if (details_ == null) { return com.google.protobuf.MapField.emptyMapField( DetailsDefaultEntryHolder.defaultEntry); } return details_; } private com.google.protobuf.MapField internalGetMutableDetails() { onChanged();; if (details_ == null) { details_ = com.google.protobuf.MapField.newMapField( DetailsDefaultEntryHolder.defaultEntry); } if (!details_.isMutable()) { details_ = details_.copy(); } return details_; } public int getDetailsCount() { return internalGetDetails().getMap().size(); } /** * map<string, string> details = 2; */ @java.lang.Override public boolean containsDetails( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetDetails().getMap().containsKey(key); } /** * Use {@link #getDetailsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getDetails() { return getDetailsMap(); } /** * map<string, string> details = 2; */ @java.lang.Override public java.util.Map getDetailsMap() { return internalGetDetails().getMap(); } /** * map<string, string> details = 2; */ @java.lang.Override public java.lang.String getDetailsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetDetails().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> details = 2; */ @java.lang.Override public java.lang.String getDetailsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetDetails().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearDetails() { internalGetMutableDetails().getMutableMap() .clear(); return this; } /** * map<string, string> details = 2; */ public Builder removeDetails( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableDetails().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableDetails() { return internalGetMutableDetails().getMutableMap(); } /** * map<string, string> details = 2; */ public Builder putDetails( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableDetails().getMutableMap() .put(key, value); return this; } /** * map<string, string> details = 2; */ public Builder putAllDetails( java.util.Map values) { internalGetMutableDetails().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.coordinator.HotUpgradeResponse) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.HotUpgradeResponse) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public HotUpgradeResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new HotUpgradeResponse(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.coordinator.CoordinatorServiceOuterClass.HotUpgradeResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetHotUpgradeStateRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.GetHotUpgradeStateRequest) com.google.protobuf.MessageOrBuilder { /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ java.util.List getUnitsList(); /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit getUnits(int index); /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ int getUnitsCount(); /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ java.util.List getUnitsOrBuilderList(); /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnitOrBuilder getUnitsOrBuilder( int index); } /** * Protobuf type {@code cz.proto.coordinator.GetHotUpgradeStateRequest} */ public static final class GetHotUpgradeStateRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.GetHotUpgradeStateRequest) GetHotUpgradeStateRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetHotUpgradeStateRequest.newBuilder() to construct. private GetHotUpgradeStateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetHotUpgradeStateRequest() { units_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetHotUpgradeStateRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetHotUpgradeStateRequest( 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)) { units_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } units_.add( input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.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)) { units_ = java.util.Collections.unmodifiableList(units_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetHotUpgradeStateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetHotUpgradeStateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest.Builder.class); } public static final int UNITS_FIELD_NUMBER = 1; private java.util.List units_; /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ @java.lang.Override public java.util.List getUnitsList() { return units_; } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ @java.lang.Override public java.util.List getUnitsOrBuilderList() { return units_; } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ @java.lang.Override public int getUnitsCount() { return units_.size(); } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit getUnits(int index) { return units_.get(index); } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnitOrBuilder getUnitsOrBuilder( int index) { return units_.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 { for (int i = 0; i < units_.size(); i++) { output.writeMessage(1, units_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < units_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, units_.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.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest other = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest) obj; if (!getUnitsList() .equals(other.getUnitsList())) 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 (getUnitsCount() > 0) { hash = (37 * hash) + UNITS_FIELD_NUMBER; hash = (53 * hash) + getUnitsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest 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.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest 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.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest 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.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest 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.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest 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.coordinator.GetHotUpgradeStateRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.GetHotUpgradeStateRequest) cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetHotUpgradeStateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetHotUpgradeStateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getUnitsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (unitsBuilder_ == null) { units_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { unitsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetHotUpgradeStateRequest_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest build() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest result = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest(this); int from_bitField0_ = bitField0_; if (unitsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { units_ = java.util.Collections.unmodifiableList(units_); bitField0_ = (bitField0_ & ~0x00000001); } result.units_ = units_; } else { result.units_ = unitsBuilder_.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.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest.getDefaultInstance()) return this; if (unitsBuilder_ == null) { if (!other.units_.isEmpty()) { if (units_.isEmpty()) { units_ = other.units_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureUnitsIsMutable(); units_.addAll(other.units_); } onChanged(); } } else { if (!other.units_.isEmpty()) { if (unitsBuilder_.isEmpty()) { unitsBuilder_.dispose(); unitsBuilder_ = null; units_ = other.units_; bitField0_ = (bitField0_ & ~0x00000001); unitsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getUnitsFieldBuilder() : null; } else { unitsBuilder_.addAllMessages(other.units_); } } } 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.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List units_ = java.util.Collections.emptyList(); private void ensureUnitsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { units_ = new java.util.ArrayList(units_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit, cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnitOrBuilder> unitsBuilder_; /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public java.util.List getUnitsList() { if (unitsBuilder_ == null) { return java.util.Collections.unmodifiableList(units_); } else { return unitsBuilder_.getMessageList(); } } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public int getUnitsCount() { if (unitsBuilder_ == null) { return units_.size(); } else { return unitsBuilder_.getCount(); } } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit getUnits(int index) { if (unitsBuilder_ == null) { return units_.get(index); } else { return unitsBuilder_.getMessage(index); } } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public Builder setUnits( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit value) { if (unitsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUnitsIsMutable(); units_.set(index, value); onChanged(); } else { unitsBuilder_.setMessage(index, value); } return this; } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public Builder setUnits( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.Builder builderForValue) { if (unitsBuilder_ == null) { ensureUnitsIsMutable(); units_.set(index, builderForValue.build()); onChanged(); } else { unitsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public Builder addUnits(cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit value) { if (unitsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUnitsIsMutable(); units_.add(value); onChanged(); } else { unitsBuilder_.addMessage(value); } return this; } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public Builder addUnits( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit value) { if (unitsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUnitsIsMutable(); units_.add(index, value); onChanged(); } else { unitsBuilder_.addMessage(index, value); } return this; } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public Builder addUnits( cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.Builder builderForValue) { if (unitsBuilder_ == null) { ensureUnitsIsMutable(); units_.add(builderForValue.build()); onChanged(); } else { unitsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public Builder addUnits( int index, cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.Builder builderForValue) { if (unitsBuilder_ == null) { ensureUnitsIsMutable(); units_.add(index, builderForValue.build()); onChanged(); } else { unitsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public Builder addAllUnits( java.lang.Iterable values) { if (unitsBuilder_ == null) { ensureUnitsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, units_); onChanged(); } else { unitsBuilder_.addAllMessages(values); } return this; } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public Builder clearUnits() { if (unitsBuilder_ == null) { units_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { unitsBuilder_.clear(); } return this; } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public Builder removeUnits(int index) { if (unitsBuilder_ == null) { ensureUnitsIsMutable(); units_.remove(index); onChanged(); } else { unitsBuilder_.remove(index); } return this; } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.Builder getUnitsBuilder( int index) { return getUnitsFieldBuilder().getBuilder(index); } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnitOrBuilder getUnitsOrBuilder( int index) { if (unitsBuilder_ == null) { return units_.get(index); } else { return unitsBuilder_.getMessageOrBuilder(index); } } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public java.util.List getUnitsOrBuilderList() { if (unitsBuilder_ != null) { return unitsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(units_); } } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.Builder addUnitsBuilder() { return getUnitsFieldBuilder().addBuilder( cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.getDefaultInstance()); } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.Builder addUnitsBuilder( int index) { return getUnitsFieldBuilder().addBuilder( index, cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.getDefaultInstance()); } /** * repeated .cz.proto.coordinator.UpgradeUnit units = 1; */ public java.util.List getUnitsBuilderList() { return getUnitsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit, cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnitOrBuilder> getUnitsFieldBuilder() { if (unitsBuilder_ == null) { unitsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit, cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnitOrBuilder>( units_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); units_ = null; } return unitsBuilder_; } @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.coordinator.GetHotUpgradeStateRequest) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.GetHotUpgradeStateRequest) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetHotUpgradeStateRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetHotUpgradeStateRequest(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.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface HotUpgradeStateOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.HotUpgradeState) com.google.protobuf.MessageOrBuilder { /** * string upgrade_state = 1; * @return The upgradeState. */ java.lang.String getUpgradeState(); /** * string upgrade_state = 1; * @return The bytes for upgradeState. */ com.google.protobuf.ByteString getUpgradeStateBytes(); /** * string target_version = 2; * @return The targetVersion. */ java.lang.String getTargetVersion(); /** * string target_version = 2; * @return The bytes for targetVersion. */ com.google.protobuf.ByteString getTargetVersionBytes(); /** * string current_version = 3; * @return The currentVersion. */ java.lang.String getCurrentVersion(); /** * string current_version = 3; * @return The bytes for currentVersion. */ com.google.protobuf.ByteString getCurrentVersionBytes(); /** * int64 target_vc_id = 4; * @return The targetVcId. */ long getTargetVcId(); /** * int64 current_vc_id = 5; * @return The currentVcId. */ long getCurrentVcId(); } /** * Protobuf type {@code cz.proto.coordinator.HotUpgradeState} */ public static final class HotUpgradeState extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.HotUpgradeState) HotUpgradeStateOrBuilder { private static final long serialVersionUID = 0L; // Use HotUpgradeState.newBuilder() to construct. private HotUpgradeState(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private HotUpgradeState() { upgradeState_ = ""; targetVersion_ = ""; currentVersion_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new HotUpgradeState(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private HotUpgradeState( 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(); upgradeState_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); targetVersion_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); currentVersion_ = s; break; } case 32: { targetVcId_ = input.readInt64(); break; } case 40: { currentVcId_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HotUpgradeState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HotUpgradeState_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState.class, cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState.Builder.class); } public static final int UPGRADE_STATE_FIELD_NUMBER = 1; private volatile java.lang.Object upgradeState_; /** * string upgrade_state = 1; * @return The upgradeState. */ @java.lang.Override public java.lang.String getUpgradeState() { java.lang.Object ref = upgradeState_; 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(); upgradeState_ = s; return s; } } /** * string upgrade_state = 1; * @return The bytes for upgradeState. */ @java.lang.Override public com.google.protobuf.ByteString getUpgradeStateBytes() { java.lang.Object ref = upgradeState_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); upgradeState_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TARGET_VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object targetVersion_; /** * string target_version = 2; * @return The targetVersion. */ @java.lang.Override public java.lang.String getTargetVersion() { java.lang.Object ref = targetVersion_; 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(); targetVersion_ = s; return s; } } /** * string target_version = 2; * @return The bytes for targetVersion. */ @java.lang.Override public com.google.protobuf.ByteString getTargetVersionBytes() { java.lang.Object ref = targetVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); targetVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CURRENT_VERSION_FIELD_NUMBER = 3; private volatile java.lang.Object currentVersion_; /** * string current_version = 3; * @return The currentVersion. */ @java.lang.Override public java.lang.String getCurrentVersion() { java.lang.Object ref = currentVersion_; 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(); currentVersion_ = s; return s; } } /** * string current_version = 3; * @return The bytes for currentVersion. */ @java.lang.Override public com.google.protobuf.ByteString getCurrentVersionBytes() { java.lang.Object ref = currentVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); currentVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TARGET_VC_ID_FIELD_NUMBER = 4; private long targetVcId_; /** * int64 target_vc_id = 4; * @return The targetVcId. */ @java.lang.Override public long getTargetVcId() { return targetVcId_; } public static final int CURRENT_VC_ID_FIELD_NUMBER = 5; private long currentVcId_; /** * int64 current_vc_id = 5; * @return The currentVcId. */ @java.lang.Override public long getCurrentVcId() { return currentVcId_; } 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(upgradeState_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, upgradeState_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, targetVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(currentVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, currentVersion_); } if (targetVcId_ != 0L) { output.writeInt64(4, targetVcId_); } if (currentVcId_ != 0L) { output.writeInt64(5, currentVcId_); } 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(upgradeState_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, upgradeState_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, targetVersion_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(currentVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, currentVersion_); } if (targetVcId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, targetVcId_); } if (currentVcId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, currentVcId_); } 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.coordinator.CoordinatorServiceOuterClass.HotUpgradeState)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState other = (cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState) obj; if (!getUpgradeState() .equals(other.getUpgradeState())) return false; if (!getTargetVersion() .equals(other.getTargetVersion())) return false; if (!getCurrentVersion() .equals(other.getCurrentVersion())) return false; if (getTargetVcId() != other.getTargetVcId()) return false; if (getCurrentVcId() != other.getCurrentVcId()) 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) + UPGRADE_STATE_FIELD_NUMBER; hash = (53 * hash) + getUpgradeState().hashCode(); hash = (37 * hash) + TARGET_VERSION_FIELD_NUMBER; hash = (53 * hash) + getTargetVersion().hashCode(); hash = (37 * hash) + CURRENT_VERSION_FIELD_NUMBER; hash = (53 * hash) + getCurrentVersion().hashCode(); hash = (37 * hash) + TARGET_VC_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getTargetVcId()); hash = (37 * hash) + CURRENT_VC_ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getCurrentVcId()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState 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.coordinator.CoordinatorServiceOuterClass.HotUpgradeState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState 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.coordinator.CoordinatorServiceOuterClass.HotUpgradeState parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState 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.coordinator.CoordinatorServiceOuterClass.HotUpgradeState parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState 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.coordinator.CoordinatorServiceOuterClass.HotUpgradeState 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.coordinator.HotUpgradeState} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.HotUpgradeState) cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HotUpgradeState_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HotUpgradeState_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState.class, cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState.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(); upgradeState_ = ""; targetVersion_ = ""; currentVersion_ = ""; targetVcId_ = 0L; currentVcId_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HotUpgradeState_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState build() { cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState result = new cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState(this); result.upgradeState_ = upgradeState_; result.targetVersion_ = targetVersion_; result.currentVersion_ = currentVersion_; result.targetVcId_ = targetVcId_; result.currentVcId_ = currentVcId_; 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.coordinator.CoordinatorServiceOuterClass.HotUpgradeState) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState.getDefaultInstance()) return this; if (!other.getUpgradeState().isEmpty()) { upgradeState_ = other.upgradeState_; onChanged(); } if (!other.getTargetVersion().isEmpty()) { targetVersion_ = other.targetVersion_; onChanged(); } if (!other.getCurrentVersion().isEmpty()) { currentVersion_ = other.currentVersion_; onChanged(); } if (other.getTargetVcId() != 0L) { setTargetVcId(other.getTargetVcId()); } if (other.getCurrentVcId() != 0L) { setCurrentVcId(other.getCurrentVcId()); } 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.coordinator.CoordinatorServiceOuterClass.HotUpgradeState parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object upgradeState_ = ""; /** * string upgrade_state = 1; * @return The upgradeState. */ public java.lang.String getUpgradeState() { java.lang.Object ref = upgradeState_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); upgradeState_ = s; return s; } else { return (java.lang.String) ref; } } /** * string upgrade_state = 1; * @return The bytes for upgradeState. */ public com.google.protobuf.ByteString getUpgradeStateBytes() { java.lang.Object ref = upgradeState_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); upgradeState_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string upgrade_state = 1; * @param value The upgradeState to set. * @return This builder for chaining. */ public Builder setUpgradeState( java.lang.String value) { if (value == null) { throw new NullPointerException(); } upgradeState_ = value; onChanged(); return this; } /** * string upgrade_state = 1; * @return This builder for chaining. */ public Builder clearUpgradeState() { upgradeState_ = getDefaultInstance().getUpgradeState(); onChanged(); return this; } /** * string upgrade_state = 1; * @param value The bytes for upgradeState to set. * @return This builder for chaining. */ public Builder setUpgradeStateBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); upgradeState_ = value; onChanged(); return this; } private java.lang.Object targetVersion_ = ""; /** * string target_version = 2; * @return The targetVersion. */ public java.lang.String getTargetVersion() { java.lang.Object ref = targetVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); targetVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * string target_version = 2; * @return The bytes for targetVersion. */ public com.google.protobuf.ByteString getTargetVersionBytes() { java.lang.Object ref = targetVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); targetVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string target_version = 2; * @param value The targetVersion to set. * @return This builder for chaining. */ public Builder setTargetVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } targetVersion_ = value; onChanged(); return this; } /** * string target_version = 2; * @return This builder for chaining. */ public Builder clearTargetVersion() { targetVersion_ = getDefaultInstance().getTargetVersion(); onChanged(); return this; } /** * string target_version = 2; * @param value The bytes for targetVersion to set. * @return This builder for chaining. */ public Builder setTargetVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); targetVersion_ = value; onChanged(); return this; } private java.lang.Object currentVersion_ = ""; /** * string current_version = 3; * @return The currentVersion. */ public java.lang.String getCurrentVersion() { java.lang.Object ref = currentVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); currentVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * string current_version = 3; * @return The bytes for currentVersion. */ public com.google.protobuf.ByteString getCurrentVersionBytes() { java.lang.Object ref = currentVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); currentVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string current_version = 3; * @param value The currentVersion to set. * @return This builder for chaining. */ public Builder setCurrentVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } currentVersion_ = value; onChanged(); return this; } /** * string current_version = 3; * @return This builder for chaining. */ public Builder clearCurrentVersion() { currentVersion_ = getDefaultInstance().getCurrentVersion(); onChanged(); return this; } /** * string current_version = 3; * @param value The bytes for currentVersion to set. * @return This builder for chaining. */ public Builder setCurrentVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); currentVersion_ = value; onChanged(); return this; } private long targetVcId_ ; /** * int64 target_vc_id = 4; * @return The targetVcId. */ @java.lang.Override public long getTargetVcId() { return targetVcId_; } /** * int64 target_vc_id = 4; * @param value The targetVcId to set. * @return This builder for chaining. */ public Builder setTargetVcId(long value) { targetVcId_ = value; onChanged(); return this; } /** * int64 target_vc_id = 4; * @return This builder for chaining. */ public Builder clearTargetVcId() { targetVcId_ = 0L; onChanged(); return this; } private long currentVcId_ ; /** * int64 current_vc_id = 5; * @return The currentVcId. */ @java.lang.Override public long getCurrentVcId() { return currentVcId_; } /** * int64 current_vc_id = 5; * @param value The currentVcId to set. * @return This builder for chaining. */ public Builder setCurrentVcId(long value) { currentVcId_ = value; onChanged(); return this; } /** * int64 current_vc_id = 5; * @return This builder for chaining. */ public Builder clearCurrentVcId() { currentVcId_ = 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.coordinator.HotUpgradeState) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.HotUpgradeState) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public HotUpgradeState parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new HotUpgradeState(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.coordinator.CoordinatorServiceOuterClass.HotUpgradeState getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface HotUpgradeStateItemOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.HotUpgradeStateItem) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.coordinator.UpgradeUnit unit = 1; * @return Whether the unit field is set. */ boolean hasUnit(); /** * .cz.proto.coordinator.UpgradeUnit unit = 1; * @return The unit. */ cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit getUnit(); /** * .cz.proto.coordinator.UpgradeUnit unit = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnitOrBuilder getUnitOrBuilder(); /** * .cz.proto.coordinator.HotUpgradeState state = 2; * @return Whether the state field is set. */ boolean hasState(); /** * .cz.proto.coordinator.HotUpgradeState state = 2; * @return The state. */ cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState getState(); /** * .cz.proto.coordinator.HotUpgradeState state = 2; */ cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateOrBuilder getStateOrBuilder(); } /** * Protobuf type {@code cz.proto.coordinator.HotUpgradeStateItem} */ public static final class HotUpgradeStateItem extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.HotUpgradeStateItem) HotUpgradeStateItemOrBuilder { private static final long serialVersionUID = 0L; // Use HotUpgradeStateItem.newBuilder() to construct. private HotUpgradeStateItem(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private HotUpgradeStateItem() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new HotUpgradeStateItem(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private HotUpgradeStateItem( 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.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.Builder subBuilder = null; if (unit_ != null) { subBuilder = unit_.toBuilder(); } unit_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(unit_); unit_ = subBuilder.buildPartial(); } break; } case 18: { cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState.Builder subBuilder = null; if (state_ != null) { subBuilder = state_.toBuilder(); } state_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(state_); state_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HotUpgradeStateItem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HotUpgradeStateItem_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem.class, cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem.Builder.class); } public static final int UNIT_FIELD_NUMBER = 1; private cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit unit_; /** * .cz.proto.coordinator.UpgradeUnit unit = 1; * @return Whether the unit field is set. */ @java.lang.Override public boolean hasUnit() { return unit_ != null; } /** * .cz.proto.coordinator.UpgradeUnit unit = 1; * @return The unit. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit getUnit() { return unit_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.getDefaultInstance() : unit_; } /** * .cz.proto.coordinator.UpgradeUnit unit = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnitOrBuilder getUnitOrBuilder() { return getUnit(); } public static final int STATE_FIELD_NUMBER = 2; private cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState state_; /** * .cz.proto.coordinator.HotUpgradeState state = 2; * @return Whether the state field is set. */ @java.lang.Override public boolean hasState() { return state_ != null; } /** * .cz.proto.coordinator.HotUpgradeState state = 2; * @return The state. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState getState() { return state_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState.getDefaultInstance() : state_; } /** * .cz.proto.coordinator.HotUpgradeState state = 2; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateOrBuilder getStateOrBuilder() { return getState(); } 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 (unit_ != null) { output.writeMessage(1, getUnit()); } if (state_ != null) { output.writeMessage(2, getState()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (unit_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getUnit()); } if (state_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getState()); } 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.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem other = (cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem) obj; if (hasUnit() != other.hasUnit()) return false; if (hasUnit()) { if (!getUnit() .equals(other.getUnit())) return false; } if (hasState() != other.hasState()) return false; if (hasState()) { if (!getState() .equals(other.getState())) 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 (hasUnit()) { hash = (37 * hash) + UNIT_FIELD_NUMBER; hash = (53 * hash) + getUnit().hashCode(); } if (hasState()) { hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + getState().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem 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.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem 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.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem 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.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem 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.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem 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.coordinator.HotUpgradeStateItem} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.HotUpgradeStateItem) cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItemOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HotUpgradeStateItem_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HotUpgradeStateItem_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem.class, cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem.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 (unitBuilder_ == null) { unit_ = null; } else { unit_ = null; unitBuilder_ = null; } if (stateBuilder_ == null) { state_ = null; } else { state_ = null; stateBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_HotUpgradeStateItem_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem build() { cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem result = new cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem(this); if (unitBuilder_ == null) { result.unit_ = unit_; } else { result.unit_ = unitBuilder_.build(); } if (stateBuilder_ == null) { result.state_ = state_; } else { result.state_ = stateBuilder_.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.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem.getDefaultInstance()) return this; if (other.hasUnit()) { mergeUnit(other.getUnit()); } if (other.hasState()) { mergeState(other.getState()); } 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.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit unit_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit, cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnitOrBuilder> unitBuilder_; /** * .cz.proto.coordinator.UpgradeUnit unit = 1; * @return Whether the unit field is set. */ public boolean hasUnit() { return unitBuilder_ != null || unit_ != null; } /** * .cz.proto.coordinator.UpgradeUnit unit = 1; * @return The unit. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit getUnit() { if (unitBuilder_ == null) { return unit_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.getDefaultInstance() : unit_; } else { return unitBuilder_.getMessage(); } } /** * .cz.proto.coordinator.UpgradeUnit unit = 1; */ public Builder setUnit(cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit value) { if (unitBuilder_ == null) { if (value == null) { throw new NullPointerException(); } unit_ = value; onChanged(); } else { unitBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.UpgradeUnit unit = 1; */ public Builder setUnit( cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.Builder builderForValue) { if (unitBuilder_ == null) { unit_ = builderForValue.build(); onChanged(); } else { unitBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.UpgradeUnit unit = 1; */ public Builder mergeUnit(cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit value) { if (unitBuilder_ == null) { if (unit_ != null) { unit_ = cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.newBuilder(unit_).mergeFrom(value).buildPartial(); } else { unit_ = value; } onChanged(); } else { unitBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.UpgradeUnit unit = 1; */ public Builder clearUnit() { if (unitBuilder_ == null) { unit_ = null; onChanged(); } else { unit_ = null; unitBuilder_ = null; } return this; } /** * .cz.proto.coordinator.UpgradeUnit unit = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.Builder getUnitBuilder() { onChanged(); return getUnitFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.UpgradeUnit unit = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnitOrBuilder getUnitOrBuilder() { if (unitBuilder_ != null) { return unitBuilder_.getMessageOrBuilder(); } else { return unit_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.getDefaultInstance() : unit_; } } /** * .cz.proto.coordinator.UpgradeUnit unit = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit, cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnitOrBuilder> getUnitFieldBuilder() { if (unitBuilder_ == null) { unitBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit, cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnit.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.UpgradeUnitOrBuilder>( getUnit(), getParentForChildren(), isClean()); unit_ = null; } return unitBuilder_; } private cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState state_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState, cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateOrBuilder> stateBuilder_; /** * .cz.proto.coordinator.HotUpgradeState state = 2; * @return Whether the state field is set. */ public boolean hasState() { return stateBuilder_ != null || state_ != null; } /** * .cz.proto.coordinator.HotUpgradeState state = 2; * @return The state. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState getState() { if (stateBuilder_ == null) { return state_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState.getDefaultInstance() : state_; } else { return stateBuilder_.getMessage(); } } /** * .cz.proto.coordinator.HotUpgradeState state = 2; */ public Builder setState(cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState value) { if (stateBuilder_ == null) { if (value == null) { throw new NullPointerException(); } state_ = value; onChanged(); } else { stateBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.HotUpgradeState state = 2; */ public Builder setState( cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState.Builder builderForValue) { if (stateBuilder_ == null) { state_ = builderForValue.build(); onChanged(); } else { stateBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.HotUpgradeState state = 2; */ public Builder mergeState(cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState value) { if (stateBuilder_ == null) { if (state_ != null) { state_ = cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState.newBuilder(state_).mergeFrom(value).buildPartial(); } else { state_ = value; } onChanged(); } else { stateBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.HotUpgradeState state = 2; */ public Builder clearState() { if (stateBuilder_ == null) { state_ = null; onChanged(); } else { state_ = null; stateBuilder_ = null; } return this; } /** * .cz.proto.coordinator.HotUpgradeState state = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState.Builder getStateBuilder() { onChanged(); return getStateFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.HotUpgradeState state = 2; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateOrBuilder getStateOrBuilder() { if (stateBuilder_ != null) { return stateBuilder_.getMessageOrBuilder(); } else { return state_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState.getDefaultInstance() : state_; } } /** * .cz.proto.coordinator.HotUpgradeState state = 2; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState, cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateOrBuilder> getStateFieldBuilder() { if (stateBuilder_ == null) { stateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState, cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeState.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateOrBuilder>( getState(), getParentForChildren(), isClean()); state_ = null; } return stateBuilder_; } @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.coordinator.HotUpgradeStateItem) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.HotUpgradeStateItem) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public HotUpgradeStateItem parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new HotUpgradeStateItem(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.coordinator.CoordinatorServiceOuterClass.HotUpgradeStateItem getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetHotUpgradeStateResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.GetHotUpgradeStateResponse) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ boolean hasRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ cz.proto.ServiceCommon.ResponseStatus getRespStatus(); /** * .cz.proto.ResponseStatus resp_status = 1; */ cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder(); /** * map<string, string> details = 2; */ int getDetailsCount(); /** * map<string, string> details = 2; */ boolean containsDetails( java.lang.String key); /** * Use {@link #getDetailsMap()} instead. */ @java.lang.Deprecated java.util.Map getDetails(); /** * map<string, string> details = 2; */ java.util.Map getDetailsMap(); /** * map<string, string> details = 2; */ java.lang.String getDetailsOrDefault( java.lang.String key, java.lang.String defaultValue); /** * map<string, string> details = 2; */ java.lang.String getDetailsOrThrow( java.lang.String key); } /** * Protobuf type {@code cz.proto.coordinator.GetHotUpgradeStateResponse} */ public static final class GetHotUpgradeStateResponse extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.GetHotUpgradeStateResponse) GetHotUpgradeStateResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetHotUpgradeStateResponse.newBuilder() to construct. private GetHotUpgradeStateResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetHotUpgradeStateResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetHotUpgradeStateResponse(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetHotUpgradeStateResponse( 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.ServiceCommon.ResponseStatus.Builder subBuilder = null; if (respStatus_ != null) { subBuilder = respStatus_.toBuilder(); } respStatus_ = input.readMessage(cz.proto.ServiceCommon.ResponseStatus.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(respStatus_); respStatus_ = subBuilder.buildPartial(); } break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { details_ = com.google.protobuf.MapField.newMapField( DetailsDefaultEntryHolder.defaultEntry); mutable_bitField0_ |= 0x00000001; } com.google.protobuf.MapEntry details__ = input.readMessage( DetailsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); details_.getMutableMap().put( details__.getKey(), details__.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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetHotUpgradeStateResponse_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetDetails(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetHotUpgradeStateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse.Builder.class); } public static final int RESP_STATUS_FIELD_NUMBER = 1; private cz.proto.ServiceCommon.ResponseStatus respStatus_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ @java.lang.Override public boolean hasRespStatus() { return respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } /** * .cz.proto.ResponseStatus resp_status = 1; */ @java.lang.Override public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { return getRespStatus(); } public static final int DETAILS_FIELD_NUMBER = 2; private static final class DetailsDefaultEntryHolder { static final com.google.protobuf.MapEntry< java.lang.String, java.lang.String> defaultEntry = com.google.protobuf.MapEntry .newDefaultInstance( cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetHotUpgradeStateResponse_DetailsEntry_descriptor, com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.STRING, ""); } private com.google.protobuf.MapField< java.lang.String, java.lang.String> details_; private com.google.protobuf.MapField internalGetDetails() { if (details_ == null) { return com.google.protobuf.MapField.emptyMapField( DetailsDefaultEntryHolder.defaultEntry); } return details_; } public int getDetailsCount() { return internalGetDetails().getMap().size(); } /** * map<string, string> details = 2; */ @java.lang.Override public boolean containsDetails( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetDetails().getMap().containsKey(key); } /** * Use {@link #getDetailsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getDetails() { return getDetailsMap(); } /** * map<string, string> details = 2; */ @java.lang.Override public java.util.Map getDetailsMap() { return internalGetDetails().getMap(); } /** * map<string, string> details = 2; */ @java.lang.Override public java.lang.String getDetailsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetDetails().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> details = 2; */ @java.lang.Override public java.lang.String getDetailsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetDetails().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 (respStatus_ != null) { output.writeMessage(1, getRespStatus()); } com.google.protobuf.GeneratedMessageV3 .serializeStringMapTo( output, internalGetDetails(), DetailsDefaultEntryHolder.defaultEntry, 2); unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (respStatus_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getRespStatus()); } for (java.util.Map.Entry entry : internalGetDetails().getMap().entrySet()) { com.google.protobuf.MapEntry details__ = DetailsDefaultEntryHolder.defaultEntry.newBuilderForType() .setKey(entry.getKey()) .setValue(entry.getValue()) .build(); size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, details__); } 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.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse other = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse) obj; if (hasRespStatus() != other.hasRespStatus()) return false; if (hasRespStatus()) { if (!getRespStatus() .equals(other.getRespStatus())) return false; } if (!internalGetDetails().equals( other.internalGetDetails())) 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 (hasRespStatus()) { hash = (37 * hash) + RESP_STATUS_FIELD_NUMBER; hash = (53 * hash) + getRespStatus().hashCode(); } if (!internalGetDetails().getMap().isEmpty()) { hash = (37 * hash) + DETAILS_FIELD_NUMBER; hash = (53 * hash) + internalGetDetails().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse 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.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse 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.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse 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.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse 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.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse 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.coordinator.GetHotUpgradeStateResponse} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.GetHotUpgradeStateResponse) cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetHotUpgradeStateResponse_descriptor; } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMapField( int number) { switch (number) { case 2: return internalGetDetails(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField( int number) { switch (number) { case 2: return internalGetMutableDetails(); default: throw new RuntimeException( "Invalid map field number: " + number); } } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetHotUpgradeStateResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse.class, cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse.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 (respStatusBuilder_ == null) { respStatus_ = null; } else { respStatus_ = null; respStatusBuilder_ = null; } internalGetMutableDetails().clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_GetHotUpgradeStateResponse_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse build() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse result = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse(this); int from_bitField0_ = bitField0_; if (respStatusBuilder_ == null) { result.respStatus_ = respStatus_; } else { result.respStatus_ = respStatusBuilder_.build(); } result.details_ = internalGetDetails(); result.details_.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.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse.getDefaultInstance()) return this; if (other.hasRespStatus()) { mergeRespStatus(other.getRespStatus()); } internalGetMutableDetails().mergeFrom( other.internalGetDetails()); 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.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private cz.proto.ServiceCommon.ResponseStatus respStatus_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> respStatusBuilder_; /** * .cz.proto.ResponseStatus resp_status = 1; * @return Whether the respStatus field is set. */ public boolean hasRespStatus() { return respStatusBuilder_ != null || respStatus_ != null; } /** * .cz.proto.ResponseStatus resp_status = 1; * @return The respStatus. */ public cz.proto.ServiceCommon.ResponseStatus getRespStatus() { if (respStatusBuilder_ == null) { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } else { return respStatusBuilder_.getMessage(); } } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (value == null) { throw new NullPointerException(); } respStatus_ = value; onChanged(); } else { respStatusBuilder_.setMessage(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder setRespStatus( cz.proto.ServiceCommon.ResponseStatus.Builder builderForValue) { if (respStatusBuilder_ == null) { respStatus_ = builderForValue.build(); onChanged(); } else { respStatusBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder mergeRespStatus(cz.proto.ServiceCommon.ResponseStatus value) { if (respStatusBuilder_ == null) { if (respStatus_ != null) { respStatus_ = cz.proto.ServiceCommon.ResponseStatus.newBuilder(respStatus_).mergeFrom(value).buildPartial(); } else { respStatus_ = value; } onChanged(); } else { respStatusBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public Builder clearRespStatus() { if (respStatusBuilder_ == null) { respStatus_ = null; onChanged(); } else { respStatus_ = null; respStatusBuilder_ = null; } return this; } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatus.Builder getRespStatusBuilder() { onChanged(); return getRespStatusFieldBuilder().getBuilder(); } /** * .cz.proto.ResponseStatus resp_status = 1; */ public cz.proto.ServiceCommon.ResponseStatusOrBuilder getRespStatusOrBuilder() { if (respStatusBuilder_ != null) { return respStatusBuilder_.getMessageOrBuilder(); } else { return respStatus_ == null ? cz.proto.ServiceCommon.ResponseStatus.getDefaultInstance() : respStatus_; } } /** * .cz.proto.ResponseStatus resp_status = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder> getRespStatusFieldBuilder() { if (respStatusBuilder_ == null) { respStatusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.ServiceCommon.ResponseStatus, cz.proto.ServiceCommon.ResponseStatus.Builder, cz.proto.ServiceCommon.ResponseStatusOrBuilder>( getRespStatus(), getParentForChildren(), isClean()); respStatus_ = null; } return respStatusBuilder_; } private com.google.protobuf.MapField< java.lang.String, java.lang.String> details_; private com.google.protobuf.MapField internalGetDetails() { if (details_ == null) { return com.google.protobuf.MapField.emptyMapField( DetailsDefaultEntryHolder.defaultEntry); } return details_; } private com.google.protobuf.MapField internalGetMutableDetails() { onChanged();; if (details_ == null) { details_ = com.google.protobuf.MapField.newMapField( DetailsDefaultEntryHolder.defaultEntry); } if (!details_.isMutable()) { details_ = details_.copy(); } return details_; } public int getDetailsCount() { return internalGetDetails().getMap().size(); } /** * map<string, string> details = 2; */ @java.lang.Override public boolean containsDetails( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } return internalGetDetails().getMap().containsKey(key); } /** * Use {@link #getDetailsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getDetails() { return getDetailsMap(); } /** * map<string, string> details = 2; */ @java.lang.Override public java.util.Map getDetailsMap() { return internalGetDetails().getMap(); } /** * map<string, string> details = 2; */ @java.lang.Override public java.lang.String getDetailsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetDetails().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, string> details = 2; */ @java.lang.Override public java.lang.String getDetailsOrThrow( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } java.util.Map map = internalGetDetails().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } public Builder clearDetails() { internalGetMutableDetails().getMutableMap() .clear(); return this; } /** * map<string, string> details = 2; */ public Builder removeDetails( java.lang.String key) { if (key == null) { throw new NullPointerException("map key"); } internalGetMutableDetails().getMutableMap() .remove(key); return this; } /** * Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map getMutableDetails() { return internalGetMutableDetails().getMutableMap(); } /** * map<string, string> details = 2; */ public Builder putDetails( java.lang.String key, java.lang.String value) { if (key == null) { throw new NullPointerException("map key"); } if (value == null) { throw new NullPointerException("map value"); } internalGetMutableDetails().getMutableMap() .put(key, value); return this; } /** * map<string, string> details = 2; */ public Builder putAllDetails( java.util.Map values) { internalGetMutableDetails().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.coordinator.GetHotUpgradeStateResponse) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.GetHotUpgradeStateResponse) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GetHotUpgradeStateResponse parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GetHotUpgradeStateResponse(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.coordinator.CoordinatorServiceOuterClass.GetHotUpgradeStateResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ListMasterJobsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:cz.proto.coordinator.ListMasterJobsRequest) com.google.protobuf.MessageOrBuilder { /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ boolean hasAccount(); /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount(); /** * .cz.proto.coordinator.Account account = 1; */ cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder(); /** * int64 instance_id = 2; * @return The instanceId. */ long getInstanceId(); /** * string workspace = 3; * @return The workspace. */ java.lang.String getWorkspace(); /** * string workspace = 3; * @return The bytes for workspace. */ com.google.protobuf.ByteString getWorkspaceBytes(); /** * string vc = 4; * @return The vc. */ java.lang.String getVc(); /** * string vc = 4; * @return The bytes for vc. */ com.google.protobuf.ByteString getVcBytes(); /** * string release_version = 10; * @return The releaseVersion. */ java.lang.String getReleaseVersion(); /** * string release_version = 10; * @return The bytes for releaseVersion. */ com.google.protobuf.ByteString getReleaseVersionBytes(); } /** * Protobuf type {@code cz.proto.coordinator.ListMasterJobsRequest} */ public static final class ListMasterJobsRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:cz.proto.coordinator.ListMasterJobsRequest) ListMasterJobsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use ListMasterJobsRequest.newBuilder() to construct. private ListMasterJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ListMasterJobsRequest() { workspace_ = ""; vc_ = ""; releaseVersion_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ListMasterJobsRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ListMasterJobsRequest( 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.coordinator.CoordinatorServiceOuterClass.Account.Builder subBuilder = null; if (account_ != null) { subBuilder = account_.toBuilder(); } account_ = input.readMessage(cz.proto.coordinator.CoordinatorServiceOuterClass.Account.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(account_); account_ = subBuilder.buildPartial(); } break; } case 16: { instanceId_ = input.readInt64(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); workspace_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); vc_ = s; break; } case 82: { java.lang.String s = input.readStringRequireUtf8(); releaseVersion_ = 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.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListMasterJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListMasterJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest.Builder.class); } public static final int ACCOUNT_FIELD_NUMBER = 1; private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ @java.lang.Override public boolean hasAccount() { return account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } /** * .cz.proto.coordinator.Account account = 1; */ @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { return getAccount(); } public static final int INSTANCE_ID_FIELD_NUMBER = 2; private long instanceId_; /** * int64 instance_id = 2; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } public static final int WORKSPACE_FIELD_NUMBER = 3; private volatile java.lang.Object workspace_; /** * string workspace = 3; * @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 = 3; * @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 VC_FIELD_NUMBER = 4; private volatile java.lang.Object vc_; /** * string vc = 4; * @return The vc. */ @java.lang.Override public java.lang.String getVc() { java.lang.Object ref = vc_; 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(); vc_ = s; return s; } } /** * string vc = 4; * @return The bytes for vc. */ @java.lang.Override public com.google.protobuf.ByteString getVcBytes() { java.lang.Object ref = vc_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); vc_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RELEASE_VERSION_FIELD_NUMBER = 10; private volatile java.lang.Object releaseVersion_; /** * string release_version = 10; * @return The releaseVersion. */ @java.lang.Override public java.lang.String getReleaseVersion() { java.lang.Object ref = releaseVersion_; 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(); releaseVersion_ = s; return s; } } /** * string release_version = 10; * @return The bytes for releaseVersion. */ @java.lang.Override public com.google.protobuf.ByteString getReleaseVersionBytes() { java.lang.Object ref = releaseVersion_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); releaseVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (account_ != null) { output.writeMessage(1, getAccount()); } if (instanceId_ != 0L) { output.writeInt64(2, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, workspace_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vc_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, vc_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(releaseVersion_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, releaseVersion_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (account_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getAccount()); } if (instanceId_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, instanceId_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workspace_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, workspace_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vc_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, vc_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(releaseVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, releaseVersion_); } 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.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest)) { return super.equals(obj); } cz.proto.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest other = (cz.proto.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest) obj; if (hasAccount() != other.hasAccount()) return false; if (hasAccount()) { if (!getAccount() .equals(other.getAccount())) return false; } if (getInstanceId() != other.getInstanceId()) return false; if (!getWorkspace() .equals(other.getWorkspace())) return false; if (!getVc() .equals(other.getVc())) return false; if (!getReleaseVersion() .equals(other.getReleaseVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasAccount()) { hash = (37 * hash) + ACCOUNT_FIELD_NUMBER; hash = (53 * hash) + getAccount().hashCode(); } hash = (37 * hash) + 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) + VC_FIELD_NUMBER; hash = (53 * hash) + getVc().hashCode(); hash = (37 * hash) + RELEASE_VERSION_FIELD_NUMBER; hash = (53 * hash) + getReleaseVersion().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest 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.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest 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.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest 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.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest 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.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest 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.coordinator.ListMasterJobsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:cz.proto.coordinator.ListMasterJobsRequest) cz.proto.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListMasterJobsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListMasterJobsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( cz.proto.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest.class, cz.proto.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest.Builder.class); } // Construct using cz.proto.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (accountBuilder_ == null) { account_ = null; } else { account_ = null; accountBuilder_ = null; } instanceId_ = 0L; workspace_ = ""; vc_ = ""; releaseVersion_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.internal_static_cz_proto_coordinator_ListMasterJobsRequest_descriptor; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest getDefaultInstanceForType() { return cz.proto.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest.getDefaultInstance(); } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest build() { cz.proto.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public cz.proto.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest buildPartial() { cz.proto.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest result = new cz.proto.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest(this); if (accountBuilder_ == null) { result.account_ = account_; } else { result.account_ = accountBuilder_.build(); } result.instanceId_ = instanceId_; result.workspace_ = workspace_; result.vc_ = vc_; result.releaseVersion_ = releaseVersion_; 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.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest) { return mergeFrom((cz.proto.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(cz.proto.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest other) { if (other == cz.proto.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest.getDefaultInstance()) return this; if (other.hasAccount()) { mergeAccount(other.getAccount()); } if (other.getInstanceId() != 0L) { setInstanceId(other.getInstanceId()); } if (!other.getWorkspace().isEmpty()) { workspace_ = other.workspace_; onChanged(); } if (!other.getVc().isEmpty()) { vc_ = other.vc_; onChanged(); } if (!other.getReleaseVersion().isEmpty()) { releaseVersion_ = other.releaseVersion_; 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.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (cz.proto.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private cz.proto.coordinator.CoordinatorServiceOuterClass.Account account_; private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> accountBuilder_; /** * .cz.proto.coordinator.Account account = 1; * @return Whether the account field is set. */ public boolean hasAccount() { return accountBuilder_ != null || account_ != null; } /** * .cz.proto.coordinator.Account account = 1; * @return The account. */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account getAccount() { if (accountBuilder_ == null) { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } else { return accountBuilder_.getMessage(); } } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (value == null) { throw new NullPointerException(); } account_ = value; onChanged(); } else { accountBuilder_.setMessage(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder setAccount( cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder builderForValue) { if (accountBuilder_ == null) { account_ = builderForValue.build(); onChanged(); } else { accountBuilder_.setMessage(builderForValue.build()); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder mergeAccount(cz.proto.coordinator.CoordinatorServiceOuterClass.Account value) { if (accountBuilder_ == null) { if (account_ != null) { account_ = cz.proto.coordinator.CoordinatorServiceOuterClass.Account.newBuilder(account_).mergeFrom(value).buildPartial(); } else { account_ = value; } onChanged(); } else { accountBuilder_.mergeFrom(value); } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public Builder clearAccount() { if (accountBuilder_ == null) { account_ = null; onChanged(); } else { account_ = null; accountBuilder_ = null; } return this; } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder getAccountBuilder() { onChanged(); return getAccountFieldBuilder().getBuilder(); } /** * .cz.proto.coordinator.Account account = 1; */ public cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder getAccountOrBuilder() { if (accountBuilder_ != null) { return accountBuilder_.getMessageOrBuilder(); } else { return account_ == null ? cz.proto.coordinator.CoordinatorServiceOuterClass.Account.getDefaultInstance() : account_; } } /** * .cz.proto.coordinator.Account account = 1; */ private com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder> getAccountFieldBuilder() { if (accountBuilder_ == null) { accountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< cz.proto.coordinator.CoordinatorServiceOuterClass.Account, cz.proto.coordinator.CoordinatorServiceOuterClass.Account.Builder, cz.proto.coordinator.CoordinatorServiceOuterClass.AccountOrBuilder>( getAccount(), getParentForChildren(), isClean()); account_ = null; } return accountBuilder_; } private long instanceId_ ; /** * int64 instance_id = 2; * @return The instanceId. */ @java.lang.Override public long getInstanceId() { return instanceId_; } /** * int64 instance_id = 2; * @param value The instanceId to set. * @return This builder for chaining. */ public Builder setInstanceId(long value) { instanceId_ = value; onChanged(); return this; } /** * int64 instance_id = 2; * @return This builder for chaining. */ public Builder clearInstanceId() { instanceId_ = 0L; onChanged(); return this; } private java.lang.Object workspace_ = ""; /** * string workspace = 3; * @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 = 3; * @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 = 3; * @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 = 3; * @return This builder for chaining. */ public Builder clearWorkspace() { workspace_ = getDefaultInstance().getWorkspace(); onChanged(); return this; } /** * string workspace = 3; * @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 vc_ = ""; /** * string vc = 4; * @return The vc. */ public java.lang.String getVc() { java.lang.Object ref = vc_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vc_ = s; return s; } else { return (java.lang.String) ref; } } /** * string vc = 4; * @return The bytes for vc. */ public com.google.protobuf.ByteString getVcBytes() { java.lang.Object ref = vc_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); vc_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string vc = 4; * @param value The vc to set. * @return This builder for chaining. */ public Builder setVc( java.lang.String value) { if (value == null) { throw new NullPointerException(); } vc_ = value; onChanged(); return this; } /** * string vc = 4; * @return This builder for chaining. */ public Builder clearVc() { vc_ = getDefaultInstance().getVc(); onChanged(); return this; } /** * string vc = 4; * @param value The bytes for vc to set. * @return This builder for chaining. */ public Builder setVcBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); vc_ = value; onChanged(); return this; } private java.lang.Object releaseVersion_ = ""; /** * string release_version = 10; * @return The releaseVersion. */ public java.lang.String getReleaseVersion() { java.lang.Object ref = releaseVersion_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); releaseVersion_ = s; return s; } else { return (java.lang.String) ref; } } /** * string release_version = 10; * @return The bytes for releaseVersion. */ public com.google.protobuf.ByteString getReleaseVersionBytes() { java.lang.Object ref = releaseVersion_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); releaseVersion_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string release_version = 10; * @param value The releaseVersion to set. * @return This builder for chaining. */ public Builder setReleaseVersion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } releaseVersion_ = value; onChanged(); return this; } /** * string release_version = 10; * @return This builder for chaining. */ public Builder clearReleaseVersion() { releaseVersion_ = getDefaultInstance().getReleaseVersion(); onChanged(); return this; } /** * string release_version = 10; * @param value The bytes for releaseVersion to set. * @return This builder for chaining. */ public Builder setReleaseVersionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); releaseVersion_ = 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.coordinator.ListMasterJobsRequest) } // @@protoc_insertion_point(class_scope:cz.proto.coordinator.ListMasterJobsRequest) private static final cz.proto.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new cz.proto.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest(); } public static cz.proto.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListMasterJobsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListMasterJobsRequest(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.coordinator.CoordinatorServiceOuterClass.ListMasterJobsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_JobID_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_JobID_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_Account_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_Account_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_ClientContextInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_ClientContextInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_JobDesc_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_JobDesc_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_JobDesc_JobConfigEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_JobDesc_JobConfigEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_JobStatus_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_JobStatus_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_JobResultData_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_JobResultData_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_LocationFileInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_LocationFileInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_JobResultLocation_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_JobResultLocation_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_JobResultSetMetadata_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_JobResultSetMetadata_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_JobResultSet_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_JobResultSet_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_SubmitJobRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_SubmitJobRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_SubmitJobResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_SubmitJobResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_ListJobsRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_ListJobsRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_ListJobsResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_ListJobsResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_ListJobsResponse_JobDetail_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_ListJobsResponse_JobDetail_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_CancelJobRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_CancelJobRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_CancelJobResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_CancelJobResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_GetJobRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_GetJobRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_GetJobResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_GetJobResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_GetJobStatusRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_GetJobStatusRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_GetJobStatusResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_GetJobStatusResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_GetJobResultRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_GetJobResultRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_GetJobResultResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_GetJobResultResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_GetJobProfileRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_GetJobProfileRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_GetJobProfileResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_GetJobProfileResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_GetJobSummaryRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_GetJobSummaryRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_GetJobSummaryResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_GetJobSummaryResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_GetJobProgressRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_GetJobProgressRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_GetJobProgressResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_GetJobProgressResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_GetJobPlanRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_GetJobPlanRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_GetJobPlanResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_GetJobPlanResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_JobRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_JobRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_InitializeInstanceRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_InitializeInstanceRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_InitializeInstanceResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_InitializeInstanceResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_CreateWorkspaceRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_CreateWorkspaceRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_CreateWorkspaceResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_CreateWorkspaceResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_UpdateWorkspaceRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_UpdateWorkspaceRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_UpdateWorkspaceResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_UpdateWorkspaceResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_DeleteWorkspaceRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_DeleteWorkspaceRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_DeleteWorkspaceResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_DeleteWorkspaceResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_ListWorkspacesRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_ListWorkspacesRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_ListWorkspacesResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_ListWorkspacesResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_GetWorkspaceRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_GetWorkspaceRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_GetWorkspaceResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_GetWorkspaceResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_WorkspaceRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_WorkspaceRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_GetUserRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_GetUserRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_GetUserResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_GetUserResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_SetFlightingRouteTableRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_SetFlightingRouteTableRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_SetFlightingRouteTableResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_SetFlightingRouteTableResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_GetFlightingRouteTableRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_GetFlightingRouteTableRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_GetFlightingRouteTableResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_GetFlightingRouteTableResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_ListFlightingRouteTableRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_ListFlightingRouteTableRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_RouteItem_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_RouteItem_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_RouteItem_FlowBucketEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_RouteItem_FlowBucketEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_ServiceRoute_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_ServiceRoute_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_ListFlightingRouteTableResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_ListFlightingRouteTableResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_OpenTableRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_OpenTableRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_OpenTableRequest_IcebergFormat_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_OpenTableRequest_IcebergFormat_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_OpenTableResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_OpenTableResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_OpenTableResponse_IcebergFormat_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_OpenTableResponse_IcebergFormat_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_OpenTableResponse_IcebergFormat_PropertiesEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_OpenTableResponse_IcebergFormat_PropertiesEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_NetworkPolicyRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_NetworkPolicyRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_NetworkPolicyResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_NetworkPolicyResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_GetJobAddressRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_GetJobAddressRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_GetJobAddressResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_GetJobAddressResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_ProcessInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_ProcessInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_HystrixInfo_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_HystrixInfo_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_HeartBeat_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_HeartBeat_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_HeartBeat_JobProfilingsEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_HeartBeat_JobProfilingsEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_HeartBeatResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_HeartBeatResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_ListWorkerRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_ListWorkerRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_WorkDetail_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_WorkDetail_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_ListWorkerResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_ListWorkerResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_SetServiceRouteRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_SetServiceRouteRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_SetServiceRouteResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_SetServiceRouteResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_SetServiceRouteResponse_DetailsEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_SetServiceRouteResponse_DetailsEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_GetServiceRouteRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_GetServiceRouteRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_GetServiceRouteResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_GetServiceRouteResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_UpgradeUnit_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_UpgradeUnit_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_HotUpgradeRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_HotUpgradeRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_HotUpgradeResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_HotUpgradeResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_HotUpgradeResponse_DetailsEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_HotUpgradeResponse_DetailsEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_GetHotUpgradeStateRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_GetHotUpgradeStateRequest_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_HotUpgradeState_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_HotUpgradeState_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_HotUpgradeStateItem_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_HotUpgradeStateItem_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_GetHotUpgradeStateResponse_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_GetHotUpgradeStateResponse_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_GetHotUpgradeStateResponse_DetailsEntry_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_GetHotUpgradeStateResponse_DetailsEntry_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_cz_proto_coordinator_ListMasterJobsRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_cz_proto_coordinator_ListMasterJobsRequest_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\031coordinator_service.proto\022\024cz.proto.co" + "ordinator\032\024service_common.proto\032\022table_c" + "ommon.proto\032\025metadata_entity.proto\032\027obje" + "ct_identifier.proto\032\021file_system.proto\032\r" + "account.proto\032\016job_meta.proto\032\tjob.proto" + "\032\020encryption.proto\";\n\005JobID\022\n\n\002id\030\001 \001(\t\022" + "\021\n\tworkspace\030\002 \001(\t\022\023\n\013instance_id\030\003 \001(\003\"" + "0\n\007Account\022\017\n\007user_id\030\001 \001(\003\022\024\n\014access_to" + "ken\030\002 \001(\t\"D\n\021ClientContextInfo\022\031\n\021config" + "_statements\030\001 \003(\t\022\024\n\014context_json\030\002 \001(\t\"" + "\265\005\n\007JobDesc\022\027\n\017virtual_cluster\030\001 \001(\t\022\037\n\004" + "type\030\002 \001(\0162\021.cz.proto.JobType\022+\n\006job_id\030" + "\003 \001(\0132\033.cz.proto.coordinator.JobID\022\020\n\010jo" + "b_name\030\004 \001(\t\022.\n\007account\030\005 \001(\0132\035.cz.proto" + ".coordinator.Account\022:\n\014request_mode\030\006 \001" + "(\0162$.cz.proto.coordinator.JobRequestMode" + "\022\036\n\026hybrid_polling_timeout\030\007 \001(\005\022@\n\njob_" + "config\030\010 \003(\0132,.cz.proto.coordinator.JobD" + "esc.JobConfigEntry\022#\n\007sql_job\030\t \001(\0132\020.cz" + ".proto.SQLJobH\000\022\026\n\016job_timeout_ms\030\017 \001(\004\022" + "\022\n\nuser_agent\030\036 \001(\t\022\020\n\010priority\030\037 \001(\r\022\027\n" + "\017priority_string\030 \001(\t\022?\n\016client_context" + "\030! \001(\0132\'.cz.proto.coordinator.ClientCont" + "extInfo\022\021\n\tquery_tag\030\" \001(\t\022\030\n\013jdbc_domai" + "n\030# \001(\tH\001\210\001\001\0220\n\020client_profiling\030$ \001(\0132\026" + ".cz.proto.JobProfiling\0320\n\016JobConfigEntry" + "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\005\n\003jobB" + "\016\n\014_jdbc_domain\"\276\002\n\tJobStatus\022+\n\006job_id\030" + "\001 \001(\0132\033.cz.proto.coordinator.JobID\022\r\n\005st" + "ate\030\002 \001(\t\022\017\n\007message\030\003 \001(\t\022\023\n\013submit_tim" + "e\030\004 \001(\003\022\022\n\nstart_time\030\005 \001(\003\022\020\n\010end_time\030" + "\006 \001(\003\022\024\n\014pending_time\030\007 \001(\003\022\024\n\014running_t" + "ime\030\010 \001(\003\022#\n\006status\030\t \001(\0162\023.cz.proto.Job" + "Status\022\025\n\rexecution_log\030\n \003(\t\022\022\n\nerror_c" + "ode\030\013 \001(\t\022-\n\rjob_profiling\030\014 \001(\0132\026.cz.pr" + "oto.JobProfiling\"\035\n\rJobResultData\022\014\n\004dat" + "a\030\001 \003(\014\"8\n\020LocationFileInfo\022\021\n\tfile_path" + "\030\001 \001(\t\022\021\n\tfile_size\030\002 \001(\003\"\275\002\n\021JobResultL" + "ocation\022\020\n\010location\030\001 \003(\t\022-\n\013file_system" + "\030\002 \001(\0162\030.cz.proto.FileSystemType\022\021\n\tsts_" + "ak_id\030\003 \001(\t\022\025\n\rsts_ak_secret\030\004 \001(\t\022\021\n\tst" + "s_token\030\005 \001(\t\022\024\n\014oss_endpoint\030\006 \001(\t\022\035\n\025o" + "ss_internal_endpoint\030\007 \001(\t\022>\n\016location_f" + "iles\030\010 \003(\0132&.cz.proto.coordinator.Locati" + "onFileInfo\022\035\n\025object_storage_region\030\t \001(" + "\t\022\026\n\016presigned_urls\030\n \003(\t\"\263\001\n\024JobResultS" + "etMetadata\022\020\n\010num_rows\030\001 \001(\003\0222\n\006format\030\002" + " \001(\0162\".cz.proto.coordinator.ResultFormat" + "\022.\n\004type\030\003 \001(\0162 .cz.proto.coordinator.Re" + "sultType\022%\n\006fields\030\004 \003(\0132\025.cz.proto.Fiel" + "dSchema\"\272\001\n\014JobResultSet\022<\n\010metadata\030\001 \001" + "(\0132*.cz.proto.coordinator.JobResultSetMe" + "tadata\0221\n\004data\030\002 \001(\0132#.cz.proto.coordina" + "tor.JobResultData\0229\n\010location\030\003 \001(\0132\'.cz" + ".proto.coordinator.JobResultLocation\"C\n\020" + "SubmitJobRequest\022/\n\010job_desc\030\001 \001(\0132\035.cz." + "proto.coordinator.JobDesc\"\253\001\n\021SubmitJobR" + "esponse\022-\n\013resp_status\030\001 \001(\0132\030.cz.proto." + "ResponseStatus\022/\n\006status\030\002 \001(\0132\037.cz.prot" + "o.coordinator.JobStatus\0226\n\nresult_set\030\003 " + "\001(\0132\".cz.proto.coordinator.JobResultSet\"" + "\210\005\n\017ListJobsRequest\022.\n\007account\030\001 \001(\0132\035.c" + "z.proto.coordinator.Account\022\021\n\tworkspace" + "\030\002 \001(\t\022\023\n\013instance_id\030\003 \001(\003\022\027\n\017virtual_c" + "luster\030\004 \001(\t\022\022\n\njob_status\030\005 \001(\t\022\026\n\016min_" + "start_time\030\006 \001(\003\022\026\n\016max_start_time\030\007 \001(\003" + "\022\020\n\010max_size\030\t \001(\003\022\024\n\014list_in_meta\030\n \001(\010" + "\022\016\n\006offset\030\013 \001(\003\022C\n\010order_by\030\014 \001(\01621.cz." + "proto.coordinator.ListJobsRequest.ListOr" + "derby\022\021\n\tascending\030\r \001(\010\022\027\n\017priority_str" + "ing\030\016 \001(\t\022\016\n\006job_id\030\017 \001(\t\022\020\n\010owner_id\030\020 " + "\001(\003\022\033\n\023min_running_time_ms\030\021 \001(\003\022\033\n\023max_" + "running_time_ms\030\022 \001(\003\022\021\n\tquery_tag\030\023 \001(\t" + "\022\016\n\006detail\030\034 \001(\010\022\r\n\005force\030\035 \001(\010\022\022\n\nuser_" + "agent\030\036 \001(\t\"u\n\013ListOrderby\022\027\n\023ORDER_BY_S" + "TART_TIME\020\000\022\031\n\025ORDER_BY_RUNNING_TIME\020\001\022\031" + "\n\025ORDER_BY_JOB_PRIORITY\020\002\022\027\n\023ORDER_BY_JO" + "B_STATUS\020\003\"\223\004\n\020ListJobsResponse\022-\n\013resp_" + "status\030\001 \001(\0132\030.cz.proto.ResponseStatus\022E" + "\n\013job_details\030\002 \003(\01320.cz.proto.coordinat" + "or.ListJobsResponse.JobDetail\022\027\n\017total_j" + "ob_count\030\003 \001(\003\032\357\002\n\tJobDetail\022/\n\006status\030\001" + " \001(\0132\037.cz.proto.coordinator.JobStatus\022\020\n" + "\010job_name\030\002 \001(\t\022\020\n\010owner_id\030\003 \001(\004\022\020\n\010pri" + "ority\030\004 \001(\r\022\020\n\010job_type\030\005 \001(\t\022\021\n\tstateme" + "nt\030\006 \003(\t\022\023\n\013input_bytes\030\007 \001(\004\022\025\n\rrows_pr" + "oduced\030\010 \001(\004\022\027\n\017virtual_cluster\030\t \001(\t\022\027\n" + "\017priority_string\030\n \001(\t\022)\n\013job_history\030\014 " + "\003(\0132\024.cz.proto.JobHistory\022\034\n\024virtual_clu" + "ster_type\030\016 \001(\t\022\034\n\024virtual_cluster_size\030" + "\017 \001(\t\022\021\n\tquery_tag\030\020 \001(\t\"\222\001\n\020CancelJobRe" + "quest\022.\n\007account\030\001 \001(\0132\035.cz.proto.coordi" + "nator.Account\022+\n\006job_id\030\002 \001(\0132\033.cz.proto" + ".coordinator.JobID\022\r\n\005force\030\003 \001(\010\022\022\n\nuse" + "r_agent\030\n \001(\t\"B\n\021CancelJobResponse\022-\n\013re" + "sp_status\030\001 \001(\0132\030.cz.proto.ResponseStatu" + "s\"\200\001\n\rGetJobRequest\022.\n\007account\030\001 \001(\0132\035.c" + "z.proto.coordinator.Account\022+\n\006job_id\030\002 " + "\001(\0132\033.cz.proto.coordinator.JobID\022\022\n\nuser" + "_agent\030\n \001(\t\"p\n\016GetJobResponse\022-\n\013resp_s" + "tatus\030\001 \001(\0132\030.cz.proto.ResponseStatus\022/\n" + "\010job_desc\030\002 \001(\0132\035.cz.proto.coordinator.J" + "obDesc\"\206\001\n\023GetJobStatusRequest\022.\n\007accoun" + "t\030\001 \001(\0132\035.cz.proto.coordinator.Account\022+" + "\n\006job_id\030\002 \001(\0132\033.cz.proto.coordinator.Jo" + "bID\022\022\n\nuser_agent\030\n \001(\t\"v\n\024GetJobStatusR" + "esponse\022-\n\013resp_status\030\001 \001(\0132\030.cz.proto." + "ResponseStatus\022/\n\006status\030\002 \001(\0132\037.cz.prot" + "o.coordinator.JobStatus\"\300\001\n\023GetJobResult" + "Request\022.\n\007account\030\001 \001(\0132\035.cz.proto.coor" + "dinator.Account\022+\n\006job_id\030\002 \001(\0132\033.cz.pro" + "to.coordinator.JobID\022\016\n\006offset\030\003 \001(\005\022\022\n\n" + "user_agent\030\n \001(\t\022\030\n\013jdbc_domain\030\013 \001(\tH\000\210" + "\001\001B\016\n\014_jdbc_domain\"\256\001\n\024GetJobResultRespo" + "nse\022-\n\013resp_status\030\001 \001(\0132\030.cz.proto.Resp" + "onseStatus\022/\n\006status\030\002 \001(\0132\037.cz.proto.co" + "ordinator.JobStatus\0226\n\nresult_set\030\003 \001(\0132" + "\".cz.proto.coordinator.JobResultSet\"\207\001\n\024" + "GetJobProfileRequest\022.\n\007account\030\001 \001(\0132\035." + "cz.proto.coordinator.Account\022+\n\006job_id\030\002" + " \001(\0132\033.cz.proto.coordinator.JobID\022\022\n\nuse" + "r_agent\030\n \001(\t\"\376\002\n\025GetJobProfileResponse\022" + "-\n\013resp_status\030\001 \001(\0132\030.cz.proto.Response" + "Status\022/\n\010job_desc\030\002 \001(\0132\035.cz.proto.coor" + "dinator.JobDesc\0223\n\njob_status\030\003 \001(\0132\037.cz" + ".proto.coordinator.JobStatus\022)\n\013job_summ" + "ary\030\004 \001(\0132\024.cz.proto.JobSummary\022\022\n\njob_c" + "lient\030\005 \001(\t\022-\n\rjob_profiling\030\006 \001(\0132\026.cz." + "proto.JobProfiling\022\032\n\022stats_download_url" + "\030\007 \001(\t\022\031\n\021plan_download_url\030\010 \001(\t\022+\n\rjob" + "_histories\030\t \003(\0132\024.cz.proto.JobHistory\"\207" + "\001\n\024GetJobSummaryRequest\022.\n\007account\030\001 \001(\013" + "2\035.cz.proto.coordinator.Account\022+\n\006job_i" + "d\030\002 \001(\0132\033.cz.proto.coordinator.JobID\022\022\n\n" + "user_agent\030\n \001(\t\"q\n\025GetJobSummaryRespons" + "e\022-\n\013resp_status\030\001 \001(\0132\030.cz.proto.Respon" + "seStatus\022)\n\013job_summary\030\002 \001(\0132\024.cz.proto" + ".JobSummary\"\231\001\n\025GetJobProgressRequest\022.\n" + "\007account\030\001 \001(\0132\035.cz.proto.coordinator.Ac" + "count\022+\n\006job_id\030\002 \001(\0132\033.cz.proto.coordin" + "ator.JobID\022\017\n\007verbose\030\003 \001(\010\022\022\n\nuser_agen" + "t\030\n \001(\t\"p\n\026GetJobProgressResponse\022-\n\013res" + "p_status\030\001 \001(\0132\030.cz.proto.ResponseStatus" + "\022\'\n\010progress\030\002 \001(\0132\025.cz.proto.JobProgres" + "s\"\204\001\n\021GetJobPlanRequest\022.\n\007account\030\001 \001(\013" + "2\035.cz.proto.coordinator.Account\022+\n\006job_i" + "d\030\002 \001(\0132\033.cz.proto.coordinator.JobID\022\022\n\n" + "user_agent\030\n \001(\t\"l\n\022GetJobPlanResponse\022-" + "\n\013resp_status\030\001 \001(\0132\030.cz.proto.ResponseS" + "tatus\022\'\n\010job_plan\030\002 \001(\0132\025.cz.proto.Simpl" + "ifyDag\"\234\003\n\nJobRequest\022G\n\022get_result_requ" + "est\030\001 \001(\0132).cz.proto.coordinator.GetJobR" + "esultRequestH\000\022I\n\023get_summary_request\030\002 " + "\001(\0132*.cz.proto.coordinator.GetJobSummary" + "RequestH\000\022C\n\020get_plan_request\030\003 \001(\0132\'.cz" + ".proto.coordinator.GetJobPlanRequestH\000\022I" + "\n\023get_profile_request\030\004 \001(\0132*.cz.proto.c" + "oordinator.GetJobProfileRequestH\000\022K\n\024get" + "_progress_request\030\005 \001(\0132+.cz.proto.coord" + "inator.GetJobProgressRequestH\000\022\022\n\nuser_a" + "gent\030\036 \001(\tB\t\n\007request\"c\n\031InitializeInsta" + "nceRequest\022F\n\020create_workspace\030\001 \003(\0132,.c" + "z.proto.coordinator.CreateWorkspaceReque" + "st\"\224\001\n\032InitializeInstanceResponse\022-\n\013res" + "p_status\030\001 \001(\0132\030.cz.proto.ResponseStatus" + "\022G\n\020create_workspace\030\002 \003(\0132-.cz.proto.co" + "ordinator.CreateWorkspaceResponse\"Q\n\026Cre" + "ateWorkspaceRequest\022#\n\tworkspace\030\001 \001(\0132\020" + ".cz.proto.Entity\022\022\n\nuser_agent\030\n \001(\t\"^\n\027" + "CreateWorkspaceResponse\022-\n\013resp_status\030\001" + " \001(\0132\030.cz.proto.ResponseStatus\022\024\n\014worksp" + "ace_id\030\002 \001(\003\"\352\001\n\026UpdateWorkspaceRequest\022" + ".\n\nidentifier\030\001 \001(\0132\032.cz.proto.ObjectIde" + "ntifier\022.\n\007account\030\002 \001(\0132\035.cz.proto.coor" + "dinator.Account\022\020\n\010new_name\030\003 \001(\t\022\023\n\013new" + "_comment\030\004 \001(\t\0225\n\021encryption_config\030\005 \001(" + "\0132\032.cz.proto.EncryptionConfig\022\022\n\nuser_ag" + "ent\030\n \001(\t\"H\n\027UpdateWorkspaceResponse\022-\n\013" + "resp_status\030\001 \001(\0132\030.cz.proto.ResponseSta" + "tus\"\214\001\n\026DeleteWorkspaceRequest\022.\n\nidenti" + "fier\030\001 \001(\0132\032.cz.proto.ObjectIdentifier\022." + "\n\007account\030\002 \001(\0132\035.cz.proto.coordinator.A" + "ccount\022\022\n\nuser_agent\030\n \001(\t\"H\n\027DeleteWork" + "spaceResponse\022-\n\013resp_status\030\001 \001(\0132\030.cz." + "proto.ResponseStatus\"p\n\025ListWorkspacesRe" + "quest\022\023\n\013instance_id\030\001 \001(\003\022.\n\007account\030\002 " + "\001(\0132\035.cz.proto.coordinator.Account\022\022\n\nus" + "er_agent\030\n \001(\t\"m\n\026ListWorkspacesResponse" + "\022-\n\013resp_status\030\001 \001(\0132\030.cz.proto.Respons" + "eStatus\022$\n\nworkspaces\030\002 \003(\0132\020.cz.proto.E" + "ntity\"\211\001\n\023GetWorkspaceRequest\022.\n\nidentif" + "ier\030\001 \001(\0132\032.cz.proto.ObjectIdentifier\022.\n" + "\007account\030\002 \001(\0132\035.cz.proto.coordinator.Ac" + "count\022\022\n\nuser_agent\030\n \001(\t\"j\n\024GetWorkspac" + "eResponse\022-\n\013resp_status\030\001 \001(\0132\030.cz.prot" + "o.ResponseStatus\022#\n\tworkspace\030\002 \001(\0132\020.cz" + ".proto.Entity\"\220\003\n\020WorkspaceRequest\022F\n\016cr" + "eate_request\030\001 \001(\0132,.cz.proto.coordinato" + "r.CreateWorkspaceRequestH\000\022F\n\016delete_req" + "uest\030\002 \001(\0132,.cz.proto.coordinator.Delete" + "WorkspaceRequestH\000\022F\n\016update_request\030\003 \001" + "(\0132,.cz.proto.coordinator.UpdateWorkspac" + "eRequestH\000\022C\n\014list_request\030\004 \001(\0132+.cz.pr" + "oto.coordinator.ListWorkspacesRequestH\000\022" + "@\n\013get_request\030\005 \001(\0132).cz.proto.coordina" + "tor.GetWorkspaceRequestH\000\022\022\n\nuser_agent\030" + "\036 \001(\tB\t\n\007request\"|\n\016GetUserRequest\022.\n\007ac" + "count\030\001 \001(\0132\035.cz.proto.coordinator.Accou" + "nt\022\023\n\013instance_id\030\002 \001(\003\022\021\n\tworkspace\030\003 \001" + "(\t\022\022\n\nuser_agent\030\n \001(\t\"`\n\017GetUserRespons" + "e\022-\n\013resp_status\030\001 \001(\0132\030.cz.proto.Respon" + "seStatus\022\036\n\004user\030\002 \001(\0132\020.cz.proto.Entity" + "\"\205\001\n\035SetFlightingRouteTableRequest\022.\n\007ac" + "count\030\001 \001(\0132\035.cz.proto.coordinator.Accou" + "nt\0224\n\013route_items\030\002 \003(\0132\037.cz.proto.coord" + "inator.RouteItem\"O\n\036SetFlightingRouteTab" + "leResponse\022-\n\013resp_status\030\001 \001(\0132\030.cz.pro" + "to.ResponseStatus\"\203\001\n\035GetFlightingRouteT" + "ableRequest\022.\n\007account\030\001 \001(\0132\035.cz.proto." + "coordinator.Account\022\023\n\013instance_id\030\002 \001(\003" + "\022\021\n\tworkspace\030\003 \001(\t\022\n\n\002vc\030\004 \001(\t\"\204\001\n\036GetF" + "lightingRouteTableResponse\022-\n\013resp_statu" + "s\030\001 \001(\0132\030.cz.proto.ResponseStatus\0223\n\nrou" + "te_item\030\002 \001(\0132\037.cz.proto.coordinator.Rou" + "teItem\"\204\001\n\036ListFlightingRouteTableReques" + "t\022.\n\007account\030\001 \001(\0132\035.cz.proto.coordinato" + "r.Account\022\023\n\013instance_id\030\002 \001(\003\022\021\n\tworksp" + "ace\030\003 \001(\t\022\n\n\002vc\030\004 \001(\t\"\201\003\n\tRouteItem\022\025\n\ri" + "nstance_name\030\001 \001(\t\022\023\n\013instance_id\030\002 \001(\003\022" + "\021\n\tworkspace\030\003 \001(\t\022\n\n\002vc\030\004 \001(\t\022\036\n\026target" + "_release_version\030\005 \001(\t\022D\n\013flow_bucket\030\006 " + "\003(\0132/.cz.proto.coordinator.RouteItem.Flo" + "wBucketEntry\022\024\n\014workspace_id\030\007 \001(\003\022\031\n\021up" + "grading_version\030\010 \001(\t\022I\n\021schedule_strate" + "gy\030\t \001(\0162).cz.proto.coordinator.JobSched" + "uleStrategyH\000\210\001\001\0321\n\017FlowBucketEntry\022\013\n\003k" + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\005:\0028\001B\024\n\022_schedule" + "_strategy\"U\n\014ServiceRoute\0224\n\013route_items" + "\030\001 \003(\0132\037.cz.proto.coordinator.RouteItem\022" + "\017\n\007version\030\002 \001(\003\"\206\001\n\037ListFlightingRouteT" + "ableResponse\022-\n\013resp_status\030\001 \001(\0132\030.cz.p" + "roto.ResponseStatus\0224\n\013route_items\030\002 \003(\013" + "2\037.cz.proto.coordinator.RouteItem\"\321\001\n\020Op" + "enTableRequest\022.\n\007account\030\001 \001(\0132\035.cz.pro" + "to.coordinator.Account\022)\n\005table\030\002 \001(\0132\032." + "cz.proto.ObjectIdentifier\022G\n\007iceberg\030\n \001" + "(\01324.cz.proto.coordinator.OpenTableReque" + "st.IcebergFormatH\000\032\017\n\rIcebergFormatB\010\n\006f" + "ormat\"\321\002\n\021OpenTableResponse\022-\n\013resp_stat" + "us\030\001 \001(\0132\030.cz.proto.ResponseStatus\022H\n\007ic" + "eberg\030\n \001(\01325.cz.proto.coordinator.OpenT" + "ableResponse.IcebergFormatH\000\032\270\001\n\rIceberg" + "Format\022\031\n\021metadata_location\030\001 \001(\t\022Y\n\npro" + "perties\030\002 \003(\0132E.cz.proto.coordinator.Ope" + "nTableResponse.IcebergFormat.PropertiesE" + "ntry\0321\n\017PropertiesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + "value\030\002 \001(\t:\0028\001B\010\n\006format\"\\\n\024NetworkPoli" + "cyRequest\022\023\n\013instance_id\030\001 \001(\003\022\021\n\tworksp" + "ace\030\002 \001(\t\022\020\n\010username\030\003 \001(\t\022\n\n\002ip\030\004 \001(\t\"" + "V\n\025NetworkPolicyResponse\022-\n\013resp_status\030" + "\001 \001(\0132\030.cz.proto.ResponseStatus\022\016\n\006acces" + "s\030\002 \001(\010\"C\n\024GetJobAddressRequest\022+\n\006job_i" + "d\030\001 \001(\0132\033.cz.proto.coordinator.JobID\"o\n\025" + "GetJobAddressResponse\022-\n\013resp_status\030\001 \001" + "(\0132\030.cz.proto.ResponseStatus\022\017\n\007address\030" + "\002 \001(\t\022\026\n\016worker_version\030\003 \001(\003\"b\n\013Process" + "Info\022\021\n\tmemory_mb\030\001 \001(\003\022\026\n\016execute_threa" + "d\030\002 \001(\005\022\023\n\013job_waiting\030\003 \001(\005\022\023\n\013job_runn" + "ing\030\004 \001(\005\"l\n\013HystrixInfo\022\023\n\013instance_id\030" + "\001 \001(\003\022\026\n\tworkspace\030\002 \001(\tH\000\210\001\001\022\025\n\010prohibi" + "t\030\003 \001(\010H\001\210\001\001B\014\n\n_workspaceB\013\n\t_prohibit\"" + "\324\003\n\tHeartBeat\022\026\n\016worker_version\030\001 \001(\003\022\026\n" + "\016worker_address\030\002 \001(\t\022\017\n\007hb_time\030\003 \001(\003\022\024" + "\n\014sequence_num\030\004 \001(\003\022,\n\007job_ids\030\005 \003(\0132\033." + "cz.proto.coordinator.JobID\0227\n\022terminated" + "_job_ids\030\006 \003(\0132\033.cz.proto.coordinator.Jo" + "bID\022\027\n\017release_version\030\007 \001(\t\0227\n\014process_" + "info\030\010 \001(\0132!.cz.proto.coordinator.Proces" + "sInfo\022\035\n\025service_route_version\030\t \001(\003\022J\n\016" + "job_profilings\030\n \003(\01322.cz.proto.coordina" + "tor.HeartBeat.JobProfilingsEntry\032L\n\022JobP" + "rofilingsEntry\022\013\n\003key\030\001 \001(\t\022%\n\005value\030\002 \001" + "(\0132\026.cz.proto.JobProfiling:\0028\001\"\213\002\n\021Heart" + "BeatResponse\022-\n\013resp_status\030\001 \001(\0132\030.cz.p" + "roto.ResponseStatus\022\025\n\rrefresh_cache\030\002 \001" + "(\010\022\017\n\007suicide\030\003 \001(\010\022\026\n\016master_version\030\004 " + "\001(\003\0222\n\007hystrix\030\005 \003(\0132!.cz.proto.coordina" + "tor.HystrixInfo\0224\n\013route_items\030\006 \003(\0132\037.c" + "z.proto.coordinator.RouteItem\022\035\n\025service" + "_route_version\030\007 \001(\003\"f\n\021ListWorkerReques" + "t\022\017\n\007verbose\030\001 \001(\010\022!\n\031get_flighting_rout" + "e_table\030\002 \001(\010\022\035\n\025service_route_version\030\003" + " \001(\003\"\361\001\n\nWorkDetail\022\026\n\016worker_address\030\001 " + "\001(\t\022\026\n\016worker_version\030\002 \001(\003\022\024\n\014worker_st" + "ate\030\003 \001(\t\022\032\n\022load_balance_score\030\004 \001(\003\022/\n" + "\006status\030\005 \001(\0132\037.cz.proto.coordinator.Hea" + "rtBeat\022\027\n\017release_version\030\006 \001(\t\0227\n\014proce" + "ss_info\030\007 \001(\0132!.cz.proto.coordinator.Pro" + "cessInfo\"\373\002\n\022ListWorkerResponse\022-\n\013resp_" + "status\030\001 \001(\0132\030.cz.proto.ResponseStatus\0220" + "\n\006worker\030\002 \003(\0132 .cz.proto.coordinator.Wo" + "rkDetail\022\035\n\025load_score_hard_limit\030\003 \001(\003\022" + "4\n\013route_items\030\004 \003(\0132\037.cz.proto.coordina" + "tor.RouteItem\022H\n\025job_schedule_strategy\030\005" + " \001(\0162).cz.proto.coordinator.JobScheduleS" + "trategy\022\'\n\037job_schedule_load_balance_sco" + "pe\030\006 \001(\005\022\035\n\025service_route_version\030\007 \001(\003\022" + "\035\n\025submit_busy_punish_ms\030\010 \001(\005\"\234\001\n\026SetSe" + "rviceRouteRequest\022.\n\007account\030\001 \001(\0132\035.cz." + "proto.coordinator.Account\0224\n\013route_items" + "\030\002 \003(\0132\037.cz.proto.coordinator.RouteItem\022" + "\r\n\005force\030\003 \001(\010\022\r\n\005dedup\030\004 \001(\010\"\305\001\n\027SetSer" + "viceRouteResponse\022-\n\013resp_status\030\001 \001(\0132\030" + ".cz.proto.ResponseStatus\022K\n\007details\030\002 \003(" + "\0132:.cz.proto.coordinator.SetServiceRoute" + "Response.DetailsEntry\032.\n\014DetailsEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"H\n\026GetServ" + "iceRouteRequest\022.\n\007account\030\001 \001(\0132\035.cz.pr" + "oto.coordinator.Account\"\225\001\n\027GetServiceRo" + "uteResponse\022-\n\013resp_status\030\001 \001(\0132\030.cz.pr" + "oto.ResponseStatus\0224\n\013route_items\030\002 \003(\0132" + "\037.cz.proto.coordinator.RouteItem\022\025\n\rrout" + "e_version\030\003 \001(\003\"W\n\013UpgradeUnit\022\023\n\013instan" + "ce_id\030\001 \001(\003\022\021\n\tworkspace\030\002 \001(\t\022\n\n\002vc\030\003 \001" + "(\t\022\024\n\014workspace_id\030\004 \001(\003\"\254\001\n\021HotUpgradeR" + "equest\0220\n\005units\030\001 \003(\0132!.cz.proto.coordin" + "ator.UpgradeUnit\022\026\n\016source_version\030\002 \001(\t" + "\022\026\n\016target_version\030\003 \001(\t\0225\n\004type\030\004 \001(\0162\'" + ".cz.proto.coordinator.UpgradeActionType\"" + "\273\001\n\022HotUpgradeResponse\022-\n\013resp_status\030\001 " + "\001(\0132\030.cz.proto.ResponseStatus\022F\n\007details" + "\030\002 \003(\01325.cz.proto.coordinator.HotUpgrade" + "Response.DetailsEntry\032.\n\014DetailsEntry\022\013\n" + "\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"M\n\031GetHotU" + "pgradeStateRequest\0220\n\005units\030\001 \003(\0132!.cz.p" + "roto.coordinator.UpgradeUnit\"\206\001\n\017HotUpgr" + "adeState\022\025\n\rupgrade_state\030\001 \001(\t\022\026\n\016targe" + "t_version\030\002 \001(\t\022\027\n\017current_version\030\003 \001(\t" + "\022\024\n\014target_vc_id\030\004 \001(\003\022\025\n\rcurrent_vc_id\030" + "\005 \001(\003\"|\n\023HotUpgradeStateItem\022/\n\004unit\030\001 \001" + "(\0132!.cz.proto.coordinator.UpgradeUnit\0224\n" + "\005state\030\002 \001(\0132%.cz.proto.coordinator.HotU" + "pgradeState\"\313\001\n\032GetHotUpgradeStateRespon" + "se\022-\n\013resp_status\030\001 \001(\0132\030.cz.proto.Respo" + "nseStatus\022N\n\007details\030\002 \003(\0132=.cz.proto.co" + "ordinator.GetHotUpgradeStateResponse.Det" + "ailsEntry\032.\n\014DetailsEntry\022\013\n\003key\030\001 \001(\t\022\r" + "\n\005value\030\002 \001(\t:\0028\001\"\224\001\n\025ListMasterJobsRequ" + "est\022.\n\007account\030\001 \001(\0132\035.cz.proto.coordina" + "tor.Account\022\023\n\013instance_id\030\002 \001(\003\022\021\n\twork" + "space\030\003 \001(\t\022\n\n\002vc\030\004 \001(\t\022\027\n\017release_versi" + "on\030\n \001(\t*>\n\016JobRequestMode\022\013\n\007UNKNOWN\020\000\022" + "\n\n\006HYBRID\020\001\022\t\n\005ASYNC\020\002\022\010\n\004SYNC\020\003*T\n\014Resu" + "ltFormat\022\010\n\004TEXT\020\000\022\007\n\003CSV\020\001\022\010\n\004JSON\020\002\022\013\n" + "\007PARQUET\020\003\022\017\n\013HIVE_RESULT\020\004\022\t\n\005ARROW\020\005*2" + "\n\nResultType\022\023\n\017BUFFERED_STREAM\020\000\022\017\n\013FIL" + "E_SYSTEM\020\001*w\n\023JobScheduleStrategy\022\020\n\014JOB" + "_AFFINITY\020\000\022#\n\037JOB_AFFINITY_BASED_LOAD_B" + "ALANCE\020\001\022\035\n\031JOB_AFFINITY_BASED_MEMORY\020\002\022" + "\n\n\006RANDOM\020\n*M\n\021UpgradeActionType\022\021\n\rSTAR" + "T_UPGRADE\020\000\022\022\n\016FINISH_UPGRADE\020\001\022\021\n\rABORT" + "_UPGRADE\020\0022\310\022\n\022CoordinatorService\022\\\n\tSub" + "mitJob\022&.cz.proto.coordinator.SubmitJobR" + "equest\032\'.cz.proto.coordinator.SubmitJobR" + "esponse\022Y\n\010ListJobs\022%.cz.proto.coordinat" + "or.ListJobsRequest\032&.cz.proto.coordinato" + "r.ListJobsResponse\022\\\n\tCancelJob\022&.cz.pro" + "to.coordinator.CancelJobRequest\032\'.cz.pro" + "to.coordinator.CancelJobResponse\022S\n\006GetJ" + "ob\022#.cz.proto.coordinator.GetJobRequest\032" + "$.cz.proto.coordinator.GetJobResponse\022e\n" + "\014GetJobStatus\022).cz.proto.coordinator.Get" + "JobStatusRequest\032*.cz.proto.coordinator." + "GetJobStatusResponse\022e\n\014GetJobResult\022).c" + "z.proto.coordinator.GetJobResultRequest\032" + "*.cz.proto.coordinator.GetJobResultRespo" + "nse\022h\n\rGetJobSummary\022*.cz.proto.coordina" + "tor.GetJobSummaryRequest\032+.cz.proto.coor" + "dinator.GetJobSummaryResponse\022h\n\rGetJobP" + "rofile\022*.cz.proto.coordinator.GetJobProf" + "ileRequest\032+.cz.proto.coordinator.GetJob" + "ProfileResponse\022k\n\016GetJobProgress\022+.cz.p" + "roto.coordinator.GetJobProgressRequest\032," + ".cz.proto.coordinator.GetJobProgressResp" + "onse\022_\n\nGetJobPlan\022\'.cz.proto.coordinato" + "r.GetJobPlanRequest\032(.cz.proto.coordinat" + "or.GetJobPlanResponse\022w\n\022InitializeInsta" + "nce\022/.cz.proto.coordinator.InitializeIns" + "tanceRequest\0320.cz.proto.coordinator.Init" + "ializeInstanceResponse\022n\n\017CreateWorkspac" + "e\022,.cz.proto.coordinator.CreateWorkspace" + "Request\032-.cz.proto.coordinator.CreateWor" + "kspaceResponse\022n\n\017UpdateWorkspace\022,.cz.p" + "roto.coordinator.UpdateWorkspaceRequest\032" + "-.cz.proto.coordinator.UpdateWorkspaceRe" + "sponse\022n\n\017DeleteWorkspace\022,.cz.proto.coo" + "rdinator.DeleteWorkspaceRequest\032-.cz.pro" + "to.coordinator.DeleteWorkspaceResponse\022e" + "\n\014GetWorkspace\022).cz.proto.coordinator.Ge" + "tWorkspaceRequest\032*.cz.proto.coordinator", ".GetWorkspaceResponse\022k\n\016ListWorkspaces\022" + "+.cz.proto.coordinator.ListWorkspacesReq" + "uest\032,.cz.proto.coordinator.ListWorkspac" + "esResponse\022V\n\007GetUser\022$.cz.proto.coordin" + "ator.GetUserRequest\032%.cz.proto.coordinat" + "or.GetUserResponse\022\203\001\n\026SetFlightingRoute" + "Table\0223.cz.proto.coordinator.SetFlightin" + "gRouteTableRequest\0324.cz.proto.coordinato" + "r.SetFlightingRouteTableResponse\022\203\001\n\026Get" + "FlightingRouteTable\0223.cz.proto.coordinat" + "or.GetFlightingRouteTableRequest\0324.cz.pr" + "oto.coordinator.GetFlightingRouteTableRe" + "sponse\022\206\001\n\027ListFlightingRouteTable\0224.cz." + "proto.coordinator.ListFlightingRouteTabl" + "eRequest\0325.cz.proto.coordinator.ListFlig" + "htingRouteTableResponse\022\\\n\tOpenTable\022&.c" + "z.proto.coordinator.OpenTableRequest\032\'.c" + "z.proto.coordinator.OpenTableResponse\022n\n" + "\023NetworkPolicyAccess\022*.cz.proto.coordina" + "tor.NetworkPolicyRequest\032+.cz.proto.coor" + "dinator.NetworkPolicyResponse2\232\007\n\021Coordi" + "natorMaster\022h\n\rGetJobAddress\022*.cz.proto." + "coordinator.GetJobAddressRequest\032+.cz.pr" + "oto.coordinator.GetJobAddressResponse\022[\n" + "\017ReportHeartbeat\022\037.cz.proto.coordinator." + "HeartBeat\032\'.cz.proto.coordinator.HeartBe" + "atResponse\022_\n\nListWorker\022\'.cz.proto.coor" + "dinator.ListWorkerRequest\032(.cz.proto.coo" + "rdinator.ListWorkerResponse\022_\n\010ListJobs\022" + "+.cz.proto.coordinator.ListMasterJobsReq" + "uest\032&.cz.proto.coordinator.ListJobsResp" + "onse\022B\n\tDeleteJob\022\033.cz.proto.coordinator" + ".JobID\032\030.cz.proto.ResponseStatus\022_\n\nHotU" + "pgrade\022\'.cz.proto.coordinator.HotUpgrade" + "Request\032(.cz.proto.coordinator.HotUpgrad" + "eResponse\022w\n\022GetHotUpgradeState\022/.cz.pro" + "to.coordinator.GetHotUpgradeStateRequest" + "\0320.cz.proto.coordinator.GetHotUpgradeSta" + "teResponse\022n\n\017SetServiceRoute\022,.cz.proto" + ".coordinator.SetServiceRouteRequest\032-.cz" + ".proto.coordinator.SetServiceRouteRespon" + "se\022n\n\017GetServiceRoute\022,.cz.proto.coordin" + "ator.GetServiceRouteRequest\032-.cz.proto.c" + "oordinator.GetServiceRouteResponseb\006prot" + "o3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { cz.proto.ServiceCommon.getDescriptor(), cz.proto.TableCommon.getDescriptor(), cz.proto.MetadataEntity.getDescriptor(), cz.proto.ObjectIdentifierOuterClass.getDescriptor(), cz.proto.FileSystem.getDescriptor(), cz.proto.AccountOuterClass.getDescriptor(), cz.proto.JobMetaOuterClass.getDescriptor(), cz.proto.JobProto.getDescriptor(), cz.proto.Encryption.getDescriptor(), }); internal_static_cz_proto_coordinator_JobID_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_cz_proto_coordinator_JobID_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_JobID_descriptor, new java.lang.String[] { "Id", "Workspace", "InstanceId", }); internal_static_cz_proto_coordinator_Account_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_cz_proto_coordinator_Account_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_Account_descriptor, new java.lang.String[] { "UserId", "AccessToken", }); internal_static_cz_proto_coordinator_ClientContextInfo_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_cz_proto_coordinator_ClientContextInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_ClientContextInfo_descriptor, new java.lang.String[] { "ConfigStatements", "ContextJson", }); internal_static_cz_proto_coordinator_JobDesc_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_cz_proto_coordinator_JobDesc_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_JobDesc_descriptor, new java.lang.String[] { "VirtualCluster", "Type", "JobId", "JobName", "Account", "RequestMode", "HybridPollingTimeout", "JobConfig", "SqlJob", "JobTimeoutMs", "UserAgent", "Priority", "PriorityString", "ClientContext", "QueryTag", "JdbcDomain", "ClientProfiling", "Job", "JdbcDomain", }); internal_static_cz_proto_coordinator_JobDesc_JobConfigEntry_descriptor = internal_static_cz_proto_coordinator_JobDesc_descriptor.getNestedTypes().get(0); internal_static_cz_proto_coordinator_JobDesc_JobConfigEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_JobDesc_JobConfigEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_cz_proto_coordinator_JobStatus_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_cz_proto_coordinator_JobStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_JobStatus_descriptor, new java.lang.String[] { "JobId", "State", "Message", "SubmitTime", "StartTime", "EndTime", "PendingTime", "RunningTime", "Status", "ExecutionLog", "ErrorCode", "JobProfiling", }); internal_static_cz_proto_coordinator_JobResultData_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_cz_proto_coordinator_JobResultData_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_JobResultData_descriptor, new java.lang.String[] { "Data", }); internal_static_cz_proto_coordinator_LocationFileInfo_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_cz_proto_coordinator_LocationFileInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_LocationFileInfo_descriptor, new java.lang.String[] { "FilePath", "FileSize", }); internal_static_cz_proto_coordinator_JobResultLocation_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_cz_proto_coordinator_JobResultLocation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_JobResultLocation_descriptor, new java.lang.String[] { "Location", "FileSystem", "StsAkId", "StsAkSecret", "StsToken", "OssEndpoint", "OssInternalEndpoint", "LocationFiles", "ObjectStorageRegion", "PresignedUrls", }); internal_static_cz_proto_coordinator_JobResultSetMetadata_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_cz_proto_coordinator_JobResultSetMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_JobResultSetMetadata_descriptor, new java.lang.String[] { "NumRows", "Format", "Type", "Fields", }); internal_static_cz_proto_coordinator_JobResultSet_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_cz_proto_coordinator_JobResultSet_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_JobResultSet_descriptor, new java.lang.String[] { "Metadata", "Data", "Location", }); internal_static_cz_proto_coordinator_SubmitJobRequest_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_cz_proto_coordinator_SubmitJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_SubmitJobRequest_descriptor, new java.lang.String[] { "JobDesc", }); internal_static_cz_proto_coordinator_SubmitJobResponse_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_cz_proto_coordinator_SubmitJobResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_SubmitJobResponse_descriptor, new java.lang.String[] { "RespStatus", "Status", "ResultSet", }); internal_static_cz_proto_coordinator_ListJobsRequest_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_cz_proto_coordinator_ListJobsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_ListJobsRequest_descriptor, new java.lang.String[] { "Account", "Workspace", "InstanceId", "VirtualCluster", "JobStatus", "MinStartTime", "MaxStartTime", "MaxSize", "ListInMeta", "Offset", "OrderBy", "Ascending", "PriorityString", "JobId", "OwnerId", "MinRunningTimeMs", "MaxRunningTimeMs", "QueryTag", "Detail", "Force", "UserAgent", }); internal_static_cz_proto_coordinator_ListJobsResponse_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_cz_proto_coordinator_ListJobsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_ListJobsResponse_descriptor, new java.lang.String[] { "RespStatus", "JobDetails", "TotalJobCount", }); internal_static_cz_proto_coordinator_ListJobsResponse_JobDetail_descriptor = internal_static_cz_proto_coordinator_ListJobsResponse_descriptor.getNestedTypes().get(0); internal_static_cz_proto_coordinator_ListJobsResponse_JobDetail_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_ListJobsResponse_JobDetail_descriptor, new java.lang.String[] { "Status", "JobName", "OwnerId", "Priority", "JobType", "Statement", "InputBytes", "RowsProduced", "VirtualCluster", "PriorityString", "JobHistory", "VirtualClusterType", "VirtualClusterSize", "QueryTag", }); internal_static_cz_proto_coordinator_CancelJobRequest_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_cz_proto_coordinator_CancelJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_CancelJobRequest_descriptor, new java.lang.String[] { "Account", "JobId", "Force", "UserAgent", }); internal_static_cz_proto_coordinator_CancelJobResponse_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_cz_proto_coordinator_CancelJobResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_CancelJobResponse_descriptor, new java.lang.String[] { "RespStatus", }); internal_static_cz_proto_coordinator_GetJobRequest_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_cz_proto_coordinator_GetJobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_GetJobRequest_descriptor, new java.lang.String[] { "Account", "JobId", "UserAgent", }); internal_static_cz_proto_coordinator_GetJobResponse_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_cz_proto_coordinator_GetJobResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_GetJobResponse_descriptor, new java.lang.String[] { "RespStatus", "JobDesc", }); internal_static_cz_proto_coordinator_GetJobStatusRequest_descriptor = getDescriptor().getMessageTypes().get(18); internal_static_cz_proto_coordinator_GetJobStatusRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_GetJobStatusRequest_descriptor, new java.lang.String[] { "Account", "JobId", "UserAgent", }); internal_static_cz_proto_coordinator_GetJobStatusResponse_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_cz_proto_coordinator_GetJobStatusResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_GetJobStatusResponse_descriptor, new java.lang.String[] { "RespStatus", "Status", }); internal_static_cz_proto_coordinator_GetJobResultRequest_descriptor = getDescriptor().getMessageTypes().get(20); internal_static_cz_proto_coordinator_GetJobResultRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_GetJobResultRequest_descriptor, new java.lang.String[] { "Account", "JobId", "Offset", "UserAgent", "JdbcDomain", "JdbcDomain", }); internal_static_cz_proto_coordinator_GetJobResultResponse_descriptor = getDescriptor().getMessageTypes().get(21); internal_static_cz_proto_coordinator_GetJobResultResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_GetJobResultResponse_descriptor, new java.lang.String[] { "RespStatus", "Status", "ResultSet", }); internal_static_cz_proto_coordinator_GetJobProfileRequest_descriptor = getDescriptor().getMessageTypes().get(22); internal_static_cz_proto_coordinator_GetJobProfileRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_GetJobProfileRequest_descriptor, new java.lang.String[] { "Account", "JobId", "UserAgent", }); internal_static_cz_proto_coordinator_GetJobProfileResponse_descriptor = getDescriptor().getMessageTypes().get(23); internal_static_cz_proto_coordinator_GetJobProfileResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_GetJobProfileResponse_descriptor, new java.lang.String[] { "RespStatus", "JobDesc", "JobStatus", "JobSummary", "JobClient", "JobProfiling", "StatsDownloadUrl", "PlanDownloadUrl", "JobHistories", }); internal_static_cz_proto_coordinator_GetJobSummaryRequest_descriptor = getDescriptor().getMessageTypes().get(24); internal_static_cz_proto_coordinator_GetJobSummaryRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_GetJobSummaryRequest_descriptor, new java.lang.String[] { "Account", "JobId", "UserAgent", }); internal_static_cz_proto_coordinator_GetJobSummaryResponse_descriptor = getDescriptor().getMessageTypes().get(25); internal_static_cz_proto_coordinator_GetJobSummaryResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_GetJobSummaryResponse_descriptor, new java.lang.String[] { "RespStatus", "JobSummary", }); internal_static_cz_proto_coordinator_GetJobProgressRequest_descriptor = getDescriptor().getMessageTypes().get(26); internal_static_cz_proto_coordinator_GetJobProgressRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_GetJobProgressRequest_descriptor, new java.lang.String[] { "Account", "JobId", "Verbose", "UserAgent", }); internal_static_cz_proto_coordinator_GetJobProgressResponse_descriptor = getDescriptor().getMessageTypes().get(27); internal_static_cz_proto_coordinator_GetJobProgressResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_GetJobProgressResponse_descriptor, new java.lang.String[] { "RespStatus", "Progress", }); internal_static_cz_proto_coordinator_GetJobPlanRequest_descriptor = getDescriptor().getMessageTypes().get(28); internal_static_cz_proto_coordinator_GetJobPlanRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_GetJobPlanRequest_descriptor, new java.lang.String[] { "Account", "JobId", "UserAgent", }); internal_static_cz_proto_coordinator_GetJobPlanResponse_descriptor = getDescriptor().getMessageTypes().get(29); internal_static_cz_proto_coordinator_GetJobPlanResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_GetJobPlanResponse_descriptor, new java.lang.String[] { "RespStatus", "JobPlan", }); internal_static_cz_proto_coordinator_JobRequest_descriptor = getDescriptor().getMessageTypes().get(30); internal_static_cz_proto_coordinator_JobRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_JobRequest_descriptor, new java.lang.String[] { "GetResultRequest", "GetSummaryRequest", "GetPlanRequest", "GetProfileRequest", "GetProgressRequest", "UserAgent", "Request", }); internal_static_cz_proto_coordinator_InitializeInstanceRequest_descriptor = getDescriptor().getMessageTypes().get(31); internal_static_cz_proto_coordinator_InitializeInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_InitializeInstanceRequest_descriptor, new java.lang.String[] { "CreateWorkspace", }); internal_static_cz_proto_coordinator_InitializeInstanceResponse_descriptor = getDescriptor().getMessageTypes().get(32); internal_static_cz_proto_coordinator_InitializeInstanceResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_InitializeInstanceResponse_descriptor, new java.lang.String[] { "RespStatus", "CreateWorkspace", }); internal_static_cz_proto_coordinator_CreateWorkspaceRequest_descriptor = getDescriptor().getMessageTypes().get(33); internal_static_cz_proto_coordinator_CreateWorkspaceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_CreateWorkspaceRequest_descriptor, new java.lang.String[] { "Workspace", "UserAgent", }); internal_static_cz_proto_coordinator_CreateWorkspaceResponse_descriptor = getDescriptor().getMessageTypes().get(34); internal_static_cz_proto_coordinator_CreateWorkspaceResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_CreateWorkspaceResponse_descriptor, new java.lang.String[] { "RespStatus", "WorkspaceId", }); internal_static_cz_proto_coordinator_UpdateWorkspaceRequest_descriptor = getDescriptor().getMessageTypes().get(35); internal_static_cz_proto_coordinator_UpdateWorkspaceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_UpdateWorkspaceRequest_descriptor, new java.lang.String[] { "Identifier", "Account", "NewName", "NewComment", "EncryptionConfig", "UserAgent", }); internal_static_cz_proto_coordinator_UpdateWorkspaceResponse_descriptor = getDescriptor().getMessageTypes().get(36); internal_static_cz_proto_coordinator_UpdateWorkspaceResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_UpdateWorkspaceResponse_descriptor, new java.lang.String[] { "RespStatus", }); internal_static_cz_proto_coordinator_DeleteWorkspaceRequest_descriptor = getDescriptor().getMessageTypes().get(37); internal_static_cz_proto_coordinator_DeleteWorkspaceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_DeleteWorkspaceRequest_descriptor, new java.lang.String[] { "Identifier", "Account", "UserAgent", }); internal_static_cz_proto_coordinator_DeleteWorkspaceResponse_descriptor = getDescriptor().getMessageTypes().get(38); internal_static_cz_proto_coordinator_DeleteWorkspaceResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_DeleteWorkspaceResponse_descriptor, new java.lang.String[] { "RespStatus", }); internal_static_cz_proto_coordinator_ListWorkspacesRequest_descriptor = getDescriptor().getMessageTypes().get(39); internal_static_cz_proto_coordinator_ListWorkspacesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_ListWorkspacesRequest_descriptor, new java.lang.String[] { "InstanceId", "Account", "UserAgent", }); internal_static_cz_proto_coordinator_ListWorkspacesResponse_descriptor = getDescriptor().getMessageTypes().get(40); internal_static_cz_proto_coordinator_ListWorkspacesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_ListWorkspacesResponse_descriptor, new java.lang.String[] { "RespStatus", "Workspaces", }); internal_static_cz_proto_coordinator_GetWorkspaceRequest_descriptor = getDescriptor().getMessageTypes().get(41); internal_static_cz_proto_coordinator_GetWorkspaceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_GetWorkspaceRequest_descriptor, new java.lang.String[] { "Identifier", "Account", "UserAgent", }); internal_static_cz_proto_coordinator_GetWorkspaceResponse_descriptor = getDescriptor().getMessageTypes().get(42); internal_static_cz_proto_coordinator_GetWorkspaceResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_GetWorkspaceResponse_descriptor, new java.lang.String[] { "RespStatus", "Workspace", }); internal_static_cz_proto_coordinator_WorkspaceRequest_descriptor = getDescriptor().getMessageTypes().get(43); internal_static_cz_proto_coordinator_WorkspaceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_WorkspaceRequest_descriptor, new java.lang.String[] { "CreateRequest", "DeleteRequest", "UpdateRequest", "ListRequest", "GetRequest", "UserAgent", "Request", }); internal_static_cz_proto_coordinator_GetUserRequest_descriptor = getDescriptor().getMessageTypes().get(44); internal_static_cz_proto_coordinator_GetUserRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_GetUserRequest_descriptor, new java.lang.String[] { "Account", "InstanceId", "Workspace", "UserAgent", }); internal_static_cz_proto_coordinator_GetUserResponse_descriptor = getDescriptor().getMessageTypes().get(45); internal_static_cz_proto_coordinator_GetUserResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_GetUserResponse_descriptor, new java.lang.String[] { "RespStatus", "User", }); internal_static_cz_proto_coordinator_SetFlightingRouteTableRequest_descriptor = getDescriptor().getMessageTypes().get(46); internal_static_cz_proto_coordinator_SetFlightingRouteTableRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_SetFlightingRouteTableRequest_descriptor, new java.lang.String[] { "Account", "RouteItems", }); internal_static_cz_proto_coordinator_SetFlightingRouteTableResponse_descriptor = getDescriptor().getMessageTypes().get(47); internal_static_cz_proto_coordinator_SetFlightingRouteTableResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_SetFlightingRouteTableResponse_descriptor, new java.lang.String[] { "RespStatus", }); internal_static_cz_proto_coordinator_GetFlightingRouteTableRequest_descriptor = getDescriptor().getMessageTypes().get(48); internal_static_cz_proto_coordinator_GetFlightingRouteTableRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_GetFlightingRouteTableRequest_descriptor, new java.lang.String[] { "Account", "InstanceId", "Workspace", "Vc", }); internal_static_cz_proto_coordinator_GetFlightingRouteTableResponse_descriptor = getDescriptor().getMessageTypes().get(49); internal_static_cz_proto_coordinator_GetFlightingRouteTableResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_GetFlightingRouteTableResponse_descriptor, new java.lang.String[] { "RespStatus", "RouteItem", }); internal_static_cz_proto_coordinator_ListFlightingRouteTableRequest_descriptor = getDescriptor().getMessageTypes().get(50); internal_static_cz_proto_coordinator_ListFlightingRouteTableRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_ListFlightingRouteTableRequest_descriptor, new java.lang.String[] { "Account", "InstanceId", "Workspace", "Vc", }); internal_static_cz_proto_coordinator_RouteItem_descriptor = getDescriptor().getMessageTypes().get(51); internal_static_cz_proto_coordinator_RouteItem_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_RouteItem_descriptor, new java.lang.String[] { "InstanceName", "InstanceId", "Workspace", "Vc", "TargetReleaseVersion", "FlowBucket", "WorkspaceId", "UpgradingVersion", "ScheduleStrategy", "ScheduleStrategy", }); internal_static_cz_proto_coordinator_RouteItem_FlowBucketEntry_descriptor = internal_static_cz_proto_coordinator_RouteItem_descriptor.getNestedTypes().get(0); internal_static_cz_proto_coordinator_RouteItem_FlowBucketEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_RouteItem_FlowBucketEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_cz_proto_coordinator_ServiceRoute_descriptor = getDescriptor().getMessageTypes().get(52); internal_static_cz_proto_coordinator_ServiceRoute_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_ServiceRoute_descriptor, new java.lang.String[] { "RouteItems", "Version", }); internal_static_cz_proto_coordinator_ListFlightingRouteTableResponse_descriptor = getDescriptor().getMessageTypes().get(53); internal_static_cz_proto_coordinator_ListFlightingRouteTableResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_ListFlightingRouteTableResponse_descriptor, new java.lang.String[] { "RespStatus", "RouteItems", }); internal_static_cz_proto_coordinator_OpenTableRequest_descriptor = getDescriptor().getMessageTypes().get(54); internal_static_cz_proto_coordinator_OpenTableRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_OpenTableRequest_descriptor, new java.lang.String[] { "Account", "Table", "Iceberg", "Format", }); internal_static_cz_proto_coordinator_OpenTableRequest_IcebergFormat_descriptor = internal_static_cz_proto_coordinator_OpenTableRequest_descriptor.getNestedTypes().get(0); internal_static_cz_proto_coordinator_OpenTableRequest_IcebergFormat_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_OpenTableRequest_IcebergFormat_descriptor, new java.lang.String[] { }); internal_static_cz_proto_coordinator_OpenTableResponse_descriptor = getDescriptor().getMessageTypes().get(55); internal_static_cz_proto_coordinator_OpenTableResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_OpenTableResponse_descriptor, new java.lang.String[] { "RespStatus", "Iceberg", "Format", }); internal_static_cz_proto_coordinator_OpenTableResponse_IcebergFormat_descriptor = internal_static_cz_proto_coordinator_OpenTableResponse_descriptor.getNestedTypes().get(0); internal_static_cz_proto_coordinator_OpenTableResponse_IcebergFormat_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_OpenTableResponse_IcebergFormat_descriptor, new java.lang.String[] { "MetadataLocation", "Properties", }); internal_static_cz_proto_coordinator_OpenTableResponse_IcebergFormat_PropertiesEntry_descriptor = internal_static_cz_proto_coordinator_OpenTableResponse_IcebergFormat_descriptor.getNestedTypes().get(0); internal_static_cz_proto_coordinator_OpenTableResponse_IcebergFormat_PropertiesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_OpenTableResponse_IcebergFormat_PropertiesEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_cz_proto_coordinator_NetworkPolicyRequest_descriptor = getDescriptor().getMessageTypes().get(56); internal_static_cz_proto_coordinator_NetworkPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_NetworkPolicyRequest_descriptor, new java.lang.String[] { "InstanceId", "Workspace", "Username", "Ip", }); internal_static_cz_proto_coordinator_NetworkPolicyResponse_descriptor = getDescriptor().getMessageTypes().get(57); internal_static_cz_proto_coordinator_NetworkPolicyResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_NetworkPolicyResponse_descriptor, new java.lang.String[] { "RespStatus", "Access", }); internal_static_cz_proto_coordinator_GetJobAddressRequest_descriptor = getDescriptor().getMessageTypes().get(58); internal_static_cz_proto_coordinator_GetJobAddressRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_GetJobAddressRequest_descriptor, new java.lang.String[] { "JobId", }); internal_static_cz_proto_coordinator_GetJobAddressResponse_descriptor = getDescriptor().getMessageTypes().get(59); internal_static_cz_proto_coordinator_GetJobAddressResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_GetJobAddressResponse_descriptor, new java.lang.String[] { "RespStatus", "Address", "WorkerVersion", }); internal_static_cz_proto_coordinator_ProcessInfo_descriptor = getDescriptor().getMessageTypes().get(60); internal_static_cz_proto_coordinator_ProcessInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_ProcessInfo_descriptor, new java.lang.String[] { "MemoryMb", "ExecuteThread", "JobWaiting", "JobRunning", }); internal_static_cz_proto_coordinator_HystrixInfo_descriptor = getDescriptor().getMessageTypes().get(61); internal_static_cz_proto_coordinator_HystrixInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_HystrixInfo_descriptor, new java.lang.String[] { "InstanceId", "Workspace", "Prohibit", "Workspace", "Prohibit", }); internal_static_cz_proto_coordinator_HeartBeat_descriptor = getDescriptor().getMessageTypes().get(62); internal_static_cz_proto_coordinator_HeartBeat_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_HeartBeat_descriptor, new java.lang.String[] { "WorkerVersion", "WorkerAddress", "HbTime", "SequenceNum", "JobIds", "TerminatedJobIds", "ReleaseVersion", "ProcessInfo", "ServiceRouteVersion", "JobProfilings", }); internal_static_cz_proto_coordinator_HeartBeat_JobProfilingsEntry_descriptor = internal_static_cz_proto_coordinator_HeartBeat_descriptor.getNestedTypes().get(0); internal_static_cz_proto_coordinator_HeartBeat_JobProfilingsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_HeartBeat_JobProfilingsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_cz_proto_coordinator_HeartBeatResponse_descriptor = getDescriptor().getMessageTypes().get(63); internal_static_cz_proto_coordinator_HeartBeatResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_HeartBeatResponse_descriptor, new java.lang.String[] { "RespStatus", "RefreshCache", "Suicide", "MasterVersion", "Hystrix", "RouteItems", "ServiceRouteVersion", }); internal_static_cz_proto_coordinator_ListWorkerRequest_descriptor = getDescriptor().getMessageTypes().get(64); internal_static_cz_proto_coordinator_ListWorkerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_ListWorkerRequest_descriptor, new java.lang.String[] { "Verbose", "GetFlightingRouteTable", "ServiceRouteVersion", }); internal_static_cz_proto_coordinator_WorkDetail_descriptor = getDescriptor().getMessageTypes().get(65); internal_static_cz_proto_coordinator_WorkDetail_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_WorkDetail_descriptor, new java.lang.String[] { "WorkerAddress", "WorkerVersion", "WorkerState", "LoadBalanceScore", "Status", "ReleaseVersion", "ProcessInfo", }); internal_static_cz_proto_coordinator_ListWorkerResponse_descriptor = getDescriptor().getMessageTypes().get(66); internal_static_cz_proto_coordinator_ListWorkerResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_ListWorkerResponse_descriptor, new java.lang.String[] { "RespStatus", "Worker", "LoadScoreHardLimit", "RouteItems", "JobScheduleStrategy", "JobScheduleLoadBalanceScope", "ServiceRouteVersion", "SubmitBusyPunishMs", }); internal_static_cz_proto_coordinator_SetServiceRouteRequest_descriptor = getDescriptor().getMessageTypes().get(67); internal_static_cz_proto_coordinator_SetServiceRouteRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_SetServiceRouteRequest_descriptor, new java.lang.String[] { "Account", "RouteItems", "Force", "Dedup", }); internal_static_cz_proto_coordinator_SetServiceRouteResponse_descriptor = getDescriptor().getMessageTypes().get(68); internal_static_cz_proto_coordinator_SetServiceRouteResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_SetServiceRouteResponse_descriptor, new java.lang.String[] { "RespStatus", "Details", }); internal_static_cz_proto_coordinator_SetServiceRouteResponse_DetailsEntry_descriptor = internal_static_cz_proto_coordinator_SetServiceRouteResponse_descriptor.getNestedTypes().get(0); internal_static_cz_proto_coordinator_SetServiceRouteResponse_DetailsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_SetServiceRouteResponse_DetailsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_cz_proto_coordinator_GetServiceRouteRequest_descriptor = getDescriptor().getMessageTypes().get(69); internal_static_cz_proto_coordinator_GetServiceRouteRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_GetServiceRouteRequest_descriptor, new java.lang.String[] { "Account", }); internal_static_cz_proto_coordinator_GetServiceRouteResponse_descriptor = getDescriptor().getMessageTypes().get(70); internal_static_cz_proto_coordinator_GetServiceRouteResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_GetServiceRouteResponse_descriptor, new java.lang.String[] { "RespStatus", "RouteItems", "RouteVersion", }); internal_static_cz_proto_coordinator_UpgradeUnit_descriptor = getDescriptor().getMessageTypes().get(71); internal_static_cz_proto_coordinator_UpgradeUnit_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_UpgradeUnit_descriptor, new java.lang.String[] { "InstanceId", "Workspace", "Vc", "WorkspaceId", }); internal_static_cz_proto_coordinator_HotUpgradeRequest_descriptor = getDescriptor().getMessageTypes().get(72); internal_static_cz_proto_coordinator_HotUpgradeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_HotUpgradeRequest_descriptor, new java.lang.String[] { "Units", "SourceVersion", "TargetVersion", "Type", }); internal_static_cz_proto_coordinator_HotUpgradeResponse_descriptor = getDescriptor().getMessageTypes().get(73); internal_static_cz_proto_coordinator_HotUpgradeResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_HotUpgradeResponse_descriptor, new java.lang.String[] { "RespStatus", "Details", }); internal_static_cz_proto_coordinator_HotUpgradeResponse_DetailsEntry_descriptor = internal_static_cz_proto_coordinator_HotUpgradeResponse_descriptor.getNestedTypes().get(0); internal_static_cz_proto_coordinator_HotUpgradeResponse_DetailsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_HotUpgradeResponse_DetailsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_cz_proto_coordinator_GetHotUpgradeStateRequest_descriptor = getDescriptor().getMessageTypes().get(74); internal_static_cz_proto_coordinator_GetHotUpgradeStateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_GetHotUpgradeStateRequest_descriptor, new java.lang.String[] { "Units", }); internal_static_cz_proto_coordinator_HotUpgradeState_descriptor = getDescriptor().getMessageTypes().get(75); internal_static_cz_proto_coordinator_HotUpgradeState_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_HotUpgradeState_descriptor, new java.lang.String[] { "UpgradeState", "TargetVersion", "CurrentVersion", "TargetVcId", "CurrentVcId", }); internal_static_cz_proto_coordinator_HotUpgradeStateItem_descriptor = getDescriptor().getMessageTypes().get(76); internal_static_cz_proto_coordinator_HotUpgradeStateItem_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_HotUpgradeStateItem_descriptor, new java.lang.String[] { "Unit", "State", }); internal_static_cz_proto_coordinator_GetHotUpgradeStateResponse_descriptor = getDescriptor().getMessageTypes().get(77); internal_static_cz_proto_coordinator_GetHotUpgradeStateResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_GetHotUpgradeStateResponse_descriptor, new java.lang.String[] { "RespStatus", "Details", }); internal_static_cz_proto_coordinator_GetHotUpgradeStateResponse_DetailsEntry_descriptor = internal_static_cz_proto_coordinator_GetHotUpgradeStateResponse_descriptor.getNestedTypes().get(0); internal_static_cz_proto_coordinator_GetHotUpgradeStateResponse_DetailsEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_GetHotUpgradeStateResponse_DetailsEntry_descriptor, new java.lang.String[] { "Key", "Value", }); internal_static_cz_proto_coordinator_ListMasterJobsRequest_descriptor = getDescriptor().getMessageTypes().get(78); internal_static_cz_proto_coordinator_ListMasterJobsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_cz_proto_coordinator_ListMasterJobsRequest_descriptor, new java.lang.String[] { "Account", "InstanceId", "Workspace", "Vc", "ReleaseVersion", }); cz.proto.ServiceCommon.getDescriptor(); cz.proto.TableCommon.getDescriptor(); cz.proto.MetadataEntity.getDescriptor(); cz.proto.ObjectIdentifierOuterClass.getDescriptor(); cz.proto.FileSystem.getDescriptor(); cz.proto.AccountOuterClass.getDescriptor(); cz.proto.JobMetaOuterClass.getDescriptor(); cz.proto.JobProto.getDescriptor(); cz.proto.Encryption.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy